grpcutil

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToEndpoint

func ConnectToEndpoint(url string) (*grpc.ClientConn, error)

ConnectToEndpoint connect to endpoint

func FixGasLimit

func FixGasLimit(url string, caller string, execution *action.Execution) (uint64, error)

FixGasLimit estimate action gas

func GetNonce

func GetNonce(url string, address string) (nonce uint64, err error)

GetNonce get nonce of address

func GetReceiptByActionHash

func GetReceiptByActionHash(url, hs string) error

GetReceiptByActionHash get receipt by action hash

func SendAction

func SendAction(url string, action *iotextypes.Action) error

SendAction send action to endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

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