Last updated 9 months ago
Returns the status code of a transaction execution.
https://api-cardona-zkevm.polygonscan.com/api ?module=transaction &action=gettxreceiptstatus &txhash=0x75d32bd325ed12bc7d9e8039d8d639249d0ab89523b5acc0c8b1333ac23d1061 &apikey=YourApiKeyToken
Try this endpoint in your browser
Query Parameters
Sample Response
{ "status":"1", "message":"OK", "result":{ "status":"1" } }
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