Sortition by consensus hash

RPC node

Retrieves information about a sortition by its consensus hash.

GET

Parameters

Path Parameters

consensus_hash
REQUIRED
string Hex-encoded consensus hash (40 characters)
Status codeDescription
200Sortition information for the consensus hash
400Bad request
404Not found
500Internal Server Error
cURL
curl -L \
"https://api.hiro.so/v3/sortitions/consensus/{consensus_hash}" \
-H 'Accept: application/json'
Response
[
{
"burn_block_hash": "0x00000000000000000002173857dc821186d17c6aee85e545a74625b6bc9c3656",
"burn_block_height": 902499,
"burn_header_timestamp": 1750747303,
"sortition_id": "0x7ae9066d4c3cf4a5c5f5f89d30bd012317be1c10f520af6b8f35d169c3a424ba",
"parent_sortition_id": "0x04d40e2ee2a9ee79c59c2e85b2f742c57bdeed5a2c32bb3bf659a77e892d8234",
"consensus_hash": "0xe4a00a6c88722c7812ba0a2f780c42247c1d2d4c",
"was_sortition": true,
"miner_pk_hash160": "0x37e79a837b4071a1fc6c1b49208e7d2141a25905",
"stacks_parent_ch": "0x7d3094294fabc1948d15fca4566ee2175a1e9808",
"last_sortition_ch": "0x7d3094294fabc1948d15fca4566ee2175a1e9808",
"committed_block_hash": "0xdeb48fe0b0600092968fb7de1b6d586b111be7cd61bf52a666d14d41d6835ded",
"vrf_seed": "0x49b75b824fcf765264d6ec91889a146bf52d46e2688f1b7ae7f7e5187765e99d"
}
]

How is this guide?