Quote a sell
arcnow_quote_sellGet a sell quote for Arc tokens on a bonding curve or Uniswap V4 pool: gross/net proceeds, fee split, and minimum-out floor, plus whether an approval is required.
Instructions
What a given quantity of tokens would fetch right now, wherever the token trades: gross proceeds, every fee and who receives it — on a curve the flat 1% split four ways between creator, platform, referrer and protocol — net proceeds in the token's quote (native USDC or an ERC-20 such as EURC), and the minimum-out floor at several tolerances.
Costs nothing and signs nothing.
ON A BONDING CURVE: selling needs NO approval, ever. The curve pulls the tokens through a privileged path that reads no allowance at all, so a holder who has approved nobody can always sell. If you find yourself suggesting an approve step before a curve sell, you are fixing the wrong problem.
IN A UNISWAP V4 POOL (the token graduated and migrated) it is the other way round, and worth telling a user before they sell: the router pulls the tokens with transferFrom, so a pool sell needs an ERC-20 APPROVAL to the router first — a separate transaction. This quote says it is a pool quote, shows arcnow.io's fee hook's 0.80% and the pool's own 0.20% LP fee apart (1.00% in all, read off the pool), the average fill against the pool's spot price, the price impact, and how much holder has approved the router for already. A pool sell is priced as a real holder, so holder must actually hold the tokens; on a writing server it defaults to the signing address. referrer is refused on a pool.
A token that graduated but never migrated trades nowhere; this says so and names arcnow_migrate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holder | No | POOL: the address whose tokens would be sold. A pool sell is priced by simulating the real swap as that address, so it must actually hold the tokens. Defaults to the signing address on a writing server; required on a read-only one. Not needed on a bonding curve, where a sell is priced for nobody in particular. | |
| address | Yes | The curve address, or the token address. Either works. | |
| referrer | No | CURVE ONLY: credited with the referral share of the fee. Refused for a token in its pool. There is no developer argument: the fee has four parties. | |
| tokensIn | Yes | How many whole tokens to sell, as a string — "1000", "12.5". Tokens are 18-decimal. |