Home

XDC Network (XDC) API Documentation

XDC Network

XDC Network (XDC) is an EVM-compatible Layer 1 using XinFin Delegated Proof of Stake, with XDPoS 2.0 as its current consensus generation and masternodes responsible for block production and validation. Solidity contracts execute as EVM bytecode against account-based state, while full nodes verify blocks and transactions and maintain balances, contract code, storage, receipts, and logs. Because XDC preserves EVM execution semantics, standard Ethereum development tooling, transaction formats, and JSON-RPC conventions remain the application-facing baseline.

XDC Network API Methods and Endpoints

NOWNodes exposes XDC Network's interface, plus a few others, depending on what your integration needs: JSON-RPC for reading chain state and broadcasting transactions, and Trace/Debug for step-level execution analysis. Archive mode extends any of these to historical states and data beyond standard retention.

Browse the interfaces below for endpoint details, request parameters, response formats, and integration examples. Create an API key, select Mainnet or Testnet, choose the required interface, and start sending requests from your application.

Weighing XDC Network RPC providers against each other? Read the comparison guide on our blog — this page stays focused on integration reference.

Quick start

01

Get an API key

Sign up and generate a free key from the dashboard.

Get key →
02

Select environment

Mainnet or Sepolia testnet.

03

Choose an interface

RPC, WSS, Blockbook, or Trace/Debug.

04

Send a request

Call it from your application.

RPCJSON-RPCStandard RPC methods for reading chain state and broadcasting transactions.Node APIs →WSSWebSocketPersistent connections for new blocks, pending transactions, and log events as they happen.WSS API →T/DTrace & DebugStep-level execution traces for inspecting calls and diagnosing transactions.Trace & Debug API →ARCArchive modeFull historical state access beyond standard node retention.Archive nodes →MCPModel Context ProtocolThe Model Context Protocol (MCP) is an open standard that lets AI assistants call external tools through a uniform interface.MCP →

Ready to build on: XDC

Create a free API key and start sending requests in minutes.