Transaction APIs
network | uri |
Mainnet | GET https://explorerapi.wemix.com/v1/transactions/{transaction_hash}/transaction-status |
Testnet | GET https://explorerapi.test.wemix.com/v1/transactions/{transaction_hash}/transaction-status |
- HEADER
key | value | required |
api-key | api-key | true |
- PATH VARIABLE
key | type | value | required |
transaction_hash | String | transaction hash | true |
GET https://explorerapi.test.wemix.com/v1/transactions/0xa0681cf716cd92903cfa5be78ac4cdf97cb2449f133f859439c100eb9de930c7/transaction-status
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f435391
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.data.status | Integer | Identify if the transaction is an error or not - 0: Error - 1: Success |
results.data.description | String | Message to add more information about the error |
{
"status": "200",
"message": "success",
"results": {
"data": {
"status": "1"
}
}
}
{
"status": "200",
"message": "success",
"results": {
"data": {
"status": "0",
"description": "execution reverted"
}
}
}
network | uri |
Mainnet | GET https://explorerapi.wemix.com/v1/transactions/{transaction_hash}/receipt-status |
Testnet | GET https://explorerapi.test.wemix.com/v1/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 |
GET https://explorerapi.test.wemix.com/v1/transactions/0xa0681cf716cd92903cfa5be78ac4cdf97cb2449f133f859439c100eb9de930c7/receipt-status
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539
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.data.status | String | Identify when the receipt of transaction is available - 0: Not available(exists transaction) - 1: Available |
{
"status": "200",
"message": "success",
"results": {
"data": {
"status": "1"
}
}
}
Last modified 2mo ago