(Unstable) Get the proofs of a Cardano block list

Changed on

Returns block hashes and associated transaction proofs from the latest Cardano Blocks and Transactions signed entity. Using this endpoint require Aggregator's capabilities to include CardanoBlocksTransactions in the signed_entity_types

get/proof/v2/cardano-block

Request

  • Base URL: https://aggregator.release-preprod.api.mithril.network/aggregator
  • URL: https://aggregator.release-preprod.api.mithril.network/aggregator/proof/v2/cardano-block
  • Auth: none declared

Query parameters

block_hashesstring[] required

Hashes of the Cardano blocks to retrieve proofs for

[
  "6dbb104ed68481ef829a26a20142916d17985e01774d72d72c2f6a20142916d0"
]

Response

Cardano block proofs found

certificate_hashstring bytes required

Hash of the certificate that validate the merkle root of this proof

non_certified_blocksstring[] required
latest_block_numberinteger required

Last block number

security_parameterinteger required

The number of blocks from the tip of the chain at certification time

Example response

{
  "certificate_hash": "7905e83ab5d7bc082c1bbc3033bfd19c539078830d19080d1f241c70aa532572",
  "certified_blocks": {
    "items": [
      {
        "block_hash": "6dbb104ed68481ef829a26a20142916d17985e01774d72d72c2f6a20142916d0",
        "block_number": 123456789,
        "slot_number": 987654321
      }
    ],
    "proof": "5b73136372c38302c37342c3136362c313535b5b323136362c313535b5b3232352c3230332c3235352c313030262c38322c39382c32c39332c3138342c313532352c3230332c3235352c313030262c33136362c313535b5b3232352c3230332c3235352c313030262c38322c39382c32c39332c3138342c31358322c39382c32c39332c3138342c3135362c3136362c32312c3131312c3232312c36332c3137372c3232332c3232332c31392c3537"
  },
  "non_certified_blocks": [
    "732d0d1272e6e70736367ee6f6328364f6b739309666a1ea2cae340158745170"
  ],
  "latest_block_number": 7060000,
  "security_parameter": 15
}

Changes

    • info

      added the required property to the response with the status

    • breaking

      added subschema #1 subschema #2 to the response property oneOf list for the response status

    • breaking

      the response's property type changed from array to no type for status