LogoLogo
Testnet BscScan
Testnet BscScan
  • Testnet BscScan
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth/Parity Proxy
    • Tokens
    • Stats
  • Visit Testnet BscScan
Powered by GitBook
On this page

Was this helpful?

  1. API Endpoints

Transactions

PreviousContractsNextBlocks

Last updated 3 years ago

Was this helpful?

Check Transaction Receipt Status

Returns the status code of a transaction execution.

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