venachainclient

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PClient

type PClient struct {
	// contains filtered or unexported fields
}

func SetupClient

func SetupClient(url string) (*PClient, error)

func (*PClient) GetBlockNumber

func (p *PClient) GetBlockNumber() (uint64, error)

func (*PClient) GetReceiptByPolling

func (client *PClient) GetReceiptByPolling(txHash string) (*packet.Receipt, error)

func (*PClient) GetRevertMsg

func (p *PClient) GetRevertMsg(msg *packet.TxParams, blockNum uint64) ([]byte, error)

func (*PClient) GetTransactionReceipt

func (p *PClient) GetTransactionReceipt(txHash string) (*packet.Receipt, error)

func (*PClient) MessageCall

func (client *PClient) MessageCall(dataGen packet.MsgDataGen, keyfile []byte, tx *packet.TxParams) ([]interface{}, bool, error)

messageCall extract the common parts of the transaction based calls including eth_call, eth_sendTransaction, and eth_sendRawTransaction

Jump to

Keyboard shortcuts

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