Documentation
¶
Index ¶
- type PClient
- func (p *PClient) GetBlockNumber() (uint64, error)
- func (client *PClient) GetReceiptByPolling(txHash string) (*packet.Receipt, error)
- func (p *PClient) GetRevertMsg(msg *packet.TxParams, blockNum uint64) ([]byte, error)
- func (p *PClient) GetTransactionReceipt(txHash string) (*packet.Receipt, error)
- func (client *PClient) MessageCall(dataGen packet.MsgDataGen, keyfile []byte, tx *packet.TxParams) ([]interface{}, bool, error)
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 (*PClient) GetBlockNumber ¶
func (*PClient) GetReceiptByPolling ¶
func (*PClient) GetRevertMsg ¶
func (*PClient) GetTransactionReceipt ¶
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
Click to show internal directories.
Click to hide internal directories.