ANCORA Node Remote Procedure Call Interface Standard
1. Overview
This document defines the standard RPC and API interface for ANCORA full nodes, supporting all third-party integrations including wallets, exchanges, block explorers, and applications. All interfaces follow JSON-RPC 2.0 specification with REST and WebSocket support.
Base URL: https://rpc.ancora.network/v1
WebSocket Endpoint: wss://ws.ancora.network/v1
2. General Conventions
All requests and responses use JSON format
All numeric values return as strings to prevent precision loss
All block heights and timestamps are unsigned 64-bit integers
All hashes and addresses are hex-encoded strings
Standard HTTP status codes: 200 (OK), 400 (Bad Request), 404 (Not Found), 500 (Server Error)
Standard Error Codes
3. Core RPC Methods
3.1 Block Methods
3.2 Transaction Methods
3.3 State Methods
3.4 Validator & Governance Methods
3.5 WebSocket Subscriptions
4. Rate Limiting & Security
Public RPC rate limit: 100 requests/second per IP
Authentication required for >1000 requests/second
All sensitive methods require node-level access control
No private key operations exposed via RPC
All requests logged for security monitoring