-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathblock.go
26 lines (25 loc) · 1.2 KB
/
block.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package infura
type Block struct {
Author string `json:"author"`
Difficulty string `json:"difficulty"`
ExtraData string `json:"extra_data"`
GasLimit string `json:"gas_limit"`
GasUsed string `json:"gas_used"`
Hash string `json:"hash"`
LogsBloom string `json:"logs_bloom"`
Miner string `json:"miner"`
MixHash string `json:"mix_hash"`
Nonce string `json:"nonce"`
Number string `json:"number"`
ParentHash string `json:"parent_hash"`
ReceiptsRoot string `json:"receipts_root"`
SealFields []string `json:"seal_fields"`
SHA3Uncles string `json:"sha3_uncles"`
Size string `json:"size"`
StateRoot string `json:"state_root"`
Timestamp string `json:"timestamp"`
TotalDifficulty string `json:"total_difficulty"`
Transactions []RawTransaction `json:"transactions"`
TransactionsRoot string `json:"transactions_root"`
Uncles []string `json:"uncles"`
}