WEMIX3.0
Search…
Transaction APIs

Check contract execution status (if there was an error during contract execution)

URI

GET /transactions/{transaction_hash}/transaction-status

REQUEST PARAMETER

  • HEADER
key
value
required
api-key
api-key
true
  • PATH VARIABLE
key
type
value
required
transaction_hash
String
transaction hash
true

REQUEST SAMPLE

GET https://microscopeapi.test.wemix.com/transactions/0xa0681cf716cd92903cfa5be78ac4cdf97cb2449f133f859439c100eb9de930c7/transaction-status
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f435391

RESPONSE PARAMETER

key
type
value
status
String
Status of request
message
String
Response Message of request
reuslts
Json
Results of request
reuslts.data
List<Object>
List of data
results.is_error
Integer
Identify if the transaction is an error or not - 0: Error - 1: Success
results.description
String
Message to add more information about the error

RESPONSE SAMPLE

{
"status": "200",
"message": "success",
"results": {
"data": {
"status": "1"
}
}
}
{
"status": "200",
"message": "success",
"results": {
"data": {
"status": "0",
"description": "execution reverted"
}
}
}

Check transaction receipt status (Only applicable for Post Byzantium fork transactions)

URI

GET /transactions/{transaction_hash}/receipt-status
REQUEST PARAMETER
  • HEADER
key
value
required
api-key
api-key
true
  • PATH VARIABLE
key
type
value
required
transaction_hash
String
transaction hash
true

REQUEST SAMPLE

GET https://microscopeapi.test.wemix.com/transactions/0xa0681cf716cd92903cfa5be78ac4cdf97cb2449f133f859439c100eb9de930c7/receipt-status
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539

RESPONSE PARAMETER

key
type
value
status
String
Status of request
message
String
Response Message of request
reuslts
Json
Results of request
reuslts.data
List<Object>
List of data
results.status
String
Identify when the receipt of transaction is available - 0: Not available(exists transaction) - 1: Available

RESPONSE SAMPLE

{
"status": "200",
"message": "success",
"results": {
"data": {
"status": "1"
}
}
}
Copy link
On this page
Check contract execution status (if there was an error during contract execution)
Check transaction receipt status (Only applicable for Post Byzantium fork transactions)