Skip to content
Sign in Create account

GET transparency/inclusion

GET /api/v1/transparency/inclusion

GET /api/v1/transparency/inclusion. Reads the transparency feed or inclusion status for a receipt hash.

This operation needs no authentication.

Parameters

  • receipt_hash string query required
    Length: 64 to 64 characters. Pattern: ^[a-f0-9]{64}$

Responses

200 Successful response.

application/json object

  • algorithm string required
  • included boolean required
  • inclusion_state string required
    One of: "included", "pending"
  • merkle_root string
  • path array of ReceiptsPublicInclusionPath
  • receipt_hash string required
    Pattern: ^[a-f0-9]{64}$
  • seed_hash string
  • seed_index integer

Generated sample

{
  "algorithm": "string",
  "included": true,
  "inclusion_state": "included",
  "merkle_root": "string",
  "path": [
    {
      "parent_hash": "string",
      "seed_hash": "string"
    }
  ],
  "receipt_hash": "string",
  "seed_hash": "string",
  "seed_index": 0
}
422 receipt_hash is missing or is not a SHA-256 hexadecimal digest.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 The route throttle limit was exceeded.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string