call

Get extrinsic calls

Returns the calls in an extrinsic by extrinsic hash.

get/extrinsics/{extrinsic_hash}/calls

Request

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

Path parameters

extrinsic_hashstring required

Extrinsic 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.

pallet_namestring

Filter blocks calls by pallet name. Case insensitive. Underscore (_) character is ignored.

call_namestring

Filter blocks calls by call name. Case insensitive. Underscore (_) character is ignored.

is_signedboolean

Whether to include only calls within signed/unsigned extrinsics.

include_argsboolean

Whether to include call arguments in the block calls in the response. Default is false. Setting this to true increases the response size considerably. Prefer to use the GET /call/{call_hash}/args endpoint per call instead.

Response

Paginated list of matching calls.

Example response

{
  "data": [
    {
      "args": {
        "args": {
          "dest": {
            "type": "Id",
            "value": "0xc35b9a45aadc8bb998ba7c4d17bda4d7d8e31f90a754a65709d3a3a71ff8fa7a"
          },
          "value": "117284000000"
        },
        "hash": "0xb778a81c1fd06d98b5ba1b37bb274101f7905ad5eca960f56ededf26248c4011"
      },
      "blockHash": "0x758fadeb5004882de8ba39ee2105302ad0ce93ecd68fe26b6fa09de6608e7a77",
      "blockNumber": 3172595,
      "blockStatus": "proposed",
      "blockTimestamp": 1765432302000,
      "callIndex": [
        0
      ],
      "callName": "TransferKeepAlive",
      "callPath": "root",
      "extrinsicHash": "0x18acc73c8e38351bc5b266cffacf39944945dd66342dab8ce2f86f2c97b3006f",
      "extrinsicIndex": 0,
      "extrinsicIsSigned": true,
      "extrinsicIsSuccessful": true,
      "hash": "0xf54535692c6b98bf9198d98ee28af8bc4d0753da6d42912042561dd8d32f4eca",
      "isSuccessful": true,
      "palletCallIndex": 0,
      "palletIndex": 1,
      "palletName": "Balances",
      "parentCallHash": "0x9bacc73c8e38351bc5b756cffacf39944945dd66342dab8ce2f86f2c97b3006f",
      "specVersion": 2000000
    }
  ],
  "pagination": {
    "count": 57,
    "page": 1,
    "pageSize": 1,
    "total": 324
  }
}

Changes

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