Moonbeam API
Introduction
Moonbeam is a fully Ethereum-compatible smart contract platform on Polkadot. It offers seamless integration with the Ethereum ecosystem, providing an interoperable environment for decentralized applications (dApps) to scale and communicate across chains.
Supported Networks
The Web3 Data API is available for the following Moonbeam networks:
- Moonbeam Mainnet
- Moonriver Testnet
- Moonbase Testnet
Network Details
Network | Chain ID | EVM Chain |
---|---|---|
Moonbeam Mainnet | 0x504 (1284) | EvmChain.MOONBEAM |
Moonriver Testnet | 0x505 (1285) | EvmChain.MOONRIVER |
Moonbase Testnet | 0x507 (1287) | EvmChain.MOONBASE |
Supported APIs
The following APIs are supported for Moonbeam:
Wallet API
The Wallet API enables you to interact with wallet data on the Moonbeam blockchain.
- Get Wallet History on Moonbeam
- Get Wallet Token Balances on Moonbeam
- Get Wallet Token Approvals on Moonbeam
- Get Wallet NFT Balances on Moonbeam
- Get Wallet DeFi Positions on Moonbeam
- Get Wallet Net-worth on Moonbeam
- Get Wallet PnL on Moonbeam
- Get Wallet Details on Moonbeam
- Get Wallet Domains on Moonbeam
NFT API
The NFT API allows you to interact with NFT-related data on Moonbeam. You can:
- Get NFTs on Moonbeam
- Get NFT Metadata on Moonbeam
- Get NFT Transfers on Moonbeam
- Get NFT Collections on Moonbeam
- Get NFT Owners on Moonbeam
- Get NFT Prices on Moonbeam
- Get NFT Trades on Moonbeam
- Get NFT Stats on Moonbeam
- Get NFT Traits and Rarity on Moonbeam
Token API
The Token API provides methods for interacting with ERC-20 tokens on Moonbeam. Choose from the following actions:
- Get Token Metadata on Moonbeam
- Get Token Price on Moonbeam
- Get Token Balances on Moonbeam
- Get Token Approvals on Moonbeam
- Get Token Transfers on Moonbeam
- Get Token Top Traders on Moonbeam
- Get Token Pairs & Liquidity on Moonbeam
- Get Token Stats on Moonbeam
- Get Token Owners on Moonbeam
DeFi API
The DeFi API enables interaction with decentralized finance positions and data on Moonbeam:
Entity API
The Entity API allows you to interact with various entities on Moonbeam, such as exchanges or other organizations:
Price API
Retrieve price data for tokens and NFTs on Moonbeam using the Price API:
Blockchain API
The Blockchain API gives access to blockchain-level data such as blocks, transactions, and logs:
- Get Blocks on Moonbeam
- Get Transactions on Moonbeam
- Get Logs on Moonbeam
- Get Stats on Moonbeam
- Get Latest Block Number on Moonbeam
Unlock the Power of Moonbeam with Moralis
Curious about how you can leverage the full potential of Moonbeam? Check out our Moonbeam page to see how Moralis can help you build faster and smarter. With features like token balances, internal transactions, and on-chain data access, Moralis makes Moonbeam blockchain development easier.