Clients interact with Avalanche through APIs calls to nodes.
Numeric parameters in API calls may be given as strings (e.g.
5 are both ok for an integer argument).
Numeric return values are always given as strings (e.g.
"5" rather than
In examples, API calls are made to a node listening for HTTP traffic on
The X-Chain, Avalanche’s native platform for creating and trading assets, is an instance of the Avalanche Virtual Machine (AVM). This API allows clients to create and trade assets, including AVAX, on the X-Chain as well as other instances of the AVM.
Allows clients to interact with the C-Chain, Avalanche’s main EVM instance, as well as other EVM instances.
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 use an Avalanche node’s built-in keystore.
Allows client to check a node’s health.
Allows clients to collect Prometheus metrics about a node.
Allows clients to examine a node’s internal state, set of connections, and similar internal protocol data.
Allows clients to examine basic information about a node.
Allows clients to interact with the Timestamp Chain, a simple timestamp server.