WEMIX3.0
WEMIX3.0 (KOR)
Search
K

Block APIs

Get Block And Uncle Rewards by block number

URI

network
uri
Mainnet
GET https://explorerapi.wemix.com/v1/blocks/{block_number}
Testnet
GET https://explorerapi.test.wemix.com/v1/blocks/{block_number}

REQUEST PARAMETER

  • HEADER
key
value
required
api-key
api-key
true

REQUEST SAMPLE

GET https://explorerapi.wemix.com/v1/blocks/6029508
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539
Content-Type: application/json

RESPONSE PARAMETER

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.fees
String
Fee used when block was created
results.data.block_number
Integer
Number of the block containing the transaction
results.data.mining_reward
String
Rewards specified when blocks are created (pmr)

RESPONSE SAMPLE

{
"status": "200",
"message": "success",
"results": {
"data": {
"timestamp": "2022-12-28T21:51:44Z",
"miner": "0x6ec14966480e3baf4c62a1f4532c95c42b07b9c9",
"reward": "1000000000000000000",
"fees": "0",
"block_number": "6029508",
"mining_reward": "1000000000000000000"
}
}
}