parity_getBlockReceipts
- CURL
curl --request POST \
--url https://evm.confluxrpc.com \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"params": [null],
"method": "parity_getBlockReceipts"
}'
Params
block optional
Block Number or Tags
oneOf
- U64
- BlockHash
- BlockNumber
- string
type : string
Pattern :
^0x([1-9a-f][0-9a-f]{0,15}|0)$
type : object
blockHash string required
type : stringPattern :^0x[0-9,a-f,A-F]{64}$
requireCanonical boolean
type : boolean
type : object
blockNumber string required
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,15}|0)$
type : string
Possible values :
earliest
latest
pending
Result
Schema
type : array
items[x]
Receipttype : objectblockHash blockHash
type : stringPattern :^0x[0-9,a-f,A-F]{64}$
blockNumber blockNumber
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,63}|0)$
burntGasFee burntGasFee
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,63}|0)$
contractAddress contractAddress
type : stringPattern :^0x[0-9,a-f,A-F]{40}$
cumulativeGasUsed cumulativeGasUsed
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,63}|0)$
effectiveGasPrice effectiveGasPrice
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,63}|0)$
from from
type : stringPattern :^0x[0-9,a-f,A-F]{40}$
gasUsed gasUsed
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,63}|0)$
logs logs
type : arrayitems[x]
Logtype : objectaddress address
type : stringPattern :^0x[0-9,a-f,A-F]{40}$
blockHash blockHash
type : stringPattern :^0x[0-9,a-f,A-F]{64}$
blockNumber blockNumber
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,63}|0)$
data data
type : stringPattern :^0x[0-9a-f]*$
logIndex logIndex
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,63}|0)$
removed removed
type : booleantopics topics
type : arrayitems[x]
H256type : stringPattern :^0x[0-9,a-f,A-F]{64}$
transactionHash transactionHash
type : stringPattern :^0x[0-9,a-f,A-F]{64}$
transactionIndex transactionIndex
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,63}|0)$
transactionLogIndex transactionLogIndex
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,63}|0)$
logsBloom logsBloom
type : stringPattern :^0x[0-9,a-f,A-F]{512}$
statusCode statusCode
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,15}|0)$
to to
type : stringPattern :^0x[0-9,a-f,A-F]{40}$
transactionHash transactionHash
type : stringPattern :^0x[0-9,a-f,A-F]{64}$
transactionIndex transactionIndex
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,63}|0)$
transactionType transactionType
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,15}|0)$
txExecErrorMsg txExecErrorMsg
type : stringPattern :^.*$