Get latest block
Changed onNotes
- Returns latest block
- Set <include_data> to true to include data for block.data.
Request
- Base URLhttps://mainnet-api.tig.foundation
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Response
Success
Example response
{
"block": {
"details": {
"emissions": {
"algorithm": "123456789123456789",
"advance": "123456789123456789",
"benchmarker": "123456789123456789",
"delegator": "123456789123456789",
"bootstrap": "123456789123456789",
"vault": "123456789123456789",
"challenge_owner": "123456789123456789"
}
},
"data": {
"confirmed_ids": {
"algorithm": [
"c002_a001"
],
"binary": [
"c002_a001"
],
"advance": [
"c002_a001"
],
"challenge": [
"c002"
]
},
"active_ids": {
"code": [
"c002_a001"
],
"advance": [
"c002_a001"
],
"challenge": [
"c002"
]
}
}
}
}Changes
- warning
removed the optional property
///from the response with the status - info
added the optional property
///to the response with the status - info
the
////response's property pattern was changed from^c[0-9]{3}_b[0-9]{3}$to^c[0-9]{3}_a[0-9]{3}$for the status - info
the
////response's property pattern was changed from^c[0-9]{3}_b[0-9]{3}$to^c[0-9]{3}_a[0-9]{3}$for the status
- warning
- warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- warning