@@ -24,68 +24,4 @@ displayed_sidebar: coreSidebar
24
24
25
25
### cfx_getEpochReceipts
26
26
27
- Get one epoch's all receipts in one RPC call
28
-
29
- #### 参数
30
-
31
- 1 . ` QUANTITY ` : Epoch number
32
-
33
- ``` json
34
- params: [
35
- " 0x1001"
36
- ]
37
- ```
38
-
39
- #### Response
40
-
41
- ` ARRAY ` - Receipt array
42
-
43
- #### 示例
44
-
45
- Request
46
-
47
- ``` sh
48
- curl --location --request POST ' http://localhost:12537' \
49
- --header ' Content-Type: application/json' \
50
- --data-raw ' {
51
- "id": 1,
52
- "jsonrpc": "2.0",
53
- "method": "cfx_getEpochReceipts",
54
- "params": ["0x1001"]
55
- }'
56
- ```
57
-
58
- Response
59
-
60
- ``` json
61
- {
62
- "jsonrpc" : " 2.0" ,
63
- "id" : " 15922956697249514502" ,
64
- "result" : [{
65
- "blockHash" : " 0xbb1eea3c8a574dc19f7d8311a2096e23a39f12e649a20766544f2df67aac0bed" ,
66
- "contractCreated" : null ,
67
- "epochNumber" : " 0x87431b" ,
68
- "from" : " CFX:TYPE.USER:AARC9ABYCUE0HHZGYRR53M6CXEDGCCRMMYYBJGH4XG" ,
69
- "gasCoveredBySponsor" : true ,
70
- "gasFee" : " 0x108ca" ,
71
- "gasUsed" : " 0x8465" ,
72
- "index" : " 0x0" ,
73
- "logs" : [{
74
- "address" : " CFX:TYPE.CONTRACT:ACC7UAWF5UBTNMEZVHU9DHC6SGHEA0403Y2DGPYFJP" ,
75
- "data" : " 0x00000000000000000000000019a3224214fe29107d84af9baa02118b614e46d5" ,
76
- "topics" : [" 0x233e08777131763a85257b15eafc9f96ef08f259653d9944301ff924b3917cf5" ]
77
- }],
78
- "logsBloom" : " 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000080000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000" ,
79
- "outcomeStatus" : " 0x0" ,
80
- "stateRoot" : " 0x1bc37c63c03d7e7066f9427f69e515988d19ebb26998087d75b50d2235e55ee7" ,
81
- "storageCollateralized" : " 0x40" ,
82
- "storageCoveredBySponsor" : true ,
83
- "storageReleased" : [{
84
- "address" : " CFX:TYPE.USER:AARC9ABYCUE0HHZGYRR53M6CXEDGCCRMMYYBJGH4XG" ,
85
- "collaterals" : " 0x40"
86
- }],
87
- "to" : " CFX:TYPE.CONTRACT:ACC7UAWF5UBTNMEZVHU9DHC6SGHEA0403Y2DGPYFJP" ,
88
- "transactionHash" : " 0x53fe995edeec7d241791ff32635244e94ecfd722c9fe90f34ddf59082d814514"
89
- }]
90
- }
91
- ```
27
+ Get one epoch's all receipts in one RPC call. Document moved to [ cfx_getEpochReceipts] ( ./cfx-namespace.md#cfx_getepochreceipts ) .
0 commit comments