Using REST APIs

You can use REST APIs to integrate with NNS protocol

Checkout REST APIs document at:

Pros & Cons

✅ Pro

  • No blockchain tooling needed: just HTTP requests.

  • Easy integration: ideal for backends, service scripts, or environments where SDKs or RPC clients aren’t ideal.

  • Rapid prototyping: fetch name resolution, profiles, etc., via simple endpoints.

  • Language Agnostic: Works with any tech stack.

⚠️ Cons

  • Network latency: HTTP is slower compared to direct RPC.

  • API stability / rate limiting: subject to API versioning and limits.

  • Potential Latency: May not reflect the very latest on-chain state.

Best for: Traditional web applications, mobile apps, or scenarios where blockchain interaction complexity isn't warranted.

Last updated