Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PendingTransactionInPool ¶
type PendingTransactionInPool struct { Hash string `json:"hash"` Value string `json:"value"` Gas uint64 `json:"gas"` GasPrice uint64 `json:"gasPrice"` V *big.Int `json:"v"` R *big.Int `json:"r"` S *big.Int `json:"s"` Nonce uint64 `json:"nonce"` From string `json:"from"` To string `json:"to"` Input string `json:"input"` }
func (*PendingTransactionInPool) AsJSON ¶
func (pt *PendingTransactionInPool) AsJSON() []byte
type TraceCallLogs ¶
type TraceCallResponse ¶
type TraceCallResponse struct { Gas int `json:"gas"` Failed bool `json:"failed"` ReturnValue string `json:"returnValue"` StructLogs []TraceCallLogs `json:"structLogs"` }
func (*TraceCallResponse) AsJSON ¶
func (t *TraceCallResponse) AsJSON() []byte
type TraceCallTransactionResponse ¶
type TraceCallTransactionResponse struct { Calls []Call `json:"calls"` From string `json:"from"` Gas string `json:"gas"` GasUsed string `json:"gasUsed"` Input string `json:"input"` To string `json:"to"` Type string `json:"type"` Value string `json:"value"` TxHash string `json:"txHash"` }
func (*TraceCallTransactionResponse) AsJSON ¶
func (t *TraceCallTransactionResponse) AsJSON() []byte
type Transaction ¶
type Transaction struct { BlockHash string `json:"blockHash"` Hash string `json:"hash"` Value string `json:"value"` Gas uint64 `json:"gas"` GasPrice uint64 `json:"gasPrice"` V *big.Int `json:"v"` R *big.Int `json:"r"` S *big.Int `json:"s"` Nonce uint64 `json:"nonce"` From string `json:"from"` To string `json:"to"` Input string `json:"input"` Timestamp time.Time `json:"timeStamp"` }
Transaction represent Eth TX structure for JSON response
func (*Transaction) AsJSON ¶
func (t *Transaction) AsJSON() []byte
type TransactionInPool ¶
type TransactionInPool struct { Hash string `json:"hash"` Type uint8 `json:"type"` Value string `json:"value"` Gas uint64 `json:"gas"` GasPrice uint64 `json:"gasPrice"` V *big.Int `json:"v"` R *big.Int `json:"r"` S *big.Int `json:"s"` Nonce uint64 `json:"nonce"` From string `json:"from"` To string `json:"to"` TransactionIndex uint `json:"transactionIndex"` BlockHash common.Hash `json:"blockHash,omitempty"` BlockNumber *big.Int `json:"blockNumber,omitempty"` Timestamp time.Time `json:"timeStamp"` Input string `json:"input"` }
Click to show internal directories.
Click to hide internal directories.