Moralis
Moralis offers comprehensive data APIs for crypto, offering both indexed and real-time data across 30+ chains. Moralis' APIs include portfolio and wallet balances, NFT data, token data, price data, candlestick data, net worth data, and a lot more. Additionally, all data is enhanced with metadata, parsed events, address labels and wider off-chain data for comprehensive insights.
Indexed data APIs
Moralis' Linea API integration supports:
- Wallet API: Insights into wallet balances, token balances, NFTs, wallet history, transactions, wallet net-worth, and more.
- NFT API: NFT metadata, NFT transfers, NFT owners, NFT prices, and more.
- Token API: Token metadata, token transfers, token approvals, token prices, and more.
- Price API: NFT prices, token prices, candlestick data, and more.
- DeFi API: DeFi balances, rewards, transactions, and more.
- Blockchain API: Raw data such as blocks, transactions, and logs.
Example features
Moralis indexed data APIs can be used for:
- Fetching all NFTs for a user's wallet
- Fetching all ERC20 tokens, with prices, for a user's wallet
- Fetching a decoded transaction history for a user's wallet
- Fetching NFT metadata for a given token
- Fetching the current price of an ERC20 token
- Detecting which chain(s) a given user wallet is active on
Example use cases
Moralis indexed data APIs can be used to build:
- Web3 wallets: Integrating wallet functionalities such as displaying token balances, transaction history, and NFT holdings.
- Portfolio pages: Creating personalized portfolio trackers to monitor asset performance across multiple blockchains.
- NFT marketplaces: Building platforms for buying, selling, and trading NFTs by fetching and displaying NFT data.
- DeFi platforms: Integrating token and blockchain data to facilitate decentralized finance activities such as lending, borrowing, and trading.
Real-time data APIs
Moralis' Linea real-time data integration supports:
- Streams API: Stream blockchain data directly to your server via webhooks in real-time. Setup and configure advanced filters, or use any of our out-of-the-box configurations.
Example features
Moralis real-time data APIs can be used for:
- Listening to transfer events for a given ERC20 token
- Listening to native transfer events for a given wallet
- Listening to token mints or burns
- Listening to transfer events for a given NFT collection
- Detecting activity across multiple addresses
- Tracking custom blockchain events
Example use cases
Moralis real-time data APIs can be used to build:
- In-app notifications: Sending real-time alerts to users based on their wallet holdings, for events like token transfers, price changes, staking rewards etc. to increase engagement.
- Real-time token balances: Continuously updating and displaying users' wallet balances in real-time within dapps, enabling instant visibility into their current asset holdings and values.
- Discord alerts: Providing real-time updates to Discord communities about blockchain activities and token movements.
- Build a database: Track real-time events for specific events and store them in your database, ensuring that you maintain a comprehensive historical record of blockchain activities for a given wallet or contract.
Get started
To get started with Moralis you can sign up for a free account, visit the Moralis documentation, or check out their tutorials on Youtube.