Blocks

Get sortition by consensus hash

Changed on

Get sortition information for a specific consensus hash. Returns a single-element array with the matching sortition.

get/v3/sortitions/consensus/{consensus_hash}

Request

  • Base URL
    http://localhost:20443
  • URL
    http://localhost:20443/v3/sortitions/consensus/{consensus_hash}
  • Auth
    none required

Path parameters

consensus_hashstring required

Hex-encoded consensus hash (40 characters)

Response

Sortition information for the consensus hash

Sortitions required(unresolved $ref)

Changes

    • warning

      changed the pattern of the path request parameter consensus_hash from ^(0x)?[0-9a-f]{40}$ to ^[0-9a-f]{40}$

    • warning

      changed the pattern of the path request parameter consensus_hash from ^[0-9a-f]{40}$ to ^(0x)?[0-9a-f]{40}$