address

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWallet added in v0.0.10

func CreateWallet() (error, []byte)

func GetAddressTransactionCount

func GetAddressTransactionCount(rpc string, walletAddress string) (string, error)

func GetBalance

func GetBalance(rpc string, walletAddress string) ([]byte, error)

func GetGasPrice

func GetGasPrice(rpc string) (string, error)

func GetTransactionByHash

func GetTransactionByHash(rpc string, hash string) ([]byte, error)

GetTransactionByHash retrieves a transaction by its hash using the provided RPC URL.

func GetTransactionConfirmations

func GetTransactionConfirmations(rpc string, hash string) ([]byte, error)

GetTransactionByHash retrieves a transaction by its hash using the provided RPC URL.

func GetTransactionReceiptByHash

func GetTransactionReceiptByHash(rpc string, hash string) ([]byte, error)

GetTransactionByHash retrieves a transaction by its hash using the provided RPC URL.

func Transfer

func Transfer(rpc string, privateKey string, recipient string, amount float64, optionalGasPrice ...*big.Int)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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