Skip to main content

/pallets/{palletId}/storage REST API Endpoint

Returns a list of storage item metadata for storage items of the specified palletId.

Updated on
Sep 02, 2024

Path Parameters

palletId
string
REQUIRED

The name or index of the pallet to query the storage of

Query Parameters

onlyIds
boolean

Only return the names (IDs) of the storage items instead of all of each storage item's metadata.

at
string

Block at which to retrieve a list of the pallet's storage items.

Returns

at
object

An object containing information about the state

hash
string

The block's hash

height
string

The block's height

pallet
string

The name of the pallet (module) in the blockchain runtime that the storage are associated

palletIndex
string

The index of the pallet in the runtime's list of pallets

items
array

Each item in the items array represents a specific piece of data or a storage entry related to the pallet

name
string

The name of the storage entry or data element

modifier
string

Indicates whether the storage item is Default, Optional, or has another modifier, describing how the storage item is handled

type
object

Describes the type of the storage item

map
object

The map object which contains the following fields:

hashers
array

The hashing algorithm(s) used for the map keys

key
string

The type of the map key

value
string

The type of the map value

fallback
string

The default value for the storage item if it is not set

docs
string

Documentation or comments explaining the purpose and details of the storage entry

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free