extrinsic

Get block extrinsics

If a hash is passed, returns the extrinsics for the matching block. If a number is passed, gives the extrinsis for the block by that number - could be multiple blocks if there's a pruned block in that slot.

get/blocks/{block_ref}/extrinsics

Request

  • Base URL: https://bridge-hub.polkadot.crystal.api.submerge.io/v1
  • URL: https://bridge-hub.polkadot.crystal.api.submerge.io/v1/blocks/{block_ref}/extrinsics
  • Auth: none declared

Path parameters

block_refstring required

Block reference for the extrinsics. Either a block number (integer ≥ 0), or a block hash in hex (with or without 0x prefix, case-insensitive).

Query parameters

pageinteger

Block call list page number to retrieve. 1-indexed.

page_sizeinteger

Number of block calls per page to be returned.

is_signedboolean

Whether to include only signed/unsigned extrinsics within the block.

signerstring nullable

Filter block extrinsics by signer. Either of the following:

  • Signer's Substrate SS58 address string (e.g. 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY).
  • Signer's Substrate account id encoded as a hexadecimal string (e.g. 0x008d8404893c7b4b80f397605cc96e61fec3c89676c8c2794a2a7d281d678b1a).
  • Signer's address encoded as a hexadecimal string with optional 0x prefix (e.g. 0x008d8404893c7b4b80f397605cc96e61fec3c89676c8c2794a2a7d281d678b1a).

Response

Paginated list of matching extrinsics.

Example response

{
  "data": [
    {
      "blockHash": "0x758fadeb5004882de8ba39ee2105302ad0ce93ecd68fe26b6fa09de6608e7a77",
      "blockNumber": 3172595,
      "blockStatus": "proposed",
      "blockTimestamp": 1765432302000,
      "extra": {
        "chargeAssetTxPayment": {
          "assetId": null,
          "tip": "0"
        },
        "checkGenesis": {},
        "checkMetadataHash": {
          "mode": {
            "type": "Disabled",
            "value": []
          }
        },
        "checkMortality": {
          "type": "Mortal84",
          "value": "0"
        },
        "checkNonZeroSender": {},
        "checkNonce": "8362",
        "checkSpecVersion": {},
        "checkTxVersion": {},
        "checkWeight": {}
      },
      "hash": "0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3",
      "index": 2,
      "isSuccessful": true,
      "signature": {
        "type": "sr25519",
        "value": "0xabababababababababababababababababababababababababababababababababababababababababababababababababababababababababababababababab"
      },
      "signer": {
        "type": "accountId",
        "value": "0x269a84431cd8dfc5762beadfa54a8f21597c12d4f31e51f9f6f985f65ba0c626"
      },
      "specVersion": 2000000,
      "traceIndex": 2,
      "version": 4
    }
  ],
  "pagination": {
    "count": 57,
    "page": 1,
    "pageSize": 1,
    "total": 324
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.