Transactions
Last updated
Last updated
Returns the status code of a contract execution.
https://api.polygonscan.com/api
?module=transaction
&action=getstatus
&txhash=0x591ca00bf6b404e24e21732023abc0416673beff9586f37e61fb0f07ca560940
&apikey=YourApiKeyToken
Try this endpoint in your browser
Query Parameters
txhash
the string
representing the transaction hash to check the execution status
Returns the status code of a transaction execution.
https://api.polygonscan.com/api
?module=transaction
&action=gettxreceiptstatus
&txhash=0x591ca00bf6b404e24e21732023abc0416673beff9586f37e61fb0f07ca560940
&apikey=YourApiKeyToken
Query Parameters
Parameter
Description
txhash
the string
representing the transaction hash to check the execution status
Try this endpoint in your browser
Tip: The status
field returns 0
for failed transactions and 1
for successful transactions.