-
Notifications
You must be signed in to change notification settings - Fork 15
/
schema.json
212 lines (212 loc) · 6.05 KB
/
schema.json
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
{
"methods": {
"web3_clientVersion": [[], "S"],
"web3_sha3": [["S"], "D", 1],
"net_version": [[], "S"],
"net_peerCount": [[], "Q"],
"net_listening": [[], "B"],
"personal_sign": [["D", "D20", "S"], "D", 2],
"personal_ecRecover": [["D", "D"], "D20", 2],
"eth_protocolVersion": [[], "S"],
"eth_syncing": [[], "B|EthSyncing"],
"eth_coinbase": [[], "D20"],
"eth_mining": [[], "B"],
"eth_hashrate": [[], "Q"],
"eth_gasPrice": [[], "Q"],
"eth_accounts": [[], ["D20"]],
"eth_blockNumber": [[], "Q"],
"eth_getBalance": [["D20", "Q|T"], "Q", 1, 2],
"eth_getStorageAt": [["D20", "Q", "Q|T"], "D", 2, 2],
"eth_getTransactionCount": [["D20", "Q|T"], "Q", 1, 2],
"eth_getBlockTransactionCountByHash": [["D32"], "Q", 1],
"eth_getBlockTransactionCountByNumber": [["Q|T"], "Q", 1],
"eth_getUncleCountByBlockHash": [["D32"], "Q", 1],
"eth_getUncleCountByBlockNumber": [["Q"], "Q", 1],
"eth_getCode": [["D20", "Q|T"], "D", 1, 2],
"eth_sign": [["D20", "D"], "D", 2],
"eth_signTypedData": [["Array|DATA", "D20"], "D", 1],
"eth_sendTransaction": [["SendTransaction"], "D", 1],
"eth_sendRawTransaction": [["D"], "D32", 1],
"eth_call": [["CallTransaction", "Q|T"], "D", 1, 2],
"eth_estimateGas": [["EstimateTransaction", "Q|T"], "Q", 1],
"eth_getBlockByHash": [["D32", "B"], "Block", 2],
"eth_getBlockByNumber": [["Q|T", "B"], "Block", 2],
"eth_getTransactionByHash": [["D32"], "Transaction", 1],
"eth_getTransactionByBlockHashAndIndex": [["D32", "Q"], "Transaction", 2],
"eth_getTransactionByBlockNumberAndIndex": [["Q|T", "Q"], "Transaction", 2],
"eth_getTransactionReceipt": [["D32"], "Receipt", 1],
"eth_getUncleByBlockHashAndIndex": [["D32", "Q"], "Block", 1],
"eth_getUncleByBlockNumberAndIndex": [["Q|T", "Q"], "Block", 2],
"eth_getCompilers": [[], ["S"]],
"eth_compileLLL": [["S"], "D", 1],
"eth_compileSolidity": [["S"], "D", 1],
"eth_compileSerpent": [["S"], "D", 1],
"eth_newFilter": [["Filter"], "Q", 1],
"eth_newBlockFilter": [[], "Q"],
"eth_newPendingTransactionFilter": [[], "Q"],
"eth_uninstallFilter": [["QP"], "B", 1],
"eth_getFilterChanges": [["QP"], ["FilterChange"], 1],
"eth_getFilterLogs": [["QP"], ["FilterChange"], 1],
"eth_getLogs": [["Filter"], ["FilterChange"], 1],
"eth_getWork": [[], ["D"]],
"eth_submitWork": [["D", "D32", "D32"], "B", 3],
"eth_submitHashrate": [["D", "D"], "B", 2],
"db_putString": [["S", "S", "S"], "B", 2],
"db_getString": [["S", "S"], "S", 2],
"db_putHex": [["S", "S", "D"], "B", 2],
"db_getHex": [["S", "S"], "D", 2],
"shh_post": [["SHHPost"], "B", 1],
"shh_version": [[], "S"],
"shh_newIdentity": [[], "D"],
"shh_hasIdentity": [["D"], "B"],
"shh_newGroup": [[], "D"],
"shh_addToGroup": [["D"], "B", 1],
"shh_newFilter": [["SHHFilter"], "Q", 1],
"shh_uninstallFilter": [["Q"], "B", 1],
"shh_getFilterChanges": [["Q"], ["SHHFilterChange"], 1],
"shh_getMessages": [["Q"], ["SHHFilterChange"], 1]
},
"tags": ["latest", "earliest", "pending"],
"objects": {
"EthSyncing": {
"__required": [],
"startingBlock": "Q",
"currentBlock": "Q",
"highestBlock": "Q"
},
"SendTransaction": {
"__required": ["from", "data"],
"from": "D20",
"to": "D20",
"gas": "Q",
"gasPrice": "Q",
"value": "Q",
"data": "D",
"nonce": "Q"
},
"EstimateTransaction": {
"__required": [],
"from": "D20",
"to": "D20",
"gas": "Q",
"gasPrice": "Q",
"value": "Q",
"data": "D",
"nonce": "Q"
},
"CallTransaction": {
"__required": ["to"],
"from": "D20",
"to": "D20",
"gas": "Q",
"gasPrice": "Q",
"value": "Q",
"data": "D",
"nonce": "Q"
},
"Block": {
"__required": [],
"number": "Q",
"hash": "D32",
"parentHash": "D32",
"nonce": "D",
"sha3Uncles": "D",
"logsBloom": "D",
"transactionsRoot": "D",
"stateRoot": "D",
"receiptsRoot": "D",
"miner": "D",
"difficulty": "Q",
"totalDifficulty": "Q",
"extraData": "D",
"size": "Q",
"gasLimit": "Q",
"gasUsed": "Q",
"timestamp": "Q",
"transactions": ["DATA|Transaction"],
"uncles": ["D"]
},
"Transaction": {
"__required": [],
"hash": "D32",
"nonce": "Q",
"blockHash": "D32",
"blockNumber": "Q",
"transactionIndex": "Q",
"from": "D20",
"to": "D20",
"value": "Q",
"gasPrice": "Q",
"gas": "Q",
"input": "D"
},
"Receipt": {
"__required": [],
"transactionHash": "D32",
"transactionIndex": "Q",
"blockHash": "D32",
"blockNumber": "Q",
"cumulativeGasUsed": "Q",
"gasUsed": "Q",
"contractAddress": "D20",
"logs": ["FilterChange"]
},
"Filter": {
"__required": [],
"fromBlock": "Q|T",
"toBlock": "Q|T",
"address": "D20",
"topics": ["D"]
},
"FilterChange": {
"__required": [],
"removed": "B",
"logIndex": "Q",
"transactionIndex": "Q",
"transactionHash": "D32",
"blockHash": "D32",
"blockNumber": "Q",
"address": "D20",
"data": "Array|DATA",
"topics": ["D"]
},
"SHHPost": {
"__required": ["topics", "payload", "priority", "ttl"],
"from": "D",
"to": "D",
"topics": ["D"],
"payload": "D",
"priority": "Q",
"ttl": "Q"
},
"SHHFilter": {
"__required": ["topics"],
"to": "D",
"topics": ["D"]
},
"SHHFilterChange": {
"__required": [],
"hash": "D",
"from": "D",
"to": "D",
"expiry": "Q",
"ttl": "Q",
"sent": "Q",
"topics": ["D"],
"payload": "D",
"workProved": "Q"
},
"SHHMessage": {
"__required": [],
"hash": "D",
"from": "D",
"to": "D",
"expiry": "Q",
"ttl": "Q",
"sent": "Q",
"topics": ["D"],
"payload": "D",
"workProved": "Q"
}
}
}