v1

latestOpenAPI 3.0.32026-07-173986194.3 KB

get/consensus/roothash_messages

Query parameters

limitinteger

The maximum numbers of items to return.

offsetinteger

The number of items to skip before starting to collect the result set.

runtime'emerald' | 'sapphire' | 'pontusxtest' | 'pontusxdev' | 'cipher' required
roundinteger
type'staking.transfer' | 'staking.withdraw' | 'staking.add_escrow' | 'staking.reclaim_escrow' | 'registry.update_runtime' | 'governance.cast_vote' | 'governance.submit_proposal'
Example:staking.transfer
relstring

An Oasis-style (bech32) address.

Example:oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p

Response

A JSON object containing a list of roothash messages.

total_countinteger required

The total number of records that match the query, i.e. the number of records the query would return with limit=infinity.

is_total_count_clippedboolean required

Whether total_count is clipped for performance reasons.

Example response

{
  "total_count": 412,
  "is_total_count_clipped": true,
  "roothash_messages": [
    {
      "runtime": "sapphire",
      "round": 1357490,
      "type": "staking.transfer",
      "body": {
        "from": "oasis1qqzjq6lqjf8d07ehhvu5ytc47dck8w7a6qgn7efh",
        "amount": "500000000"
      },
      "error_module": "staking",
      "error_code": 3,
      "result": {
        "owner": "oasis1qqzjq6lqjf8d07ehhvu5ytc47dck8w7a6qgn7efh",
        "beneficiary": "oasis1qrd3mnzhhgst26hsp96uf45yhq6zlax0cuzdgcfc",
        "allowance": "97000000000",
        "amount_change": "500000000"
      }
    }
  ]
}