Documentation Index
Fetch the complete documentation index at: https://docs.moralis.com/llms.txt
Use this file to discover all available pages before exploring further.
Mempool Notifications for Bitcoin Streams
Bitcoin Streams now emit webhook notifications for unconfirmed transactions as soon as they hit the mempool — no need to wait for block inclusion.What’s new:- Pre-confirmation delivery — matching transactions fire a webhook the moment they are broadcast to the mempool
- Same payload shape as a confirmed-block webhook, with sentinel fields on the
blockobject marking the delivery as mempool:block.height→"0"block.hash→"mempool"confirmed→false
vinandvoutaddresses both populated in mempool payloads, so a watched address triggers a match whether it is sending or receiving- Xpub-derived addresses fully supported
- Each mempool transaction is delivered at most once per stream
- The mempool delivery has no follow-up — the regular confirmed-block stream (
confirmed: falsethenconfirmed: true) handles in-block and reorg-safe deliveries for the sametxid - Mempool transactions are not guaranteed to confirm — they can be replaced (RBF), evicted, or expire on low fee. Treat them as pending, not settled
block.hash === "mempool" in your webhook handler to separate mempool events from confirmed-block events. See the Mempool Notifications section for the full payload and handler patterns.Explore Bitcoin Streams →Bitcoin Streams
Moralis Streams now extends to Bitcoin mainnet. Define a stream, attach the addresses or xpubs you want to watch, and receive real-time webhook deliveries within seconds of a block being mined - no node, no polling, no missed blocks.What’s new:- Bitcoin mainnet support on the same Streams developer model used for EVM and Solana
- Dual-phase notifications - matched transactions fire a webhook in the mempool (unconfirmed) and again on block confirmation, so you can mark deposits
pendingthenconfirmedfrom the same stream - All address formats supported - P2PKH (legacy
1...), P2SH (SegWit-wrapped3...), and Bech32 native SegWit (bc1q...) - Xpub support - attach an extended public key and Moralis derives and monitors its addresses automatically, ideal for HD wallets
- Automatic retries until your endpoint returns HTTP 200
addresses— watch specific Bitcoin addressesxpub— derive and monitor addresses from an extended public keyallAddresses— firehose mode: receive every Bitcoin transaction
address and value fields are not populated (inbound detection only), output values are BTC decimals rather than satoshis, and isCoinbase should be detected via heuristic. See the Bitcoin Streams docs for the full payload structure and processing patterns.Explore Bitcoin Streams →Solana Streams
Moralis Streams now extends to Solana mainnet. Define a stream, set filters, and receive real-time webhook deliveries the moment matching transactions land in a slot - no node, no polling, no missed slots.What’s new:- Solana mainnet support on the same Streams developer model used for EVM
- Pre / post token balances included in every payload, so you can compute exact SPL token deltas without replaying instructions
- Inner instructions included, so you can trace nested behavior across Cross-Program Invocations (CPIs) directly from the payload
- Automatic retries until your endpoint returns HTTP 200
addresses— match transactions where anyaccountKeyin the transaction matches a watched addressprogramIds— filter to transactions invoking specific Solana programs (e.g., the SPL Token Program)mintAddresses— filter to transactions involving specific SPL tokens, matched viapre/postTokenBalancesallAddresses— firehose mode: receive every Solana transaction
programId, SPL token transfer tracking, bot and MEV monitoring, and AI agents reacting to on-chain events as they happen.If you’ve used Streams on EVM, the developer model is identical — only the filters differ.Explore Solana Streams →Cortex API and legacy Data API Endpoints Sunsetting
The following endpoints and APIs are now deprecated and will be removed on June 4, 2026 (30 days from today):Cortex API:POST /chat— migrate to Onchain Skills, which replaces Cortex as our AI interface for Moralis data.
/discovery/*):POST /discovery/tokensGET /discovery/tokenGET /discovery/tokens/rising-liquidityGET /discovery/tokens/buying-pressureGET /discovery/tokens/solid-performersGET /discovery/tokens/experienced-buyersGET /discovery/tokens/risky-betsGET /discovery/tokens/blue-chipGET /discovery/tokens/top-gainersGET /discovery/tokens/top-losersGET /discovery/tokens/trending
/volume/*):GET /volume/chainsGET /volume/categoriesGET /volume/timeseriesGET /volume/timeseries/{categoryId}
GET /pairs/{address}/snipers(EVM)GET /token/{network}/pairs/{pairAddress}/snipers(Solana)
GET /erc20/exchange/{exchangeName}/newGET /erc20/exchange/{exchangeName}/bondingGET /erc20/exchange/{exchangeName}/graduatedGET /erc20/{tokenAddress}/bondingStatusGET /erc20/{address}/statsGET /erc20/{token_address}/pairs/stats— migrate toGET /tokens/{tokenAddress}/analyticsGET /erc20/metadata/symbols— migrate toGET /tokens/search
/market-data/*):GET /market-data/erc20s/top-tokensGET /market-data/erc20s/top-moversGET /market-data/nfts/top-collectionsGET /market-data/nfts/hottest-collectionsGET /market-data/global/market-capGET /market-data/global/volume
Fantom Chain Sunsetting
Fantom mainnet support will be removed across all Moralis APIs on May 29, 2026. Fantom Opera testnet has already been removed as of today. The Fantom Opera network is winding down as a legacy chain, and we’re retiring our integration in line with the broader ecosystem shift.DeFi API: Now on Solana
The same three Universal DeFi API endpoints that returned EVM positions last week now return Solana positions too. No new endpoints, no schema changes - the existing calls now cover the most-used Solana protocols alongside EVM.What’s new:- Solana support on the same Universal DeFi endpoints used for EVM
- 7 of the most-used Solana protocols supported at launch:
- Jito
- Save (formerly Solend)
- Jupiter Lending
- Raydium
- Orca
- Drift
- Marinade
- Unified schema: identical response shape across EVM and Solana - no client-side stitching
- Single call: query EVM and Solana wallets through the same endpoints with the same filters
getDefiSummary— every protocol a wallet holds positions in, total USD value, and unclaimed rewardsgetDefiPositionsSummary— all positions with token types, values, and reward tokensgetDefiPositionsByProtocol— detailed per-protocol breakdown with position-level detail
DeFi API: 5,000+ Protocols, Now Multichain
We’ve significantly expanded the DeFi API (EVM) with broader protocol coverage and simpler multichain queries in a single call.What’s new:- 5,000+ DeFi protocols supported, covering 96% of the entire EVM DeFi market
- Multichain queries: fetch positions from a single chain, multiple chains, or all EVM chains in one API call
- Protocols include: Uniswap V2/V3, Aave V2/V3, Lido, Curve, Compound, MakerDAO, Pendle, Convex, Yearn, GMX, Aerodrome, Velodrome, SushiSwap, PancakeSwap, Eigenlayer, Etherfi, Rocket Pool, Spark, Morpho, and thousands more
getDefiSummary— every protocol a wallet holds positions in, total USD value, and unclaimed rewardsgetDefiPositionsSummary— all positions with token types, values, and reward tokensgetDefiPositionsByProtocol— detailed per-protocol breakdown with position-level detail
Wallet Insights
We’ve launched the Wallet Insights endpoint - a single API call that returns a comprehensive behavioral profile for any EVM wallet address.Get wallet age, activity timelines, transaction counts, transfer breakdowns (native, ERC-20, NFT), swap volume, gas spend, net flow, unique counterparties, contracts created, and more - all in one response. Each metric is also available per-chain via theincludeChainBreakdown array, so you can see exactly how a wallet behaves across different networks.Explore Wallet Insights →
