Account APIs
Get WEMIX Balance for a single address
URI
network
uri
Mainnet
POST https://explorerapi.wemix.com/v1/accounts/balance
Testnet
POST https://explorerapi.test.wemix.com/v1/accounts/balance
REQUEST PARAMETER
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
REQUEST SAMPLE
RESPONSE PARAMETER
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
RESPONSE SAMPLE
Get list of transactions by address.
URI
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
REQUEST PARAMETER
HEADER
key
value
required
api-key
api key
true
PATH VARIABLE
key
type
value
required
address_hash
String
Address(sender/receiver/contract)
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
REQUEST SAMPLE
RESPONSE PARAMETER
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)
RESPONSE SAMPLE
RESPONSE SAMPLE(Simple Transaction)
Get "Internal Transactions" by address
URI
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
REQUEST PARAMETER
HEADER
key
value
required
api-key
api key
true
PATH VARIABLE
key
type
value
required
address_hash
String
Address(sender/receiver/contract)
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
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
RESPONSE SAMPLE
Get a list of "ERC20 - Token Transfer Events" by address
URI
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
REQUEST PARAMETER
HEADER
key
value
required
api-key
api key
true
PATH VARIABLE
key
type
value
required
address_hash
String
Address(sender/receiver/contract)
Transaction Address
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
REQUEST SAMPLE
RESPONSE PARAMETER
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
RESPONSE SAMPLE
Get a list of "ERC721 - Token Transfer Events" by address
URI
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
REQUEST PARAMETER
HEADER
key
value
required
api-key
api key
true
PATH VARIABLE
key
type
value
required
address_hash
String
Address(sender/receiver/contract)
Transaction Address
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
REQUEST SAMPLE
RESPONSE PARAMETER
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
RESPONSE SAMPLE
Get ERC20/ERC721 Token List for a single address
URI
network
uri
Mainnet
GET https://explorerapi.wemix.com/v1/accounts/{address_hash}/tokens
Testnet
GET https://explorerapi.test.wemix.com/v1/accounts/{address_hash}/tokens
REQUEST PARAMETER
HEADER
key
value
required
api-key
api-key
true
PATH VARIABLE
key
type
value
required
address_hash
String
address of token holder
true
QUERY STRING
key
type
value
required
limit
Number
Maximum number of record will retrieve Default: 50
false
offset
Number
Start retrieve record Default: 0
false
REQUEST SAMPLE
RESPONSE PARAMETER
key
type
value
erc_20
List<Object>
List of ERC-20
erc_20.count
String
Count of ERC-20 Lists
erc_20.results
Json
Results of request
erc_20.results.balance
String
Balance
erc_20.results.token_address
String
Address of token
erc_20.results.holder_address
String
Address of holder
erc_20.results.holder_type
String
Type of token
erc_20.results.token_decimals
String
Decimal of token
erc_721
List<Object>
List of ERC-721
erc_721.count
String
Count of ERC-721 Lists
erc_721.results
Json
Results of request
erc_721.results.balance
String
Balance
erc_721.results.token_address
String
Address of token
erc_721.results.holder_address
String
Address of holder
RESPONSE SAMPLE
Get ERC20 Token List for a single address
URI
network
uri
Mainnet
GET https://explorerapi.wemix.com/v1/accounts/{address_hash}/tokens/erc20
Testnet
GET https://explorerapi.test.wemix.com/v1/accounts/{address_hash}/tokens/erc20
REQUEST PARAMETER
HEADER
key
value
required
api-key
api-key
true
PATH VARIABLE
key
type
value
required
address_hash
String
address of token holder
true
QUERY STRING
key
type
value
required
limit
Number
Maximum number of record will retrieve Default: 50
false
offset
Number
Start retrieve record Default: 0
false
REQUEST SAMPLE
RESPONSE PARAMETER
key
type
value
status
String
Status of request
message
String
Message of request
results
Json
Results of request
results.count
String
Total count of ERC-20 List
results.data.token_address
String
Address of token
results.data.token_name
String
Name of token
results.data.token_symbol
String
Symbol of token
RESPONSE SAMPLE
Get ERC721 Token List for a single address
URI
network
uri
Mainnet
GET https://explorerapi.wemix.com/v1/accounts/{address_hash}/tokens/erc721
Testnet
GET https://explorerapi.test.wemix.com/v1/accounts/{address_hash}/tokens/erc721
REQUEST PARAMETER
HEADER
key
value
required
api-key
api-key
true
PATH VARIABLE
key
type
value
required
address_hash
String
address of token holder
true
QUERY STRING
key
type
value
required
limit
Number
Maximum number of record will retrieve Default: 50
false
offset
Number
Start retrieve record Default: 0
false
REQUEST SAMPLE
RESPONSE PARAMETER
key
type
value
status
String
Status of request
message
String
Message of request
results
Json
Results of request
results.count
String
Total count of ERC-721 List
results.data.token_address
String
Address of token
results.data.token_name
String
Name of token
results.data.token_symbol
String
Symbol of token
RESPONSE SAMPLE
Get ERC721 Token Inventory of a specific ERC721 contract
URI
network
uri
Mainnet
GET https://explorerapi.wemix.com/v1/accounts/{address_hash}/tokens/inventory/{token_address}
Testnet
GET https://explorerapi.test.wemix.com/v1/accounts/{address_hash}/tokens/inventory/{token_address}
REQUEST PARAMETER
HEADER
key
value
required
api-key
api-key
true
PATH VARIABLE
key
type
value
required
contract_address
String
Contract address requiring inventory list
true
token_address
String
Specific token address
false
QUERY STRING
key
type
value
required
limit
Number
Maximum number of record will retrieve Default: 50
false
offset
Number
Start retrieve record Default: 0
false
REQUEST SAMPLE
RESPONSE PARAMETER
key
type
value
status
String
Status of request
message
String
Message of request
results
Json
Results of request
results.count
String
Count of inventory
results.data
List<Object>
List of data
results.data.contract_address
String
token contract address
results.data.token_id
String
Id of token
results.data.token_uri
String
uri of token
results.data.token_name
String
token name
results.data.token_symbol
String
token symbol
RESPONSE SAMPLE
Get list of Blocks Mined by address
URI
network
uri
Mainnet
GET https://explorerapi.wemix.com/v1/accounts/{address_hash}/mined-blocks
Testnet
GET https://explorerapi.test.wemix.com/v1/accounts/{address_hash}/mined-blocks
REQUEST PARAMETER
HEADER
key
value
required
api-key
api key
true
PARH VARIABLE
key
type
value
required
address_hash
String
Address of miner
true
QUERY STRING
key
type
value
required
limit
Number
Maximum number of record will retrieve Default: 50
false
offset
Number
Start retrieve record Default: 0
false
REQUEST SAMPLE
RESPONSE PARAMETER
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.miner
String
Address of miner
results.data.reward
String
Reward for miner when mining this block
results.data.fees
String
Fee used when block was created
results.data.block_number
String
Block height
results.data.gas_used
String
Number of used gas
results.data.gas_limit
String
Number of limit gas
results.data.transaction_count
String
Number of transactions in the block
results.data.mining_reward
String
Rewards specified when blocks are created (pmr)