grpcutil

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 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) (exec *action.Execution, err 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