Categorygithub.com/tranvictor/ethutils
modulepackage
0.8.4
Repository: https://github.com/tranvictor/ethutils.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

BigToFloat converts a big int to float according to its number of decimal digits Example: - BigToFloat(1100, 3) = 1.1 - BigToFloat(1100, 2) = 11 - BigToFloat(1100, 5) = 0.11.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EthToWei converts Gwei as a float to Wei as a big int.
FloatToBigInt converts a float to a big int with specific decimal Example: - FloatToBigInt(1, 4) = 10000 - FloatToBigInt(1.234, 4) = 12340.
No description provided by the author
No description provided by the author
No description provided by the author
GweiToWei converts Gwei as a float to Wei as a big int.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RawTxToHash returns valid hex data of a transaction to transaction hash.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author