Parameters
chainId
string
default:"3637"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"eth_getTransactionReceipt"
required
JSON-RPC method name.
Parameters for eth_getTransactionByHash: [transactionHash].Positional parameters for eth_getTransactionReceipt:params[0]: 32 Bytes - Hash of the transaction.
Returns
Receipt object returned after transaction execution. Can be a legacy receipt (pre-EIP-2718) or AccessList receipt (EIP-2930).
Legacy transaction receipt (pre-EIP-2718). Includes basic execution result and log data.
32 Bytes - hash of the block where this transaction was included. Null when pending.
Block number where this transaction was included. Null when pending.
20 Bytes - The contract address created, if the transaction was a contract creation. Null otherwise.
The total amount of gas used when this transaction was executed in the block.
20 Bytes - The address the transaction is sent from.
20 Bytes - The address the transaction is directed to. (Optional when creating new contract)
The amount of gas used by this specific transaction alone.
Array of log objects generated by this transaction. Each log contains indexed topics and data.
Address from which this log originated.
Indicates whether this log was removed due to a chain reorg.
256 Bytes - Bloom filter for logs/events generated during transaction execution.
32 Bytes - Merkle root of the state trie after the transaction (optional after Byzantium).
0x0 indicates failure, 0x1 indicates success. Set for blocks after Byzantium, null before.
32 Bytes - Hash of the transaction.
The transaction’s index position in the block. Null when pending.
Legacy transaction receipt (pre-EIP-2718). Includes basic execution result and log data.
Legacy transaction receipt (pre-EIP-2718). Includes basic execution result and log data.
AccessList receipt (EIP-2930). Extends legacy receipt and adds type: 0x1.
Receipt type. Fixed to “0x1” for EIP-2930 access list receipts.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=3637 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getTransactionReceipt",
"params": [
"0x444172bef57ad978655171a8af2cfd89baa02a97fcb773067aef7794d6913374"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x67c0303244ae4beeec329e0c66198e8db8938a94d15a366c7514626528abfc8c",
"blockNumber": "0x6914b0",
"contractAddress": "0x471a8bf3fd0dfbe20658a97155388cec674190bf",
"from": "0xc931d93e97ab07fe42d923478ba2465f2",
"to": null,
"cumulativeGasUsed": "0x158e33",
"gasUsed": "0xba2e6",
"logs": [],
"__truncated": true
}
}