metadata

Get metadata pallet events

Returns the events in a pallet in a metadata version.

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

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

Path parameters

spec_versioninteger required

Metadata spec version.

pallet_indexinteger required

Metadata pallet index.

Response

All events in a pallet.

docsstring[] required

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

indexinteger required

Event's index inside the metadata pallet.

namestring required

Event name. Camel case.

Example response

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

Changes

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