Skip to content

Latest commit

 

History

History
52 lines (50 loc) · 2.03 KB

File metadata and controls

52 lines (50 loc) · 2.03 KB
title eth_getTransactionReceipt
sidebar_label eth_getTransactionReceipt
description Returns the receipt of a transaction by transaction hash.
hide_title true
hide_table_of_contents true
keywords
eth_getTransactionReceipt

import SimplifiedApiReference from '@site/src/components/SimplifiedApiReference'

<SimplifiedApiReference method="eth_getTransactionReceipt" description="Returns the receipt of a transaction by transaction hash." parameters={[ { name: 'Transaction hash', type: 'string', required: true, description: '32 byte hex value', }, ]} returns={{ type: 'null', description: 'Receipt information', }} exampleRequest={await provider.request({ method: 'eth_getTransactionReceipt', params: ['0x504ce587a65bdbdb6414a0c6c16d86a04dd79bfcc4f2950eec9634b30ce5370f'], })} exampleResponse={{ "id": 1, "jsonrpc": "2.0", "result": { "blockHash": "0xe7212a92cfb9b06addc80dec2a0dfae9ea94fd344efeb157c41e12994fcad60a", "blockNumber": "0x50", "contractAddress": null, "cumulativeGasUsed": "0x5208", "from": "0x627306090abab3a6e1400e9345bc60c78a8bef57", "gasUsed": "0x5208", "blobGasUsed": "0x20000", "effectiveGasPrice": "0x1", "blobGasPrice": "0x3", "logs": [], "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "status": "0x1", "to": "0xf17f52151ebef6c7334fad080c5704d77216b732", "transactionHash": "0xc00e97af59c6f88de163306935f7682af1a34c67245e414537d02e422815efc3", "transactionIndex": "0x0" } }} />