Returns the receipt of a transaction by transaction hash.


Params - a string array containing (required):
  • DATA(hex string, required), 32 Bytes - hash of a transaction.


Object - A transaction receipt object, or null when no receipt was found:
  • transactionHash(hex string) . DATA, 32 Bytes - hash of the transaction.
  • transactionIndex(hex string). QUANTITY - integer of the transactions index position in the block.
  • blockHash(hex string). DATA, 32 Bytes - hash of the block where this transaction was in.
  • blockNumber(hex string). QUANTITY - block number where this transaction was in.
  • from(hex string). DATA, 20 Bytes - address of the sender.
  • to(hex string). DATA, 20 Bytes - address of the receiver. null when its a contract creation transaction.
  • cumulativeGasUsed(hex string) . QUANTITY - the total amount of gas used when this transaction was executed in the block.
  • gasUsed(hex string) . QUANTITY - the amount of gas used by this specific transaction alone.
  • contractAddress(hex string) . DATA, 20 Bytes - the contract address created, if the transaction was a contract creation, otherwise null.
  • logs(array of logs objects). Array - array of log objects, which this transaction generated.
  • logsBloom(hex string). DATA, 256 Bytes - bloom filter for light clients to quickly retrieve related logs.
It also returns either :
  • root(hex string) : DATA 32 bytes of post - transaction stateroot (pre Byzantium).
  • status(integer number). QUANTITY - either 1 (success) or 0 (failure).



curl<api key> \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getTransactionReceipt",
"params": [
"id": 1
import { BlockVisionProvider, BvNetwork } from 'blockvision.js'
// Optional parameters, but default to eth-mainnet and default api-key.
const bv = new BlockVisionProvider(BvNetwork.OPT_MAINNET)
// Access standard Ethers.js JSON-RPC node request


"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x8243343df08b9751f5ca0c5f8c9c0460d8a9b6351066fae0acbd4d3e776de8bb",
"blockNumber": "0x429d3b",
"contractAddress": null,
"cumulativeGasUsed": "0x64b559",
"effectiveGasPrice": "0x4082c7343",
"from": "0x00b46c2526e227482e2ebb8f4c69e4674d262e75",
"gasUsed": "0xcaac",
"logs": [
"address": "0xb59f67a8bff5d8cd03f6ac17265c550ed8f33907",
"topics": [
"data": "0x000000000000000000000000000000000000000000000000000000012a05f200",
"blockNumber": "0x429d3b",
"transactionHash": "0xab059a62e22e230fe0f56d8555340a29b2e9532360368f810595453f6fdd213b",
"transactionIndex": "0xac",
"blockHash": "0x8243343df08b9751f5ca0c5f8c9c0460d8a9b6351066fae0acbd4d3e776de8bb",
"logIndex": "0x56",
"removed": false
"logsBloom": "0x00000000040000000000000000000000000000000000000000000000000000080000000010000000000000000000000000000000000040000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000010100000000000000000000000000004000000000000200000000000000000000000000000000000000000000",
"status": "0x1",
"to": "0xb59f67a8bff5d8cd03f6ac17265c550ed8f33907",
"transactionHash": "0xab059a62e22e230fe0f56d8555340a29b2e9532360368f810595453f6fdd213b",
"transactionIndex": "0xac",
"type": "0x0"