convert

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const EtherDecimals = 18

EtherDecimals for Ether is expressed in 18 decimals

Variables

This section is empty.

Functions

func HexToBigInt added in v1.0.0

func HexToBigInt(hexString string) (*big.Int, error)

func HexToByteArray

func HexToByteArray(hexString string) ([]byte, error)

func TrimHexPrefix

func TrimHexPrefix(hexString string) (string, error)

TrimHexPrefix removes the prefix `0x` from the given hex string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL