Transactions

Check Transaction Receipt Status

Returns the status code of a transaction execution.
1
https://api.bscscan.com/api
2
?module=transaction
3
&action=gettxreceiptstatus
4
&txhash=0xe9975702518c79caf81d5da65dea689dcac701fcdd063f848d4f03c85392fd00
5
&apikey=YourApiKeyToken
Copied!
Try this endpoint in your browser
πŸ”—
Request
Response
Query Parameters
Parameter
Description
txhash
the string representing the transaction hash to check the execution status
Sample Response
1
{
2
"status":"1",
3
"message":"OK",
4
"result":{
5
"status":"1"
6
}
7
}
Copied!
​
πŸ“–
Tip: The status field returns 0 for failed transactions and 1 for successful transactions.
Copy link