AvalancheGo APIs
Clients interact with Avalanche through APIs calls to nodes. Numeric parameters in API calls may be given as strings (e.g., "5" or 5 are both ok for an integer argument). Numeric return values are always given as strings (e.g., "5" rather than 5). In examples, API calls are made to a node listening for HTTP traffic on
This guide explains how to make calls to APIs exposed by Avalanche nodes.
Allows clients to interact with the P-Chain (Platform Chain), which maintains Avalanche’s validator set and handles blockchain and subnet creation.
Allows clients to interact with the C-Chain, Avalanche’s main EVM instance, as well as other EVM instances.
Allows clients to create and trade assets, including AVAX, on the X-Chain as well as other instances of the AVM.
The Admin API
Allows clients to examine a node’s internal state, set of connections, and similar internal protocol data.
The Auth API
Allows clients to manage the creation and revocation of authorization tokens.
The Health API
Allows clients to check a node’s health.
The Index API
Fetch transactions, vertex, or block by ID.
The Info API
Allows clients to examine basic information about a node.
Allows users to create UNIX domain sockets for blockchains to publish to.
Allows customers to use the embedded Keystore file of an Avalanche node.
Allows clients to get statistics about a node’s health and performance.
Last modified 19d ago
Copy link