Get the receipt for a contract write transaction.
cURL
curl --request GET \ --url https://sandbox.oumla.com/api/v1/contract-interactions/network/{networkId}/tx/{txId} \ --header 'x-api-key: <api-key>' \ --header 'x-sdk-version: <x-sdk-version>'
{ "receipt": { "blockHash": "<string>", "blockNumber": "<string>", "contractAddress": "<string>", "cumulativeGasUsed": "<string>", "effectiveGasPrice": "<string>", "from": "<string>", "gasUsed": "<string>", "logs": [ { "address": "<string>", "topics": [ "<string>" ], "data": "<string>", "blockNumber": "<string>", "transactionHash": "<string>", "transactionIndex": 123, "blockHash": "<string>", "logIndex": 123, "removed": true } ], "logsBloom": "<string>", "status": 123, "to": "<string>", "transactionHash": "<string>", "transactionIndex": 123, "type": 123 } }
API key for authentication
SDK version header
Network Id
Transaction ID
"0x5f8c2a1e3d9b4e1c7f8a0c6e4d9a2b1c3f6e7a9b8d4e5c1a2b3c4d5e6f7a"
Transaction receipt
Show child attributes
Was this page helpful?