Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockHeader ¶
type BlockHeader struct { ParentHash []byte `json:"parentHash"` Sha3Uncles []byte `json:"sha3Uncles"` Miner common.Address `json:"miner"` StateRoot []byte `json:"stateRoot"` TransactionsRoot []byte `json:"transactionsRoot"` ReceiptsRoot []byte `json:"receiptsRoot"` LogsBloom []byte `json:"logsBloom"` Difficulty *big.Int `json:"difficulty"` Number *big.Int `json:"number"` GasLimit *big.Int `json:"gasLimit"` GasUsed *big.Int `json:"gasUsed"` Timestamp *big.Int `json:"timestamp"` ExtraData []byte `json:"extraData"` MixHash []byte `json:"mixHash"` Nonce []byte `json:"nonce"` BaseFeePerGas *big.Int `json:"baseFeePerGas"` }
func ConvertHeader ¶
func ConvertHeader(header *types.Header) BlockHeader
type ProofData ¶
type ProofData struct { Headers []BlockHeader ReceiptProof ReceiptProof }
type ReceiptProof ¶
type ReceiptProof struct { TxReceipt mapprotocol.TxReceipt KeyIndex []byte Proof [][]byte }
Click to show internal directories.
Click to hide internal directories.