eth_getTransactionReceipt
Returns the receipt information of a transaction by its hash.
- 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": ["0xb0312f4972128d4bfee5162ee10cdbea6d0252c337db0c88fed6ce4c16ce8008"],
"method": "eth_getTransactionReceipt"
}'
Params
transactionhash required
Schema
type : string
Pattern :
^0x[0-9,a-f,A-F]{64}$Result
Receipt
type : object
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)$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