metadata

Get metadata pallet calls

Returns the calls in a pallet in a metadata version.

get/metadata/{spec_version}/pallets/{pallet_index}/calls

Request

  • Base URL: https://bridge-hub.polkadot.crystal.api.submerge.io/v1
  • URL: https://bridge-hub.polkadot.crystal.api.submerge.io/v1/metadata/{spec_version}/pallets/{pallet_index}/calls
  • Auth: none declared

Path parameters

spec_versioninteger required

Metadata spec version.

pallet_indexinteger required

Metadata pallet index.

Response

All calls in a pallet.

docsstring[] required

Metadata item documentation. One item per line in the array.

indexinteger required

Call's index inside the metadata pallet.

namestring required

Call name. Camel case.

Example response

[
  {
    "docs": [
      "Call documentation line 1.",
      "Call documentation line 2."
    ],
    "index": 37,
    "name": "Transfer"
  }
]

Changes

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