File tree 4 files changed +53
-0
lines changed
tests/eth_getAddressesInBlock
4 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ - name : eth_getAddressesInBlock
2
+ summary : Returns the addresses that appear in the block and the index of each transaction they appear in.
3
+ params :
4
+ - name : Block
5
+ required : true
6
+ schema :
7
+ $ref : ' #/components/schemas/BlockNumberOrTag'
8
+ result :
9
+ name : Addresses in block
10
+ schema :
11
+ oneOf :
12
+ - $ref : ' #/components/schemas/notFound'
13
+ - $ref : ' #/components/schemas/BlockAddresses'
1
14
- name : eth_getBlockByHash
2
15
summary : Returns information about a block by hash.
3
16
params :
Original file line number Diff line number Diff line change
1
+ BlockAddresses :
2
+ type : object
3
+ title : Block addresses
4
+ description : Addresses that appear in a single block
5
+ required :
6
+ - addresses
7
+ - blockNumber
8
+ additionalProperties : false
9
+ properties :
10
+ addresses :
11
+ title : Block addresses
12
+ type : array
13
+ $ref : ' #/components/schemas/AddressBlockAppearances'
14
+ blockNumber :
15
+ title : Block number
16
+ $ref : ' #/components/schemas/uint'
17
+ AddressBlockAppearances :
18
+ type : object
19
+ title : Address appearances in a single block
20
+ description : An address that appears in one or more locations in a block
21
+ required :
22
+ - address
23
+ - indices
24
+ additionalProperties : false
25
+ properties :
26
+ address :
27
+ title : Address
28
+ $ref : ' #/components/schemas/address'
29
+ indices :
30
+ title : Transaction indices
31
+ $ref : ' #/components/schemas/TransactionIndices'
32
+ TransactionIndices :
33
+ title : Transaction index list
34
+ type : array
35
+ description : Indices of transactions an address appears in within a block
36
+ items :
37
+ $ref : ' #/components/schemas/uint64'
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 57
57
src
58
58
https
59
59
forkchoiceupdatedresponsev
60
+
You can’t perform that action at this time.
0 commit comments