On-chain dollar liquidity at a ticket size
onchain_liquidityFinds where a stablecoin payment of this size can be filled on-chain, and at what cost: for USDC and USDT (and ZARP, cNGN as to_asset), executable depth and cost at the amount on Ethereum, Tron, Solana, Base, BNB Chain, Arbitrum and Polygon, from keyless DEX aggregator quotes (KyberSwap, ParaSwap, Jupiter): price impact against a USD 100 quote, cost against par with gas and stated fees, and each network's published time to finality. Bridge cost and time between chains from Across, Circle CCTP and LI.FI. Each chain's network fee model (EIP-1559 base fee plus tip, BNB gas price, Solana's fixed fee plus priority fee, Tron energy; HyperEVM labelled unconfirmed) with the fee for one transfer in USD and in bps of the ticket, and its 24-hour range from stored reads. The hourly reads at USD 10k, 100k, 1m and 5m for the pair, each with its age. With destination (two-letter country), the documented facts on whether suppliers there take stablecoins directly (not established where we hold no source) and the off-ramp venues SwapEazi reads in its currency. Every figure has its source, time and a Rate Receipt; each failure keeps its reason. Figures, not advice; never ranked. SwapEazi never holds or moves money and never asks for a wallet signature. Same as GET/POST /api/v1/onchain-liquidity. Free within the daily allowance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | The ticket in US dollars (dollar stablecoins at par). | |
| chains | No | Any of ethereum, tron, solana, base, bsc, arbitrum, polygon. Default all. | |
| to_asset | No | USDC, USDT, ZARP or cNGN (ZAR and NGN map to ZARP and cNGN). Default: the other dollar coin. | |
| access_key | No | A router key (rk_...), if not sent as a Bearer header: shows exchange and P2P venue names in the destination block. | |
| from_asset | No | USDC or USDT. Default USDC. | |
| destination | No | Optional supplier country, two letters (e.g. HK, CN, AE, NG, ZA, KE). |