ethereum

package
v0.0.0-...-2182c36 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func BroadcastTransaction

func BroadcastTransaction(signedTx string) (string, error)

Broadcasts a signed transaction and returns the transaction hash. (or an error if something goes awry) This function expects a hex-encoded string as input.

func ConstructTransfer

func ConstructTransfer(from string, to string, amount *big.Int, nonce *uint64) ([]byte, error)

func GetBalance

func GetBalance(addressString string) (*big.Int, error)

func Init

func Init()

Types

This section is empty.

Jump to

Keyboard shortcuts

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