Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kusama pallets API

pallets employed in the runtime

Kusama pallets API is one of 21 APIs that Kusama publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include pallets. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 20 operations across 20 paths, and defines 39 schemas. It is described by OpenAPI 3.0.0, at version 20.14.1.

Requests are made against 5 base URLs: https://polkadot-public-sidecar.parity-chains.parity.io/, https://kusama-public-sidecar.parity-chains.parity.io/, https://polkadot-asset-hub-public-sidecar.parity-chains.parity.io/, https://kusama-asset-hub-public-sidecar.parity-chains.parity.io/, http://localhost:8080.

20 operations 20 paths 39 schemas 20 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
20.14.1
Base URL
https://kusama-rpc.polkadot.io/
Resource Areas
1

Paths & Operations 20

Across 20 paths, the API surfaces 20 operations — 20 GET. Each is listed below with its method, path, parameters, and response codes.

pallets 20

pallets employed in the runtime

GET
/pallets/assets/{assetId}/asset-info
Get information and metadata associated with an asset.
getAssetById 4 params → 200
GET
/pallets/asset-conversion/liquidity-pools
Get information related to existing liquidity pools.
3 params → 200400
GET
/pallets/asset-conversion/next-available-id
Get the next available liquidity pool id.
3 params → 200400
GET
/pallets/foreign-assets
Get information and metadata associated with foreign assets.
getForeignAssets 3 params → 200
GET
/pallets/nomination-pools/info
Get information associated with nomination pools.
getNominationPoolInfo 3 params → 200
GET
/pallets/nomination-pools/{poolId}
Get information and metadata associated with a nomination pool.
getNominationPoolById 4 params → 200
GET
/pallets/on-going-referenda
Get a list of all on-going referenda that have track root (0) and whitelisted (1), along with their associated information.
getPalletOnGoingReferenda 3 params → 200
GET
/pallets/{palletId}/consts
Get a list of constants for a pallet.
5 params → 200400404
GET
/pallets/{palletId}/consts/{constantItemId}
Get the value of a constant item.
6 params → 200400404
GET
/pallets/{palletId}/dispatchables
Get a list of dispatchables for a pallet.
5 params → 200400404
GET
/pallets/{palletId}/dispatchables/{dispatchableItemId}
Get the value of a dispatchable item.
6 params → 200400404
GET
/pallets/{palletId}/errors
Get a list of errors for a pallet.
5 params → 200400404
GET
/pallets/{palletId}/errors/{errorItemId}
Get the value of an error item.
6 params → 200400404
GET
/pallets/{palletId}/events
Get a list of events for a pallet.
5 params → 200400404
GET
/pallets/{palletId}/events/{eventItemId}
Get the value of an event item.
6 params → 200400404
GET
/pallets/{palletId}/storage
Get a list of storage items for a pallet.
5 params → 200400404
GET
/pallets/{palletId}/storage/{storageItemId}
Get the value of a storage item.
7 params → 200400404
GET
/pallets/pool-assets/{assetId}/asset-info
Get information and metadata associated with a pool asset.
getPoolAssetById 4 params → 200
GET
/pallets/staking/progress
Get progress on the general Staking pallet system.
getStakingProgress 3 params → 200400
GET
/pallets/staking/validators
Get all validators (active/waiting) of a specific chain.
getStakingValidators 3 params → 200400

Schemas 39

The contract defines 39 schemas that model the data the API accepts and returns. The most detailed are PalletsNominationPoolsInfo (16 properties), StakingProgress (12 properties), AssetInfo (12 properties), PalletStorageItem (10 properties). Each schema is shown below with its type and property counts.

PalletsNominationPool
object
5 properties
PalletsPoolAssetsInfo
object
6 properties
UnappliedSlash
object
5 properties
PalletErrorsItem
object
7 properties
PalletStorage
object
6 properties
PalletsNominationPoolsInfo
object
16 properties
RewardPool
object
3 properties
AssetMultiLocation
PalletConstantsItemMetadata
object
Metadata of an constant item from a FRAME pallet.
4 properties
PalletConstants
object
7 properties
PalletDispatchablesItemMetadata
object
Metadata of a dispatchable item from a FRAME pallet.
5 properties
LiquidityPools
object
5 properties
BlockIdentifiers
object
2 properties
PalletDispatchablesItem
object
7 properties
AssetInfo
object
12 properties
StakingValidators
object
6 properties
PalletDispatchables
object
7 properties
PalletEvents
object
7 properties
PalletStorageItem
object
10 properties
PalletConstantsItem
object
7 properties
PalletsOnGoingReferenda
object
5 properties
AssetMetadata
object
5 properties
PalletStorageType
object
This is going to be formatted to the type of StorageEntryTypeV14.
PalletsForeignAssets
object
5 properties
PalletEventsItemMetadata
object
Metadata of an event item from a FRAME pallet.
5 properties
ElectionStatus
object
Information about the off-chain election. Not included in response when forceEra.isForceNone.
2 properties
StakingProgress
object
12 properties
AssetMultiLocationObject
object
The multiLocation of the foreign asset as an object.
2 properties
PalletsForeignAssetsInfo
object
3 properties
PalletsAssetsInfo
object
6 properties
PalletErrors
object
7 properties
AssetMultiLocationHex
string
The multiLocation of the foreign asset given as a hexadecimal value.
Error
object
4 properties
BondedPool
object
4 properties
PalletStorageItemMetadata
object
Metadata of a storage item from a FRAME pallet.
5 properties
LiquidityPool
object
2 properties
PalletEventsItem
object
7 properties
PalletErrorsItemMetadata
object
Metadata of an error item from a FRAME pallet.
5 properties
NextAvailableId
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kusama-pallets-api-openapi.yml Raw ↑

Other APIs Kusama publishes across the network.

Kusama JSON-RPC API
Kusama accounts API
Kusama ahm API
Kusama blocks API
Kusama contracts API
Kusama coretime API
Kusama node API
Kusama paras API
Kusama rc accounts API
Kusama rc API
Kusama rc blocks API
Kusama rc node API