Returns the material that is universal to constructing any signed transaction offline. Replaces /tx/artifacts
from versions < v1.0.0.
Block identifier, as the block height or block hash.
DEPRECATED! This is no longer supported
false
Specifies the format of the metadata to be returned. Accepted values are 'json', and 'scale'. 'json' being the decoded metadata, and 'scale' being the SCALE encoded metadata. When metadata
is not inputted, the metadata
field will be absent.
Note: chainName
, specName
, and specVersion
are used to define a type registry with a set of signed extensions and types. For Polkadot and Kusama, chainName
is not used in defining this registry, but in other Substrate-based chains that re-launch their network without changing the specName
, the chainName
would be needed to create the correct registry. Substrate Reference: - RuntimeVersion
: https://crates.parity.io/sp_version/struct.RuntimeVersion.html - SignedExtension
: https://crates.parity.io/sp_runtime/traits/trait.SignedExtension.html - FRAME Support: https://crates.parity.io/frame_support/metadata/index.html
Returns all the materials necessary for constructing any signed transactions offline.
The version of metadata. The input is expected in a vX
format, where X
represents the version number (e.g. v14
, v15
). By default, metadata is outputted in 'json' format, unless the metadata
query parameter is provided, in which case it can be either in 'json' or 'scale' format.
Block identifier, as the block height or block hash.
Specifies the format of the metadata to be returned. Accepted values are 'json', and 'scale'. 'json' being the decoded metadata, and 'scale' being the SCALE encoded metadata.
Note: chainName
, specName
, and specVersion
are used to define a type registry with a set of signed extensions and types. For Polkadot and Kusama, chainName
is not used in defining this registry, but in other Substrate-based chains that re-launch their network without changing the specName
, the chainName
would be needed to create the correct registry. Substrate Reference: - RuntimeVersion
: https://crates.parity.io/sp_version/struct.RuntimeVersion.html - SignedExtension
: https://crates.parity.io/sp_runtime/traits/trait.SignedExtension.html - FRAME Support: https://crates.parity.io/frame_support/metadata/index.html