FTMScan
HomeTwitterKnowledge Base
Testnet FTMScan
Testnet FTMScan
  • Testnet FTMScan
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth Proxy
    • Tokens
    • Stats
  • Visit Testnet FTMScan
Powered by GitBook
On this page
  1. API Endpoints

Transactions

PreviousContractsNextBlocks

Last updated 3 years ago

Check Transaction Receipt Status

Returns the status code of a transaction execution.

https://api-testnet.ftmscan.com/api
   ?module=transaction
   &action=gettxreceiptstatus
   &txhash=0x2138bb2b1c54d8d89564123da1a46d9d15c996639696c63e7ee9f5b32371ecd3
   &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":{
      "status":"1"
   }
}

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

🎯
🔗
📖
browser