Apescan
Curtis Apescan
Curtis Apescan
  • Sepolia Testnet
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth/Parity Proxy
    • Tokens
    • Stats
  • Visit Curtis Apescan
Powered by GitBook
On this page
  • Check Contract Execution Status
  • Check Transaction Receipt Status
Export as PDF
  1. API Endpoints

Transactions

PreviousContractsNextBlocks

Last updated 2 months ago

Check Contract Execution Status

Returns the status code of a contract execution.

https://api-curtis.apescan.io/api
   ?module=transaction
   &action=getstatus
   &txhash=0x8dac9d2429f2f73cab7db5d26986f77b96552188b1c969a50ce7bff563ffbb6c
   &apikey=YourApiKeyToken

Try this endpoint in your

Query Parameters

Parameter
Description

txhash

the string representing the transaction hash to check the execution status

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":{
      "isError":"1",
      "errDescription":"execution reverted"
   }
}

Tip: The isError field returns 0 for successful transactions and 1 for failed transactions.

Check Transaction Receipt Status

Returns the status code of a transaction execution.

Note: Only applicable for post transactions.

https://api-curtis.apescan.io/api
   ?module=transaction
   &action=gettxreceiptstatus
   &txhash=0x57fe171a6bcf99669f4bb4a0947a59503f7a88059a9749e3d3ebecda53c08f55
   &apikey=YourApiKeyToken

Query Parameters

Parameter
Description

txhash

the string representing the transaction hash to check the execution status

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":{
      "status":"0"
   }
}

Try this endpoint in your

Tip: The status field returns 0 for failed transactions and 1 for successful transactions.

🎯
📖
🔗
📖
📝
browser
Byzantium Fork
🔗
browser