Enjin Openapi API

REST API for Enjin and Canary Relaychain and Matrixchain. Forked from Parity Technologies' Polkadot REST API.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 89

GET /v1/accounts/compare Compare account addresses #
GET /v1/accounts/{accountId}/balance-info Account balance info #
GET /v1/accounts/{accountId}/convert Convert account format #
GET /v1/accounts/{accountId}/proxy-info Account proxy info #
GET /v1/accounts/{accountId}/staking-info Account staking info #
GET /v1/accounts/{accountId}/staking-payouts Account staking payouts #
GET /v1/accounts/{accountId}/validate Validate account address #
GET /v1/accounts/{accountId}/vesting-info Account vesting info #
GET /v1/blocks Get blocks by range #
GET /v1/blocks/head Get latest block #
GET /v1/blocks/head/header Get head block header #
GET /v1/blocks/{blockId} Get block by ID #
GET /v1/blocks/{blockId}/extrinsics-raw Get raw extrinsics #
GET /v1/blocks/{blockId}/extrinsics/{extrinsicIndex} Get extrinsic by index #
GET /v1/blocks/{blockId}/header Get block header by ID #
GET /v1/blocks/{blockId}/para-inclusions Get parachain inclusions #
GET /v1/capabilities API capabilities #
GET /v1/health Health check #
GET /v1/node/network Node network info #
GET /v1/node/transaction-pool Transaction pool #
GET /v1/node/version Node version #
GET /v1/pallets/on-going-referenda On-going referenda #
GET /v1/pallets/staking/progress Staking progress #
GET /v1/pallets/staking/validators Staking validators #
GET /v1/pallets/{palletId}/consts Pallet constants #
GET /v1/pallets/{palletId}/consts/{constantItemId} Pallet constant value #
GET /v1/pallets/{palletId}/dispatchables Pallet dispatchables #
GET /v1/pallets/{palletId}/dispatchables/{dispatchableId} Pallet dispatchable details #
GET /v1/pallets/{palletId}/errors Pallet errors #
GET /v1/pallets/{palletId}/errors/{errorItemId} Pallet error details #
GET /v1/pallets/{palletId}/events Get pallet events #
GET /v1/pallets/{palletId}/events/{eventItemId} Get pallet event item #
GET /v1/pallets/{palletId}/storage Pallet storage items #
GET /v1/pallets/{palletId}/storage/{storageItemId} Pallet storage item value #
GET /v1/paras/{number}/inclusion Parachain inclusion data #
GET /v1/rc/accounts/{accountId}/balance-info RC get balance info #
GET /v1/rc/accounts/{accountId}/proxy-info RC get proxy info #
GET /v1/rc/accounts/{accountId}/staking-info RC get staking info #
GET /v1/rc/accounts/{accountId}/staking-payouts RC get staking payouts #
GET /v1/rc/accounts/{accountId}/vesting-info RC get vesting info #
GET /v1/rc/blocks RC get blocks by range #
GET /v1/rc/blocks/head RC get head block #
GET /v1/rc/blocks/head/header RC get head block header #
GET /v1/rc/blocks/{blockId} RC get block by ID #
GET /v1/rc/blocks/{blockId}/extrinsics-raw RC get raw extrinsics #
GET /v1/rc/blocks/{blockId}/extrinsics/{extrinsicIndex} RC get extrinsic by index #
GET /v1/rc/blocks/{blockId}/header RC get block header #
GET /v1/rc/blocks/{blockId}/para-inclusions RC get parachain inclusions #
GET /v1/rc/node/network RC get node network #
GET /v1/rc/node/transaction-pool RC get transaction pool #
GET /v1/rc/node/version RC get node version #
GET /v1/rc/pallets/on-going-referenda RC on-going referenda #
GET /v1/rc/pallets/staking/progress RC staking progress #
GET /v1/rc/pallets/staking/validators RC staking validators #
GET /v1/rc/pallets/{palletId}/consts RC pallet constants #
GET /v1/rc/pallets/{palletId}/consts/{constantItemId} RC pallet constant value #
GET /v1/rc/pallets/{palletId}/dispatchables RC pallet dispatchables #
GET /v1/rc/pallets/{palletId}/dispatchables/{dispatchableId} RC pallet dispatchable details #
GET /v1/rc/pallets/{palletId}/errors RC pallet errors #
GET /v1/rc/pallets/{palletId}/errors/{errorItemId} RC pallet error details #
GET /v1/rc/pallets/{palletId}/events RC pallet events #
GET /v1/rc/pallets/{palletId}/events/{eventItemId} RC pallet event details #
GET /v1/rc/pallets/{palletId}/storage RC pallet storage items #
GET /v1/rc/pallets/{palletId}/storage/{storageItemId} RC pallet storage item value #
GET /v1/rc/runtime/code RC get runtime code #
GET /v1/rc/runtime/metadata RC get runtime metadata #
GET /v1/rc/runtime/metadata/versions RC get metadata versions #
GET /v1/rc/runtime/metadata/{version} RC get metadata by version #
GET /v1/rc/runtime/spec RC get runtime spec #
POST /v1/rc/transaction Submit transaction (relay chain) #
POST /v1/rc/transaction/dry-run RC dry run transaction #
POST /v1/rc/transaction/fee-estimate RC fee estimate #
GET /v1/rc/transaction/material RC transaction material #
GET /v1/rc/transaction/material/{metadataVersion} RC transaction material versioned #
POST /v1/rc/transaction/metadata-blob RC metadata blob #
POST /v1/rc/transaction/parse Parse transaction (relay chain) #
GET /v1/runtime/code Runtime Wasm code #
GET /v1/runtime/metadata Runtime metadata #
GET /v1/runtime/metadata/versions Available metadata versions #
GET /v1/runtime/metadata/{version} Runtime metadata by version #
GET /v1/runtime/spec Runtime specification #
POST /v1/transaction Submit transaction #
POST /v1/transaction/dry-run Dry run transaction #
POST /v1/transaction/fee-estimate Estimate transaction fee #
GET /v1/transaction/material Transaction construction material #
GET /v1/transaction/material/{metadataVersion} Transaction material with versioned metadata #
POST /v1/transaction/metadata-blob Generate metadata blob #
POST /v1/transaction/parse Parse transaction #
GET /v1/version API version #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/enjin:enjin-openapi-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

enjin-openapi-openapi.json Raw ↑
{
  "openapi": "3.1.0",
  "info": {
    "title": "Enjin Blockchain REST API",
    "description": "REST API for Enjin and Canary Relaychain and Matrixchain. Forked from Parity Technologies' Polkadot REST API.",
    "contact": {
      "url": "https://github.com/enjin/blockchain-rest-api"
    },
    "license": {
      "name": "GPL-3.0-or-later"
    },
    "version": "0.3.3"
  },
  "servers": [
    {
      "url": "http://localhost:8080",
      "description": "Localhost"
    }
  ],
  "paths": {
    "/v1/accounts/compare": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Compare account addresses",
        "description": "Compares multiple SS58 addresses to determine if they have the same underlying public key.",
        "operationId": "get_compare",
        "parameters": [
          {
            "name": "addresses",
            "in": "query",
            "description": "Comma-separated list of SS58 addresses to compare (max 30)",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Comparison result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountCompareResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid parameters"
          }
        }
      }
    },
    "/v1/accounts/{accountId}/balance-info": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Account balance info",
        "description": "Returns balance information for a given account including free, reserved, and locked balances.",
        "operationId": "get_balance_info",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "SS58-encoded account address",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "at",
            "in": "query",
            "description": "Block hash or number to query at",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "useRcBlock",
            "in": "query",
            "description": "Treat 'at' as relay chain block identifier",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "token",
            "in": "query",
            "description": "Token symbol for chains with multiple tokens",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "denominated",
            "in": "query",
            "description": "When true, denominate balances using chain decimals",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Account balance information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BalanceInfoResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid account or block parameter"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/accounts/{accountId}/convert": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Convert account format",
        "description": "Converts an account address between different SS58 formats and key types.",
        "operationId": "get_convert",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "SS58-encoded account address or hex public key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scheme",
            "in": "query",
            "description": "Cryptographic scheme: ed25519, sr25519, or ecdsa (default: sr25519)",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "prefix",
            "in": "query",
            "description": "SS58 prefix number (default: 42)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 0
            }
          },
          {
            "name": "publicKey",
            "in": "query",
            "description": "If true, treat input as a public key",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Converted account information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountConvertResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid parameters"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/accounts/{accountId}/proxy-info": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Account proxy info",
        "description": "Returns proxy information for a given account including delegated proxies and their types.",
        "operationId": "get_proxy_info",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "SS58-encoded account address",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "at",
            "in": "query",
            "description": "Block hash or number to query at",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "useRcBlock",
            "in": "query",
            "description": "Treat 'at' as relay chain block identifier",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Proxy information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProxyInfoResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid parameters"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/accounts/{accountId}/staking-info": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Account staking info",
        "description": "Returns staking information for a given stash account including bonded amount, controller, and nominations.",
        "operationId": "get_staking_info",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "SS58-encoded stash account address",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "at",
            "in": "query",
            "description": "Block hash or number to query at",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "useRcBlock",
            "in": "query",
            "description": "Treat 'at' as relay chain block identifier",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "includeClaimedRewards",
            "in": "query",
            "description": "When true, include claimed rewards in the response",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Staking information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StakingInfoResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid parameters"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/accounts/{accountId}/staking-payouts": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Account staking payouts",
        "description": "Returns staking payout history for a given account including era rewards and claimed status.",
        "operationId": "get_staking_payouts",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "SS58-encoded stash account address",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "at",
            "in": "query",
            "description": "Block hash or number to query at",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "depth",
            "in": "query",
            "description": "Number of eras to query (default: 1)",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "era",
            "in": "query",
            "description": "The era to query at (default: active_era - 1)",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "unclaimedOnly",
            "in": "query",
            "description": "Only show unclaimed rewards (default: true)",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "useRcBlock",
            "in": "query",
            "description": "Treat 'at' as relay chain block identifier",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Staking payout information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StakingPayoutsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid parameters"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/accounts/{accountId}/validate": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Validate account address",
        "description": "Validates an SS58-encoded account address and returns details about its format.",
        "operationId": "get_validate",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "SS58-encoded account address to validate",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "at",
            "in": "query",
            "description": "Block hash or number (accepted for API consistency)",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Validation result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountValidateResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{accountId}/vesting-info": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Account vesting info",
        "description": "Returns vesting information for a given account including vesting schedules and locked amounts.",
        "operationId": "get_vesting_info",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "SS58-encoded account address",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "at",
            "in": "query",
            "description": "Block hash or number to query at",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "useRcBlock",
            "in": "query",
            "description": "Treat 'at' as relay chain block identifier",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "includeClaimable",
            "in": "query",
            "description": "When true, calculate vested amounts",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Vesting information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VestingInfoResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid parameters"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/blocks": {
      "get": {
        "tags": [
          "blocks"
        ],
        "summary": "Get blocks by range",
        "description": "Returns a collection of blocks given a numeric range. Range is inclusive and limited to 500 blocks. An entry that could not be decoded is still returned at its own index, with `decodeError` set, no `method` or `args`, and `era` as an empty object, and the response carries `partial: true`; its `events`, `success` and `paysFee` come from the block's events, and `success` is false when the block carried no outcome event for that index. Events emitted after the last extrinsic, by the FRAME poll hook or a multi block migration, are returned in a separate `afterExtrinsics` object, omitted when the block has none.",
        "operationId": "get_blocks",
        "parameters": [
          {
            "name": "range",
            "in": "query",
            "description": "Block range in format 'start-end' (e.g. '100-200')",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "eventDocs",
            "in": "query",
            "description": "Include documentation for events",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "extrinsicDocs",
            "in": "query",
            "description": "Include documentation for extrinsics",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "noFees",
            "in": "query",
            "description": "Skip fee calculation for extrinsics",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "useRcBlock",
            "in": "query",
            "description": "Treat range as Relay Chain blocks",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "useEvmFormat",
            "in": "query",
            "description": "Convert AccountId32 addresses to EVM format for revive pallet events",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array of block information",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid range parameter"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/blocks/head": {
      "get": {
        "tags": [
          "blocks"
        ],
        "summary": "Get latest block",
        "description": "Returns the latest finalized or canonical block with full extrinsic and event details. An entry that could not be decoded is still returned at its own index, with `decodeError` set, no `method` or `args`, and `era` as an empty object, and the response carries `partial: true`; its `events`, `success` and `paysFee` come from the block's events, and `success` is false when the block carried no outcome event for that index. Events emitted after the last extrinsic, by the FRAME poll hook or a multi block migration, are returned in a separate `afterExtrinsics` object, omitted when the block has none.",
        "operationId": "get_block_head",
        "parameters": [
          {
            "name": "finalized",
            "in": "query",
            "description": "When true (default), returns finalized head. When false, returns canonical head.",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "eventDocs",
            "in": "query",
            "description": "Include documentation for events",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "extrinsicDocs",
            "in": "query",
            "description": "Include documentation for extrinsics",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "noFees",
            "in": "query",
            "description": "Skip fee calculation for extrinsics",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "decodedXcmMsgs",
            "in": "query",
            "description": "Decode and include XCM messages",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "paraId",
            "in": "query",
            "description": "Filter XCM messages by parachain ID",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 0
            }
          },
          {
            "name": "useRcBlock",
            "in": "query",
            "description": "When true, use relay chain head to find corresponding Matrixchain blocks",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "useEvmFormat",
            "in": "query",
            "description": "Convert AccountId32 addresses to EVM format for revive pallet events",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Latest block information",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/blocks/head/header": {
      "get": {
        "tags": [
          "blocks"
        ],
        "summary": "Get head block header",
        "description": "Returns the header of the latest finalized or canonical block (lightweight, no extrinsics/events).",
        "operationId": "get_blocks_head_header",
        "parameters": [
          {
            "name": "finalized",
            "in": "query",
            "description": "When true (default), returns finalized head header. When false, returns canonical head header.",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "useRcBlock",
            "in": "query",
            "description": "Treat as Relay Chain block and return Matrixchain blocks",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Block header information",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/blocks/{blockId}": {
      "get": {
        "tags": [
          "blocks"
        ],
        "summary": "Get block by ID",
        "description": "Returns block information for a given block identifier (hash or number), including extrinsics, events, and fees. An entry that could not be decoded is still returned at its own index, with `decodeError` set, no `method` or `args`, and `era` as an empty object, and the response carries `partial: true`; its `events`, `success` and `paysFee` come from the block's events, and `success` is false when the block carried no outcome event for that index. Events emitted after the last extrinsic, by the FRAME poll hook or a multi block migration, are returned in a separate `afterExtrinsics` object, omitted when the block has none.",
        "operationId": "get_block",
        "parameters": [
          {
            "name": "blockId",
            "in": "path",
            "description": "Block height number or block hash",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "eventDocs",
            "in": "query",
            "description": "Include documentation for events",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "extrinsicDocs",
            "in": "query",
            "description": "Include documentation for extrinsics",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "noFees",
            "in": "query",
            "description": "Skip fee calculation for extrinsics",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "finalizedKey",
            "in": "query",
            "description": "When true (default), include finalized status in response",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "decodedXcmMsgs",
            "in": "query",
            "description": "Decode and include XCM messages",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "paraId",
            "in": "query",
            "description": "Filter XCM messages by parachain ID",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 0
            }
          },
          {
            "name": "useRcBlock",
            "in": "query",
            "description": "Treat blockId as Relay Chain block and return Matrixchain blocks",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "useEvmFormat",
            "in": "query",
            "description": "Convert AccountId32 addresses to EVM format for revive pallet events",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Block information",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Invalid block identifier"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/blocks/{blockId}/extrinsics-raw": {
      "get": {
        "tags": [
          "blocks"
        ],
        "summary": "Get raw extrinsics",
        "description": "Returns raw block data with hex-encoded extrinsics for a given block identifier. The extrinsics are returned as raw hex strings without decoding.",
        "operationId": "get_block_extrinsics_raw",
        "parameters": [
          {
            "name": "blockId",
            "in": "path",
            "description": "Block height number or block hash",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "useRcBlock",
            "in": "query",
            "description": "When true, treat blockId as Relay Chain block and return Matrixchain blocks",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Raw block data with hex-encoded extrinsics",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Invalid block identifier"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/blocks/{blockId}/extrinsics/{extrinsicIndex}": {
      "get": {
        "tags": [
          "blocks"
        ],
        "summary": "Get extrinsic by index",
        "description": "Returns a specific extrinsic from a block by its index within the block. If that entry could not be decoded it is still returned, with `decodeError` set, no `method` or `args`, and `era` as an empty object; its `events`, `success` and `paysFee` come from the block's events, and `success` is false when the block carried no outcome event for that index.",
        "operationId": "get_extrinsic",
        "parameters": [
          {
            "name": "blockId",
            "in": "path",
            "description": "Block height number or block hash",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "extrinsicIndex",
            "in": "path",
            "description": "Index of the extrinsic within the block",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "eventDocs",
            "in": "query",
            "description": "Include documentation for events",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "extrinsicDocs",
            "in": "query",
            "description": "Include documentation for extrinsics",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "noFees",
            "in": "query",
            "description": "Skip fee calculation",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "useRcBlock",
            "in": "query",
            "description": "When true, treat blockId as Relay Chain block and return Matrixchain extrinsics",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "useEvmFormat",
            "in": "query",
            "description": "Convert AccountId32 addresses to EVM format for revive pallet events",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Extrinsic details",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Invalid block identifier or extrinsic index"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/blocks/{blockId}/header": {
      "get": {
        "tags": [
          "blocks"
        ],
        "summary": "Get block header by ID",
        "description": "Returns the header of the specified block (lightweight, no extrinsics/events).",
        "operationId": "get_block_header",
        "parameters": [
          {
            "name": "blockId",
            "in": "path",
            "description": "Block height number or block hash",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "useRcBlock",
            "in": "query",
            "description": "Treat blockId as Relay Chain block and return Matrixchain blocks",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Block header information",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Invalid block identifier"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/blocks/{blockId}/para-inclusions": {
      "get": {
        "tags": [
          "blocks"
     

# --- truncated at 32 KB (174 KB total) ---
# Full source: https://artifacts.apis.io/enjin/openapi/_original/enjin-openapi-openapi.json