Transactions

Check Contract Execution Status

Returns the status code of a contract execution.

https://api-sepolia-optimism.etherscan.io/api
   ?module=transaction
   &action=getstatus
   &txhash=0xd79cbb87071ac677b3a40ae174fb409ff6c05cf172d966d1a246aa6023b6f74f
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

txhash

the string representing the transaction hash to check the execution status

Check Transaction Receipt Status

Returns the status code of a transaction execution.

📝 Note: Only applicable for post Byzantium Fork transactions.

https://api-sepolia-optimism.etherscan.io/api
   ?module=transaction
   &action=gettxreceiptstatus
   &txhash=0x62465076c448b8d48568b8addbf4fe8dd7088c5bcce4fb82f92953000e10972c
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

txhash

the string representing the transaction hash to check the execution status

Last updated