metadata

Get metadata pallet errors

Returns the errors in a pallet in a metadata version.

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

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}/errors
  • Auth: none declared

Path parameters

spec_versioninteger required

Metadata spec version.

pallet_indexinteger required

Metadata pallet index.

Response

All errors in a pallet.

docsstring[] required

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

indexinteger required

Error's index inside the metadata pallet.

namestring required

Error name. Camel case.

Example response

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

Changes

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