Transactions
Check Contract Execution Status
Returns the status code of a contract execution.
https://gatescan.org/api
?module=transaction
&action=getstatus
&txhash=0xa6739d250695197e24c16763cca96d05b83fd30182a50dab8afc8b4c3f66b141
&apikey=YourApiKeyToken
Try this endpoint in your broswer
- Request
- Response
| Parameter | Description |
|---|---|
| txhash | the string representing the transaction hash to check the execution status |
{
"status":"1",
"message":"success",
"data":{ isError: 0, errDescription: '' }
}
📖 Tip: The
isErrorfield returns0for successful transactions and1for failed transactions.
Check Transaction Receipt Status
Returns the status code of a transaction execution.
https://gatescan.org/api
?module=transaction
&action=gettxreceiptstatus
&txhash=0xa6739d250695197e24c16763cca96d05b83fd30182a50dab8afc8b4c3f66b141
&apikey=YourApiKeyToken
Try this endpoint in your broswer
- Request
- Response
| Parameter | Description |
|---|---|
| txhash | the string representing the transaction hash to check the execution status |
{
"status":"1",
"message":"success",
"data":{ isError: 0, errDescription: '' }
}
📖 Tip: The
statusfield returns0for failed transactions and1for successful transactions.