Celestia Node P2P API
JSON-RPC methods in the p2p module of celestia-node. libp2p-level introspection and control over the Celestia DA network including peer info, NAT status, connection management, bandwidth stats, pubsub topics, and the private/protected peer lists.
Celestia Node P2P API is one of 10 APIs that celestia publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Celestia, JSONRPC, LibP2P, and P2P. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.
This API exposes 1 operation across 1 path, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 0.30.x.
Requests are made against a single base URL, http://localhost:26658.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Celestia Node P2P API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (BearerAuth).
Paths & Operations 1
Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.
libp2p peer, connection, NAT, and pubsub control.
Schemas 2
The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are JsonRpcRequest (4 properties), JsonRpcResponse (4 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 celestia 9
Other APIs celestia publishes across the network.