Skip to content

parseGwei

Definition

Converts a number to the representation in wei

Usage

It takes 1 argument.

  • the number to convert.
const utils = @import(zabi).utils;
const std = @import("std");
 
utils.parseGwei(1); 
 
// Result
// 1000000000

Returns

Type: u64