convert

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 2 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 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