Kadena peer API
The P2P communication between chainweb-nodes is sharded into several independentP2P network. The `cut` network is exchanging consensus state. There is also onemempool P2P network for each chain.
Kadena peer API is one of 16 APIs that Kadena publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include peer. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.
This API exposes 4 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.0.0, at version 0.0.
Requests are made against 5 base URLs: https://api.chainweb.com/chainweb/{apiVersion}/mainnet01, https://api.testnet.chainweb.com/chainweb/{apiVersion}/testnet04, {schema}://{domain}:{port}/chainweb/{apiVersion}/{chainwebVersion}, https://{location}.chainweb.com/chainweb/{apiVersion}/mainnet01, https://{location}.testnet.chainweb.com/chainweb/{apiVersion}/testnet04.
Metadata
The identity and technical contract details declared by the specification.
Paths & Operations 4
Across 2 paths, the API surfaces 4 operations — 2 GET, 2 PUT. Each is listed below with its method, path, parameters, and response codes.
The P2P communication between chainweb-nodes is sharded into several independent P2P network. The cut network is exchanging consensus state. There is also one mempool P2P network…
Schemas 4
The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are page (3 properties), peer (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Kadena 12
Other APIs Kadena publishes across the network.