Skip to main content

Authentication and Exposure Policy

Expose only the interfaces a product actually needs. Fullnode REST can be public through an API gateway; metrics and administration stay private; Transaction Stream gRPC and GraphQL should normally be partner/internal services unless a product explicitly sells them.

InterfaceDefault exposureRequired controls
Fullnode REST 8080Public via gatewayTLS, auth or API keys, rate limits, request-size limits, WAF/logging
P2P 6180Public peer networkNetwork policy, DDoS controls, peer monitoring
Metrics 9101PrivatePrometheus-only allowlist
Transaction Stream 50051Private/partnermTLS or signed tokens, cursor quotas, backfill limits
Indexer GraphQLProduct-dependentQuery complexity limits, persisted queries for public APIs
warning

Do not expose raw node ports just because the container listens on them. Publication is an API product decision, not a runtime default.