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

Kusama rc blocks API

The rc blocks API from Kusama — 8 operation(s) for rc blocks.

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

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

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

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

8 operations 8 paths 18 schemas 8 GET

Metadata

The identity and technical contract details declared by the specification.

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

Paths & Operations 8

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

rc blocks 8
GET
/rc/blocks
Get a range of relay chain blocks by their height.
getRcBlocks 5 params → 200400
GET
/rc/blocks/{blockId}
Get a relay chain block by its height or hash.
getRcBlock 5 params → 200400
GET
/rc/blocks/{blockId}/header
Get a relay chain block's header by its height or hash.
getRcBlockHeader 1 param → 200400
GET
/rc/blocks/{blockId}/extrinsics/{extrinsicIndex}
Get a relay chain block's extrinsic by its block height or hash and the extrinsic index.
getRcBlockExtrinsic 6 params → 200400
GET
/rc/blocks/head
Get the latest relay chain block.
getRcBlockHead 5 params → 200400
GET
/rc/blocks/head/header
Get the latest relay chain block's header.
getRcBlockHeadHeader 1 param → 200400
GET
/rc/blocks/{blockId}/extrinsics-raw
Get a relay chain block's raw extrinsics by its height or hash.
getRcBlockRawExtrinsics 1 param → 200400
GET
/rc/blocks/{blockId}/para-inclusions
Get all parachain inclusion information for a relay chain block.
getRcBlockParaInclusions 2 params → 200400

Schemas 18

The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are Block (14 properties), Extrinsic (11 properties), BlockRaw (9 properties), BlockHeader (8 properties). Each schema is shown below with its type and property counts.

WeightsV2
object
2 properties
ExtrinsicMethod
object
Extrinsic method
2 properties
BlockHeader
object
8 properties
Block
object
Note: Block finalization does not correspond to consensus, i.e. whether the block is in the canonical chain. It denotes the finalization of block construction.
14 properties
BlockRaw
object
9 properties
BlockInitialize
object
Object with an array of SanitizedEvents that occurred during block initialization with the method and data for each.
1 property
BlockIdentifiers
object
2 properties
RuntimeDispatchInfo
object
RuntimeDispatchInfo for the transaction. Includes the partialFee.
4 properties
Signature
object
Object with signature and signer, or null if unsigned.
2 properties
Error
object
4 properties
ParaInclusion
object
Information about a single parachain inclusion event
7 properties
GenericExtrinsicEra
object
The return value for era can either be mortalEra, or immortalEra and is represented as an enum in substrate. immortalEra meaning the transaction is valid forev…
2 properties
DigestItem
object
3 properties
Extrinsic
object
11 properties
SanitizedEvent
object
2 properties
ParaInclusionDescriptor
object
Candidate descriptor containing parachain inclusion metadata
6 properties
BlockParaInclusions
object
Contains all decoded parachain inclusion information for a relay chain block
2 properties
BlockFinalize
object
Object with an array of SanitizedEvents that occurred during block construction finalization with the method and data for each.
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kusama-rc-blocks-api-openapi.yml Raw ↑

Other APIs Kusama publishes across the network.

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