Skip to main content

GenesisRecord

A storage item initialized at genesis.

keyParamsHexString (string)

Arbitrary hex-encoded bytes, 0x-prefixed.

Possible values: Value must match regular expression ^0x(?:[0-9a-f]{2})+$

keyPrefixHexString (string)required

Arbitrary hex-encoded bytes, 0x-prefixed.

Possible values: Value must match regular expression ^0x(?:[0-9a-f]{2})+$

knownKeystring

If the record is a known UTF-8 key, the string representation of the key.

Example: :extrinsic_index
palletIndexinteger<int32>

If the record is a storage item, the storage item's pallet index in the metadata.

Possible values: >= 0

Example: 0
palletNamestring

If the record is a storage item, the storage item's pallet name in the metadata.

Example: System
palletStorageItemIndexinteger<int32>

If the record is a storage item, the storage item's index in the pallet metadata.

Possible values: >= 0

Example: 4
palletStorageItemNamestring

If the record is a storage item, the storage item's name.

Example: BlockHash
valueHexString (string)required

Arbitrary hex-encoded bytes, 0x-prefixed.

Possible values: Value must match regular expression ^0x(?:[0-9a-f]{2})+$

GenesisRecord
{
"keyParams": "0xb4def25cfda6ef3a00000000",
"keyPrefix": "0x26aa394eea5630e07c48ae0c9558cef7a44704b568d21667356a5a050c118746",
"palletIndex": 0,
"palletName": "System",
"palletStorageItemIndex": 4,
"palletStorageItemName": "BlockHash",
"value": "0x4545454545454545454545454545454545454545454545454545454545454545"
}