Metadata

Get the runtime metadata in decoded, JSON form.

get

Returns the runtime metadata as a JSON object. Substrate Reference: - FRAME Support: https://crates.parity.io/frame_support/metadata/index.html - Knowledge Base: https://substrate.dev/docs/en/knowledgebase/runtime/metadata

Query parameters
atstring · unsignedInteger or $hexOptional

Block identifier, as the block height or block hash.

Responses
200
successful operation
application/json
Responseobject

Response is dependent on the runtime metadata contents.

get
GET /runtime/metadata HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
200

successful operation

{}

Get the requested version of runtime metadata in decoded, JSON form.

get

Returns the requested version of runtime metadata as a JSON object. Substrate Reference: - FRAME Support: https://crates.parity.io/frame_support/metadata/index.html - Knowledge Base: https://substrate.dev/docs/en/knowledgebase/runtime/metadata

Path parameters
metadataVersionstringRequired

The version of metadata. The input is expected in a vX format, where X represents the version number (e.g. v14, v15).

Query parameters
atstring · unsignedInteger or $hexOptional

Block identifier, as the block height or block hash.

Responses
200
successful operation
application/json
Responseobject

Response is dependent on the runtime metadata contents.

get
GET /runtime/metadata/{metadataVersion} HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
200

successful operation

{}