Moralis
Last updated
Last updated
Moralis is a leading crypto data provider that helps companies build great user experiences, drive engagement, growth and revenue in their applications.
Moralis has integrated Chiliz Chain to its roster of APIs, so that developers can enjoy Chiliz Chain features combined with the swift and efficient capabilities of Moralis.
Through Moralis, you can easily use several Chiliz-specific APIs: Token API, NFT API, Wallet API, Blockchain API, and Streams API.
All Moralis APIs are supported on Chiliz Chain and across all other major EVM blockchains. All endpoints support powerful filtering capabilities.
With Moralis Wallet API you can get Wallet balances for tokens, NFTs and native assets, get full wallet history, net worth and a lot more.
With Moralis NFT API you can get NFT data like collections, owners, prices, images and metadata.
With Moralis Token API you can get ERC20 token data like prices, ownership, metadata, transfers, approvals, liquidity, mints and burns.
With Moralis Blockchain API you can get core blockchain data like blocks, transactions and logs.
Moralis Streams allow you to stream blockchain data in real-time via webhooks. Subscribe to any on-chain event, like NFT or token mints, transfers or swaps, add powerful filters and then watch the data flow to your destination in real time.
Use it to build things like wallet notifications, Telegram alerts or just to keep your user balances up to date in real-time by streaming data to your database.
In order to use the Moralis APIs you need a Moralis account and a Moralis API key.
Go to admin.moralis.io and create a Moralis account
Login to access the admin interface
Go to settings and find your API key
Find all endpoints and SDKs in the Moralis documentation
You can now call any Moralis endpoint, see below for an example.
Explore Moralis further with this documentation:
Note the IDs for Chiliz Chain:
Chiliz Mainnet: 0x15b38
Spicy Testnet: 0x15b32
Go to admin.moralis.io and create a Moralis account
Login to access the admin interface
Go to the Streams page
From there you can configure your Moralis Stream from the UI
Configure the trigger, what events or what addresses to watch
Configure the filters you want
Configure which chains you want the Stream to be active on.
Set up your destination webhook (where the data should be sent)
You can also set up Streams programmatically, check out the Moralis Streams documentation for a guide on how to do that.