Block APIs
network | uri |
Mainnet | GET https://explorerapi.wemix.com/v1/blocks/{block_number} |
Testnet | GET https://explorerapi.test.wemix.com/v1/blocks/{block_number} |
- HEADER
key | value | required |
api-key | api-key | true |
GET https://explorerapi.test.wemix.com/v1/blocks/2731417
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539
Content-Type: application/json
key | type | value |
status | String | Status value of request |
message | String | Message of request |
results | Json | Result of request |
results.data | List<Object> | List of data |
results. data.timestamp | String | UTC time when the transaction occurred |
results.data.miner | String | Address of block's miner |
result.data.reward | String | Reward of block |
results.data.block_number | Integer | Number of the block containing the transaction |
{
"status": "200",
"message": "success",
"results": {
"data": {
"timestamp": "2022-08-18T00:49:24Z",
"miner": "0x57BfD8E8ce95fd8FEfcaAc5f54ECc7afe6bd3DCC",
"reward": "1000000000000000000",
"block_number": "2731417"
}
}
}
Last modified 2mo ago