FTMScan
HomeTwitterKnowledge Base API PRO
FTMScan
FTMScan
  • Introduction
  • ✨Getting Started
    • Creating an Account
    • Getting an API Key
    • Endpoint URLs
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth Proxy
    • Tokens
    • Gas Tracker
    • Stats
  • 🏆API PRO
    • FTMScan API PRO
    • API PRO Endpoints
  • 📖Tutorials
    • Integrating Google Sheets
    • Verifying Contracts Programmatically
  • 🤝Support
    • FAQ
    • Rate Limits
    • Common Error Messages
    • Getting Help
  • Visit FTMScan.com
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.ftmscan.com/api
   ?module=transaction
   &action=gettxreceiptstatus
   &txhash=0xdc89147c069b91d85289555a89cc7267c4d768e49da9b92a587c575e487b226f
   &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":"0"
   }
}

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

🎯
🔗
📖
browser