Account APIs
network | uri |
Mainnet | POST https://explorerapi.wemix.com/api/ext/v1/accounts/balance |
Testnet | POST https://explorerapi.test.wemix.com/api/ext/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.wemix.com/api/ext/v1/accounts/balance
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539
Content-Type: application/json
​
{
"addresses" : [
"0xD2Aa473e162fb6B4CecD84BebbAD8Eb0814da2d5",
"0xF14a18eBdD6755e2831049c54dEcc868d600bA86"
]
}
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": "0xd2aa473e162fb6b4cecd84bebbad8eb0814da2d5",
"balance": "31615686612302792023711269"
},
{
"address": "0xf14a18ebdd6755e2831049c54decc868d600ba86",
"balance": "12241691883754209924484000"
}
]
}
}
network | uri |
Mainnet | GET https://explorerapi.wemix.com/api/ext/v1/accounts/{address_hash}/transactions |
Testnet | GET https://explorerapi.test.wemix.com/api/ext/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/api/ext/v1/accounts/0xBbAB376Fd9c3a0f5ef1D2114c8dd1512FD858ee2/transactions
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539
key | type | value |
status | String | Status of request |
message | String | Response Message of request |
reuslts | Json | Results of request |
reuslts.count | String | Total count of data |
reuslts.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 | Address of sender |
results.data.receiver | String | Address of receiver |
results.data.value | String | Value of transaction |
results.data.confirmations | String | Block height |
results.data.transaction_hash | String | 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 | 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 | Fee of executing the transaction |
results.data.block_number | String | 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 | Gas price of transaction |
results.data.cumulative_gas_used | String | 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 | Lookup block(add simple only) |
results.data.from_block | String | Start block(add simple only) |
{
"status": "200",
"message": "success",
"results": {
"count": "3",
"data": [
{
"timestamp": "2022-12-20T09:18:53Z",
"sender": "0xbbab376fd9c3a0f5ef1d2114c8dd1512fd858ee2",
"receiver": "0x622ea38b1c34d1d7545effd65f5f60b2d32508f8",
"value": "1302103524570100000000000",
"confirmations": "6739444",
"transaction_hash": "0x57358003fca9b6f11011e8a1c456f7bbce496f63505eb59f298c297827c1cb0d",
"block_hash": "0x28da4e0d1067f69c136037bcec390f7009d16b325f9b4ce973ac4825914488e2",
"transaction_index": "0",
"tx_status": "0",
"block_number": "5293129",
"gas_price": "100000000001",
"cumulative_gas_used": "21000",
"gas_used": "21000",
"max_fee_per_gas": "101000000000",
"max_priority_fee_per_gas": "100000000000"
}
]
}
}
{
"status": "200",
"message": "success",
"results": {
"count": "3",
"data": [
{
"sender": "0xbbab376fd9c3a0f5ef1d2114c8dd1512fd858ee2",
"receiver": "0x622ea38b1c34d1d7545effd65f5f60b2d32508f8",
"transaction_hash": "0x57358003fca9b6f11011e8a1c456f7bbce496f63505eb59f298c297827c1cb0d",
"tx_status": "1",
"tx_fee": "2100000000021000",
"block_number": "5293129",
"gas_price": "100000000001",
"gas_used": "21000"
},
{
"sender": "0xbbab376fd9c3a0f5ef1d2114c8dd1512fd858ee2",
"receiver": "0x000000000000000000000000000000000000dead",
"transaction_hash": "0xefc42bd25e364f876f5d4b63e08eb06c4ffefea58fb50d8b7b657a8fe755473a",
"tx_status": "1",
"tx_fee": "2100000000021000",
"block_number": "3732837",
"gas_price": "100000000001",
"gas_used": "21000"
},
...
],
"to_block": "12032729"
}
}
network | uri |
Mainnet | GET https://explorerapi.wemix.com/api/ext/v1/accounts/{address_hash}/internal-transactions |
Testnet | GET https://explorerapi.test.wemix.com/api/ext/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/api/ext/v1/accounts/0xBEd789c6008F788a28fc222C83082D67033Daf7F/internal-transactions
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539
key | type | value |
status | String | Status of request |
message | String | Response Message of request |
reuslts | Json | Results of request |
reuslts.count | String | Total count of data |
reuslts.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 |
{
"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
]
}
}
network | uri |
Mainnet | GET https://explorerapi.wemix.com/api/ext/v1/accounts/{address_hash}/token-transfer/erc20 |
Testnet | GET https://explorerapi.test.wemix.com/api/ext/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.wemix.com/api/ext/v1/accounts/0x5Df201bF62dc17937E19E6900577B086b926F0ac/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": "6",
"data": [
{
"timestamp": "2023-03-08T09:46:54Z",
"sender": "0x5df201bf62dc17937e19e6900577b086b926f0ac",
"receiver": "0xfde44c243c392ffa1eec20091d68fcb39c209e67",
"value": "451900000000000000000",
"confirmations": "26",
"block_number": "12034087",
"transaction_hash": "0xa74735159db59701ca26b0d73f288cf07c8f43ecded3beb48e2186c74fc151f1",
"block_hash": "0x988c13384ce5364fb3f6366336f993f72da1a596d6e2c6840fbe3c5da51f1a1f",
"token_address": "0x8e81fcc2d4a3baa0ee9044e0d7e36f59c9bba9c1",
"token_name": null,
"token_symbol": null,
"token_decimals": null,
"transaction_index": "0"
},
...
]
}
}
network | uri |
Mainnet | GET https://explorerapi.wemix.com/api/ext/v1/accounts/{address_hash}/token-transfer/erc721 |
Testnet | GET https://explorerapi.test.wemix.com/api/ext/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.wemix.com/api/ext/v1/accounts/0x3D21Fc812be4a644aC73E6e666Fb664408016Ddb/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 | 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": "1",
"data": [
{
"timestamp": "2023-02-07T05:51:51Z",
"sender": "0x6b5850ed0cd08f60f0a92778ece37f833501e86b",
"receiver": "0x3d21fc812be4a644ac73e6e666fb664408016ddb",
"confirmations": "2579973",
"block_number": "9514355",
"transaction_hash": "0x327609e353cfe6bfb0aaa8ec486757f2317d7e3f0337bc78d34454f028d89aa0",
"block_hash": "0x409a64ab9b118f4ba525b7eec8163befcf6c2192cc5490b62fa447c2989e610b",
"token_address": "0x0b43f35039f6790cb40f823531956f6b779aa486",
"token_name": "London Underground Station(LUS) 264 Genesis",
"token_symbol": "LUS",
"token_decimals": null,
"transaction_index": "0"
},
...
]
}
}
network | uri |
Mainnet | GET https://explorerapi.wemix.com/api/ext/v1/accounts/{address_hash}/tokens |
Testnet |