Moonbeam Network
Introduction
Moonbeam is an Ethereum-compatible smart contract parachain on Polkadot.
Moonbeam is much more than just an EVM implementation: it’s a highly specialized Layer 1.5 chain that mirrors Ethereum’s Web3 RPC, accounts, keys, subscriptions, logs, and more. The Moonbeam platform extends the base Ethereum feature set with additional features such as on-chain governance, staking, and cross-chain integrations.
Quick facts
Property | Value |
---|---|
Moonbeam Testnet Moonbase Alpha chainId | 1287 |
Moonbeam Polkadot | 1284 |
Moonriver Kusama | 1285 |
Blockchain Explorer | https://moonbase-blockscout.testnet.moonbeam.network/ |
Block time | ~2 seconds |
Data refresh latency | ~12 seconds |
Supported endpoints
Get token balances for address
Class A
Given
chain_id
and wallet address
, return current token balances along with their spot prices. This endpoint supports a variety of token standards like ERC20, ERC721 and ERC1155. As a special case, network native tokens like ETH on Ethereum are also returned even though it’s not a token contract.
GET
/v1/:chain_id/address/:address/balances_v2/
Get transactions for address
Class A
Given
chain_id
and wallet address
, return all transactions along with their decoded log events. This endpoint does a deep-crawl of the blockchain to retrieve all kinds of transactions that references the address
including indexed topics within the event logs.
GET
/v1/:chain_id/address/:address/transactions_v2/
Go to Covalent’s API Reference
Appendix
Moonbeam token
The Moonbeam token GLMR
is the native token of the Moonbeam network. This is similar to Ether in Ethereum. To interact with the Moonbeam network, GLMR
tokens are required to pay gas fees. The Covalent API response returns gas_*
fields in fiat units.
Last modified: October 27, 2022: october-changelog-2022 (#243) (b6121bb)