Transactions
Check Contract Execution Status
Returns the status code of a contract execution.
https://api.xdcscan.io/api
?module=transaction
&action=getstatus
&txhash=0x3ac8a2f2db1c13edb2a2e9040f2378f0edc74bc59495365a637fe85ddc88c5fcTry this endpoint in your browser 🔗
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":"Transaction fail"
}
}Check Transaction Receipt Status
Returns the status code of a transaction execution.
https://api.xdcscan.io/api
?module=transaction
&action=gettxreceiptstatus
&txhash=0x8a317d8a24629994da2bf25de2896fb55aec4de837425cb5bcf6ba697e06af89
&apikey=YourApiKeyTokenTry this endpoint in your browser 🔗
Query Parameters
Parameter
Description
txhash
the string representing the transaction hash to check the execution status
Sample Response
{
"status":"1",
"message":"OK",
"result":{
"status":"1"
}
}Last updated