Home

Kusama RPC API - Author Methods

v1.0.0
Base URLs
https://ksm-assethub.nownodes.ioKusama RPC
https://ksmassethub-playbook.nownodes.io
https://ksm.nownodes.ioKusama RPC
https://ksm-playbook.nownodes.io

API for interacting with Kusama via JSON-RPC. Contains author category methods for submitting and monitoring extrinsics.

Authentication

api-keyAuthapiKey

API Key: API_key in header

ASSETHUB

author

Submit a fully formatted extrinsic

POST
https://ksm-assethub.nownodes.io/author_submitExtrinsic

Sends a fully formatted extrinsic to the chain for processing.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<string>required

Array containing the encoded extrinsic

Response

200OK

Extrinsic submission result

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Submit and subscribe to an extrinsic until unsubscribed

POST
https://ksm-assethub.nownodes.io/author_submitAndWatchExtrinsic

Submits an extrinsic and allows monitoring its status until it is finalized or unsubscribed.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<string>required

Array containing the encoded extrinsic

Response

200OK

Extrinsic submission and watch result

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Retrieve all pending extrinsics

POST
https://ksm-assethub.nownodes.io/author_pendingExtrinsics

Returns a list of all pending extrinsics, optionally grouped by sender.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

No parameters required

Response

200OK

List of pending extrinsics

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

chain

Get the hash of the last finalized block

POST
https://ksm-assethub.nownodes.io/chain_getFinalizedHead

Returns the hash of the block that was finalized on the chain.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

Method parameters (empty array)

Response

200OK

Hash of the last finalized block

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Get block by hash

POST
https://ksm-assethub.nownodes.io/chain_getBlock

Returns full information of a block, including header, extrinsics, and digest.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<string>required

Array containing block hash to retrieve

Response

200OK

Full block details

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Get block hash by block number

POST
https://ksm-assethub.nownodes.io/chain_getBlockHash

Returns the block hash using the block number in the chain.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<integer>required

Array containing block number

Response

200OK

Block hash by block number

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

payment

Retrieve fee information for an encoded extrinsic

POST
https://ksm-assethub.nownodes.io/payment_queryInfo

Returns detailed fee information (weight, partial fee, etc.) for a given encoded extrinsic.

Body

application/json

JSON-RPC request containing encoded extrinsic

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<string>required

Array containing encoded extrinsic(s) to query fee info for

Response

200OK

Fee information for the extrinsic

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

state

Retrieve storage for a given key

POST
https://ksm-assethub.nownodes.io/state_getStorage

Returns the value stored under a specific key at the latest block or a given block.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<string>required

Array containing storage keys

Response

200OK

Returns the value stored at the specified key

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Get the runtime version

POST
https://ksm-assethub.nownodes.io/state_getRuntimeVersion

Returns version information about the runtime, including spec version, implementation version, and transaction version.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

No parameters required

Response

200OK

Runtime version information

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Retrieve runtime metadata

POST
https://ksm-assethub.nownodes.io/state_getMetadata

Returns the runtime metadata, which includes information about modules, calls, storage, and events.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

No parameters required

Response

200OK

Runtime metadata in hex format

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Returns proof of storage entries at a specific block state

POST
https://ksm-assethub.nownodes.io/state_getReadProof

Provides a cryptographic proof for the existence and content of storage entries at a given block.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

List of storage keys for which to generate proof

Response

200OK

Proof of storage entries

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Retrieves the storage hash

POST
https://ksm-assethub.nownodes.io/state_getStorageHash

Returns the hash of the storage value stored under a specific key.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired
idstringrequired
methodstringrequired
paramsArray<any>required

Storage key(s) to compute hash

Response

200OK

Storage hash result

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Retrieves the storage size

POST
https://ksm-assethub.nownodes.io/state_getStorageSize

Returns the size in bytes of the storage value under a specific key.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired
idstringrequired
methodstringrequired
paramsArray<any>required

Storage key(s) to measure

Response

200OK

Storage size result

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Query historical storage entries

POST
https://ksm-assethub.nownodes.io/state_queryStorage

Returns the storage changes between two blocks for a set of keys.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired
idstringrequired
methodstringrequired
paramsArray<any>required

List of storage keys and block range

Response

200OK

Query storage result

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Query storage entries at a specific block

POST
https://ksm-assethub.nownodes.io/state_queryStorageAt

Returns the storage values for given keys at a specified block hash.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired
idstringrequired
methodstringrequired
paramsArray<any>required

List of storage keys and block hash

Response

200OK

Storage entries at block

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

system

Retrieve the name of the chain

POST
https://ksm-assethub.nownodes.io/system_chain

Returns the network name (e.g., Kusama, Polkadot) the node is connected to.

Body

application/json

JSON-RPC request to get chain name

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

Should be empty for this method

Response

200OK

Chain name

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Retrieve custom properties from chain spec

POST
https://ksm-assethub.nownodes.io/system_properties

Returns chain-specific properties such as token symbol, decimals, and address format.

Body

application/json

JSON-RPC request to get system properties

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

Should be empty for this method

Response

200OK

System properties of the chain

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

health

Health check

Health check

GET
https://ksm-assethub.nownodes.io/v1/health

Returns the health status of the API server.

Response

202Accepted

API is healthy

Authorization

api-keyAuthapiKey in header

node

Connected node information

Node network info

GET
https://ksm-assethub.nownodes.io/v1/node/network

Returns the node's network information including peer count, syncing status, and local peer ID.

Response

200OK

Node network information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Transaction pool

GET
https://ksm-assethub.nownodes.io/v1/node/transaction-pool

Returns the node's transaction pool with optional fee information.

Parameters

includeFeebooleanquery

Include fee details for each transaction

Response

200OK

Transaction pool entries

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Node version

GET
https://ksm-assethub.nownodes.io/v1/node/version

Returns the node's version information including client version, implementation name, and chain name.

Response

200OK

Node version information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get information about the Substrate node's activity in the peer-to-peer network.

GET
https://ksm-assethub.nownodes.io/node/network

Returns network related information of the node.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get pending extrinsics from the Substrate node.

GET
https://ksm-assethub.nownodes.io/node/transaction-pool

Returns the extrinsics that the node knows of that have not been included in a block.

Parameters

includeFeebooleanfalsequery

Boolean representing whether or not to include tips, partialFee, and priority in each extrinsic.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get information about the Substrates node's implementation and versioning.

GET
https://ksm-assethub.nownodes.io/node/version

Returns versioning information of the node.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

version

API version

API version

GET
https://ksm-assethub.nownodes.io/v1/version

Returns the current version of the Polkadot REST API.

Response

200OK

API version

Authorization

api-keyAuthapiKey in header

blocks

Block queries and extrinsic data

Get blocks by range

GET
https://ksm-assethub.nownodes.io/v1/blocks

Returns a collection of blocks given a numeric range. Range is inclusive and limited to 500 blocks.

Parameters

rangestringquery

Block range in format 'start-end' (e.g. '100-200')

eventDocsbooleanquery

Include documentation for events

extrinsicDocsbooleanquery

Include documentation for extrinsics

noFeesbooleanquery

Skip fee calculation for extrinsics

useRcBlockbooleanquery

Treat range as Relay Chain blocks

useEvmFormatbooleanquery

Convert AccountId32 addresses to EVM format for revive pallet events

Response

200OK

Array of block information

400Bad Request

Invalid range parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get latest block

GET
https://ksm-assethub.nownodes.io/v1/blocks/head

Returns the latest finalized or canonical block with full extrinsic and event details.

Parameters

finalizedbooleanquery

When true (default), returns finalized head. When false, returns canonical head.

eventDocsbooleanquery

Include documentation for events

extrinsicDocsbooleanquery

Include documentation for extrinsics

noFeesbooleanquery

Skip fee calculation for extrinsics

decodedXcmMsgsbooleanquery

Decode and include XCM messages

paraIdinteger<int32>>= 0query

Filter XCM messages by parachain ID

useRcBlockbooleanquery

When true, use relay chain head to find corresponding Asset Hub blocks

useEvmFormatbooleanquery

Convert AccountId32 addresses to EVM format for revive pallet events

Response

200OK

Latest block information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get head block header

GET
https://ksm-assethub.nownodes.io/v1/blocks/head/header

Returns the header of the latest finalized or canonical block (lightweight, no extrinsics/events).

Parameters

finalizedbooleanquery

When true (default), returns finalized head header. When false, returns canonical head header.

useRcBlockbooleanquery

Treat as Relay Chain block and return Asset Hub blocks

Response

200OK

Block header information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get block by ID

GET
https://ksm-assethub.nownodes.io/v1/blocks/{blockId}

Returns block information for a given block identifier (hash or number), including extrinsics, events, and fees.

Parameters

blockIdstringrequiredpath

Block height number or block hash

eventDocsbooleanquery

Include documentation for events

extrinsicDocsbooleanquery

Include documentation for extrinsics

noFeesbooleanquery

Skip fee calculation for extrinsics

finalizedKeybooleanquery

When true (default), include finalized status in response

decodedXcmMsgsbooleanquery

Decode and include XCM messages

paraIdinteger<int32>>= 0query

Filter XCM messages by parachain ID

useRcBlockbooleanquery

Treat blockId as Relay Chain block and return Asset Hub blocks

useEvmFormatbooleanquery

Convert AccountId32 addresses to EVM format for revive pallet events

Response

200OK

Block information

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get raw extrinsics

GET
https://ksm-assethub.nownodes.io/v1/blocks/{blockId}/extrinsics-raw

Returns raw block data with hex-encoded extrinsics for a given block identifier. The extrinsics are returned as raw hex strings without decoding.

Parameters

blockIdstringrequiredpath

Block height number or block hash

useRcBlockbooleanquery

When true, treat blockId as Relay Chain block and return Asset Hub blocks

Response

200OK

Raw block data with hex-encoded extrinsics

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get extrinsic by index

GET
https://ksm-assethub.nownodes.io/v1/blocks/{blockId}/extrinsics/{extrinsicIndex}

Returns a specific extrinsic from a block by its index within the block.

Parameters

blockIdstringrequiredpath

Block height number or block hash

extrinsicIndexstringrequiredpath

Index of the extrinsic within the block

eventDocsbooleanquery

Include documentation for events

extrinsicDocsbooleanquery

Include documentation for extrinsics

noFeesbooleanquery

Skip fee calculation

useRcBlockbooleanquery

When true, treat blockId as Relay Chain block and return Asset Hub extrinsics

useEvmFormatbooleanquery

Convert AccountId32 addresses to EVM format for revive pallet events

Response

200OK

Extrinsic details

400Bad Request

Invalid block identifier or extrinsic index

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get block header by ID

GET
https://ksm-assethub.nownodes.io/v1/blocks/{blockId}/header

Returns the header of the specified block (lightweight, no extrinsics/events).

Parameters

blockIdstringrequiredpath

Block height number or block hash

useRcBlockbooleanquery

Treat blockId as Relay Chain block and return Asset Hub blocks

Response

200OK

Block header information

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get parachain inclusions

GET
https://ksm-assethub.nownodes.io/v1/blocks/{blockId}/para-inclusions

Returns parachain inclusion information for a given relay chain block. Extracts CandidateIncluded events from the ParaInclusion pallet.

Parameters

blockIdstringrequiredpath

Block height number or block hash

paraIdinteger<int32>>= 0query

Filter results by a specific parachain ID

Response

200OK

Parachain inclusion information

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get a range of blocks by their height.

GET
https://ksm-assethub.nownodes.io/blocks

Given a range query parameter return an array of all the blocks within that range.

Parameters

rangestringrequiredquery

A range of integers. There is a max limit of 500 blocks per request.

eventDocsbooleanfalsequery

When set to true, every event will have an extra docs property with a string of the events documentation.

extrinsicDocsbooleanfalsequery

When set to true, every extrinsic will have an extra docs property with a string of the extrinsics documentation.

noFeesbooleanfalsequery

When set to true, the fee won't be calculated for the extrinsics.

Response

200OK

successful operation

400Bad Request

invalid Block identifier supplied

Authorization

api-keyAuthapiKey in header

Get a block by its height or hash.

GET
https://ksm-assethub.nownodes.io/blocks/{blockId}

Returns a single block. BlockId can either be a block hash or a block height. Replaces /block/{number} from versions < v1.0.0.

Parameters

blockIdstringrequiredpath

Block identifier, as the block height or block hash.

eventDocsbooleanfalsequery

When set to true, every event will have an extra docs property with a string of the events documentation.

extrinsicDocsbooleanfalsequery

When set to true, every extrinsic will have an extra docs property with a string of the extrinsics documentation.

noFeesbooleanfalsequery

When set to true, the fee won't be calculated for the extrinsics.

finalizedKeybooleanquery

When set to false, this will override the chain-config, and omit the finalized key in the response. This can increase performance slightly by avoiding an additional RPC call to the node.

decodedXcmMsgsbooleanfalsequery

When set to true, this will show the decoded XCM messages within the extrinsics of the requested block.

paraIdstringquery

When it is set, this will return only the decoded XCM messages for the specified origin Parachain Id (originParaId). To activate this functionality, ensure that the decodedXcmMsgs parameter is set to true.

Response

200OK

successful operation

400Bad Request

invalid Block identifier supplied

Authorization

api-keyAuthapiKey in header

Get a block's header by its height or hash.

GET
https://ksm-assethub.nownodes.io/blocks/{blockId}/header

Returns a single block's header. BlockId can either be a block hash or a block height.

Parameters

blockIdstringrequiredpath

Block identifier, as the block height or block hash.

Response

200OK

successful operation

400Bad Request

invalid Block identifier supplied

Authorization

api-keyAuthapiKey in header

Get an extrinsic by its extrinsicIndex and block height or hash. The pair blockId, extrinsicIndex is sometimes referred to as a Timepoint.

GET
https://ksm-assethub.nownodes.io/blocks/{blockId}/extrinsics/{extrinsicIndex}

Returns a single extrinsic.

Parameters

blockIdstringrequiredpath

Block identifier, as the block height or block hash.

extrinsicIndexstringrequiredpath

The extrinsic's index within the block's body.

eventDocsbooleanfalsequery

When set to true, every event will have an extra docs property with a string of the events documentation.

extrinsicDocsbooleanfalsequery

When set to true, every extrinsic will have an extra docs property with a string of the extrinsics documentation.

Response

200OK

successful operation

400Bad Request

Requested extrinsicIndex does not exist

Authorization

api-keyAuthapiKey in header

Get the most recently finalized block.

GET
https://ksm-assethub.nownodes.io/blocks/head

Returns the most recently finalized block. Replaces /block from versions < v1.0.0.

Parameters

finalizedbooleantruequery

Boolean representing whether or not to get the finalized head. If it is not set the value defaults to true. When set to false it will attempt to get the newest known block, which may not be finalized.

eventDocsbooleanfalsequery

When set to true, every event will have an extra docs property with a string of the events documentation.

extrinsicDocsbooleanfalsequery

When set to true, every extrinsic will have an extra docs property with a string of the extrinsics documentation.

noFeesbooleanfalsequery

When set to true, the fee won't be calculated for the extrinsics.

decodedXcmMsgsbooleanfalsequery

When set to true, this will show the decoded XCM messages within the extrinsics of the requested block.

paraIdstringquery

When it is set, this will return only the decoded XCM messages for the specified origin Parachain Id (originParaId). To activate this functionality, ensure that the decodedXcmMsgs parameter is set to true.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get information about the header of the most recent finalized block.

GET
https://ksm-assethub.nownodes.io/blocks/head/header

Returns the most recently finalized block's header.

Parameters

finalizedbooleantruequery

Boolean representing whether or not to get the finalized head. If it is not set the value defaults to true. When set to false it will attempt to get the newest known block, which may not be finalized.

Response

200OK

successful operation

400Bad Request

invalid Block identifier supplied

Authorization

api-keyAuthapiKey in header

Get a blocks header & its extrinsics as hex values.

GET
https://ksm-assethub.nownodes.io/blocks/{blockId}/extrinsics-raw

Returns a block & its extrinsics as hex values. BlockId can either be a block hash or a block height.

Parameters

blockIdstringrequiredpath

Block identifier, as the block height or block hash.

Response

200OK

successful operation

400Bad Request

invalid Block identifier supplied

Authorization

api-keyAuthapiKey in header

accounts

Account balance, staking, and proxy information

Compare account addresses

GET
https://ksm-assethub.nownodes.io/v1/accounts/compare

Compares multiple SS58 addresses to determine if they have the same underlying public key.

Parameters

addressesstringrequiredquery

Comma-separated list of SS58 addresses to compare (max 30)

Response

200OK

Comparison result

400Bad Request

Invalid parameters

Authorization

api-keyAuthapiKey in header

Account asset approvals

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/asset-approvals

Returns asset approval information for a given account, asset, and delegate.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

assetIdstringrequiredquery

The asset ID to query approval for

delegatestringrequiredquery

The delegate address with spending approval

Response

200OK

Asset approval information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account asset balances

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/asset-balances

Returns asset balances for a given account on Asset Hub chains.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

assetsstringquery

Comma-separated list of asset IDs to query

showEmptybooleanquery

When true, include assets with zero balance (default: false)

Response

200OK

Account asset balances

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account balance info

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/balance-info

Returns balance information for a given account including free, reserved, and locked balances.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

tokenstringquery

Token symbol for chains with multiple tokens

denominatedbooleanquery

When true, denominate balances using chain decimals

Response

200OK

Account balance information

400Bad Request

Invalid account or block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Convert account format

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/convert

Converts an account address between different SS58 formats and key types.

Parameters

accountIdstringrequiredpath

SS58-encoded account address or hex public key

schemestringquery

Cryptographic scheme: ed25519, sr25519, or ecdsa (default: sr25519)

prefixinteger<int32>>= 0query

SS58 prefix number (default: 42)

publicKeybooleanquery

If true, treat input as a public key

Response

200OK

Converted account information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account foreign asset balances

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/foreign-asset-balances

Returns foreign asset balances for a given account on Asset Hub chains. Foreign assets use XCM MultiLocation as their identifier.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

foreignAssetsArray<string>query

List of multilocation JSON strings to filter by

showEmptybooleanquery

When true, include assets with zero balance (default: false)

Response

200OK

Foreign asset balances

400Bad Request

Invalid account or parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account pool asset approvals

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/pool-asset-approvals

Returns pool asset approval information for a given account, asset, and delegate.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

assetIdstringrequiredquery

The pool asset ID to query approval for

delegatestringrequiredquery

The delegate address with spending approval

Response

200OK

Pool asset approval information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account pool asset balances

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/pool-asset-balances

Returns pool asset balances for a given account.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

assetsstringquery

Comma-separated list of pool asset IDs to query

showEmptybooleanquery

When true, include assets with zero balance (default: false)

Response

200OK

Pool asset balances

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account proxy info

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/proxy-info

Returns proxy information for a given account including delegated proxies and their types.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Proxy information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account staking info

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/staking-info

Returns staking information for a given stash account including bonded amount, controller, and nominations.

Parameters

accountIdstringrequiredpath

SS58-encoded stash account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

includeClaimedRewardsbooleanquery

When true, include claimed rewards in the response

Response

200OK

Staking information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account staking payouts

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/staking-payouts

Returns staking payout history for a given account including era rewards and claimed status.

Parameters

accountIdstringrequiredpath

SS58-encoded stash account address

atstringquery

Block hash or number to query at

depthstringquery

Number of eras to query (default: 1)

erastringquery

The era to query at (default: active_era - 1)

unclaimedOnlybooleanquery

Only show unclaimed rewards (default: true)

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Staking payout information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Validate account address

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/validate

Validates an SS58-encoded account address and returns details about its format.

Parameters

accountIdstringrequiredpath

SS58-encoded account address to validate

atstringquery

Block hash or number (accepted for API consistency)

Response

200OK

Validation result

Authorization

api-keyAuthapiKey in header

Account vesting info

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/vesting-info

Returns vesting information for a given account including vesting schedules and locked amounts.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

includeClaimablebooleanquery

When true, calculate vested amounts

Response

200OK

Vesting information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get an array of asset-balances for an account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/asset-balances

Returns information about an account's asset-balances. This is specific to the assets pallet for parachains. If no assets query parameter is provided, all asset-balances for the given account will be returned.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query asset-balance info for the specified account.

assetsArray<string><Array of unsignedInteger's>query

An array of AssetId's to be queried. If not supplied, defaults to providing all asset balances associated with the accountId will be returned. The array query param format follows Express 4.x API. ex:?assets[]=1&assets[]=2&assets[]=3.

Response

200OK

successfull operation

400Bad Request

Invalid Address

Authorization

api-keyAuthapiKey in header

Get foreign asset balances for an account

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/foreign-asset-balances

Retrieves all foreign asset holdings (XCM assets from other parachains) for a specific account in AssetHub. Returns an array of foreign assets with their balances, metadata, and verification status.

Parameters

accountIdstringrequiredpath

The SS58-encoded account identifier (32-byte public key) to query foreign asset balances for.

atstringquery

Optional block hash or height to query historical state. If not provided, uses the latest finalized block.

includeZeroBalancesbooleanfalsequery

Include assets with zero balance in the response. Default is false.

verifiedOnlybooleanfalsequery

Return only verified foreign assets (assets that have gone through governance approval). Default is false.

Response

200OK

Successful response containing foreign asset balances for the account

Authorization

api-keyAuthapiKey in header

Get an asset approval for an account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/asset-approvals

Returns information about an account's asset approval transaction. It is required to pass in a delegate and an assetId as query parameters.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query asset approval info for the specified account.

assetIdstring<unsignedInteger>requiredquery

The assetId associated with the asset-approval.

delegatestring<SS58>requiredquery

The delegate's accountId associated with an asset-approval.

Response

200OK

successfull operation

400Bad Request

Invalid Address

Authorization

api-keyAuthapiKey in header

Get balance information for an account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/balance-info

Returns information about an account's balance. Replaces /balance/{address} from versions < v1.0.0.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query balance info for the specified account.

tokenstringquery

Token to query the balance of. If not specified it will query the chains native token (e.g. DOT for Polkadot). Note: this is only relevant for chains that support multiple tokens through the ORML tokens pallet.

denominatedbooleanfalsequery

When set to true it will denominate any balance's given atomic value using the chains given decimal value.

Response

200OK

successful operation

400Bad Request

Invalid Address

404Not Found

account not found

Authorization

api-keyAuthapiKey in header

Convert a given AccountId to an SS58 address.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/convert

Returns the SS58 prefix, the network address format, the SS58 address, and the AccountId that was given as input parameter, the scheme that was used and if it is a public key or not (boolean).

Parameters

accountIdstring<AccountId or Hex>requiredpath

AccountId or Public Key (hex).

schemestring<string>sr25519query

The cryptographic scheme to be used in order to convert the AccountId to an SS58 address. It can take one of three values [sr25519, ed25519, ecdsa]. The default scheme that is used is sr25519 (if it is not set in the query parameter).

prefixstring<number>42query

The address prefix which can be one of the values found in the SS58-registry.

publicKeystring<boolean>truequery

Defines if the given value in the path parameter is a Public Key (hex) or not (hence AccountId).

Response

200OK

successfully converted the AccountId and retrieved the address info.

400Bad Request

Invalid AccountId

404Not Found

AccountId not found

Authorization

api-keyAuthapiKey in header

Get an array of pool-asset-balances for an account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/pool-asset-balances

Returns information about an account's pool-asset-balances. This is specific to the pool assets pallet for parachains. If no assets query parameter is provided, all pool-asset-balances for the given account will be returned.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query pool-asset-balance info for the specified account.

assetsArray<string><Array of unsignedInteger's>query

An array of AssetId's to be queried. If not supplied, defaults to providing all asset balances associated with the accountId will be returned. The array query param format follows Express 4.x API. ex:?assets[]=1&assets[]=2&assets[]=3.

Response

200OK

successfull operation

400Bad Request

Invalid Address

Authorization

api-keyAuthapiKey in header

Get an asset approval for an account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/pool-asset-approvals

Returns information about an account's asset approval transaction. It is required to pass in a delegate and an assetId as query parameters.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query asset approval info for the specified account.

assetIdstring<unsignedInteger>requiredquery

The assetId associated with the asset-approval.

delegatestring<SS58>requiredquery

The delegate's accountId associated with an asset-approval.

Response

200OK

successfull operation

400Bad Request

Invalid Address

Authorization

api-keyAuthapiKey in header

Get proxy account information.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/proxy-info

Returns information about a proxy account. This will include delegated accounts and deposits held.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query proxy info for the specified account.

Response

200OK

successfull operation

400Bad Request

Invalid Address

Authorization

api-keyAuthapiKey in header

Get vesting information for an account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/vesting-info

Returns the vesting schedule for an account. Replaces /vesting/{address} from versions < v1.0.0.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query the vesting info for the specified account.

Response

200OK

successful operation

400Bad Request

Invalid Address

404Not Found

account not found

Authorization

api-keyAuthapiKey in header

Validate a given address.

GET
https://ksm-assethub.nownodes.io/accounts/{address}/validate

Returns whether the given address is valid ss58 format, the ss58 prefix if the address has one, the network address format, and what the account ID is for this address.

Parameters

addressstring<SS58 or Hex>requiredpath

SS58 or Hex address of the account.

Response

200OK

successfully retrieved address info

Authorization

api-keyAuthapiKey in header

Compares up to 30 SS58 addresses.

GET
https://ksm-assethub.nownodes.io/accounts/compare

Returns if the given addresses are equal or not, along with details of each address. Equality is determined by comparing the accountId/publicKey of each address.

Parameters

addressesArray<string>requiredquery

An array or a comma separated string of SS58 addresses. Provide up to 30 addresses using one of these formats ?addresses=...&addresses=... or ?addresses[]=...&addresses[]=... or ?addresses=...,....

Response

200OK

successfully compared at least two SS58 addresses.

400Bad Request

Invalid Address

Authorization

api-keyAuthapiKey in header

pallets

Runtime pallet metadata, storage, constants, events, errors

Liquidity pools

GET
https://ksm-assethub.nownodes.io/v1/pallets/asset-conversion/liquidity-pools

Returns all liquidity pools from the AssetConversion pallet.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Liquidity pools

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Next available pool ID

GET
https://ksm-assethub.nownodes.io/v1/pallets/asset-conversion/next-available-id

Returns the next available pool asset ID from the AssetConversion pallet.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Next available ID

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Asset info

GET
https://ksm-assethub.nownodes.io/v1/pallets/assets/{assetId}/asset-info

Returns details for a specific asset including supply, admin, and metadata.

Parameters

assetIdstringrequiredpath

Asset ID

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Asset information

404Not Found

Asset not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Foreign assets

GET
https://ksm-assethub.nownodes.io/v1/pallets/foreign-assets

Returns all foreign assets with their details and metadata. Foreign assets use XCM MultiLocation as their identifier.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Foreign assets list

400Bad Request

Not supported on this chain

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Nomination pools info

GET
https://ksm-assethub.nownodes.io/v1/pallets/nomination-pools/info

Returns global nomination pools statistics and configuration.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Nomination pools information

400Bad Request

Not supported on this chain

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Nomination pool details

GET
https://ksm-assethub.nownodes.io/v1/pallets/nomination-pools/{poolId}

Returns details for a specific nomination pool.

Parameters

poolIdstringrequiredpath

Pool ID

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pool details

404Not Found

Pool not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

On-going referenda

GET
https://ksm-assethub.nownodes.io/v1/pallets/on-going-referenda

Returns all currently active referenda from the Referenda pallet.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Active referenda

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pool asset info

GET
https://ksm-assethub.nownodes.io/v1/pallets/pool-assets/{assetId}/asset-info

Returns details for a specific pool asset including supply, admin, and metadata.

Parameters

assetIdstringrequiredpath

Pool asset ID

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pool asset information

404Not Found

Pool asset not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Staking progress

GET
https://ksm-assethub.nownodes.io/v1/pallets/staking/progress

Returns staking progress including era, session info, and validator counts.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Staking progress information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Staking validators

GET
https://ksm-assethub.nownodes.io/v1/pallets/staking/validators

Returns the list of active validators and their info.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Validator information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet constants

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/consts

Returns all constants defined in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return constant names

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pallet constants

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet constant value

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/consts/{constantItemId}

Returns the value and metadata of a specific constant in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

constantItemIdstringrequiredpath

Name of the constant

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Constant value

400Bad Request

Invalid parameters

404Not Found

Constant not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet dispatchables

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/dispatchables

Returns the dispatchable calls defined in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return dispatchable names

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pallet dispatchables

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet dispatchable details

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/dispatchables/{dispatchableId}

Returns a single dispatchable call defined in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

dispatchableIdstringrequiredpath

Name of the dispatchable

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Dispatchable details

404Not Found

Dispatchable not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet errors

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/errors

Returns all errors defined in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return error names

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pallet errors

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet error details

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/errors/{errorItemId}

Returns metadata for a specific error in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

errorItemIdstringrequiredpath

Name of the error

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Error details

404Not Found

Error not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get pallet events

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/events

Returns all events defined in a pallet.

Parameters

palletIdstringrequiredpath

Pallet name or index

atstringquery

Block identifier (number or hash)

onlyIdsbooleanquery

Only return event names

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pallet events

400Bad Request

Invalid request

404Not Found

Pallet not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get pallet event item

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/events/{eventItemId}

Returns metadata for a specific event in a pallet.

Parameters

palletIdstringrequiredpath

Pallet name or index

eventItemIdstringrequiredpath

Event name

atstringquery

Block identifier (number or hash)

metadatabooleanquery

Include full event metadata

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Event item details

400Bad Request

Invalid request

404Not Found

Pallet or event not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet storage items

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/storage

Returns the list of storage items for a given pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return storage item names

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pallet storage items

400Bad Request

Invalid pallet or parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet storage item value

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/storage/{storageItemId}

Returns the value of a specific storage item in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

storageItemIdstringrequiredpath

Name of the storage item

atstringquery

Block hash or number to query at

keys[]Array<string>query

Storage key arguments

metadatabooleanquery

Include metadata for the storage item

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Storage item value

400Bad Request

Invalid parameters

404Not Found

Storage item not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get information and metadata associated with an asset.

GET
https://ksm-assethub.nownodes.io/pallets/assets/{assetId}/asset-info

Returns information associated with an asset which includes the assets AssetDetails and AssetMetadata.

Parameters

assetIdstring<unsignedInteger>requiredpath

The unsignedInteger Id of an asset.

atstring<unsignedInteger or $hex>query

Block at which to retrieve the assetInfo.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get information related to existing liquidity pools.

GET
https://ksm-assethub.nownodes.io/pallets/asset-conversion/liquidity-pools

Returns a list of the existing liquidity pools and its corresponding tokens at a given block height. If no block is specified, it returns the latest list available.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the liquidity pools information.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

Get the next available liquidity pool id.

GET
https://ksm-assethub.nownodes.io/pallets/asset-conversion/next-available-id

Returns the next available liquidity pool's id at a given block height. If no block is specified, it returns the latest list available.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the next liquidity pool's id.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

Get information and metadata associated with foreign assets.

GET
https://ksm-assethub.nownodes.io/pallets/foreign-assets

Returns information associated with every foreign asset which includes the assets AssetDetails and AssetMetadata.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the foreign assets.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get information associated with nomination pools.

GET
https://ksm-assethub.nownodes.io/pallets/nomination-pools/info

Returns information and metadata for nomination pools including pool counters and limits.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the nomination pool info.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get information and metadata associated with a nomination pool.

GET
https://ksm-assethub.nownodes.io/pallets/nomination-pools/{poolId}

Returns information associated with a nomination pool which includes the nomination pools' bondedPool, rewardPool and metadata.

Parameters

poolIdstring<unsignedInteger>requiredpath

The unsignedInteger Id of a nomination pool.

atstring<unsignedInteger or $hex>query

Block at which to retrieve the nomination pool.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get a list of all on-going referenda that have track root (0) and whitelisted (1), along with their associated information.

GET
https://ksm-assethub.nownodes.io/pallets/on-going-referenda

Returns information associated with on-going referenda which includes the referendum's enactment, submitted and deciding fields.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the on-going referenda.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get a list of constants for a pallet.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/consts

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

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read constant metadata for. Note: the pallet name must match what is specified in the runtime metadata.

onlyIdsbooleanquery

Only return the names (IDs) of the const items instead of every constant's metadata.

atstring<unsignedInteger or $hex>query

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

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find pallet with palletId

Authorization

api-keyAuthapiKey in header

Get the value of a constant item.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/consts/{constantItemId}

Returns the value stored under the constantItemId.

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read constant metadata for. Note: the pallet name must match what is specified in the runtime metadata.

constantItemIdstringrequiredpath

Id of the const item to query for.

atstring<unsignedInteger or $hex>query

Block at which to query the const item at.

metadatabooleanfalsequery

Include the const items metadata (including documentation) if set to true.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find resource with id

Authorization

api-keyAuthapiKey in header

Get a list of dispatchables for a pallet.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/dispatchables

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

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read dispatchable metadata for. Note: the pallet name must match what is specified in the runtime metadata.

onlyIdsbooleanquery

Only return the names (IDs) of the dispatchable items instead of every dispatchable's metadata.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find pallet with palletId

Authorization

api-keyAuthapiKey in header

Get the value of a dispatchable item.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/dispatchables/{dispatchableItemId}

Returns the value stored under the dispatchableItemId.

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read dispatchable metadata for. Note: the pallet name must match what is specified in the runtime metadata.

dispatchableItemIdstringrequiredpath

Id of the dispatchable item to query for.

metadatabooleanfalsequery

Include the dispatchable items metadata (including documentation) if set to true.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find resource with id

Authorization

api-keyAuthapiKey in header

Get a list of errors for a pallet.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/errors

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

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read error metadata for. Note: the pallet name must match what is specified in the runtime metadata.

onlyIdsbooleanquery

Only return the names (IDs) of the error items instead of every error's metadata.

atstring<unsignedInteger or $hex>query

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

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find pallet with palletId

Authorization

api-keyAuthapiKey in header

Get the value of an error item.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/errors/{errorItemId}

Returns the value stored under the errorItemId.

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read error metadata for. Note: the pallet name must match what is specified in the runtime metadata.

errorItemIdstringrequiredpath

Id of the error item to query for.

atstring<unsignedInteger or $hex>query

Block at which to query the error item at.

metadatabooleanfalsequery

Include the error items metadata (including documentation) if set to true.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find resource with id

Authorization

api-keyAuthapiKey in header

Get a list of events for a pallet.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/events

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

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read event metadata for. Note: the pallet name must match what is specified in the runtime metadata.

onlyIdsbooleanquery

Only return the names (IDs) of the event items instead of every event's metadata.

atstring<unsignedInteger or $hex>query

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

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find pallet with palletId

Authorization

api-keyAuthapiKey in header

Get the value of an event item.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/events/{eventItemId}

Returns the value stored under the eventItemId.

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read event metadata for. Note: the pallet name must match what is specified in the runtime metadata.

eventItemIdstringrequiredpath

Id of the event item to query for.

atstring<unsignedInteger or $hex>query

Block at which to query the event item at.

metadatabooleanfalsequery

Include the event items metadata (including documentation) if set to true.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find resource with id

Authorization

api-keyAuthapiKey in header

Get a list of storage items for a pallet.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/storage

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

Parameters

palletIdstringrequiredpath

Name or index of the pallet to query the storage of. Note: the pallet name must match what is specified in the runtime metadata.

onlyIdsbooleanquery

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

atstring<unsignedInteger or $hex>query

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

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find pallet with palletId

Authorization

api-keyAuthapiKey in header

Get the value of a storage item.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/storage/{storageItemId}

Returns the value stored under the storageItemId. If it is a map, query param key1 is required. If the storage item is double map query params key1 and key2 are required.

Parameters

palletIdstringrequiredpath

Name or index of the pallet to query the storage of. Note: pallet name aligns with pallet name as specified in runtime metadata.

storageItemIdstringrequiredpath

Id of the storage item to query for.

keysArray<string>query

Set of N keys used for querying a storage map. It should be queried using the following format - ?keys[]=key1&keys[]=key2. Order matters, as it will determine the order the keys are passed into the storage calls.

atstring<unsignedInteger or $hex>query

Block at which to query the storage item at.

metadatabooleanfalsequery

Include the storage items metadata (including documentation) if set to true.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find resource with id

Authorization

api-keyAuthapiKey in header

Get information and metadata associated with a pool asset.

GET
https://ksm-assethub.nownodes.io/pallets/pool-assets/{assetId}/asset-info

Returns information associated with a pool asset which includes the assets AssetDetails and AssetMetadata.

Parameters

assetIdstring<unsignedInteger>requiredpath

The unsignedInteger Id of a pool asset.

atstring<unsignedInteger or $hex>query

Block at which to retrieve the assetInfo.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get progress on the general Staking pallet system.

GET
https://ksm-assethub.nownodes.io/pallets/staking/progress

Returns information on the progress of key components of the staking system and estimates of future points of interest. Replaces /staking-info from versions < v1.0.0.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve a staking progress report.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

Get all validators (active/waiting) of a specific chain.

GET
https://ksm-assethub.nownodes.io/pallets/staking/validators

Returns a list of all validators addresses and their corresponding status which can be either active or waiting. It will also return a list of active validators that will not be part of the next era for staking. They will be under the key "validatorsToBeChilled". It's important to note, that addresses can be present in both the "validators" key, and "validatorsToBeChilled".

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the list of validators.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

runtime

Runtime specification, metadata, and code

Runtime Wasm code

GET
https://ksm-assethub.nownodes.io/v1/runtime/code

Returns the Wasm code blob of the Substrate runtime at a given block.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Runtime code

400Bad Request

Invalid block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Runtime metadata

GET
https://ksm-assethub.nownodes.io/v1/runtime/metadata

Returns the decoded runtime metadata in JSON format.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Runtime metadata

400Bad Request

Invalid block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Available metadata versions

GET
https://ksm-assethub.nownodes.io/v1/runtime/metadata/versions

Returns the available metadata versions at a given block.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

List of available metadata versions

400Bad Request

Invalid block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Runtime metadata by version

GET
https://ksm-assethub.nownodes.io/v1/runtime/metadata/{version}

Returns the metadata at a specific version. The version parameter should be in 'vX' format (e.g., 'v14', 'v15').

Parameters

versionstringrequiredpath

Metadata version (e.g., 'v14', 'v15')

atstringquery

Block hash or number to query at

Response

200OK

Runtime metadata at specified version

400Bad Request

Invalid version format or block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Runtime specification

GET
https://ksm-assethub.nownodes.io/v1/runtime/spec

Returns the runtime specification including version, APIs, and chain properties.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Runtime specification

400Bad Request

Invalid block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get the runtime metadata in decoded, JSON form.

GET
https://ksm-assethub.nownodes.io/runtime/metadata

Returns the runtime metadata as a JSON object. Substrate Reference: - FRAME Support: https://crates.parity.io/frame_support/metadata/index.html - Knowledge Base: https://substrate.dev/docs/en/knowledgebase/runtime/metadata

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the metadata at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get the requested version of runtime metadata in decoded, JSON form.

GET
https://ksm-assethub.nownodes.io/runtime/metadata/{metadataVersion}

Returns the requested version of runtime metadata as a JSON object. Substrate Reference: - FRAME Support: https://crates.parity.io/frame_support/metadata/index.html - Knowledge Base: https://substrate.dev/docs/en/knowledgebase/runtime/metadata

Parameters

metadataVersionstringrequiredpath

The version of metadata. The input is expected in a vX format, where X represents the version number (e.g. v14, v15).

atstring<unsignedInteger or $hex>query

Block at which to retrieve the metadata at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get the available versions of runtime metadata.

GET
https://ksm-assethub.nownodes.io/runtime/metadata/versions

Returns the available versions of runtime metadata. Substrate Reference: - FRAME Support: https://crates.parity.io/frame_support/metadata/index.html - Knowledge Base: https://substrate.dev/docs/en/knowledgebase/runtime/metadata

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the metadata versions at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get the runtime wasm blob.

GET
https://ksm-assethub.nownodes.io/runtime/code

Returns the runtime Wasm blob in hex format.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the runtime wasm blob at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get version information of the Substrate runtime.

GET
https://ksm-assethub.nownodes.io/runtime/spec

Returns version information related to the runtime.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve runtime version information at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

transaction

Transaction submission, fee estimation, and construction material

Submit transaction

POST
https://ksm-assethub.nownodes.io/v1/transaction

Submit a signed extrinsic to the transaction pool.

Body

application/json

Signed extrinsic with 'tx' field containing hex-encoded transaction

object

Response

200OK

Transaction hash

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Dry run transaction

POST
https://ksm-assethub.nownodes.io/v1/transaction/dry-run

Dry run a transaction to check validity without submitting.

Body

application/json

Transaction with 'tx', 'senderAddress', and optional 'at' fields

object

Response

200OK

Dry run result

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Estimate transaction fee

POST
https://ksm-assethub.nownodes.io/v1/transaction/fee-estimate

Estimate the fee for a transaction.

Body

application/json

Transaction with 'tx' field containing hex-encoded transaction

object

Response

200OK

Fee estimate

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Transaction construction material

GET
https://ksm-assethub.nownodes.io/v1/transaction/material

Returns network information needed for transaction construction including genesis hash, spec version, and optionally metadata.

Parameters

atstringquery

Block hash or number to query at

noMetabooleanquery

DEPRECATED: If true, metadata is not included

metadatastringquery

Metadata format: 'json' or 'scale'

Response

200OK

Transaction material

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Transaction material with versioned metadata

GET
https://ksm-assethub.nownodes.io/v1/transaction/material/{metadataVersion}

Returns transaction construction material with metadata at a specific version.

Parameters

metadataVersionstringrequiredpath

Metadata version (e.g., 'v14', 'v15')

atstringquery

Block hash or number to query at

noMetabooleanquery

DEPRECATED: If true, metadata is not included

metadatastringquery

Metadata format: 'json' or 'scale'

Response

200OK

Transaction material with versioned metadata

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Generate metadata blob

POST
https://ksm-assethub.nownodes.io/v1/transaction/metadata-blob

Generates a metadata blob for transaction signing with the CheckMetadataHash extension.

Body

application/json

Request with 'tx' field and optional 'at' block

object

Response

200OK

Metadata blob

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Parse transaction

POST
https://ksm-assethub.nownodes.io/v1/transaction/parse

Decode a raw transaction and return its components without executing or submitting it. Returns the decoded pallet/method, call arguments, signature info, nonce, tip, era, and hash. Note: This endpoint uses the chain's current (latest) metadata for decoding. Transactions created for older runtime versions may fail to decode if the extrinsic format has changed.

Body

application/json

Transaction with 'tx' field containing hex-encoded extrinsic

Request body for transaction parsing.

txstring

Hex-encoded extrinsic with optional 0x prefix.

Response

200OK

Parsed transaction

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Submit a transaction to the node's transaction pool.

POST
https://ksm-assethub.nownodes.io/transaction

Accepts a valid signed extrinsic. Replaces /tx from versions < v1.0.0.

Body

application/json
txstring<hex>

Response

200OK

successful operation

400Bad Request

failed to parse or submit transaction

Authorization

api-keyAuthapiKey in header

Dry run an extrinsic.

POST
https://ksm-assethub.nownodes.io/transaction/dry-run

Use the dryRun call to simulate the submission of a transaction without executing it so that you can check for potential errors and validate the expected outcome.

Body

application/json
atstring<unsignedInteger>
txstring<hex>
senderAddressstring<ss58>

Response

200OK

successful operation

400Bad Request

failed to dry-run transaction

Authorization

api-keyAuthapiKey in header

Receive a fee estimate for a transaction.

POST
https://ksm-assethub.nownodes.io/transaction/fee-estimate

Send a serialized transaction and receive back a naive fee estimate. Note: partialFee does not include any tips that you may add to increase a transaction's priority. See the reference on compute_fee. Replaces /tx/fee-estimate from versions < v1.0.0. Substrate Reference: - RuntimeDispatchInfo: https://crates.parity.io/pallet_transaction_payment_rpc_runtime_api/struct.RuntimeDispatchInfo.html - query_info: https://crates.parity.io/pallet_transaction_payment/struct.Module.html#method.query_info - compute_fee: https://crates.parity.io/pallet_transaction_payment/struct.Module.html#method.compute_fee

Body

application/json
txstring<hex>

Response

200OK

successful operation

400Bad Request

fee estimation failure

Authorization

api-keyAuthapiKey in header

Get all the network information needed to construct a transaction offline.

GET
https://ksm-assethub.nownodes.io/transaction/material

Returns the material that is universal to constructing any signed transaction offline. Replaces /tx/artifacts from versions < v1.0.0.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the transaction construction material.

noMetabooleanfalsequery

DEPRECATED! This is no longer supported

metadatastringquery

Specifies the format of the metadata to be returned. Accepted values are 'json', and 'scale'. 'json' being the decoded metadata, and 'scale' being the SCALE encoded metadata. When metadata is not inputted, the metadata field will be absent.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

Get all the network information needed to construct a transaction offline and the version of metadata specified in metadataVersion.

GET
https://ksm-assethub.nownodes.io/transaction/material/{metadataVersion}

Returns all the materials necessary for constructing any signed transactions offline.

Parameters

metadataVersionstringrequiredpath

The version of metadata. The input is expected in a vX format, where X represents the version number (e.g. v14, v15). By default, metadata is outputted in 'json' format, unless the metadata query parameter is provided, in which case it can be either in 'json' or 'scale' format.

atstring<unsignedInteger or $hex>query

Block at which to retrieve the transaction construction material.

metadatastringquery

Specifies the format of the metadata to be returned. Accepted values are 'json', and 'scale'. 'json' being the decoded metadata, and 'scale' being the SCALE encoded metadata.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

coretime

Coretime system information

Get coretime info

GET
https://ksm-assethub.nownodes.io/v1/coretime/info

Returns coretime chain status information including the last committed timeslice.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Coretime info

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get coretime leases

GET
https://ksm-assethub.nownodes.io/v1/coretime/leases

Returns all leases registered on a coretime chain with task IDs and validity timeslices.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Coretime leases

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get coretime overview

GET
https://ksm-assethub.nownodes.io/v1/coretime/overview

Returns an overview of all cores with assignments, queue state, workload, workplan, and regions.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Coretime overview

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get coretime regions

GET
https://ksm-assethub.nownodes.io/v1/coretime/regions

Returns all regions on a coretime chain including begin/end timeslices, core, owner, and mask.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Coretime regions

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get coretime potential renewals

GET
https://ksm-assethub.nownodes.io/v1/coretime/renewals

Returns potential renewals on a coretime chain sorted by core index, including price, completion status, and task assignment.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Coretime renewals

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get coretime reservations

GET
https://ksm-assethub.nownodes.io/v1/coretime/reservations

Returns all reservations on a coretime chain. Reserved cores are permanently allocated and not available for sale.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Coretime reservations

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get all the leases currently registered on coretime chain.

GET
https://ksm-assethub.nownodes.io/coretime/leases

Parameters

blockIdstringquery

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get all the regions currently registered on coretime chain.

GET
https://ksm-assethub.nownodes.io/coretime/regions

Parameters

blockIdstringquery

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get all the potential renewals currently registered on coretime chain.

GET
https://ksm-assethub.nownodes.io/coretime/renewals

Parameters

blockIdstringquery

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get all the reservations currently registered on coretime chain.

GET
https://ksm-assethub.nownodes.io/coretime/reservations

Parameters

blockIdstringquery

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get the generic information about coretime, either on coretime chain or relay chain.

GET
https://ksm-assethub.nownodes.io/coretime/info

Parameters

blockIdstringquery

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get all the cores information either on coretime chain or relay chain.

GET
https://ksm-assethub.nownodes.io/coretime/overview

Parameters

blockIdstringquery

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

paras

Parachain inclusion data

Parachain inclusion data

GET
https://ksm-assethub.nownodes.io/v1/paras/{number}/inclusion

Returns inclusion information for a given parachain block, searching relay chain blocks for when the parachain block was included.

Parameters

numberstringrequiredpath

Parachain block number

depthstringquery

Search depth for relay chain blocks (max 100, default 10, must be divisible by 5)

Response

200OK

Parachain inclusion information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] List all registered paras (parathreads & parachains).

GET
https://ksm-assethub.nownodes.io/paras

Returns all registered parachains and parathreads with lifecycle info.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve paras list at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get general information about the current lease period.

GET
https://ksm-assethub.nownodes.io/paras/leases/current

Returns an overview of the current lease period, including lease holders.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve current lease period info at.

currentLeaseHoldersbooleantruequery

Wether or not to include the currentLeaseHolders property. Inclusion of the property will likely result in a larger payload and increased response time.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get the status of the current auction.

GET
https://ksm-assethub.nownodes.io/paras/auctions/current

Returns an overview of the current auction. There is only one auction at a time. If there is no auction most fields will be null. If the current auction phase is in vrfDelay and you are looking to retrieve the latest winning bids, it is advised to query one block before finishEnd in the endingPeriod phase for that auction as there technically are no winners during the vrfDelay and thus the field is null.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve auction progress at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] List all stored crowdloans.

GET
https://ksm-assethub.nownodes.io/paras/crowdloans

Returns a list of all the crowdloans and their associated paraIds.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the list of paraIds that have crowdloans at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get crowdloan information for a paraId.

GET
https://ksm-assethub.nownodes.io/paras/{paraId}/crowdloan-info

Returns crowdloan's fundInfo and the set of leasePeriods the crowdloan` covers.

Parameters

paraIdnumberrequiredpath

paraId to query the crowdloan information of.

atstring<unsignedInteger or $hex>query

Block at which to retrieve info at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get current and future leases as well as the lifecycle stage for a given paraId.

GET
https://ksm-assethub.nownodes.io/paras/{paraId}/lease-info

Returns a list of leases that belong to the paraId as well as the paraId's current lifecycle stage.

Parameters

paraIdnumberrequiredpath

paraId to query the crowdloan information of.

atstring<unsignedInteger or $hex>query

Block at which to retrieve para's leases at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get the heads of the included (backed and considered available) parachain candidates at the specified block height or at the most recent finalized head otherwise.

GET
https://ksm-assethub.nownodes.io/paras/head/included-candidates

Returns an object with all the parachain id's as keys, and their headers as values.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve para's heads at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get the heads of the backed parachain candidates at the specified block height or at the most recent finalized head otherwise.

GET
https://ksm-assethub.nownodes.io/paras/head/backed-candidates

Returns an object with all the parachain id's as keys, and their headers as values.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve para's heads at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

ahm

Asset Hub Migration information

Asset Hub Migration info

GET
https://ksm-assethub.nownodes.io/v1/ahm-info

Returns information about the Asset Hub migration, including start and end blocks for both relay chain and Asset Hub.

Response

200OK

AHM migration boundaries

404Not Found

No migration data available

Authorization

api-keyAuthapiKey in header

capabilities

API capabilities and chain pallets

API capabilities

GET
https://ksm-assethub.nownodes.io/v1/capabilities

Returns the chain name and list of available pallets in the runtime metadata.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Chain capabilities

400Bad Request

Invalid block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

rc

Relay chain endpoints (available on parachains only)

RC get balance info

GET
https://ksm-assethub.nownodes.io/v1/rc/accounts/{accountId}/balance-info

Returns balance information for a given account on the relay chain.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block identifier (number or hash)

tokenstringquery

Token symbol (defaults to native token)

denominatedbooleanquery

Denominate balances using chain decimals

Response

200OK

Balance information

400Bad Request

Invalid account address

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get proxy info

GET
https://ksm-assethub.nownodes.io/v1/rc/accounts/{accountId}/proxy-info

Returns proxy information for a given account on the relay chain.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block identifier (number or hash)

Response

200OK

Proxy information

400Bad Request

Invalid account address

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get staking info

GET
https://ksm-assethub.nownodes.io/v1/rc/accounts/{accountId}/staking-info

Returns staking information for a given stash account on the relay chain.

Parameters

accountIdstringrequiredpath

SS58-encoded stash account address

atstringquery

Block identifier (number or hash)

includeClaimedRewardsbooleanquery

When true, include claimed rewards in the response

Response

200OK

Staking information

400Bad Request

Invalid account address

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get staking payouts

GET
https://ksm-assethub.nownodes.io/v1/rc/accounts/{accountId}/staking-payouts

Returns staking payout information for a given account on the relay chain.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block identifier (number or hash)

depthinteger<int32>>= 0query

Number of eras to query (default: 1)

erainteger<int32>>= 0query

The era to query at (default: active_era - 1)

unclaimedOnlybooleanquery

Only show unclaimed rewards (default: true)

Response

200OK

Staking payouts

400Bad Request

Invalid account address

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get vesting info

GET
https://ksm-assethub.nownodes.io/v1/rc/accounts/{accountId}/vesting-info

Returns vesting information for a given account on the relay chain.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block identifier (number or hash)

Response

200OK

Vesting information

400Bad Request

Invalid account address

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get blocks by range

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks

Returns relay chain blocks within a specified range (max 500 blocks).

Parameters

rangestringquery

Block range (e.g., '100-200')

eventDocsbooleanquery

Include event documentation

extrinsicDocsbooleanquery

Include extrinsic documentation

noFeesbooleanquery

Skip fee calculation

decodedXcmMsgsbooleanquery

Decode and include XCM messages

paraIdinteger<int32>>= 0query

Filter XCM messages by parachain ID

Response

200OK

Relay chain blocks

400Bad Request

Invalid range or missing parameter

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get head block

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/head

Returns the latest block on the relay chain.

Parameters

finalizedbooleanquery

When true returns finalized head (default: true)

eventDocsbooleanquery

Include event documentation

extrinsicDocsbooleanquery

Include extrinsic documentation

noFeesbooleanquery

Skip fee calculation

decodedXcmMsgsbooleanquery

Decode and include XCM messages

paraIdinteger<int32>>= 0query

Filter XCM messages by parachain ID

Response

200OK

Relay chain head block

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get head block header

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/head/header

Returns the header of the latest relay chain block.

Parameters

finalizedbooleanquery

When true returns finalized head (default: true)

Response

200OK

Relay chain head block header

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get block by ID

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/{blockId}

Returns relay chain block information for a given block identifier.

Parameters

blockIdstringrequiredpath

Block height number or block hash

eventDocsbooleanquery

Include event documentation

extrinsicDocsbooleanquery

Include extrinsic documentation

noFeesbooleanquery

Skip fee calculation

decodedXcmMsgsbooleanquery

Include decoded XCM messages

paraIdinteger<int32>>= 0query

Filter XCM messages by parachain ID

Response

200OK

Relay chain block information

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get raw extrinsics

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/{blockId}/extrinsics-raw

Returns raw hex-encoded extrinsics for a relay chain block without decoding.

Parameters

blockIdstringrequiredpath

Block height number or block hash

Response

200OK

Raw extrinsics

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get extrinsic by index

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/{blockId}/extrinsics/{extrinsicIndex}

Returns a specific extrinsic from a relay chain block by its index.

Parameters

blockIdstringrequiredpath

Block height number or block hash

extrinsicIndexstringrequiredpath

Index of the extrinsic in the block

eventDocsbooleanquery

Include event documentation

extrinsicDocsbooleanquery

Include extrinsic documentation

noFeesbooleanquery

Skip fee calculation

Response

200OK

Extrinsic details

400Bad Request

Invalid block ID or extrinsic index

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get block header

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/{blockId}/header

Returns the header of a relay chain block by block hash or block number.

Parameters

blockIdstringrequiredpath

Block height number or block hash

Response

200OK

Relay chain block header

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get parachain inclusions

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/{blockId}/para-inclusions

Returns parachain inclusion information for a given relay chain block.

Parameters

blockIdstringrequiredpath

Block height number or block hash

paraIdinteger<int32>>= 0query

Filter by parachain ID

Response

200OK

Parachain inclusions

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get node network

GET
https://ksm-assethub.nownodes.io/v1/rc/node/network

Returns the relay chain node's network information.

Response

200OK

Relay chain node network info

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get transaction pool

GET
https://ksm-assethub.nownodes.io/v1/rc/node/transaction-pool

Returns the relay chain's transaction pool with optional fee information.

Parameters

includeFeebooleanquery

Include fee information for each transaction (default: false)

Response

200OK

Relay chain transaction pool

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get node version

GET
https://ksm-assethub.nownodes.io/v1/rc/node/version

Returns the relay chain node's version information.

Response

200OK

Relay chain node version

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC on-going referenda

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/on-going-referenda

Returns all currently active referenda from the relay chain's Referenda pallet.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Active referenda from relay chain

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC staking progress

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/staking/progress

Returns staking progress from the relay chain.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Relay chain staking progress

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC staking validators

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/staking/validators

Returns the list of active validators from the relay chain.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Relay chain validator information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet constants

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/consts

Returns all constants defined in a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return constant names

Response

200OK

Relay chain pallet constants

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet constant value

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/consts/{constantItemId}

Returns the value and metadata of a specific constant from a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

constantItemIdstringrequiredpath

Name of the constant

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

Response

200OK

Relay chain constant value

404Not Found

Constant not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet dispatchables

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/dispatchables

Returns the dispatchable calls defined in a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return dispatchable names

Response

200OK

Relay chain pallet dispatchables

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet dispatchable details

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/dispatchables/{dispatchableId}

Returns a single dispatchable call from a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

dispatchableIdstringrequiredpath

Name of the dispatchable

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

Response

200OK

Relay chain dispatchable details

404Not Found

Dispatchable not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet errors

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/errors

Returns all errors defined in a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return error names

Response

200OK

Relay chain pallet errors

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet error details

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/errors/{errorItemId}

Returns metadata for a specific error in a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

errorItemIdstringrequiredpath

Name of the error

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

Response

200OK

Relay chain error details

404Not Found

Error not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet events

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/events

Returns all events defined in a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return event names

Response

200OK

Relay chain pallet events

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet event details

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/events/{eventItemId}

Returns metadata for a specific event in a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

eventItemIdstringrequiredpath

Event name

atstringquery

Block hash or number to query at

metadatabooleanquery

Include full event metadata

Response

200OK

Relay chain event details

404Not Found

Pallet or event not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet storage items

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/storage

Returns the list of storage items for a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return storage item names

Response

200OK

Relay chain pallet storage items

400Bad Request

Invalid pallet or parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet storage item value

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/storage/{storageItemId}

Returns the value of a specific storage item from a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

storageItemIdstringrequiredpath

Name of the storage item

atstringquery

Block hash or number to query at

keys[]Array<string>query

Storage key arguments

metadatabooleanquery

Include metadata for the storage item

Response

200OK

Relay chain storage item value

400Bad Request

Invalid parameters

404Not Found

Storage item not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC get runtime code

GET
https://ksm-assethub.nownodes.io/v1/rc/runtime/code

Returns the Wasm code blob of the relay chain runtime at a given block.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Relay chain runtime code

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get runtime metadata

GET
https://ksm-assethub.nownodes.io/v1/rc/runtime/metadata

Returns the decoded runtime metadata of the relay chain in JSON format.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Relay chain runtime metadata

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get metadata versions

GET
https://ksm-assethub.nownodes.io/v1/rc/runtime/metadata/versions

Returns the available metadata versions on the relay chain at a given block.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Available metadata versions

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get metadata by version

GET
https://ksm-assethub.nownodes.io/v1/rc/runtime/metadata/{version}

Returns the relay chain metadata at a specific version (e.g., v14, v15).

Parameters

versionstringrequiredpath

Metadata version in 'vX' format (e.g., v14, v15)

atstringquery

Block identifier (number or hash)

Response

200OK

Relay chain metadata at specified version

400Bad Request

Invalid version format

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get runtime spec

GET
https://ksm-assethub.nownodes.io/v1/rc/runtime/spec

Returns the runtime spec of the relay chain at a given block.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Relay chain runtime spec

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

Submit transaction (relay chain)

POST
https://ksm-assethub.nownodes.io/v1/rc/transaction

Submit a signed extrinsic to the relay chain transaction pool. Only available on parachains.

Body

application/json

Signed extrinsic with 'tx' field containing hex-encoded transaction

object

Response

200OK

Transaction hash

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC dry run transaction

POST
https://ksm-assethub.nownodes.io/v1/rc/transaction/dry-run

Dry run a transaction on the relay chain.

Body

application/json

Transaction with 'tx', 'senderAddress', and optional 'at' fields

object

Response

200OK

Dry run result

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC fee estimate

POST
https://ksm-assethub.nownodes.io/v1/rc/transaction/fee-estimate

Estimate the fee for a relay chain transaction.

Body

application/json

Transaction with 'tx' field

object

Response

200OK

Fee estimate

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC transaction material

GET
https://ksm-assethub.nownodes.io/v1/rc/transaction/material

Returns relay chain network information for transaction construction.

Parameters

atstringquery

Block hash or number to query at

noMetabooleanquery

DEPRECATED: If true, metadata is not included

metadatastringquery

Metadata format: 'json' or 'scale'

Response

200OK

Relay chain transaction material

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC transaction material versioned

GET
https://ksm-assethub.nownodes.io/v1/rc/transaction/material/{metadataVersion}

Returns relay chain transaction material with metadata at a specific version.

Parameters

metadataVersionstringrequiredpath

Metadata version (e.g., 'v14', 'v15')

atstringquery

Block hash or number to query at

noMetabooleanquery

DEPRECATED: If true, metadata is not included

metadatastringquery

Metadata format: 'json' or 'scale'

Response

200OK

Relay chain transaction material with versioned metadata

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC metadata blob

POST
https://ksm-assethub.nownodes.io/v1/rc/transaction/metadata-blob

Generates a metadata blob from the relay chain for transaction signing.

Body

application/json

Request with 'tx' field and optional 'at' block

object

Response

200OK

Metadata blob

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Parse transaction (relay chain)

POST
https://ksm-assethub.nownodes.io/v1/rc/transaction/parse

Decode a raw transaction using relay chain metadata. Only available on parachains. Returns the decoded pallet/method, call arguments, signature info, nonce, tip, era, and hash. Note: This endpoint uses the relay chain's current (latest) metadata for decoding. Transactions created for older runtime versions may fail to decode if the extrinsic format has changed.

Body

application/json

Transaction with 'tx' field containing hex-encoded extrinsic

Request body for transaction parsing.

txstring

Hex-encoded extrinsic with optional 0x prefix.

Response

200OK

Parsed transaction

400Bad Request

Invalid transaction or relay chain not configured

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain unavailable

Authorization

api-keyAuthapiKey in header

contracts

Query an !Ink contract with a given message (method).

POST
https://ksm-assethub.nownodes.io/contracts/ink/{address}/query

Will return a valid or invalid result.

Body

application/json

Metadata used to instantiate a ContractPromise. This metadata can be generated by compiling the contract you are querying.

ContractMetadata

Parameters

addressstringrequiredpath

SS58 or Hex address of the account associated with the contract.

methodstringgetquery

The message or method used to query.

gasLimitnumber-1query

The gas limit to be used as an option for the queried message.

storageDepositLimitnumbernullquery

The storage deposit limit to be used as an option for the queried message.

argsArray<string>query

Abi params used as args specified in the metadata to be passed into a query. The format to use this query param is ?args[]=1&args[]=2&args[]=3.

Response

200OK

succesful operation

400Bad Request

Invalid Method

Authorization

api-keyAuthapiKey in header

trace

[Experimental - subject to breaking change.] Get traces for the most recently finalized block.

GET
https://ksm-assethub.nownodes.io/experimental/blocks/head/traces

Returns traces (spans and events) of the most recently finalized block from RPC state_straceBlock. Consult the RPC docs for conceptual info.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[Experimental - subject to breaking change.] Get traces for the given blockId.

GET
https://ksm-assethub.nownodes.io/experimental/blocks/{blockId}/traces

Returns traces (spans and events) of the specified block from RPC state_straceBlock. Consult the RPC docs for conceptual info.

Parameters

blockIdstringrequiredpath

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[Experimental - subject to breaking change.] Get the operations from the most recently finalized block.

GET
https://ksm-assethub.nownodes.io/experimental/blocks/head/traces/operations

Returns the operations from the most recently finalized block. Operations represent one side of a balance change. For example if Alice transfers 100unit to Bob there will be two operations; 1) Alice - 100 2) Bob + 100.

Given account A and A's balance at block k0 (Ak0), if we sum all the operations for A from block k1 through kn against Ak0, we will end up with A's balance at block kn (Akn). Thus, operations can be used to audit that balances change as expected.

This is useful for Substrate based chains because the advanced business logic can make it difficult to ensure auditable balance reconciliation based purely on events. Instead of using events one can use the operations given from this endpoint.

Note - each operation corresponds to a delta of a single field of the system::AccountData storage item (i.e free, reserved, misc_frozen and fee_frozen). Note - operations are assigned a block execution phase (and extrinsic index for those in the apply extrinsic phase) based on an "action group". For example all the operations for 1 extrinsic will be in the same action group. The action groups can optionally be fetched with the action query param for closer auditing. Note - There are no 0 value operations (e.g. a transfer of 0, or a transfer to itself)

To learn more about operation and action group creation please consult this diagram

Parameters

actionsbooleanfalsequery

Whether or not to include action groups.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[Experimental - subject to breaking change.] Get the operations from the specified block.

GET
https://ksm-assethub.nownodes.io/experimental/blocks/{blockId}/traces/operations

Returns the operations from the most recently finalized block. Operations represent one side of a balance change. For example if Alice transfers 100unit to Bob there will be two operations; 1) Alice - 100 2) Bob + 100.

Given account A and A's balance at block k0 (Ak0), if we sum all the operations for A from block k1 through kn against Ak0, we will end up with A's balance at block kn (Akn). Thus, operations can be used to audit that balances change as expected.

This is useful for Substrate based chains because the advanced business logic can make it difficult to ensure auditable balance reconciliation based purely on events. Instead of using events one can use the operations given from this endpoint.

Note - each operation corresponds to a delta of a single field of the system::AccountData storage item (i.e free, reserved, misc_frozen and fee_frozen). Note - operations are assigned a block execution phase (and extrinsic index for those in the apply extrinsic phase) based on an "action group". For example all the operations for 1 extrinsic will be in the same action group. The action groups can optionally be fetched with the action query param for closer auditing. Note - There are no 0 value operations (e.g. a transfer of 0, or a transfer to itself)

To learn more about operation and action group creation please consult this diagram

Parameters

blockIdstringrequiredpath

Block identifier, as the block height or block hash.

actionsbooleanfalsequery

Whether or not to include action groups.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

staking

Get staking information for a Stash account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/staking-info

Returns information about a Stash account's staking activity. Replaces /staking/{address} from versions < v1.0.0. The Stash account can be either a validator or nominator account.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account. Must be a Stash account.

atstring<unsignedInteger or $hex>query

Block at which to query the staking info for the specified account.

includeClaimedRewardsstring<boolean>truequery

When set to false, the claimedRewards field is not included in the response.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

account not found

Authorization

api-keyAuthapiKey in header

Get payout information for a Stash account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/staking-payouts

Returns payout information for the last specified eras. If specifying both the depth and era query params, this endpoint will return information for (era - depth) through era. (i.e. if depth=5 and era=20 information will be returned for eras 16 through 20). N.B. You cannot query eras less then current_era - HISTORY_DEPTH. N.B. The nominator* fields correspond to the address being queried, even if it is a validator's Stash address. This is because a validator is technically nominating itself.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account. Must be a Stash account.

atstring<unsignedInteger or $hex>query

Block at which to query staking payouts.

depthstring<unsignedInteger>1query

The number of eras to query for payouts of. Must be less than or equal to HISTORY_DEPTH. In cases where era - (depth -1) is less than 0, the first era queried will be 0.

erastring<unsignedInteger>`active_era - 1`query

The era to query at.

unclaimedOnlystring<boolean>truequery

Only return unclaimed rewards.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

account not found

Authorization

api-keyAuthapiKey in header

Get progress on the general Staking pallet system.

GET
https://ksm-assethub.nownodes.io/pallets/staking/progress

Returns information on the progress of key components of the staking system and estimates of future points of interest. Replaces /staking-info from versions < v1.0.0.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve a staking progress report.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

Get all validators (active/waiting) of a specific chain.

GET
https://ksm-assethub.nownodes.io/pallets/staking/validators

Returns a list of all validators addresses and their corresponding status which can be either active or waiting. It will also return a list of active validators that will not be part of the next era for staking. They will be under the key "validatorsToBeChilled". It's important to note, that addresses can be present in both the "validators" key, and "validatorsToBeChilled".

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the list of validators.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

NODE

author

Submit a fully formatted extrinsic

POST
https://ksm-assethub.nownodes.io/author_submitExtrinsic

Sends a fully formatted extrinsic to the chain for processing.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<string>required

Array containing the encoded extrinsic

Response

200OK

Extrinsic submission result

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Submit and subscribe to an extrinsic until unsubscribed

POST
https://ksm-assethub.nownodes.io/author_submitAndWatchExtrinsic

Submits an extrinsic and allows monitoring its status until it is finalized or unsubscribed.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<string>required

Array containing the encoded extrinsic

Response

200OK

Extrinsic submission and watch result

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Retrieve all pending extrinsics

POST
https://ksm-assethub.nownodes.io/author_pendingExtrinsics

Returns a list of all pending extrinsics, optionally grouped by sender.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

No parameters required

Response

200OK

List of pending extrinsics

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

chain

Get the hash of the last finalized block

POST
https://ksm-assethub.nownodes.io/chain_getFinalizedHead

Returns the hash of the block that was finalized on the chain.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

Method parameters (empty array)

Response

200OK

Hash of the last finalized block

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Get block by hash

POST
https://ksm-assethub.nownodes.io/chain_getBlock

Returns full information of a block, including header, extrinsics, and digest.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<string>required

Array containing block hash to retrieve

Response

200OK

Full block details

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Get block hash by block number

POST
https://ksm-assethub.nownodes.io/chain_getBlockHash

Returns the block hash using the block number in the chain.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<integer>required

Array containing block number

Response

200OK

Block hash by block number

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

payment

Retrieve fee information for an encoded extrinsic

POST
https://ksm-assethub.nownodes.io/payment_queryInfo

Returns detailed fee information (weight, partial fee, etc.) for a given encoded extrinsic.

Body

application/json

JSON-RPC request containing encoded extrinsic

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<string>required

Array containing encoded extrinsic(s) to query fee info for

Response

200OK

Fee information for the extrinsic

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

state

Retrieve storage for a given key

POST
https://ksm-assethub.nownodes.io/state_getStorage

Returns the value stored under a specific key at the latest block or a given block.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<string>required

Array containing storage keys

Response

200OK

Returns the value stored at the specified key

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Get the runtime version

POST
https://ksm-assethub.nownodes.io/state_getRuntimeVersion

Returns version information about the runtime, including spec version, implementation version, and transaction version.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

No parameters required

Response

200OK

Runtime version information

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Retrieve runtime metadata

POST
https://ksm-assethub.nownodes.io/state_getMetadata

Returns the runtime metadata, which includes information about modules, calls, storage, and events.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

No parameters required

Response

200OK

Runtime metadata in hex format

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Returns proof of storage entries at a specific block state

POST
https://ksm-assethub.nownodes.io/state_getReadProof

Provides a cryptographic proof for the existence and content of storage entries at a given block.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

List of storage keys for which to generate proof

Response

200OK

Proof of storage entries

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Retrieves the storage hash

POST
https://ksm-assethub.nownodes.io/state_getStorageHash

Returns the hash of the storage value stored under a specific key.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired
idstringrequired
methodstringrequired
paramsArray<any>required

Storage key(s) to compute hash

Response

200OK

Storage hash result

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Retrieves the storage size

POST
https://ksm-assethub.nownodes.io/state_getStorageSize

Returns the size in bytes of the storage value under a specific key.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired
idstringrequired
methodstringrequired
paramsArray<any>required

Storage key(s) to measure

Response

200OK

Storage size result

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Query historical storage entries

POST
https://ksm-assethub.nownodes.io/state_queryStorage

Returns the storage changes between two blocks for a set of keys.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired
idstringrequired
methodstringrequired
paramsArray<any>required

List of storage keys and block range

Response

200OK

Query storage result

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Query storage entries at a specific block

POST
https://ksm-assethub.nownodes.io/state_queryStorageAt

Returns the storage values for given keys at a specified block hash.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired
idstringrequired
methodstringrequired
paramsArray<any>required

List of storage keys and block hash

Response

200OK

Storage entries at block

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

system

Retrieve the name of the chain

POST
https://ksm-assethub.nownodes.io/system_chain

Returns the network name (e.g., Kusama, Polkadot) the node is connected to.

Body

application/json

JSON-RPC request to get chain name

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

Should be empty for this method

Response

200OK

Chain name

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Retrieve custom properties from chain spec

POST
https://ksm-assethub.nownodes.io/system_properties

Returns chain-specific properties such as token symbol, decimals, and address format.

Body

application/json

JSON-RPC request to get system properties

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<any>required

Should be empty for this method

Response

200OK

System properties of the chain

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

health

Health check

Health check

GET
https://ksm-assethub.nownodes.io/v1/health

Returns the health status of the API server.

Response

202Accepted

API is healthy

Authorization

api-keyAuthapiKey in header

node

Connected node information

Node network info

GET
https://ksm-assethub.nownodes.io/v1/node/network

Returns the node's network information including peer count, syncing status, and local peer ID.

Response

200OK

Node network information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Transaction pool

GET
https://ksm-assethub.nownodes.io/v1/node/transaction-pool

Returns the node's transaction pool with optional fee information.

Parameters

includeFeebooleanquery

Include fee details for each transaction

Response

200OK

Transaction pool entries

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Node version

GET
https://ksm-assethub.nownodes.io/v1/node/version

Returns the node's version information including client version, implementation name, and chain name.

Response

200OK

Node version information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get information about the Substrate node's activity in the peer-to-peer network.

GET
https://ksm-assethub.nownodes.io/node/network

Returns network related information of the node.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get pending extrinsics from the Substrate node.

GET
https://ksm-assethub.nownodes.io/node/transaction-pool

Returns the extrinsics that the node knows of that have not been included in a block.

Parameters

includeFeebooleanfalsequery

Boolean representing whether or not to include tips, partialFee, and priority in each extrinsic.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get information about the Substrates node's implementation and versioning.

GET
https://ksm-assethub.nownodes.io/node/version

Returns versioning information of the node.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

version

API version

API version

GET
https://ksm-assethub.nownodes.io/v1/version

Returns the current version of the Polkadot REST API.

Response

200OK

API version

Authorization

api-keyAuthapiKey in header

blocks

Block queries and extrinsic data

Get blocks by range

GET
https://ksm-assethub.nownodes.io/v1/blocks

Returns a collection of blocks given a numeric range. Range is inclusive and limited to 500 blocks.

Parameters

rangestringquery

Block range in format 'start-end' (e.g. '100-200')

eventDocsbooleanquery

Include documentation for events

extrinsicDocsbooleanquery

Include documentation for extrinsics

noFeesbooleanquery

Skip fee calculation for extrinsics

useRcBlockbooleanquery

Treat range as Relay Chain blocks

useEvmFormatbooleanquery

Convert AccountId32 addresses to EVM format for revive pallet events

Response

200OK

Array of block information

400Bad Request

Invalid range parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get latest block

GET
https://ksm-assethub.nownodes.io/v1/blocks/head

Returns the latest finalized or canonical block with full extrinsic and event details.

Parameters

finalizedbooleanquery

When true (default), returns finalized head. When false, returns canonical head.

eventDocsbooleanquery

Include documentation for events

extrinsicDocsbooleanquery

Include documentation for extrinsics

noFeesbooleanquery

Skip fee calculation for extrinsics

decodedXcmMsgsbooleanquery

Decode and include XCM messages

paraIdinteger<int32>>= 0query

Filter XCM messages by parachain ID

useRcBlockbooleanquery

When true, use relay chain head to find corresponding Asset Hub blocks

useEvmFormatbooleanquery

Convert AccountId32 addresses to EVM format for revive pallet events

Response

200OK

Latest block information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get head block header

GET
https://ksm-assethub.nownodes.io/v1/blocks/head/header

Returns the header of the latest finalized or canonical block (lightweight, no extrinsics/events).

Parameters

finalizedbooleanquery

When true (default), returns finalized head header. When false, returns canonical head header.

useRcBlockbooleanquery

Treat as Relay Chain block and return Asset Hub blocks

Response

200OK

Block header information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get block by ID

GET
https://ksm-assethub.nownodes.io/v1/blocks/{blockId}

Returns block information for a given block identifier (hash or number), including extrinsics, events, and fees.

Parameters

blockIdstringrequiredpath

Block height number or block hash

eventDocsbooleanquery

Include documentation for events

extrinsicDocsbooleanquery

Include documentation for extrinsics

noFeesbooleanquery

Skip fee calculation for extrinsics

finalizedKeybooleanquery

When true (default), include finalized status in response

decodedXcmMsgsbooleanquery

Decode and include XCM messages

paraIdinteger<int32>>= 0query

Filter XCM messages by parachain ID

useRcBlockbooleanquery

Treat blockId as Relay Chain block and return Asset Hub blocks

useEvmFormatbooleanquery

Convert AccountId32 addresses to EVM format for revive pallet events

Response

200OK

Block information

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get raw extrinsics

GET
https://ksm-assethub.nownodes.io/v1/blocks/{blockId}/extrinsics-raw

Returns raw block data with hex-encoded extrinsics for a given block identifier. The extrinsics are returned as raw hex strings without decoding.

Parameters

blockIdstringrequiredpath

Block height number or block hash

useRcBlockbooleanquery

When true, treat blockId as Relay Chain block and return Asset Hub blocks

Response

200OK

Raw block data with hex-encoded extrinsics

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get extrinsic by index

GET
https://ksm-assethub.nownodes.io/v1/blocks/{blockId}/extrinsics/{extrinsicIndex}

Returns a specific extrinsic from a block by its index within the block.

Parameters

blockIdstringrequiredpath

Block height number or block hash

extrinsicIndexstringrequiredpath

Index of the extrinsic within the block

eventDocsbooleanquery

Include documentation for events

extrinsicDocsbooleanquery

Include documentation for extrinsics

noFeesbooleanquery

Skip fee calculation

useRcBlockbooleanquery

When true, treat blockId as Relay Chain block and return Asset Hub extrinsics

useEvmFormatbooleanquery

Convert AccountId32 addresses to EVM format for revive pallet events

Response

200OK

Extrinsic details

400Bad Request

Invalid block identifier or extrinsic index

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get block header by ID

GET
https://ksm-assethub.nownodes.io/v1/blocks/{blockId}/header

Returns the header of the specified block (lightweight, no extrinsics/events).

Parameters

blockIdstringrequiredpath

Block height number or block hash

useRcBlockbooleanquery

Treat blockId as Relay Chain block and return Asset Hub blocks

Response

200OK

Block header information

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get parachain inclusions

GET
https://ksm-assethub.nownodes.io/v1/blocks/{blockId}/para-inclusions

Returns parachain inclusion information for a given relay chain block. Extracts CandidateIncluded events from the ParaInclusion pallet.

Parameters

blockIdstringrequiredpath

Block height number or block hash

paraIdinteger<int32>>= 0query

Filter results by a specific parachain ID

Response

200OK

Parachain inclusion information

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get a range of blocks by their height.

GET
https://ksm-assethub.nownodes.io/blocks

Given a range query parameter return an array of all the blocks within that range.

Parameters

rangestringrequiredquery

A range of integers. There is a max limit of 500 blocks per request.

eventDocsbooleanfalsequery

When set to true, every event will have an extra docs property with a string of the events documentation.

extrinsicDocsbooleanfalsequery

When set to true, every extrinsic will have an extra docs property with a string of the extrinsics documentation.

noFeesbooleanfalsequery

When set to true, the fee won't be calculated for the extrinsics.

Response

200OK

successful operation

400Bad Request

invalid Block identifier supplied

Authorization

api-keyAuthapiKey in header

Get a block by its height or hash.

GET
https://ksm-assethub.nownodes.io/blocks/{blockId}

Returns a single block. BlockId can either be a block hash or a block height. Replaces /block/{number} from versions < v1.0.0.

Parameters

blockIdstringrequiredpath

Block identifier, as the block height or block hash.

eventDocsbooleanfalsequery

When set to true, every event will have an extra docs property with a string of the events documentation.

extrinsicDocsbooleanfalsequery

When set to true, every extrinsic will have an extra docs property with a string of the extrinsics documentation.

noFeesbooleanfalsequery

When set to true, the fee won't be calculated for the extrinsics.

finalizedKeybooleanquery

When set to false, this will override the chain-config, and omit the finalized key in the response. This can increase performance slightly by avoiding an additional RPC call to the node.

decodedXcmMsgsbooleanfalsequery

When set to true, this will show the decoded XCM messages within the extrinsics of the requested block.

paraIdstringquery

When it is set, this will return only the decoded XCM messages for the specified origin Parachain Id (originParaId). To activate this functionality, ensure that the decodedXcmMsgs parameter is set to true.

Response

200OK

successful operation

400Bad Request

invalid Block identifier supplied

Authorization

api-keyAuthapiKey in header

Get a block's header by its height or hash.

GET
https://ksm-assethub.nownodes.io/blocks/{blockId}/header

Returns a single block's header. BlockId can either be a block hash or a block height.

Parameters

blockIdstringrequiredpath

Block identifier, as the block height or block hash.

Response

200OK

successful operation

400Bad Request

invalid Block identifier supplied

Authorization

api-keyAuthapiKey in header

Get an extrinsic by its extrinsicIndex and block height or hash. The pair blockId, extrinsicIndex is sometimes referred to as a Timepoint.

GET
https://ksm-assethub.nownodes.io/blocks/{blockId}/extrinsics/{extrinsicIndex}

Returns a single extrinsic.

Parameters

blockIdstringrequiredpath

Block identifier, as the block height or block hash.

extrinsicIndexstringrequiredpath

The extrinsic's index within the block's body.

eventDocsbooleanfalsequery

When set to true, every event will have an extra docs property with a string of the events documentation.

extrinsicDocsbooleanfalsequery

When set to true, every extrinsic will have an extra docs property with a string of the extrinsics documentation.

Response

200OK

successful operation

400Bad Request

Requested extrinsicIndex does not exist

Authorization

api-keyAuthapiKey in header

Get the most recently finalized block.

GET
https://ksm-assethub.nownodes.io/blocks/head

Returns the most recently finalized block. Replaces /block from versions < v1.0.0.

Parameters

finalizedbooleantruequery

Boolean representing whether or not to get the finalized head. If it is not set the value defaults to true. When set to false it will attempt to get the newest known block, which may not be finalized.

eventDocsbooleanfalsequery

When set to true, every event will have an extra docs property with a string of the events documentation.

extrinsicDocsbooleanfalsequery

When set to true, every extrinsic will have an extra docs property with a string of the extrinsics documentation.

noFeesbooleanfalsequery

When set to true, the fee won't be calculated for the extrinsics.

decodedXcmMsgsbooleanfalsequery

When set to true, this will show the decoded XCM messages within the extrinsics of the requested block.

paraIdstringquery

When it is set, this will return only the decoded XCM messages for the specified origin Parachain Id (originParaId). To activate this functionality, ensure that the decodedXcmMsgs parameter is set to true.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get information about the header of the most recent finalized block.

GET
https://ksm-assethub.nownodes.io/blocks/head/header

Returns the most recently finalized block's header.

Parameters

finalizedbooleantruequery

Boolean representing whether or not to get the finalized head. If it is not set the value defaults to true. When set to false it will attempt to get the newest known block, which may not be finalized.

Response

200OK

successful operation

400Bad Request

invalid Block identifier supplied

Authorization

api-keyAuthapiKey in header

Get a blocks header & its extrinsics as hex values.

GET
https://ksm-assethub.nownodes.io/blocks/{blockId}/extrinsics-raw

Returns a block & its extrinsics as hex values. BlockId can either be a block hash or a block height.

Parameters

blockIdstringrequiredpath

Block identifier, as the block height or block hash.

Response

200OK

successful operation

400Bad Request

invalid Block identifier supplied

Authorization

api-keyAuthapiKey in header

accounts

Account balance, staking, and proxy information

Compare account addresses

GET
https://ksm-assethub.nownodes.io/v1/accounts/compare

Compares multiple SS58 addresses to determine if they have the same underlying public key.

Parameters

addressesstringrequiredquery

Comma-separated list of SS58 addresses to compare (max 30)

Response

200OK

Comparison result

400Bad Request

Invalid parameters

Authorization

api-keyAuthapiKey in header

Account asset approvals

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/asset-approvals

Returns asset approval information for a given account, asset, and delegate.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

assetIdstringrequiredquery

The asset ID to query approval for

delegatestringrequiredquery

The delegate address with spending approval

Response

200OK

Asset approval information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account asset balances

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/asset-balances

Returns asset balances for a given account on Asset Hub chains.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

assetsstringquery

Comma-separated list of asset IDs to query

showEmptybooleanquery

When true, include assets with zero balance (default: false)

Response

200OK

Account asset balances

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account balance info

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/balance-info

Returns balance information for a given account including free, reserved, and locked balances.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

tokenstringquery

Token symbol for chains with multiple tokens

denominatedbooleanquery

When true, denominate balances using chain decimals

Response

200OK

Account balance information

400Bad Request

Invalid account or block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Convert account format

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/convert

Converts an account address between different SS58 formats and key types.

Parameters

accountIdstringrequiredpath

SS58-encoded account address or hex public key

schemestringquery

Cryptographic scheme: ed25519, sr25519, or ecdsa (default: sr25519)

prefixinteger<int32>>= 0query

SS58 prefix number (default: 42)

publicKeybooleanquery

If true, treat input as a public key

Response

200OK

Converted account information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account foreign asset balances

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/foreign-asset-balances

Returns foreign asset balances for a given account on Asset Hub chains. Foreign assets use XCM MultiLocation as their identifier.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

foreignAssetsArray<string>query

List of multilocation JSON strings to filter by

showEmptybooleanquery

When true, include assets with zero balance (default: false)

Response

200OK

Foreign asset balances

400Bad Request

Invalid account or parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account pool asset approvals

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/pool-asset-approvals

Returns pool asset approval information for a given account, asset, and delegate.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

assetIdstringrequiredquery

The pool asset ID to query approval for

delegatestringrequiredquery

The delegate address with spending approval

Response

200OK

Pool asset approval information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account pool asset balances

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/pool-asset-balances

Returns pool asset balances for a given account.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

assetsstringquery

Comma-separated list of pool asset IDs to query

showEmptybooleanquery

When true, include assets with zero balance (default: false)

Response

200OK

Pool asset balances

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account proxy info

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/proxy-info

Returns proxy information for a given account including delegated proxies and their types.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Proxy information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account staking info

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/staking-info

Returns staking information for a given stash account including bonded amount, controller, and nominations.

Parameters

accountIdstringrequiredpath

SS58-encoded stash account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

includeClaimedRewardsbooleanquery

When true, include claimed rewards in the response

Response

200OK

Staking information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Account staking payouts

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/staking-payouts

Returns staking payout history for a given account including era rewards and claimed status.

Parameters

accountIdstringrequiredpath

SS58-encoded stash account address

atstringquery

Block hash or number to query at

depthstringquery

Number of eras to query (default: 1)

erastringquery

The era to query at (default: active_era - 1)

unclaimedOnlybooleanquery

Only show unclaimed rewards (default: true)

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Staking payout information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Validate account address

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/validate

Validates an SS58-encoded account address and returns details about its format.

Parameters

accountIdstringrequiredpath

SS58-encoded account address to validate

atstringquery

Block hash or number (accepted for API consistency)

Response

200OK

Validation result

Authorization

api-keyAuthapiKey in header

Account vesting info

GET
https://ksm-assethub.nownodes.io/v1/accounts/{accountId}/vesting-info

Returns vesting information for a given account including vesting schedules and locked amounts.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

includeClaimablebooleanquery

When true, calculate vested amounts

Response

200OK

Vesting information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get an array of asset-balances for an account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/asset-balances

Returns information about an account's asset-balances. This is specific to the assets pallet for parachains. If no assets query parameter is provided, all asset-balances for the given account will be returned.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query asset-balance info for the specified account.

assetsArray<string><Array of unsignedInteger's>query

An array of AssetId's to be queried. If not supplied, defaults to providing all asset balances associated with the accountId will be returned. The array query param format follows Express 4.x API. ex:?assets[]=1&assets[]=2&assets[]=3.

Response

200OK

successfull operation

400Bad Request

Invalid Address

Authorization

api-keyAuthapiKey in header

Get an asset approval for an account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/asset-approvals

Returns information about an account's asset approval transaction. It is required to pass in a delegate and an assetId as query parameters.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query asset approval info for the specified account.

assetIdstring<unsignedInteger>requiredquery

The assetId associated with the asset-approval.

delegatestring<SS58>requiredquery

The delegate's accountId associated with an asset-approval.

Response

200OK

successfull operation

400Bad Request

Invalid Address

Authorization

api-keyAuthapiKey in header

Get balance information for an account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/balance-info

Returns information about an account's balance. Replaces /balance/{address} from versions < v1.0.0.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query balance info for the specified account.

tokenstringquery

Token to query the balance of. If not specified it will query the chains native token (e.g. DOT for Polkadot). Note: this is only relevant for chains that support multiple tokens through the ORML tokens pallet.

denominatedbooleanfalsequery

When set to true it will denominate any balance's given atomic value using the chains given decimal value.

Response

200OK

successful operation

400Bad Request

Invalid Address

404Not Found

account not found

Authorization

api-keyAuthapiKey in header

Convert a given AccountId to an SS58 address.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/convert

Returns the SS58 prefix, the network address format, the SS58 address, and the AccountId that was given as input parameter, the scheme that was used and if it is a public key or not (boolean).

Parameters

accountIdstring<AccountId or Hex>requiredpath

AccountId or Public Key (hex).

schemestring<string>sr25519query

The cryptographic scheme to be used in order to convert the AccountId to an SS58 address. It can take one of three values [sr25519, ed25519, ecdsa]. The default scheme that is used is sr25519 (if it is not set in the query parameter).

prefixstring<number>42query

The address prefix which can be one of the values found in the SS58-registry.

publicKeystring<boolean>truequery

Defines if the given value in the path parameter is a Public Key (hex) or not (hence AccountId).

Response

200OK

successfully converted the AccountId and retrieved the address info.

400Bad Request

Invalid AccountId

404Not Found

AccountId not found

Authorization

api-keyAuthapiKey in header

Get an array of pool-asset-balances for an account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/pool-asset-balances

Returns information about an account's pool-asset-balances. This is specific to the pool assets pallet for parachains. If no assets query parameter is provided, all pool-asset-balances for the given account will be returned.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query pool-asset-balance info for the specified account.

assetsArray<string><Array of unsignedInteger's>query

An array of AssetId's to be queried. If not supplied, defaults to providing all asset balances associated with the accountId will be returned. The array query param format follows Express 4.x API. ex:?assets[]=1&assets[]=2&assets[]=3.

Response

200OK

successfull operation

400Bad Request

Invalid Address

Authorization

api-keyAuthapiKey in header

Get an asset approval for an account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/pool-asset-approvals

Returns information about an account's asset approval transaction. It is required to pass in a delegate and an assetId as query parameters.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query asset approval info for the specified account.

assetIdstring<unsignedInteger>requiredquery

The assetId associated with the asset-approval.

delegatestring<SS58>requiredquery

The delegate's accountId associated with an asset-approval.

Response

200OK

successfull operation

400Bad Request

Invalid Address

Authorization

api-keyAuthapiKey in header

Get proxy account information.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/proxy-info

Returns information about a proxy account. This will include delegated accounts and deposits held.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query proxy info for the specified account.

Response

200OK

successfull operation

400Bad Request

Invalid Address

Authorization

api-keyAuthapiKey in header

Get vesting information for an account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/vesting-info

Returns the vesting schedule for an account. Replaces /vesting/{address} from versions < v1.0.0.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account.

atstring<unsignedInteger or $hex>query

Block at which to query the vesting info for the specified account.

Response

200OK

successful operation

400Bad Request

Invalid Address

404Not Found

account not found

Authorization

api-keyAuthapiKey in header

Validate a given address.

GET
https://ksm-assethub.nownodes.io/accounts/{address}/validate

Returns whether the given address is valid ss58 format, the ss58 prefix if the address has one, the network address format, and what the account ID is for this address.

Parameters

addressstring<SS58 or Hex>requiredpath

SS58 or Hex address of the account.

Response

200OK

successfully retrieved address info

Authorization

api-keyAuthapiKey in header

Compares up to 30 SS58 addresses.

GET
https://ksm-assethub.nownodes.io/accounts/compare

Returns if the given addresses are equal or not, along with details of each address. Equality is determined by comparing the accountId/publicKey of each address.

Parameters

addressesArray<string>requiredquery

An array or a comma separated string of SS58 addresses. Provide up to 30 addresses using one of these formats ?addresses=...&addresses=... or ?addresses[]=...&addresses[]=... or ?addresses=...,....

Response

200OK

successfully compared at least two SS58 addresses.

400Bad Request

Invalid Address

Authorization

api-keyAuthapiKey in header

pallets

Runtime pallet metadata, storage, constants, events, errors

Liquidity pools

GET
https://ksm-assethub.nownodes.io/v1/pallets/asset-conversion/liquidity-pools

Returns all liquidity pools from the AssetConversion pallet.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Liquidity pools

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Next available pool ID

GET
https://ksm-assethub.nownodes.io/v1/pallets/asset-conversion/next-available-id

Returns the next available pool asset ID from the AssetConversion pallet.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Next available ID

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Asset info

GET
https://ksm-assethub.nownodes.io/v1/pallets/assets/{assetId}/asset-info

Returns details for a specific asset including supply, admin, and metadata.

Parameters

assetIdstringrequiredpath

Asset ID

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Asset information

404Not Found

Asset not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Foreign assets

GET
https://ksm-assethub.nownodes.io/v1/pallets/foreign-assets

Returns all foreign assets with their details and metadata. Foreign assets use XCM MultiLocation as their identifier.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Foreign assets list

400Bad Request

Not supported on this chain

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Nomination pools info

GET
https://ksm-assethub.nownodes.io/v1/pallets/nomination-pools/info

Returns global nomination pools statistics and configuration.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Nomination pools information

400Bad Request

Not supported on this chain

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Nomination pool details

GET
https://ksm-assethub.nownodes.io/v1/pallets/nomination-pools/{poolId}

Returns details for a specific nomination pool.

Parameters

poolIdstringrequiredpath

Pool ID

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pool details

404Not Found

Pool not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

On-going referenda

GET
https://ksm-assethub.nownodes.io/v1/pallets/on-going-referenda

Returns all currently active referenda from the Referenda pallet.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Active referenda

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pool asset info

GET
https://ksm-assethub.nownodes.io/v1/pallets/pool-assets/{assetId}/asset-info

Returns details for a specific pool asset including supply, admin, and metadata.

Parameters

assetIdstringrequiredpath

Pool asset ID

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pool asset information

404Not Found

Pool asset not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Staking progress

GET
https://ksm-assethub.nownodes.io/v1/pallets/staking/progress

Returns staking progress including era, session info, and validator counts.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Staking progress information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Staking validators

GET
https://ksm-assethub.nownodes.io/v1/pallets/staking/validators

Returns the list of active validators and their info.

Parameters

atstringquery

Block hash or number to query at

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Validator information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet constants

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/consts

Returns all constants defined in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return constant names

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pallet constants

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet constant value

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/consts/{constantItemId}

Returns the value and metadata of a specific constant in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

constantItemIdstringrequiredpath

Name of the constant

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Constant value

400Bad Request

Invalid parameters

404Not Found

Constant not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet dispatchables

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/dispatchables

Returns the dispatchable calls defined in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return dispatchable names

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pallet dispatchables

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet dispatchable details

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/dispatchables/{dispatchableId}

Returns a single dispatchable call defined in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

dispatchableIdstringrequiredpath

Name of the dispatchable

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Dispatchable details

404Not Found

Dispatchable not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet errors

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/errors

Returns all errors defined in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return error names

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pallet errors

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet error details

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/errors/{errorItemId}

Returns metadata for a specific error in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

errorItemIdstringrequiredpath

Name of the error

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Error details

404Not Found

Error not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get pallet events

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/events

Returns all events defined in a pallet.

Parameters

palletIdstringrequiredpath

Pallet name or index

atstringquery

Block identifier (number or hash)

onlyIdsbooleanquery

Only return event names

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pallet events

400Bad Request

Invalid request

404Not Found

Pallet not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get pallet event item

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/events/{eventItemId}

Returns metadata for a specific event in a pallet.

Parameters

palletIdstringrequiredpath

Pallet name or index

eventItemIdstringrequiredpath

Event name

atstringquery

Block identifier (number or hash)

metadatabooleanquery

Include full event metadata

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Event item details

400Bad Request

Invalid request

404Not Found

Pallet or event not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet storage items

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/storage

Returns the list of storage items for a given pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return storage item names

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Pallet storage items

400Bad Request

Invalid pallet or parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Pallet storage item value

GET
https://ksm-assethub.nownodes.io/v1/pallets/{palletId}/storage/{storageItemId}

Returns the value of a specific storage item in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

storageItemIdstringrequiredpath

Name of the storage item

atstringquery

Block hash or number to query at

keys[]Array<string>query

Storage key arguments

metadatabooleanquery

Include metadata for the storage item

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Storage item value

400Bad Request

Invalid parameters

404Not Found

Storage item not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get information and metadata associated with an asset.

GET
https://ksm-assethub.nownodes.io/pallets/assets/{assetId}/asset-info

Returns information associated with an asset which includes the assets AssetDetails and AssetMetadata.

Parameters

assetIdstring<unsignedInteger>requiredpath

The unsignedInteger Id of an asset.

atstring<unsignedInteger or $hex>query

Block at which to retrieve the assetInfo.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get information related to existing liquidity pools.

GET
https://ksm-assethub.nownodes.io/pallets/asset-conversion/liquidity-pools

Returns a list of the existing liquidity pools and its corresponding tokens at a given block height. If no block is specified, it returns the latest list available.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the liquidity pools information.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

Get the next available liquidity pool id.

GET
https://ksm-assethub.nownodes.io/pallets/asset-conversion/next-available-id

Returns the next available liquidity pool's id at a given block height. If no block is specified, it returns the latest list available.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the next liquidity pool's id.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

Get information and metadata associated with foreign assets.

GET
https://ksm-assethub.nownodes.io/pallets/foreign-assets

Returns information associated with every foreign asset which includes the assets AssetDetails and AssetMetadata.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the foreign assets.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get information associated with nomination pools.

GET
https://ksm-assethub.nownodes.io/pallets/nomination-pools/info

Returns information and metadata for nomination pools including pool counters and limits.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the nomination pool info.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get information and metadata associated with a nomination pool.

GET
https://ksm-assethub.nownodes.io/pallets/nomination-pools/{poolId}

Returns information associated with a nomination pool which includes the nomination pools' bondedPool, rewardPool and metadata.

Parameters

poolIdstring<unsignedInteger>requiredpath

The unsignedInteger Id of a nomination pool.

atstring<unsignedInteger or $hex>query

Block at which to retrieve the nomination pool.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get a list of all on-going referenda that have track root (0) and whitelisted (1), along with their associated information.

GET
https://ksm-assethub.nownodes.io/pallets/on-going-referenda

Returns information associated with on-going referenda which includes the referendum's enactment, submitted and deciding fields.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the on-going referenda.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get a list of constants for a pallet.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/consts

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

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read constant metadata for. Note: the pallet name must match what is specified in the runtime metadata.

onlyIdsbooleanquery

Only return the names (IDs) of the const items instead of every constant's metadata.

atstring<unsignedInteger or $hex>query

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

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find pallet with palletId

Authorization

api-keyAuthapiKey in header

Get the value of a constant item.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/consts/{constantItemId}

Returns the value stored under the constantItemId.

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read constant metadata for. Note: the pallet name must match what is specified in the runtime metadata.

constantItemIdstringrequiredpath

Id of the const item to query for.

atstring<unsignedInteger or $hex>query

Block at which to query the const item at.

metadatabooleanfalsequery

Include the const items metadata (including documentation) if set to true.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find resource with id

Authorization

api-keyAuthapiKey in header

Get a list of dispatchables for a pallet.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/dispatchables

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

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read dispatchable metadata for. Note: the pallet name must match what is specified in the runtime metadata.

onlyIdsbooleanquery

Only return the names (IDs) of the dispatchable items instead of every dispatchable's metadata.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find pallet with palletId

Authorization

api-keyAuthapiKey in header

Get the value of a dispatchable item.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/dispatchables/{dispatchableItemId}

Returns the value stored under the dispatchableItemId.

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read dispatchable metadata for. Note: the pallet name must match what is specified in the runtime metadata.

dispatchableItemIdstringrequiredpath

Id of the dispatchable item to query for.

metadatabooleanfalsequery

Include the dispatchable items metadata (including documentation) if set to true.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find resource with id

Authorization

api-keyAuthapiKey in header

Get a list of errors for a pallet.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/errors

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

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read error metadata for. Note: the pallet name must match what is specified in the runtime metadata.

onlyIdsbooleanquery

Only return the names (IDs) of the error items instead of every error's metadata.

atstring<unsignedInteger or $hex>query

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

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find pallet with palletId

Authorization

api-keyAuthapiKey in header

Get the value of an error item.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/errors/{errorItemId}

Returns the value stored under the errorItemId.

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read error metadata for. Note: the pallet name must match what is specified in the runtime metadata.

errorItemIdstringrequiredpath

Id of the error item to query for.

atstring<unsignedInteger or $hex>query

Block at which to query the error item at.

metadatabooleanfalsequery

Include the error items metadata (including documentation) if set to true.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find resource with id

Authorization

api-keyAuthapiKey in header

Get a list of events for a pallet.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/events

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

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read event metadata for. Note: the pallet name must match what is specified in the runtime metadata.

onlyIdsbooleanquery

Only return the names (IDs) of the event items instead of every event's metadata.

atstring<unsignedInteger or $hex>query

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

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find pallet with palletId

Authorization

api-keyAuthapiKey in header

Get the value of an event item.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/events/{eventItemId}

Returns the value stored under the eventItemId.

Parameters

palletIdstringrequiredpath

Name or index of the pallet to read event metadata for. Note: the pallet name must match what is specified in the runtime metadata.

eventItemIdstringrequiredpath

Id of the event item to query for.

atstring<unsignedInteger or $hex>query

Block at which to query the event item at.

metadatabooleanfalsequery

Include the event items metadata (including documentation) if set to true.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find resource with id

Authorization

api-keyAuthapiKey in header

Get a list of storage items for a pallet.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/storage

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

Parameters

palletIdstringrequiredpath

Name or index of the pallet to query the storage of. Note: the pallet name must match what is specified in the runtime metadata.

onlyIdsbooleanquery

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

atstring<unsignedInteger or $hex>query

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

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find pallet with palletId

Authorization

api-keyAuthapiKey in header

Get the value of a storage item.

GET
https://ksm-assethub.nownodes.io/pallets/{palletId}/storage/{storageItemId}

Returns the value stored under the storageItemId. If it is a map, query param key1 is required. If the storage item is double map query params key1 and key2 are required.

Parameters

palletIdstringrequiredpath

Name or index of the pallet to query the storage of. Note: pallet name aligns with pallet name as specified in runtime metadata.

storageItemIdstringrequiredpath

Id of the storage item to query for.

keysArray<string>query

Set of N keys used for querying a storage map. It should be queried using the following format - ?keys[]=key1&keys[]=key2. Order matters, as it will determine the order the keys are passed into the storage calls.

atstring<unsignedInteger or $hex>query

Block at which to query the storage item at.

metadatabooleanfalsequery

Include the storage items metadata (including documentation) if set to true.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

could not find resource with id

Authorization

api-keyAuthapiKey in header

Get information and metadata associated with a pool asset.

GET
https://ksm-assethub.nownodes.io/pallets/pool-assets/{assetId}/asset-info

Returns information associated with a pool asset which includes the assets AssetDetails and AssetMetadata.

Parameters

assetIdstring<unsignedInteger>requiredpath

The unsignedInteger Id of a pool asset.

atstring<unsignedInteger or $hex>query

Block at which to retrieve the assetInfo.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get progress on the general Staking pallet system.

GET
https://ksm-assethub.nownodes.io/pallets/staking/progress

Returns information on the progress of key components of the staking system and estimates of future points of interest. Replaces /staking-info from versions < v1.0.0.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve a staking progress report.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

Get all validators (active/waiting) of a specific chain.

GET
https://ksm-assethub.nownodes.io/pallets/staking/validators

Returns a list of all validators addresses and their corresponding status which can be either active or waiting. It will also return a list of active validators that will not be part of the next era for staking. They will be under the key "validatorsToBeChilled". It's important to note, that addresses can be present in both the "validators" key, and "validatorsToBeChilled".

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the list of validators.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

runtime

Runtime specification, metadata, and code

Runtime Wasm code

GET
https://ksm-assethub.nownodes.io/v1/runtime/code

Returns the Wasm code blob of the Substrate runtime at a given block.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Runtime code

400Bad Request

Invalid block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Runtime metadata

GET
https://ksm-assethub.nownodes.io/v1/runtime/metadata

Returns the decoded runtime metadata in JSON format.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Runtime metadata

400Bad Request

Invalid block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Available metadata versions

GET
https://ksm-assethub.nownodes.io/v1/runtime/metadata/versions

Returns the available metadata versions at a given block.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

List of available metadata versions

400Bad Request

Invalid block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Runtime metadata by version

GET
https://ksm-assethub.nownodes.io/v1/runtime/metadata/{version}

Returns the metadata at a specific version. The version parameter should be in 'vX' format (e.g., 'v14', 'v15').

Parameters

versionstringrequiredpath

Metadata version (e.g., 'v14', 'v15')

atstringquery

Block hash or number to query at

Response

200OK

Runtime metadata at specified version

400Bad Request

Invalid version format or block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Runtime specification

GET
https://ksm-assethub.nownodes.io/v1/runtime/spec

Returns the runtime specification including version, APIs, and chain properties.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Runtime specification

400Bad Request

Invalid block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get the runtime metadata in decoded, JSON form.

GET
https://ksm-assethub.nownodes.io/runtime/metadata

Returns the runtime metadata as a JSON object. Substrate Reference: - FRAME Support: https://crates.parity.io/frame_support/metadata/index.html - Knowledge Base: https://substrate.dev/docs/en/knowledgebase/runtime/metadata

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the metadata at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get the requested version of runtime metadata in decoded, JSON form.

GET
https://ksm-assethub.nownodes.io/runtime/metadata/{metadataVersion}

Returns the requested version of runtime metadata as a JSON object. Substrate Reference: - FRAME Support: https://crates.parity.io/frame_support/metadata/index.html - Knowledge Base: https://substrate.dev/docs/en/knowledgebase/runtime/metadata

Parameters

metadataVersionstringrequiredpath

The version of metadata. The input is expected in a vX format, where X represents the version number (e.g. v14, v15).

atstring<unsignedInteger or $hex>query

Block at which to retrieve the metadata at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get the available versions of runtime metadata.

GET
https://ksm-assethub.nownodes.io/runtime/metadata/versions

Returns the available versions of runtime metadata. Substrate Reference: - FRAME Support: https://crates.parity.io/frame_support/metadata/index.html - Knowledge Base: https://substrate.dev/docs/en/knowledgebase/runtime/metadata

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the metadata versions at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get the runtime wasm blob.

GET
https://ksm-assethub.nownodes.io/runtime/code

Returns the runtime Wasm blob in hex format.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the runtime wasm blob at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get version information of the Substrate runtime.

GET
https://ksm-assethub.nownodes.io/runtime/spec

Returns version information related to the runtime.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve runtime version information at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

transaction

Transaction submission, fee estimation, and construction material

Submit transaction

POST
https://ksm-assethub.nownodes.io/v1/transaction

Submit a signed extrinsic to the transaction pool.

Body

application/json

Signed extrinsic with 'tx' field containing hex-encoded transaction

object

Response

200OK

Transaction hash

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Dry run transaction

POST
https://ksm-assethub.nownodes.io/v1/transaction/dry-run

Dry run a transaction to check validity without submitting.

Body

application/json

Transaction with 'tx', 'senderAddress', and optional 'at' fields

object

Response

200OK

Dry run result

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Estimate transaction fee

POST
https://ksm-assethub.nownodes.io/v1/transaction/fee-estimate

Estimate the fee for a transaction.

Body

application/json

Transaction with 'tx' field containing hex-encoded transaction

object

Response

200OK

Fee estimate

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Transaction construction material

GET
https://ksm-assethub.nownodes.io/v1/transaction/material

Returns network information needed for transaction construction including genesis hash, spec version, and optionally metadata.

Parameters

atstringquery

Block hash or number to query at

noMetabooleanquery

DEPRECATED: If true, metadata is not included

metadatastringquery

Metadata format: 'json' or 'scale'

Response

200OK

Transaction material

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Transaction material with versioned metadata

GET
https://ksm-assethub.nownodes.io/v1/transaction/material/{metadataVersion}

Returns transaction construction material with metadata at a specific version.

Parameters

metadataVersionstringrequiredpath

Metadata version (e.g., 'v14', 'v15')

atstringquery

Block hash or number to query at

noMetabooleanquery

DEPRECATED: If true, metadata is not included

metadatastringquery

Metadata format: 'json' or 'scale'

Response

200OK

Transaction material with versioned metadata

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Generate metadata blob

POST
https://ksm-assethub.nownodes.io/v1/transaction/metadata-blob

Generates a metadata blob for transaction signing with the CheckMetadataHash extension.

Body

application/json

Request with 'tx' field and optional 'at' block

object

Response

200OK

Metadata blob

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Parse transaction

POST
https://ksm-assethub.nownodes.io/v1/transaction/parse

Decode a raw transaction and return its components without executing or submitting it. Returns the decoded pallet/method, call arguments, signature info, nonce, tip, era, and hash. Note: This endpoint uses the chain's current (latest) metadata for decoding. Transactions created for older runtime versions may fail to decode if the extrinsic format has changed.

Body

application/json

Transaction with 'tx' field containing hex-encoded extrinsic

Request body for transaction parsing.

txstring

Hex-encoded extrinsic with optional 0x prefix.

Response

200OK

Parsed transaction

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

Authorization

api-keyAuthapiKey in header

Submit a transaction to the node's transaction pool.

POST
https://ksm-assethub.nownodes.io/transaction

Accepts a valid signed extrinsic. Replaces /tx from versions < v1.0.0.

Body

application/json
txstring<hex>

Response

200OK

successful operation

400Bad Request

failed to parse or submit transaction

Authorization

api-keyAuthapiKey in header

Dry run an extrinsic.

POST
https://ksm-assethub.nownodes.io/transaction/dry-run

Use the dryRun call to simulate the submission of a transaction without executing it so that you can check for potential errors and validate the expected outcome.

Body

application/json
atstring<unsignedInteger>
txstring<hex>
senderAddressstring<ss58>

Response

200OK

successful operation

400Bad Request

failed to dry-run transaction

Authorization

api-keyAuthapiKey in header

Receive a fee estimate for a transaction.

POST
https://ksm-assethub.nownodes.io/transaction/fee-estimate

Send a serialized transaction and receive back a naive fee estimate. Note: partialFee does not include any tips that you may add to increase a transaction's priority. See the reference on compute_fee. Replaces /tx/fee-estimate from versions < v1.0.0. Substrate Reference: - RuntimeDispatchInfo: https://crates.parity.io/pallet_transaction_payment_rpc_runtime_api/struct.RuntimeDispatchInfo.html - query_info: https://crates.parity.io/pallet_transaction_payment/struct.Module.html#method.query_info - compute_fee: https://crates.parity.io/pallet_transaction_payment/struct.Module.html#method.compute_fee

Body

application/json
txstring<hex>

Response

200OK

successful operation

400Bad Request

fee estimation failure

Authorization

api-keyAuthapiKey in header

Get all the network information needed to construct a transaction offline.

GET
https://ksm-assethub.nownodes.io/transaction/material

Returns the material that is universal to constructing any signed transaction offline. Replaces /tx/artifacts from versions < v1.0.0.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the transaction construction material.

noMetabooleanfalsequery

DEPRECATED! This is no longer supported

metadatastringquery

Specifies the format of the metadata to be returned. Accepted values are 'json', and 'scale'. 'json' being the decoded metadata, and 'scale' being the SCALE encoded metadata. When metadata is not inputted, the metadata field will be absent.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

Get all the network information needed to construct a transaction offline and the version of metadata specified in metadataVersion.

GET
https://ksm-assethub.nownodes.io/transaction/material/{metadataVersion}

Returns all the materials necessary for constructing any signed transactions offline.

Parameters

metadataVersionstringrequiredpath

The version of metadata. The input is expected in a vX format, where X represents the version number (e.g. v14, v15). By default, metadata is outputted in 'json' format, unless the metadata query parameter is provided, in which case it can be either in 'json' or 'scale' format.

atstring<unsignedInteger or $hex>query

Block at which to retrieve the transaction construction material.

metadatastringquery

Specifies the format of the metadata to be returned. Accepted values are 'json', and 'scale'. 'json' being the decoded metadata, and 'scale' being the SCALE encoded metadata.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

coretime

Coretime system information

Get coretime info

GET
https://ksm-assethub.nownodes.io/v1/coretime/info

Returns coretime chain status information including the last committed timeslice.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Coretime info

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get coretime leases

GET
https://ksm-assethub.nownodes.io/v1/coretime/leases

Returns all leases registered on a coretime chain with task IDs and validity timeslices.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Coretime leases

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get coretime overview

GET
https://ksm-assethub.nownodes.io/v1/coretime/overview

Returns an overview of all cores with assignments, queue state, workload, workplan, and regions.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Coretime overview

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get coretime regions

GET
https://ksm-assethub.nownodes.io/v1/coretime/regions

Returns all regions on a coretime chain including begin/end timeslices, core, owner, and mask.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Coretime regions

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get coretime potential renewals

GET
https://ksm-assethub.nownodes.io/v1/coretime/renewals

Returns potential renewals on a coretime chain sorted by core index, including price, completion status, and task assignment.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Coretime renewals

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get coretime reservations

GET
https://ksm-assethub.nownodes.io/v1/coretime/reservations

Returns all reservations on a coretime chain. Reserved cores are permanently allocated and not available for sale.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Coretime reservations

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Get all the leases currently registered on coretime chain.

GET
https://ksm-assethub.nownodes.io/coretime/leases

Parameters

blockIdstringquery

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get all the regions currently registered on coretime chain.

GET
https://ksm-assethub.nownodes.io/coretime/regions

Parameters

blockIdstringquery

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get all the potential renewals currently registered on coretime chain.

GET
https://ksm-assethub.nownodes.io/coretime/renewals

Parameters

blockIdstringquery

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get all the reservations currently registered on coretime chain.

GET
https://ksm-assethub.nownodes.io/coretime/reservations

Parameters

blockIdstringquery

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get the generic information about coretime, either on coretime chain or relay chain.

GET
https://ksm-assethub.nownodes.io/coretime/info

Parameters

blockIdstringquery

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

Get all the cores information either on coretime chain or relay chain.

GET
https://ksm-assethub.nownodes.io/coretime/overview

Parameters

blockIdstringquery

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

paras

Parachain inclusion data

Parachain inclusion data

GET
https://ksm-assethub.nownodes.io/v1/paras/{number}/inclusion

Returns inclusion information for a given parachain block, searching relay chain blocks for when the parachain block was included.

Parameters

numberstringrequiredpath

Parachain block number

depthstringquery

Search depth for relay chain blocks (max 100, default 10, must be divisible by 5)

Response

200OK

Parachain inclusion information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] List all registered paras (parathreads & parachains).

GET
https://ksm-assethub.nownodes.io/paras

Returns all registered parachains and parathreads with lifecycle info.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve paras list at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get general information about the current lease period.

GET
https://ksm-assethub.nownodes.io/paras/leases/current

Returns an overview of the current lease period, including lease holders.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve current lease period info at.

currentLeaseHoldersbooleantruequery

Wether or not to include the currentLeaseHolders property. Inclusion of the property will likely result in a larger payload and increased response time.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get the status of the current auction.

GET
https://ksm-assethub.nownodes.io/paras/auctions/current

Returns an overview of the current auction. There is only one auction at a time. If there is no auction most fields will be null. If the current auction phase is in vrfDelay and you are looking to retrieve the latest winning bids, it is advised to query one block before finishEnd in the endingPeriod phase for that auction as there technically are no winners during the vrfDelay and thus the field is null.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve auction progress at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] List all stored crowdloans.

GET
https://ksm-assethub.nownodes.io/paras/crowdloans

Returns a list of all the crowdloans and their associated paraIds.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the list of paraIds that have crowdloans at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get crowdloan information for a paraId.

GET
https://ksm-assethub.nownodes.io/paras/{paraId}/crowdloan-info

Returns crowdloan's fundInfo and the set of leasePeriods the crowdloan` covers.

Parameters

paraIdnumberrequiredpath

paraId to query the crowdloan information of.

atstring<unsignedInteger or $hex>query

Block at which to retrieve info at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get current and future leases as well as the lifecycle stage for a given paraId.

GET
https://ksm-assethub.nownodes.io/paras/{paraId}/lease-info

Returns a list of leases that belong to the paraId as well as the paraId's current lifecycle stage.

Parameters

paraIdnumberrequiredpath

paraId to query the crowdloan information of.

atstring<unsignedInteger or $hex>query

Block at which to retrieve para's leases at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get the heads of the included (backed and considered available) parachain candidates at the specified block height or at the most recent finalized head otherwise.

GET
https://ksm-assethub.nownodes.io/paras/head/included-candidates

Returns an object with all the parachain id's as keys, and their headers as values.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve para's heads at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[DEPRECATION NOTE: PHASED OUT ENDPOINT IN FAVOR OF CORETIME] Get the heads of the backed parachain candidates at the specified block height or at the most recent finalized head otherwise.

GET
https://ksm-assethub.nownodes.io/paras/head/backed-candidates

Returns an object with all the parachain id's as keys, and their headers as values.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve para's heads at.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

ahm

Asset Hub Migration information

Asset Hub Migration info

GET
https://ksm-assethub.nownodes.io/v1/ahm-info

Returns information about the Asset Hub migration, including start and end blocks for both relay chain and Asset Hub.

Response

200OK

AHM migration boundaries

404Not Found

No migration data available

Authorization

api-keyAuthapiKey in header

capabilities

API capabilities and chain pallets

API capabilities

GET
https://ksm-assethub.nownodes.io/v1/capabilities

Returns the chain name and list of available pallets in the runtime metadata.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Chain capabilities

400Bad Request

Invalid block parameter

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

rc

Relay chain endpoints (available on parachains only)

RC get balance info

GET
https://ksm-assethub.nownodes.io/v1/rc/accounts/{accountId}/balance-info

Returns balance information for a given account on the relay chain.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block identifier (number or hash)

tokenstringquery

Token symbol (defaults to native token)

denominatedbooleanquery

Denominate balances using chain decimals

Response

200OK

Balance information

400Bad Request

Invalid account address

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get proxy info

GET
https://ksm-assethub.nownodes.io/v1/rc/accounts/{accountId}/proxy-info

Returns proxy information for a given account on the relay chain.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block identifier (number or hash)

Response

200OK

Proxy information

400Bad Request

Invalid account address

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get staking info

GET
https://ksm-assethub.nownodes.io/v1/rc/accounts/{accountId}/staking-info

Returns staking information for a given stash account on the relay chain.

Parameters

accountIdstringrequiredpath

SS58-encoded stash account address

atstringquery

Block identifier (number or hash)

includeClaimedRewardsbooleanquery

When true, include claimed rewards in the response

Response

200OK

Staking information

400Bad Request

Invalid account address

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get staking payouts

GET
https://ksm-assethub.nownodes.io/v1/rc/accounts/{accountId}/staking-payouts

Returns staking payout information for a given account on the relay chain.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block identifier (number or hash)

depthinteger<int32>>= 0query

Number of eras to query (default: 1)

erainteger<int32>>= 0query

The era to query at (default: active_era - 1)

unclaimedOnlybooleanquery

Only show unclaimed rewards (default: true)

Response

200OK

Staking payouts

400Bad Request

Invalid account address

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get vesting info

GET
https://ksm-assethub.nownodes.io/v1/rc/accounts/{accountId}/vesting-info

Returns vesting information for a given account on the relay chain.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block identifier (number or hash)

Response

200OK

Vesting information

400Bad Request

Invalid account address

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get blocks by range

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks

Returns relay chain blocks within a specified range (max 500 blocks).

Parameters

rangestringquery

Block range (e.g., '100-200')

eventDocsbooleanquery

Include event documentation

extrinsicDocsbooleanquery

Include extrinsic documentation

noFeesbooleanquery

Skip fee calculation

decodedXcmMsgsbooleanquery

Decode and include XCM messages

paraIdinteger<int32>>= 0query

Filter XCM messages by parachain ID

Response

200OK

Relay chain blocks

400Bad Request

Invalid range or missing parameter

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get head block

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/head

Returns the latest block on the relay chain.

Parameters

finalizedbooleanquery

When true returns finalized head (default: true)

eventDocsbooleanquery

Include event documentation

extrinsicDocsbooleanquery

Include extrinsic documentation

noFeesbooleanquery

Skip fee calculation

decodedXcmMsgsbooleanquery

Decode and include XCM messages

paraIdinteger<int32>>= 0query

Filter XCM messages by parachain ID

Response

200OK

Relay chain head block

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get head block header

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/head/header

Returns the header of the latest relay chain block.

Parameters

finalizedbooleanquery

When true returns finalized head (default: true)

Response

200OK

Relay chain head block header

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get block by ID

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/{blockId}

Returns relay chain block information for a given block identifier.

Parameters

blockIdstringrequiredpath

Block height number or block hash

eventDocsbooleanquery

Include event documentation

extrinsicDocsbooleanquery

Include extrinsic documentation

noFeesbooleanquery

Skip fee calculation

decodedXcmMsgsbooleanquery

Include decoded XCM messages

paraIdinteger<int32>>= 0query

Filter XCM messages by parachain ID

Response

200OK

Relay chain block information

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get raw extrinsics

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/{blockId}/extrinsics-raw

Returns raw hex-encoded extrinsics for a relay chain block without decoding.

Parameters

blockIdstringrequiredpath

Block height number or block hash

Response

200OK

Raw extrinsics

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get extrinsic by index

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/{blockId}/extrinsics/{extrinsicIndex}

Returns a specific extrinsic from a relay chain block by its index.

Parameters

blockIdstringrequiredpath

Block height number or block hash

extrinsicIndexstringrequiredpath

Index of the extrinsic in the block

eventDocsbooleanquery

Include event documentation

extrinsicDocsbooleanquery

Include extrinsic documentation

noFeesbooleanquery

Skip fee calculation

Response

200OK

Extrinsic details

400Bad Request

Invalid block ID or extrinsic index

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get block header

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/{blockId}/header

Returns the header of a relay chain block by block hash or block number.

Parameters

blockIdstringrequiredpath

Block height number or block hash

Response

200OK

Relay chain block header

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get parachain inclusions

GET
https://ksm-assethub.nownodes.io/v1/rc/blocks/{blockId}/para-inclusions

Returns parachain inclusion information for a given relay chain block.

Parameters

blockIdstringrequiredpath

Block height number or block hash

paraIdinteger<int32>>= 0query

Filter by parachain ID

Response

200OK

Parachain inclusions

400Bad Request

Invalid block identifier

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get node network

GET
https://ksm-assethub.nownodes.io/v1/rc/node/network

Returns the relay chain node's network information.

Response

200OK

Relay chain node network info

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get transaction pool

GET
https://ksm-assethub.nownodes.io/v1/rc/node/transaction-pool

Returns the relay chain's transaction pool with optional fee information.

Parameters

includeFeebooleanquery

Include fee information for each transaction (default: false)

Response

200OK

Relay chain transaction pool

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get node version

GET
https://ksm-assethub.nownodes.io/v1/rc/node/version

Returns the relay chain node's version information.

Response

200OK

Relay chain node version

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC on-going referenda

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/on-going-referenda

Returns all currently active referenda from the relay chain's Referenda pallet.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Active referenda from relay chain

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC staking progress

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/staking/progress

Returns staking progress from the relay chain.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Relay chain staking progress

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC staking validators

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/staking/validators

Returns the list of active validators from the relay chain.

Parameters

atstringquery

Block hash or number to query at

Response

200OK

Relay chain validator information

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet constants

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/consts

Returns all constants defined in a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return constant names

Response

200OK

Relay chain pallet constants

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet constant value

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/consts/{constantItemId}

Returns the value and metadata of a specific constant from a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

constantItemIdstringrequiredpath

Name of the constant

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

Response

200OK

Relay chain constant value

404Not Found

Constant not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet dispatchables

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/dispatchables

Returns the dispatchable calls defined in a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return dispatchable names

Response

200OK

Relay chain pallet dispatchables

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet dispatchable details

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/dispatchables/{dispatchableId}

Returns a single dispatchable call from a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

dispatchableIdstringrequiredpath

Name of the dispatchable

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

Response

200OK

Relay chain dispatchable details

404Not Found

Dispatchable not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet errors

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/errors

Returns all errors defined in a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return error names

Response

200OK

Relay chain pallet errors

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet error details

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/errors/{errorItemId}

Returns metadata for a specific error in a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

errorItemIdstringrequiredpath

Name of the error

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

Response

200OK

Relay chain error details

404Not Found

Error not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet events

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/events

Returns all events defined in a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return event names

Response

200OK

Relay chain pallet events

400Bad Request

Invalid pallet

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet event details

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/events/{eventItemId}

Returns metadata for a specific event in a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

eventItemIdstringrequiredpath

Event name

atstringquery

Block hash or number to query at

metadatabooleanquery

Include full event metadata

Response

200OK

Relay chain event details

404Not Found

Pallet or event not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet storage items

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/storage

Returns the list of storage items for a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

atstringquery

Block hash or number to query at

onlyIdsbooleanquery

Only return storage item names

Response

200OK

Relay chain pallet storage items

400Bad Request

Invalid pallet or parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC pallet storage item value

GET
https://ksm-assethub.nownodes.io/v1/rc/pallets/{palletId}/storage/{storageItemId}

Returns the value of a specific storage item from a relay chain pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

storageItemIdstringrequiredpath

Name of the storage item

atstringquery

Block hash or number to query at

keys[]Array<string>query

Storage key arguments

metadatabooleanquery

Include metadata for the storage item

Response

200OK

Relay chain storage item value

400Bad Request

Invalid parameters

404Not Found

Storage item not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC get runtime code

GET
https://ksm-assethub.nownodes.io/v1/rc/runtime/code

Returns the Wasm code blob of the relay chain runtime at a given block.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Relay chain runtime code

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get runtime metadata

GET
https://ksm-assethub.nownodes.io/v1/rc/runtime/metadata

Returns the decoded runtime metadata of the relay chain in JSON format.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Relay chain runtime metadata

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get metadata versions

GET
https://ksm-assethub.nownodes.io/v1/rc/runtime/metadata/versions

Returns the available metadata versions on the relay chain at a given block.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Available metadata versions

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get metadata by version

GET
https://ksm-assethub.nownodes.io/v1/rc/runtime/metadata/{version}

Returns the relay chain metadata at a specific version (e.g., v14, v15).

Parameters

versionstringrequiredpath

Metadata version in 'vX' format (e.g., v14, v15)

atstringquery

Block identifier (number or hash)

Response

200OK

Relay chain metadata at specified version

400Bad Request

Invalid version format

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC get runtime spec

GET
https://ksm-assethub.nownodes.io/v1/rc/runtime/spec

Returns the runtime spec of the relay chain at a given block.

Parameters

atstringquery

Block identifier (number or hash)

Response

200OK

Relay chain runtime spec

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

Submit transaction (relay chain)

POST
https://ksm-assethub.nownodes.io/v1/rc/transaction

Submit a signed extrinsic to the relay chain transaction pool. Only available on parachains.

Body

application/json

Signed extrinsic with 'tx' field containing hex-encoded transaction

object

Response

200OK

Transaction hash

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured

Authorization

api-keyAuthapiKey in header

RC dry run transaction

POST
https://ksm-assethub.nownodes.io/v1/rc/transaction/dry-run

Dry run a transaction on the relay chain.

Body

application/json

Transaction with 'tx', 'senderAddress', and optional 'at' fields

object

Response

200OK

Dry run result

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC fee estimate

POST
https://ksm-assethub.nownodes.io/v1/rc/transaction/fee-estimate

Estimate the fee for a relay chain transaction.

Body

application/json

Transaction with 'tx' field

object

Response

200OK

Fee estimate

400Bad Request

Invalid transaction

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC transaction material

GET
https://ksm-assethub.nownodes.io/v1/rc/transaction/material

Returns relay chain network information for transaction construction.

Parameters

atstringquery

Block hash or number to query at

noMetabooleanquery

DEPRECATED: If true, metadata is not included

metadatastringquery

Metadata format: 'json' or 'scale'

Response

200OK

Relay chain transaction material

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC transaction material versioned

GET
https://ksm-assethub.nownodes.io/v1/rc/transaction/material/{metadataVersion}

Returns relay chain transaction material with metadata at a specific version.

Parameters

metadataVersionstringrequiredpath

Metadata version (e.g., 'v14', 'v15')

atstringquery

Block hash or number to query at

noMetabooleanquery

DEPRECATED: If true, metadata is not included

metadatastringquery

Metadata format: 'json' or 'scale'

Response

200OK

Relay chain transaction material with versioned metadata

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

RC metadata blob

POST
https://ksm-assethub.nownodes.io/v1/rc/transaction/metadata-blob

Generates a metadata blob from the relay chain for transaction signing.

Body

application/json

Request with 'tx' field and optional 'at' block

object

Response

200OK

Metadata blob

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable

Authorization

api-keyAuthapiKey in header

Parse transaction (relay chain)

POST
https://ksm-assethub.nownodes.io/v1/rc/transaction/parse

Decode a raw transaction using relay chain metadata. Only available on parachains. Returns the decoded pallet/method, call arguments, signature info, nonce, tip, era, and hash. Note: This endpoint uses the relay chain's current (latest) metadata for decoding. Transactions created for older runtime versions may fail to decode if the extrinsic format has changed.

Body

application/json

Transaction with 'tx' field containing hex-encoded extrinsic

Request body for transaction parsing.

txstring

Hex-encoded extrinsic with optional 0x prefix.

Response

200OK

Parsed transaction

400Bad Request

Invalid transaction or relay chain not configured

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain unavailable

Authorization

api-keyAuthapiKey in header

contracts

Query an !Ink contract with a given message (method).

POST
https://ksm-assethub.nownodes.io/contracts/ink/{address}/query

Will return a valid or invalid result.

Body

application/json

Metadata used to instantiate a ContractPromise. This metadata can be generated by compiling the contract you are querying.

ContractMetadata

Parameters

addressstringrequiredpath

SS58 or Hex address of the account associated with the contract.

methodstringgetquery

The message or method used to query.

gasLimitnumber-1query

The gas limit to be used as an option for the queried message.

storageDepositLimitnumbernullquery

The storage deposit limit to be used as an option for the queried message.

argsArray<string>query

Abi params used as args specified in the metadata to be passed into a query. The format to use this query param is ?args[]=1&args[]=2&args[]=3.

Response

200OK

succesful operation

400Bad Request

Invalid Method

Authorization

api-keyAuthapiKey in header

trace

[Experimental - subject to breaking change.] Get traces for the most recently finalized block.

GET
https://ksm-assethub.nownodes.io/experimental/blocks/head/traces

Returns traces (spans and events) of the most recently finalized block from RPC state_straceBlock. Consult the RPC docs for conceptual info.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[Experimental - subject to breaking change.] Get traces for the given blockId.

GET
https://ksm-assethub.nownodes.io/experimental/blocks/{blockId}/traces

Returns traces (spans and events) of the specified block from RPC state_straceBlock. Consult the RPC docs for conceptual info.

Parameters

blockIdstringrequiredpath

Block identifier, as the block height or block hash.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[Experimental - subject to breaking change.] Get the operations from the most recently finalized block.

GET
https://ksm-assethub.nownodes.io/experimental/blocks/head/traces/operations

Returns the operations from the most recently finalized block. Operations represent one side of a balance change. For example if Alice transfers 100unit to Bob there will be two operations; 1) Alice - 100 2) Bob + 100.

Given account A and A's balance at block k0 (Ak0), if we sum all the operations for A from block k1 through kn against Ak0, we will end up with A's balance at block kn (Akn). Thus, operations can be used to audit that balances change as expected.

This is useful for Substrate based chains because the advanced business logic can make it difficult to ensure auditable balance reconciliation based purely on events. Instead of using events one can use the operations given from this endpoint.

Note - each operation corresponds to a delta of a single field of the system::AccountData storage item (i.e free, reserved, misc_frozen and fee_frozen). Note - operations are assigned a block execution phase (and extrinsic index for those in the apply extrinsic phase) based on an "action group". For example all the operations for 1 extrinsic will be in the same action group. The action groups can optionally be fetched with the action query param for closer auditing. Note - There are no 0 value operations (e.g. a transfer of 0, or a transfer to itself)

To learn more about operation and action group creation please consult this diagram

Parameters

actionsbooleanfalsequery

Whether or not to include action groups.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

[Experimental - subject to breaking change.] Get the operations from the specified block.

GET
https://ksm-assethub.nownodes.io/experimental/blocks/{blockId}/traces/operations

Returns the operations from the most recently finalized block. Operations represent one side of a balance change. For example if Alice transfers 100unit to Bob there will be two operations; 1) Alice - 100 2) Bob + 100.

Given account A and A's balance at block k0 (Ak0), if we sum all the operations for A from block k1 through kn against Ak0, we will end up with A's balance at block kn (Akn). Thus, operations can be used to audit that balances change as expected.

This is useful for Substrate based chains because the advanced business logic can make it difficult to ensure auditable balance reconciliation based purely on events. Instead of using events one can use the operations given from this endpoint.

Note - each operation corresponds to a delta of a single field of the system::AccountData storage item (i.e free, reserved, misc_frozen and fee_frozen). Note - operations are assigned a block execution phase (and extrinsic index for those in the apply extrinsic phase) based on an "action group". For example all the operations for 1 extrinsic will be in the same action group. The action groups can optionally be fetched with the action query param for closer auditing. Note - There are no 0 value operations (e.g. a transfer of 0, or a transfer to itself)

To learn more about operation and action group creation please consult this diagram

Parameters

blockIdstringrequiredpath

Block identifier, as the block height or block hash.

actionsbooleanfalsequery

Whether or not to include action groups.

Response

200OK

successful operation

Authorization

api-keyAuthapiKey in header

staking

Get staking information for a Stash account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/staking-info

Returns information about a Stash account's staking activity. Replaces /staking/{address} from versions < v1.0.0. The Stash account can be either a validator or nominator account.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account. Must be a Stash account.

atstring<unsignedInteger or $hex>query

Block at which to query the staking info for the specified account.

includeClaimedRewardsstring<boolean>truequery

When set to false, the claimedRewards field is not included in the response.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

account not found

Authorization

api-keyAuthapiKey in header

Get payout information for a Stash account.

GET
https://ksm-assethub.nownodes.io/accounts/{accountId}/staking-payouts

Returns payout information for the last specified eras. If specifying both the depth and era query params, this endpoint will return information for (era - depth) through era. (i.e. if depth=5 and era=20 information will be returned for eras 16 through 20). N.B. You cannot query eras less then current_era - HISTORY_DEPTH. N.B. The nominator* fields correspond to the address being queried, even if it is a validator's Stash address. This is because a validator is technically nominating itself.

Parameters

accountIdstring<SS58>requiredpath

SS58 address of the account. Must be a Stash account.

atstring<unsignedInteger or $hex>query

Block at which to query staking payouts.

depthstring<unsignedInteger>1query

The number of eras to query for payouts of. Must be less than or equal to HISTORY_DEPTH. In cases where era - (depth -1) is less than 0, the first era queried will be 0.

erastring<unsignedInteger>`active_era - 1`query

The era to query at.

unclaimedOnlystring<boolean>truequery

Only return unclaimed rewards.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

404Not Found

account not found

Authorization

api-keyAuthapiKey in header

Get progress on the general Staking pallet system.

GET
https://ksm-assethub.nownodes.io/pallets/staking/progress

Returns information on the progress of key components of the staking system and estimates of future points of interest. Replaces /staking-info from versions < v1.0.0.

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve a staking progress report.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header

Get all validators (active/waiting) of a specific chain.

GET
https://ksm-assethub.nownodes.io/pallets/staking/validators

Returns a list of all validators addresses and their corresponding status which can be either active or waiting. It will also return a list of active validators that will not be part of the next era for staking. They will be under the key "validatorsToBeChilled". It's important to note, that addresses can be present in both the "validators" key, and "validatorsToBeChilled".

Parameters

atstring<unsignedInteger or $hex>query

Block at which to retrieve the list of validators.

Response

200OK

successful operation

400Bad Request

invalid blockId supplied for at query param

Authorization

api-keyAuthapiKey in header