Account APIs
network | uri |
Mainnet | POST https://explorerapi.wemix.com/v1/accounts/balance |
Testnet | POST https://explorerapi.test.wemix.com/v1/accounts/balance |
- HEADER
key | value | required |
Content-Type | application/json | true |
api-key | api key | true |
- BODY(application/json)
key | type | value | required |
addresses | List<String> | Address of account: - min : 1 - max : 20 | true |
POST https://explorerapi.test.wemix.com/v1/accounts/balance
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539
Content-Type: application/json
​
{
"addresses" : [
"0x76C6E4A0a2A141343c370D5d36276DA643B0c829",
"0xcD07A6d6A8DE7CdD3F5E1224eBC3540f70AEC52f"
]
}
key | type | value |
status | String | Status of request |
message | String | Response Message of request |
results | Json | Results of request |
results.data | List<Object> | List of data |
results.data.address | String | Address of account |
results.data.balance | String | Balance of address |
{
"status": "200",
"message": "success",
"results": {
"data": [
{
"address": "0x76C6E4A0a2A141343c370D5d36276DA643B0c829",
"balance": "999999999989999999999589997401953799975191356000"
},
{
"address": "0xcD07A6d6A8DE7CdD3F5E1224eBC3540f70AEC52f",
"balance": "10000000000009000000000000000004"
}
]
}
}
network | uri |
Mainnet | GET https://explorerapi.wemix.com/v1/accounts/{address_hash}/transactions |
Testnet | GET https://explorerapi.test.wemix.com/v1/accounts/{address_hash}/transactions |
- HEADER
key | value | required |
api-key | api key | true |
- PATH VARIABLE
key | type | value | required |
address_hash | String |
| true |
- QUERY STRING
key | type | value | required |
limit | Integer | Maximum number of record will retrieve Default: 50, Max: 1000 | false |
offset | Integer | Start retrieve record Default: 0 | false |
startBlock | String | Start block Default: null | false |
endBlock | String | End block Default: null | false |
input | Boolean | Include input data - true - Default: false | false |
simple | Boolean | Include data simple - true - Default: false | false |
condition | String | Address condition - Default: all - to - from - contract | ​ |
GET https://explorerapi.wemix.com/v1/accounts/0xBbAB376Fd9c3a0f5ef1D2114c8dd1512FD858ee2/transactions
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539
key | type | include data simple | 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.nonce | String | ​ | Number of transaction requests |
results.data.sender | String | O | Address of sender |
results.data.receiver | String | O | Address of receiver |
results.data.value | String | ​ | Value of transaction |
results.data.confirmations | String | ​ | Block height |
results.data.transaction_hash | String | O | Hash value of the transaction |
results.data.block_hash | String | ​ | Hash value of the block |
results.data.transaction_index | String | ​ | Index of the transaction on the block |
results.data.tx_status | String | O | Status of the transaction: - 0: Failed, - 1: Success |
results.data.tx_message | String | ​ | Message when executing transaction |
results.data.in_tx_status | String | ​ | Status of internal transaction. - 0: Failed, - 1: Success |
results.data.in_tx_message | String | ​ | Message when executing internal transaction |
results.data.tx_fee | String | O | Fee of executing the transaction |
results.data.block_number | String | O | Number of block that contains the transaction |
results.data.contract_address | String | ​ | Address of contract creation if this is create contract transaction |
results.data.gas_limit | String | ​ | Limit of gas for executing the transaction |
results.data.gas_price | String | O | Gas price of transaction |
results.data.cumulative_gas_used | String | O | Total amount of gas used when transaction was executed in the block. |
results.data.gas_used | String | ​ | Total amount of Gas used transactions |
results.data.max_fee_per_gas | String | ​ | Maximum (priority fee + base fee) limit |
results.data.max_priority_fee_per_gas | String | ​ | Maximum priority fee limit |
results.data.input | String | ​ | ABI encoding of transaction data |
results.data.to_block | String | O | Lookup block(add simple only) |
results.data.from_block | String | O | Start block(add simple only) |
{
"status": "200",
"message": "success",
"results": {
"count": "23712",
"data": [
{
"timestamp": "2022-12-28T00:08:23Z",
"sender": "0xac4783dcf53c1fb67e152c300390d61ea8b3e1d3",
"receiver": "0x0898a80d55e4de9d398193d0f6aa788b9790e8d3",
"value": "0",
"confirmations": "6070555",
"transaction_hash": "0x56e18258a7fa25ca232402c708926bfb44a1cea4ead4d5803cadea0d8aaaa2b4",
"block_hash": "0x886565489899cb867f054a1ed301c190687776a265824065c055f799e69a570f",
"transaction_index": "0",
"tx_status": "0",
"block_number": "14133850",
"gas_price": "110000000000",
"cumulative_gas_used": "67884",
"gas_used": "67884",
"max_fee_per_gas": "110000000000",
"max_priority_fee_per_gas": "110000000000"
},
...
]
}
}
{
"status": "200",
"message": "success",
"results": {
"count": "23712",
"data": [
{
"sender": "0xac4783dcf53c1fb67e152c300390d61ea8b3e1d3",
"receiver": "0x0898a80d55e4de9d398193d0f6aa788b9790e8d3",
"transaction_hash": "0x56e18258a7fa25ca232402c708926bfb44a1cea4ead4d5803cadea0d8aaaa2b4",
"tx_status": "1",
"tx_fee": "7467240000000000",
"block_number": "14133850",
"gas_price": "110000000000",
"gas_used": "67884"
},
...
],
"to_block": "20204526"
}
}
network | uri |
Mainnet | GET https://explorerapi.wemix.com/v1/accounts/{address_hash}/internal-transactions |
Testnet | GET https://explorerapi.test.wemix.com/v1/accounts/{address_hash}/internal-transactions |
- HEADER
key | value | required |
api-key | api key | true |
- PATH VARIABLE
key | type | value | required |
address_hash | String |
| true |
- QUERY STRING
key | type | value | required |
limit | Integer | Maximum number of record will retrieve Default: 50, Max: 1000 | false |
offset | Integer | Start retrieve record Default: 0 | false |
startBlock | String | Start block Default: null | false |
endBlock | String | End block Default: null | false |
input | Boolean | Include input data Default: false | false |
GET https://explorerapi.wemix.com/v1/accounts/0xBEd789c6008F788a28fc222C83082D67033Daf7F/internal-transactions?input=true
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539
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 |
{
"status": "200",
"message": "success",
"results": {
"count": "2047",
"data": [
{
"timestamp": "2023-02-15T06:24:53Z",
"sender": "0xbed789c6008f788a28fc222c83082d67033daf7f",
"receiver": "0x53b690b826d611884d40f68252236d7c23d32d53",
"value": "0",
"status": "0",
"message": null,
"transaction_hash": "0x985512f6e0729d28ccdd568f6e9b7486b63aa0926cd4dbd9852b5899e9d27f7e",
"block_number": "10207545",
"contract_address": null,
"trace_address": [
"0",
"1"
],
"trace_type": "delegatecall",
"sub_traces": null,
"transaction_index": "0",
"gas_used": "43323",
"gas_limit": "81177",
"external_receiver": false
"input": "0xbac4f3380000000000000000000000007ad5ffaa39d3638fc775bb118d1092caa210fcbf"
]
}
}
network | uri |
Mainnet | GET https://explorerapi.wemix.com/v1/accounts/{address_hash}/token-transfer/erc20 |
Testnet | GET https://explorerapi.test.wemix.com/v1/accounts/{address_hash}/token-transfer/erc20 |
- HEADER
key | value | required |
api-key | api key | true |
- PATH VARIABLE
key | type | value | required |
address_hash | String |
| true |
- QUERY STRING
key | type | value | required |
limit | Integer | Maximum number of record will retrieve Default: 50, Max: 1000 | false |
offset | Integer | Start retrieve record Default: 0 | false |
startBlock | String | Start Block Default: null | false |
endBlock | String | End Block Default: null | false |
GET https://explorerapi.test.wemix.com/v1/accounts/0x43dc58449beb06bf350e0181703c617f0bfa78bf/token-transfer/erc20
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539
key | type | value |
status | String | Status of request |
message | String | 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 | Transfer value |
results.data.confirmations | String | Number of block's confirmation |
results.data.block_number | String | Block number |
results.data.transaction_hash | String | Hash of transaction |
results.data.block_hash | String | Hash of block |
results.data.token_address | String | Token creation if this is create token contract address |
results.data.token_name | String | Name of token |
results.data.token_symbol | String | Symbol of token |
results.data.token_decimals | String | Decimals of token |
results.data.transaction_index | String | Index of transaction |
{
"status": "200",
"message": "success",
"results": {
"count": "2",
"data": [
{
"timestamp": "2023-01-19T12:35:54Z",
"sender": "0x43dc58449beb06bf350e0181703c617f0bfa78bf",
"receiver": "0x05ceb79bf4cd7a24bbe6066d9e54c643b9cb1108",
"value": "0",
"confirmations": "4126491",
"block_number": "16079523",
"transaction_hash": "0x626c86c34db077d68131094d9768abf3cd03be3267d1a967e4352835ab09f73e",
"block_hash": "0x2795a79f72ddd47c729fefd36797713e4de3fc25b24e70357d59612abc5ac961",
"token_address": "0x01199b488fa05df702eee426b14d1cfdbd7b746d",
"token_name": null,
"token_symbol": null,
"token_decimals": null,
"transaction_index": "0"
},
{
"timestamp": "2023-01-18T14:40:32Z",
"sender": "0xd9a370dd275181b47e39d6e88625d44f2eb1a466",
"receiver": "0x43dc58449beb06bf350e0181703c617f0bfa78bf",
"value": "0",
"confirmations": "4205414",
"block_number": "16000600",
"transaction_hash": "0x5077a2519f8c8e6cf6bce16c6228068063b86fc54a771371d8d79a2d88267bde",
"block_hash": "0x23fda9b7bc8aabe59ccfd56a67d7660a927a576e65866c0fb8bdeff0cbd24909",
"token_address": "0x32637199e54e5b79990d84a0d2a161ec22ac1068",
"token_name": null,
"token_symbol": null,
"token_decimals": null,
"transaction_index": "0"
}
]
}
}
network | uri |
Mainnet | GET https://explorerapi.wemix.com/v1/accounts/{address_hash}/token-transfer/erc721 |
Testnet | GET https://explorerapi.test.wemix.com/v1/accounts/{address_hash}/token-transfer/erc721 |
- HEADER
key | value | required |
api-key | api key | true |
- PATH VARIABLE
key | type | value | required |
address_hash | String |
| true |
- QUERY STRING
key | type | value | required |
limit | Integer | Maximum number of record will retrieve Default: 50, Max: 1000 | false |
offset | Integer | Start retrieve record Default: 0 | false |
startBlock | String | Start Block Default: null | false |
endBlock | String | End Block Default: null | false |
GET https://explorerapi.test.wemix.com/v1/accounts/0x43dc58449beb06bf350e0181703c617f0bfa78bf/token-transfer/erc721
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539
key | type | value |
status | String | Status of request |
message | String | 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.confirmations | String | Number of block's confirmation |
results.data.block_number | String | Block number |
results.data.transaction_hash | String | Hash of transaction |
results.data.block_hash | String | Hash of block |
results.data.token_address |