|
|
|
|
@ -27,17 +27,16 @@ type RPCClient struct {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type GetBlockReply struct { |
|
|
|
|
Number string `json:"number"` |
|
|
|
|
Hash string `json:"hash"` |
|
|
|
|
Nonce string `json:"nonce"` |
|
|
|
|
Miner string `json:"miner"` |
|
|
|
|
Difficulty string `json:"difficulty"` |
|
|
|
|
GasLimit string `json:"gasLimit"` |
|
|
|
|
GasUsed string `json:"gasUsed"` |
|
|
|
|
BaseFeePerGas string `json:"baseFeePerGas"` |
|
|
|
|
Timestamp string `json:"timestamp"` |
|
|
|
|
Transactions []Tx `json:"transactions"` |
|
|
|
|
Uncles []string `json:"uncles"` |
|
|
|
|
Number string `json:"number"` |
|
|
|
|
Hash string `json:"hash"` |
|
|
|
|
Nonce string `json:"nonce"` |
|
|
|
|
Miner string `json:"miner"` |
|
|
|
|
Difficulty string `json:"difficulty"` |
|
|
|
|
GasLimit string `json:"gasLimit"` |
|
|
|
|
GasUsed string `json:"gasUsed"` |
|
|
|
|
Timestamp string `json:"timestamp"` |
|
|
|
|
Transactions []Tx `json:"transactions"` |
|
|
|
|
Uncles []string `json:"uncles"` |
|
|
|
|
// https://github.com/ethereum/EIPs/issues/95
|
|
|
|
|
SealFields []string `json:"sealFields"` |
|
|
|
|
// london hard fork
|
|
|
|
|
|