Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Number int64 `json:"number"` BlockHash string `json:"blockHash"` ParentBlockHash string `json:"parentBlockHash"` BlockCreationTime storable.DatetimeToJSONUnix `json:"blockCreationTime"` BlockGasLimit string `json:"blockGasLimit"` BlockGasUsed string `json:"blockGasUsed"` BlockDifficulty string `json:"blockDifficulty"` TotalBlockDifficulty string `json:"totalBlockDifficulty"` BlockExtraData storable.ByteArray `json:"blockExtraData"` BlockMixHash storable.ByteArray `json:"blockMixHash"` BlockNonce storable.ByteArray `json:"blockNonce"` BlockSize int64 `json:"blockSize"` BlockLogsBloom storable.ByteArray `json:"blockLogsBloom"` IncludesUncle storable.JSONStringArray `json:"includesUncle"` HasBeneficiary storable.ByteArray `json:"hasBeneficiary"` HasReceiptsTrie storable.ByteArray `json:"hasReceiptsTrie"` HasTxTrie storable.ByteArray `json:"hasTxTrie"` Sha3Uncles storable.ByteArray `json:"sha3Uncles"` NumberOfUncles int32 `json:"numberOfUncles"` NumberOfTxs int32 `json:"numberOfTxs"` Txs []Tx `json:"txs"` }
type LogEntry ¶
type LogEntry struct { TxHash string `json:"txHash"` LogIndex int32 `json:"logIndex"` LogData storable.ByteArray `json:"logData"` LoggedBy string `json:"loggedBy"` HasLogTopics []string `json:"hasLogTopics"` EventDecoded map[string]interface{} `json:"eventDecoded"` EventDecodedError string `json:"eventDecodedError"` }
type Tx ¶
type Tx struct { TxHash *string `json:"txHash,omitempty"` IncludedInBlock *int64 `json:"includedInBlock,omitempty"` TxIndex *int32 `json:"txIndex,omitempty"` From *storable.ByteArray `json:"from,omitempty"` To *storable.ByteArray `json:"to,omitempty"` Value *string `json:"value,omitempty"` TxNonce *int64 `json:"txNonce,omitempty"` MsgGasLimit *string `json:"msgGasLimit,omitempty"` TxGasUsed *string `json:"txGasUsed,omitempty"` TxGasPrice *string `json:"txGasPrice,omitempty"` CumulativeGasUsed *string `json:"cumulativeGasUsed,omitempty"` MsgPayload *storable.ByteArray `json:"msgPayload,omitempty"` MsgStatus *string `json:"msgStatus,omitempty"` MsgError *bool `json:"msgError,omitempty"` MsgErrorString *string `json:"msgErrorString,omitempty"` Creates *storable.ByteArray `json:"creates,omitempty"` TxLogsBloom *storable.ByteArray `json:"txLogsBloom,omitempty"` BlockCreationTime *storable.DatetimeToJSONUnix `json:"blockCreationTime,omitempty"` LogEntriesTriggered *int32 `json:"logEntriesTriggered,omitempty"` }
type Uncle ¶
type Uncle struct { BlockHash string `json:"blockHash"` IncludedInBlock int64 `json:"includedInBlock"` Number int64 `json:"number"` BlockCreationTime storable.DatetimeToJSONUnix `json:"blockCreationTime"` UncleIndex int32 `json:"uncleIndex"` BlockGasLimit string `json:"blockGasLimit"` BlockGasUsed string `json:"blockGasUsed"` HasBeneficiary storable.ByteArray `json:"hasBeneficiary"` BlockDifficulty string `json:"blockDifficulty"` BlockExtraData storable.ByteArray `json:"blockExtraData"` BlockMixHash storable.ByteArray `json:"blockMixHash"` BlockNonce storable.ByteArray `json:"blockNonce"` Sha3Uncles storable.ByteArray `json:"sha3Uncles"` }
Click to show internal directories.
Click to hide internal directories.