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 trace API

The trace API from Kusama — 4 operation(s) for trace.

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

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

This API exposes 4 operations across 4 paths, and defines 11 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.

4 operations 4 paths 11 schemas 4 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 4

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

trace 4
GET
/experimental/blocks/head/traces
[Experimental - subject to breaking change.] Get traces for the most recently finalized block.
→ 200
GET
/experimental/blocks/{blockId}/traces
[Experimental - subject to breaking change.] Get traces for the given blockId.
1 param → 200
GET
/experimental/blocks/head/traces/operations
[Experimental - subject to breaking change.] Get the operations from the most recently finalized block.
1 param → 200
GET
/experimental/blocks/{blockId}/traces/operations
[Experimental - subject to breaking change.] Get the operations from the specified block.
2 params → 200

Schemas 11

The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are Operation (7 properties), BlocksTrace (7 properties), TraceSpan (5 properties), TraceEventDataStringValues (3 properties). Each schema is shown below with its type and property counts.

TraceSpan
object
5 properties
OperationAmountCurrency
object
1 property
TraceEvent
object
3 properties
BlockIdentifiers
object
2 properties
BlocksTraceOperations
object
2 properties
SpanId
object
3 properties
TraceEventDataStringValues
object
Note these exact values will only be present for storage events.
3 properties
OperationPhase
object
2 properties
BlocksTrace
object
7 properties
OperationAmount
object
2 properties
Operation
object
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kusama-trace-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 blocks API