Documentation ¶
Overview ¶
Package model defines models returned by the graphql server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct { ContractAddress string `json:"contract_address"` ChainID int `json:"chain_id"` Topics []string `json:"topics"` Data string `json:"data"` BlockNumber int `json:"block_number"` TxHash string `json:"tx_hash"` TxIndex int `json:"tx_index"` BlockHash string `json:"block_hash"` Index int `json:"index"` Removed bool `json:"removed"` Page int `json:"page"` Transaction *Transaction `json:"transaction"` Receipt *Receipt `json:"receipt"` JSON types.JSON `json:"json"` }
type Receipt ¶
type Receipt struct { ChainID int `json:"chain_id"` Type int `json:"type"` PostState string `json:"post_state"` Status int `json:"status"` CumulativeGasUsed int `json:"cumulative_gas_used"` Bloom string `json:"bloom"` TxHash string `json:"tx_hash"` ContractAddress string `json:"contract_address"` GasUsed int `json:"gas_used"` BlockNumber int `json:"block_number"` TransactionIndex int `json:"transaction_index"` Page int `json:"page"` Logs []*Log `json:"logs,omitempty"` Transaction *Transaction `json:"transaction"` JSON types.JSON `json:"json"` }
type Transaction ¶
type Transaction struct { ChainID int `json:"chain_id"` TxHash string `json:"tx_hash"` Protected bool `json:"protected"` Type int `json:"type"` Data string `json:"data"` Gas int `json:"gas"` GasPrice int `json:"gas_price"` GasTipCap string `json:"gas_tip_cap"` GasFeeCap string `json:"gas_fee_cap"` Value string `json:"value"` Nonce int `json:"nonce"` To string `json:"to"` Page int `json:"page"` Sender string `json:"sender"` Timestamp int `json:"timestamp"` Logs []*Log `json:"logs,omitempty"` Receipt *Receipt `json:"receipt"` JSON types.JSON `json:"json"` }
Click to show internal directories.
Click to hide internal directories.