Transaction APIs
Check contract execution status (if there was an error during contract execution)
URI
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
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
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.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
RESPONSE SAMPLE
Check transaction receipt status (Only applicable for Post Byzantium fork transactions)
URI
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
REQUEST SAMPLE
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.data.status
String
Identify when the receipt of transaction is available - 0: Not available(exists transaction) - 1: Available
RESPONSE SAMPLE
Get "Internal Transactions" by transaction hash
URI
network
uri
Mainnet
GET https://explorerapi.wemix.com/v1/transactions/{transaction_hash}/internal-transactions
Testnet
GET https://microscopeapi.test.wemix.com/v1/transactions/{transaction_hash}/internal-transactions
REQUEST PARAMETER
HEADER
key
value
required
api-key
api key
true
PATH VARIABLE
key
type
value
required
address_hash
String
Address of transaction
true
QUERY STRING
key
type
value
required
limit
Integer
Maximum number of record will retrieve Default: 50, Max: 1000
false
input
Boolean
Include input data Default: false
false
REQUEST SAMPLE
RESPONSE PARAMETER
key
type
value
status
String
Status of request
message
String
Response Message of request
results
Json
Results of request
results.count
String
Total count of data
results.data
List<Object>
List of data
results.data.timestamp
String
UTC time when the transaction occurred
results.data.sender
String
Address of sender
results.data.receiver
String
Address of receiver
results.data.value
String
Value of internal transaction
results.data.status
String
Status of internal transaction - 0: Failed, - 1: Success
results.data.message
String
Message of internal transaction
results.data.transaction_hash
String
Hash value of the transaction
results.data.block_number
String
Block height
results.data.contract_address
String
Address of contract creation if this is create contract transaction
results.data.trace_address
List<String>
Trace mapping information
results.data.trace_type
String
Type of trace: call, delegatecall, codecall, staticcall, selfdestruct
results.data.sub_traces
String
Number of sub traces from this internal transaction
results.data.transaction_index
String
Index of the transaction on the block
results.data.gas_used
String
Total amount of Gas used transactions
results.data.gas_limit
String
Limit of gas for executing the transaction
results.data.external_receiver
String
Whether external receive has occurred - false: external transaction exists - true: external transaction does not exist
results.data.input
String
Input parameters used when executing a transaction