Comment on page
Transactions
Returns the status code of a contract execution.
https://api.arbiscan.io/api
?module=transaction
&action=getstatus
&txhash=0x8cb52a2787728fb4011581c272c7e50092b65c0ba6f89314c2eb085fc71abb10
&apikey=YourApiKeyToken
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":{
"isError":"1",
"errDescription":"Revert"
}
}
Tip: The
📖
isError
field returns 0
for successful transactions and 1
for failed transactions.Returns the status code of a transaction execution.
https://api.arbiscan.io/api
?module=transaction
&action=gettxreceiptstatus
&txhash=0x89bb28f55047a8ca895e6d11bf7d537e3e54bee804fb7e1d83eec4f133abc5f3
&apikey=YourApiKeyToken
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.Last modified 1yr ago