mock

package
v0.0.0-...-5ed304f Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBalance

func GetBalance(address string) *rpc.Response

func GetBlockByHash

func GetBlockByHash(blockHash string) *rpc.Response

func GetBlockByHashMany

func GetBlockByHashMany(blockHashes []string) []*rpc.Response

func GetBlockRewardInfo

func GetBlockRewardInfo(epochHeight uint64) *rpc.Response

func GetBlockRewardInfoMany

func GetBlockRewardInfoMany(epochHeights []uint64) []*rpc.Response

func GetBlocksByEpochMany

func GetBlocksByEpochMany(epochHeights []uint64) []*rpc.Response

func GetEpochNumber

func GetEpochNumber() *rpc.Response

func GetGasPrice

func GetGasPrice() *rpc.Response

func GetLatestBlock

func GetLatestBlock() *rpc.Response

func GetPendingNonce

func GetPendingNonce(address string) *rpc.Response

func MiningSubscribe

func MiningSubscribe() chan *rpc.Request

func SendEstimateGas

func SendEstimateGas(from, to string) *rpc.Response

func SendRawTransaction

func SendRawTransaction(tx string) *rpc.Response

func SubmitBlock

func SubmitBlock(hostID, nonce, hash string) *rpc.Response

Types

This section is empty.

Jump to

Keyboard shortcuts

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