Last updated 1 year ago
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 browser
Query Parameters
Sample Response
{ "status":"1", "message":"OK", "result":{ "status":"0" } }
Tip: The status field returns 0 for failed transactions and 1 for successful transactions.
status
0
1
txhash
the string representing the transaction hash to check the execution status
string