Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertTx ¶
func ConvertTx(tx Transaction) *types.Transaction
Types ¶
type Client ¶
func (Client) BlockNumber ¶
func (Client) SendRawTransaction ¶
func (c Client) SendRawTransaction(tx *types.Transaction) error
type RpcTxs ¶
type RpcTxs []Transaction
type Transaction ¶
type Transaction struct { BlockHash *common.Hash `json:"blockHash"` BlockNumber *hexutil.Big `json:"blockNumber"` From common.Address `json:"from"` Gas hexutil.Uint64 `json:"gas"` GasPrice *hexutil.Big `json:"gasPrice"` Hash common.Hash `json:"hash"` Input hexutil.Bytes `json:"input"` Nonce hexutil.Uint64 `json:"nonce"` To *common.Address `json:"to"` TransactionIndex *hexutil.Uint64 `json:"transactionIndex"` Value *hexutil.Big `json:"value"` V *hexutil.Big `json:"v"` R *hexutil.Big `json:"r"` S *hexutil.Big `json:"s"` }
func (*Transaction) PrintJson ¶
func (t *Transaction) PrintJson() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.