Skip to main content

GenesisRecord

A storage item initialized at genesis.

keyPrefixHexString (string)required

Storage item key prefix for the genesis record

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

keyParamsHexString (string)

Storage item key parameter(s) for the genesis record

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

valueHexString (string)required

Value of the genesis record

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

recordTypestringrequired

Can be StorageItem, KnownKey, or Unknown.

palletIndexinteger

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

Possible values: >= 0

Example: 0
palletNamestring

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

Example: System
palletStorageItemIndexinteger

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

Possible values: >= 0

Example: 0
palletEventNamestring

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

Example: Account
GenesisRecord
{
"keyPrefix": "string",
"keyParams": "string",
"value": "string",
"recordType": "string",
"palletIndex": 0,
"palletName": "System",
"palletStorageItemIndex": 0,
"palletEventName": "Account"
}