Avalanche API
Introduction
Avalanche is a high-performance, scalable, and secure blockchain platform that is compatible with Ethereum's smart contracts. Known for its low fees and fast transaction times, Avalanche provides an environment for decentralized applications (dApps), DeFi, and NFT projects. Avalanche aims to solve many of the scalability and congestion issues seen on other blockchains while maintaining decentralization and security.
Supported Networks
The Web3 Data API is available for the following Avalanche network:
- Avalanche Mainnet
Network Details
Network | Chain ID | EVM Chain |
---|---|---|
Avalanche Mainnet | 0xa86a (43114) | EvmChain.AVALANCHE |
Supported APIs
The following APIs are supported for Avalanche:
Wallet API
The Wallet API enables you to interact with wallet data on the Avalanche blockchain.
- Get Wallet History on Avalanche
- Get Wallet Token Balances on Avalanche
- Get Wallet Token Approvals on Avalanche
- Get Wallet NFT Balances on Avalanche
- Get Wallet DeFi Positions on Avalanche
- Get Wallet Net-worth on Avalanche
- Get Wallet PnL on Avalanche
- Get Wallet Details on Avalanche
- Get Wallet Domains on Avalanche
NFT API
The NFT API allows you to interact with NFT-related data on Avalanche. You can:
- Get NFTs on Avalanche
- Get NFT Metadata on Avalanche
- Get NFT Transfers on Avalanche
- Get NFT Collections on Avalanche
- Get NFT Owners on Avalanche
- Get NFT Prices on Avalanche
- Get NFT Trades on Avalanche
- Get NFT Stats on Avalanche
- Get NFT Traits and Rarity on Avalanche
Token API
The Token API provides methods for interacting with ERC-20 tokens on Avalanche. Choose from the following actions:
- Get Token Metadata on Avalanche
- Get Token Price on Avalanche
- Get Token Balances on Avalanche
- Get Token Approvals on Avalanche
- Get Token Transfers on Avalanche
- Get Token Top Traders on Avalanche
- Get Token Pairs & Liquidity on Avalanche
- Get Token Stats on Avalanche
- Get Token Owners on Avalanche
DeFi API
The DeFi API enables interaction with decentralized finance positions and data on Avalanche:
Entity API
The Entity API allows you to interact with various entities on Avalanche, such as exchanges or other organizations:
Price API
Retrieve price data for tokens and NFTs on Avalanche using the Price API:
Blockchain API
The Blockchain API gives access to blockchain-level data such as blocks, transactions, and logs:
- Get Blocks on Avalanche
- Get Transactions on Avalanche
- Get Logs on Avalanche
- Get Stats on Avalanche
- Get Latest Block Number on Avalanche
Unlock the Power of Avalanche with Moralis
Curious about how you can leverage the full potential of Avalanche? Check out our Avalanche page to see how Moralis can help you build faster and smarter. With features like easy access to on-chain data, token balances, and NFT management, Moralis simplifies Avalanche development for all kinds of dapps.
Discover more about what you can build on Avalanche with Moralis:
Learn more on our Avalanche page