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

Transactions

PreviousContractsNextBlocks

Last updated 1 year ago

Check Transaction Receipt Status

Returns the status code of a transaction execution.

https://api-testnet.bttcscan.com/api
   ?module=transaction
   &action=gettxreceiptstatus
   &txhash=0x77492e7554da9eb6f6baa013e7406921f0aa222b10c351278ff5ea6d7940522a
   &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