Amazon QLDB · JSON Structure

Amazon Qldb Get Block Request Structure

GetBlockRequest schema from Amazon QLDB API

Type: object Properties: 2 Required: 1
BlockchainDatabaseLedger

GetBlockRequest is a JSON Structure definition published by Amazon QLDB, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

BlockAddress DigestTipAddress

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-qldb/refs/heads/main/json-structure/amazon-qldb-get-block-request-structure.json",
  "name": "GetBlockRequest",
  "description": "GetBlockRequest schema from Amazon QLDB API",
  "type": "object",
  "properties": {
    "BlockAddress": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ValueHolder"
        },
        {
          "description": "<p>The location of the block that you want to request. An address is an Amazon Ion structure that has two fields: <code>strandId</code> and <code>sequenceNo</code>.</p> <p>For example: <code>{strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:14}</code>.</p>"
        }
      ]
    },
    "DigestTipAddress": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ValueHolder"
        },
        {
          "description": "<p>The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: <code>strandId</code> and <code>sequenceNo</code>.</p> <p>For example: <code>{strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:49}</code>.</p>"
        }
      ]
    }
  },
  "required": [
    "BlockAddress"
  ]
}