MetadataPalletConstant
A constant in a metadata pallet.
indexinteger
Constant's index inside the metadata pallet.
Possible values: >= 0
Example:
0namestring
Constant name.
Example:
BlockLengthtypeIdinteger
Constant type id.
Possible values: >= 0
typeNamestring
Constant type name - usually a Rust-style type path.
valueHexHexStringLoose (string)
Arbitrary hex-encoded bytes. Lowercase, odd or even length, 0x-prefixed.
Possible values: Value must match regular expression ^0x(?:[0-9a-f])+$
value object
Constant value in JSON format.
property name*any
Constant value in JSON format.
docsstring[]
Documentation for a metadata item.
MetadataPalletConstant
{
"index": 0,
"name": "BlockLength",
"typeId": 0,
"typeName": "string",
"valueHex": "string",
"value": {},
"docs": [
"string"
]
}