Links

Transactions

Check Transaction Receipt Status

Returns the status code of a transaction execution.
https://api-testnet.polygonscan.com/api
?module=transaction
&action=gettxreceiptstatus
&txhash=0xac9326fa3a467ae070b4e08829186d1f3e7e13f0796157cb5cd0775b3f465e2c
&apikey=YourApiKeyToken
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
{
"status":"1",
"message":"OK",
"result":{
"status":"0"
}
}
📖
Tip: The status field returns 0 for failed transactions and 1 for successful transactions.