Changelog
What changed in the LayerHop API, SDKs, widget, dashboard and docs, newest first.
This changelog lists user-visible changes to LayerHop's API, SDKs, widget, dashboard and docs, newest first. The API is versioned under /v1: additive changes (new fields, endpoints, error codes, providers) can ship at any time; breaking changes get a new version and advance notice.
2026-11-30#
Swap by deposit address without an account (beta)
POST /v1/swap-depositsreturns a one-time address for one swap, with no API key: send the exact amount to it and the output is delivered to therecipientyou gave.GET /v1/swap-deposits/{id}reportswaiting,received,filled,refunded,failedorexpired. It is rolling out and answersFORBIDDENuntil it is enabled.- One-time deposit addresses (
reusable: false) are tracked from the provider's public status of their request, so their deposits are detected again. GET /v1/status/bridgehasallTime: filled swaps, orders filled by LayerHop's relayer, and their totals.
2026-11-14#
Changelog RSS feed
- This changelog is now an RSS feed at
docs.layerhop.com/changelog.xml: one item per date, newest first.
2026-11-07#
Near-identical quotes
- Quotes within 0.1% of the best time-adjusted output now count as a tie, and the one that supports LayerHop goes first in
GET /v1/quote(best). A quote further below the best is never moved ahead of it, and every quote is still returned. See Providers & ranking.
2026-11-04#
Pay a checkout by QR code or by sending to an address
- The hosted payment page now offers three ways to pay: connect a wallet, scan a QR code with a phone wallet, or send the exact amount to an address.
- Sessions that settle in USDC or USDT on Base, Arbitrum, OP Mainnet, Polygon or BNB Chain get their own deposit address. A verified contract pays the merchant the full amount and LayerHop's fee from it, so the payer can send from any wallet or exchange. Solana sessions use a Solana Pay QR. See Pay by QR code.
2026-11-03#
Limit orders on EVM chains
POST /v1/limit-orderstakes an EVMchain(Ethereum, Arbitrum, Base and the other CoW Protocol chains): the wallet signs the order as typed data, with no gas to place or cancel, and CoW Protocol's solvers fill it when the market reaches the price. Your fee applies on every fill, as on Solana. Orders must be worth at least $5. See EVM limit orders.- In the swap app, the Limit tab works on these chains too.
Partner program and referral rewards
- layerhop.com/partners: who the program is for, an earnings calculator and an application form. See Partner program.
- Referral links (
?r=<wallet>) now earn the referrer 20% of LayerHop's fee on the swaps they referred, from November 3, 2026, paid once a month in USDC (Base for EVM wallets, Solana for Solana wallets) once at least $10 is owed.GET /v1/referrals/{address}returnsrewards. See Referral links.
Paid plans and a market data API
- Developer plans are live: Free, Pro (49 USDC a month) and Scale (299 USDC a month), paid with a LayerHop subscription. See Plans and limits.
/v1/market/*serves tokens, pools, candles, trades, holders and top traders for Berachain and Robinhood Chain from LayerHop's own indexer, with an API key. Free keys get 10 requests a minute and 5,000 calls a month. See Market data.
Receive an exact amount
GET /v1/quotetakesdstAmountinstead ofamount: the recipient gets that exact amount and each quote says what it costs (srcAmount), the most it can take (srcAmountMax) and the guaranteed output (dstAmountMin). LI.FI, deBridge and Relay (from EVM chains) routes support it. See Receive an exact amount.- In the swap app you can type the amount in "You receive".
Pick a route and avoid bridges
GET /v1/quotetakesexcludeProviders,excludeBridgesandexcludeExchangesto keep those out of every route. When they rule out every route you get404 ROUTE_EXCLUDED. See Pick a route and avoid bridges.- In the swap app you can pick any route from the list (your choice is kept when the quote refreshes) and set bridges and providers to avoid in settings.
Language SDKs 0.8.0
- The Python, Go, Rust, Swift, Kotlin and C# SDKs are at 0.8.0 on PyPI, crates.io, Maven Central, NuGet and as Go and Swift tags, so every LayerHop SDK has the same version number. There are no API changes since 0.7.0.
JavaScript SDKs 0.8.0
@layerhop/solana: the wallet signs and the SDK broadcasts the transaction through your RPC, re-sending it every 2 seconds until it lands or its blockhash expires (thenBLOCKHASH_EXPIRED). Wallets that can only sign and send still work. A wallet that returns no signature now throwsWALLET_NO_SIGNATUREinstead of crashing.@layerhop/wagmi: when a wallet's EIP-5792 batch (approve + swap in one call) fails, the swap falls back to a separate approval and swap.- TypeScript SDK:
getTokenRisk,createSplit,getSplit,updateSplit,getTipJar,planPayoutsandbuildPayoutTransfers(listed on 2026-10-29) are now on npm.
Python, Go, Rust, Swift, Kotlin and C# SDKs 0.7.0 released
- The 0.7.0 SDKs described on 2026-10-29 are now on PyPI, crates.io, Maven Central, NuGet and as Go and Swift tags.
2026-11-02#
Search tokens on several chains in one request
GET /v1/tokenstakeschains(up to 20 chain ids or slugs, comma-separated) instead ofchain: one request returns the first page of each chain, at mostlimitper chain (default 20, maximum 50). See Tokens and balances.- Without an API key, token searches now have their own rate limit of 120 requests per minute per IP, separate from the 60 per minute for other calls.
- The swap app's token picker searches all chains with one request after a 300 ms pause in typing, keeps the previous results on screen while it loads, and no longer retries when rate limited.
Order status keeps answering when a provider is busy
GET /v1/orders/{provider}/{id}caches each order's answer for about 12 seconds (10 minutes once final). When the provider rate-limits, errors or times out, it returns the last answer it had, or for a LayerHop order the status LayerHop last recorded. A provider's rate limit is no longer passed on as429 RATE_LIMITED; with nothing to fall back on you get502 PROVIDER_ERROR. See Order tracking.
Faster "no route" answers
- In
NO_ROUTEandAMOUNT_TOO_SMALLerrors fromGET /v1/quote, a provider that didn't answer in time is now listed inerror.details.errorswith codePROVIDER_TIMEOUT(it was sometimesPROVIDER_ERROR). The minimum check and the route suggestions no longer ask that provider again, so these errors come back sooner.
2026-11-01#
Token logos for more tokens
GET /v1/tokens,GET /v1/tokens/lookupandGET /v1/balancesnow filllogoURIfrom public market data for EVM tokens that the token list has no logo for, for example newer Berachain and Robinhood Chain tokens. A token with no logo in that data still comes back without one.
2026-10-29#
Customers can pay from Tron at checkout
- Hosted checkout and payment links: customers can pay from Tron, for example with USDT or TRX, into your USDC or USDT settlement on a supported chain.
POST /v1/checkout/sessions/{id}/quotetakessrcChain: tronwith a T-addresssender. LayerHop checks that the reported Tron transaction is the deposit it built for that payment before the session can bepaid, then verifies the delivery to you on your settlement chain as usual. Settling into a Tron address isn't available. Refunds of a Tron payment go back to the customer's token on Tron. See Checkout. - Verified with a real payment on 2026-10-28: 3.76 TRX from a Tron wallet paid a 1.20 USDC session settled on Base, marked paid about 10 seconds after the Tron transaction.
SDKs 0.7.0 and agent tools catch up with the API
- Python, Go, Rust, Kotlin, Swift and C#: Tron transactions (
vm: "tvm",TronTxwith the prebuilt unsigned transactions; the SDKs parse and return them, a Tron wallet signs),energyUsedon simulations, gasless swaps (quote param, build / submit / status), destination calls, thereferrer,copyOf,purpose,splitId,splitShareandnotequote params,error.detailson the API error type with parsedNO_ROUTEsuggestions and theAMOUNT_TOO_SMALLminimum, token search, token lookup without a chain, token risk, prices, balances, the chain'srouteHealth/onlyRoute/destinationOnly, splits, tip jars, payouts and Solana recurring orders.droppedendswatchand order streams. Swift and Rust add a case toBuiltTxand the API error (update exhaustiveswitch/matchstatements). - TypeScript:
getTokenRisk,createSplit,getSplit,updateSplit,getTipJar,planPayouts,buildPayoutTransfers;buildTx()throws a clear error on a gasless quote. - MCP server and agent tools:
lookup_token(chain optional),get_token_risk, Solana limit order tools,gaslessonget_quote(build_transactionreturns the typed data and says the tools can't sign it), andNO_ROUTEsuggestions and route minimums spelled out in human units in quote errors.
Telegram alerts for Berachain tokens
- Berachain token pages in the app now offer the same Telegram alerts as Solana and Robinhood Chain: price alerts (Also alert me on Telegram), Alert me if the dev sells, and rug and big-move alerts (Alerts that stay on). They work while the app is closed and link back to the token's page on app.layerhop.com.
POST /v1/alerts/draftsacceptschain: "berachain"(chain id 80094) for the same kinds and with the same checks asrobinhood: an EVM address, and fordev_sellandruga creator wallet that is marked verified only when it matches the creator GoPlus reports. In the bot,/alert <0x address> on berachain rug(ormove,unlock,gap) works too.- Dev-sell alerts on Berachain read the creator wallet's token transfers about once a minute and link the transaction on Berascan. A sale through Permit2, 0x or KyberSwap reads as sold; one through a Kodiak or BEX router reads as moved to a contract.
- No unlock alerts on Berachain token pages: DefiLlama's unlock data has no Berachain tokens. Followed-wallet alerts stay Solana only.
Tron in deep links, the widget and the swap assistant
- Swap deep links and the
/embedwidget take Tron:srcChain=tronordstChain=tron(or the id728126428), tokens asTRX,USDTor a T-address, and a T-addressrecipientfor Tron. Allow-lists accept Tron entries too (fromChains=tron,fromTokens=tron:USDT), and so does the widget'ssetParamsmessage. Where Tron isn't available, these values are ignored like any unknown chain. See Deep links. - The swap assistant at app.layerhop.com/assistant quotes and plans swaps from and to Tron with your connected Tron wallet. Each step still opens the swap card, where you sign the approval and the swap with your Tron wallet; the assistant never signs anything.
Clearer review and sign step in the swap app and widget
- The review now says what you will sign before your wallet opens: 1 signature when your wallet can do the approval and the swap in one step (EIP-5792 batching, used automatically when the wallet supports it), otherwise 2 signatures (an approval for exactly the amount you swap, never unlimited, then the swap; the approval is skipped if the token is already allowed). Each signature shows its network fee in USD, followed by the minimum you receive and the estimated time. Tron TRC-20 swaps show the approval and the swap as two transactions; gasless swaps show signatures with no network fee.
- Cancelling in your wallet now shows "You cancelled in your wallet. Nothing was sent." with a button that asks your wallet again for the same quote while it is still valid, instead of an error. If the quote changed, you get the updated review.
- Wallet failures that used to show "Something went wrong" now say what happened: a pending transaction in your wallet, the wallet on the wrong network, a transaction that would fail in its dry run, or a Solana transaction that expired before it landed.
Fewer dead ends when a route has no quote
- A live
NO_ROUTEfromGET /v1/quotenow carrieserror.details.suggestions: alternatives LayerHop checked right then.dst_token(same payment, into the destination chain's stablecoin or native coin),src_token(pay with the source chain's stablecoin or native coin, same value) andvia_hub(two signed steps through USDC on Arbitrum, Base or Ethereum, both legs quoted). At most 6 extra quotes, cut off after 5 s, cached per route for 30 minutes; successful quotes are not slowed down. SeeNO_ROUTE. - Blast: a quote into Blast from anything other than ETH on Ethereum is still
UNSUPPORTED_CHAIN, now with avia_hubsuggestion: to ETH on Ethereum first, then the canonical deposit.blast-nativequotes report the Ethereum gas in USD (fees.gasUsd). - Relay's "Requested amount exceeds provisioned liquidity" is reported as
AMOUNT_TOO_LARGE(wasNO_ROUTE). - The swap app and the widget show the suggestions as one-click alternatives instead of an error. Blast deposits from any token take two signed steps, with both steps' costs (Ethereum gas included) shown before you sign and a warning when gas is more than 5% of the amount. Chains whose routes out are failing can't be picked to pay from ("deposits only"), and chains whose routes in are failing can't be picked to receive on ("withdrawals only"); hover for why.
New tokens in search and lookup
GET /v1/tokensfinds tokens that aren't on the hourly token lists yet. An unlisted address inqis read on chain and returned (verified: false; empty list if it isn't a token there). A textqwith fewer than 5 listed matches also searches live market data (DexScreener, and GeckoTerminal within the chain) and adds up to 5 tokens on that chain with at least $10,000 of pool liquidity, read on chain, withverified: falseand the market price. See What about tokens that are too new for the lists?GET /v1/tokens/lookuptakeschainas optional: without it, a Solana mint is read on Solana and an EVM address on the supported chain where it has the most pool liquidity. No pools anywhere isUNSUPPORTED_TOKEN. The TypeScript SDK acceptslh.lookupToken(address).- The swap app and the widget: a pasted address with "All chains" selected is found on whichever chain it lives on (before, it was read on the chain you were on), and new tokens show up when you search by name. Unverified tokens still ask for a confirmation. The app's token search box no longer shows unrelated tokens for a query that matches nothing.
Tron (built, not turned on yet)
- Update 2026-10-28: Tron is live at api.layerhop.com and in the app (see "Now live" below).
- The API can route Tron through Relay: TRX and USDT, to and from EVM chains and Solana, and same-chain. It is off at api.layerhop.com until it is enabled; then
GET /v1/chainslists Tron (vm: "tvm", id728126428). - New transaction shape
TronTx(vm: "tvm"): the call, an optional TRC-20 approval, and each as an unsigned Tron transaction to sign with TronLink. See How do I send a Tron transaction?. POST /v1/simulatesimulates Tron transactions withtriggerconstantcontractand reportsenergyUsed.- Order status ids accept Tron hashes (64 hex, no
0x); Tron-source orders are tracked by Relay request id. - deBridge also quotes routes from Tron (to EVM chains and Solana), with the same
tvmtransaction shape: a TRC-20 approval for exactly the input, then the order call. Routes to Tron stay on Relay. See Providers. - Sign-in, scam reports and the trade feed opt-in take a
WalletVm(evmorsvm) in the API reference; nothing changed for them. - The swap app and the widget are ready for Tron too: TronLink and WalletConnect Tron wallets in the same connect window, TRX and USDT balances, Tron recipient addresses, the approval and swap as two steps, a TRX fee check before you sign, and Tronscan links. Like the API side, it stays hidden until Tron is turned on. See Tron in the LayerHop app and widget.
Website and app navigation by product
- layerhop.com is organised into five products, Trade, Earn & automate, Safety, Pay and Build, plus Explore for live public data. The header has Products and Explore menus, and the footer and the phone menu follow the same groups.
- New overview pages: layerhop.com/earn (stablecoin rates, fund an app, rebalance, routines, gather and sweep), layerhop.com/safety (wallet health, transaction preview, approvals, recover, unclaimed airdrops) and layerhop.com/explore (route status, price gap radar, new chains, provider scoreboard, explorer, trade feed).
- The app sidebar at app.layerhop.com uses the same groups: Trade, Portfolio, Earn & automate, Safety, Pay and Explore. Every page keeps its address.
Bridge status, price gap radar, new chains and airdrop checks
- New
GET /v1/status/bridge: per chain whether routes in and out work right now, the main route pairs in both directions, success rate and typical fill time from the last 7 days of live swaps (each with its sample size), providers and route incidents of the last 14 days. Shown under "Bridge routes" on layerhop.com/status. See Bridge status, price gaps, new chains and airdrop checks. - New
GET /v1/price-gaps: tokens that trade on several chains with their DEX price on each, the gap, and for the top gaps what a real LayerHop quote leaves after bridging $100 or $1,000. At layerhop.com/radar and app.layerhop.com/radar, with a Swap button per size. - New
GET /v1/chains/new: chains that just became bridgeable (or that a provider just started routing), with gas token, route health, first routes and a timeline. At layerhop.com/new-chains, with a "Bridge in + gas" button. - Swap deep links take
gasOnArrival=1to start with "Get gas on arrival" on. - New
GET /v1/claimsandGET /v1/claims/airdrops: read-only checks of an address against Uniswap, Merkl, Linea and LayerZero claim contracts, with the official claim link. LayerHop never builds third-party claim transactions. In the app at app.layerhop.com/claims, next to Recover.
Power tools: fund any app, earn, rebalance, routines, swap assistant, statements, one-signature batching
- New: Fund apps and earn on stablecoins.
GET /v1/fund/targetslists where deposits into Polymarket, Hyperliquid, Aave v3 (Base, Arbitrum) and any pasted deposit address land;POST /v1/fund/polymarket/addressreturns a Polymarket wallet's bridge address from Polymarket's Bridge API.GET /v1/yields?asset=USDC|USDTlists current supply rates of verified Aave v3, Compound v3, Morpho and Spark vaults (on-chain reads and Morpho's API);POST /v1/yields/{id}/depositreturns the approve + supply / deposit calls for the user's own wallet, simulated first (CALLS_REVERTEDon a revert). In the app at app.layerhop.com/fund and app.layerhop.com/earn (ranked by a year of yield after the route cost for your amount); the /hyperliquid hub links there. POST /v1/alerts/draftstakes three kinds without a token:yield(another vault payspctAPY points more),drift(wallets driftedpctpoints from target weights) andreminder(a routine's title on a day / week / month UTC schedule). Links must be on layerhop.com or app.layerhop.com. Reminders only; nothing trades. See Telegram bot.- Quote
purposealso takesrebalanceandfund(attribution only). - New: monthly statements for merchants:
GET /v1/dashboard/statements?month=YYYY-MM&format=json|csv|pdfand a Statements page in the dashboard (payments, fees as recorded, refunds, net). - Web app: Rebalance (app.layerhop.com/rebalance: target weights, a plan with the fewest swaps, signed leg by leg, drift reminders), Routines (app.layerhop.com/routines: Jupiter recurring buys where they run automatically, Telegram reminders with a prefilled swap otherwise) and a swap Assistant (app.layerhop.com/assistant: proposes a plan from live quotes, one Review & sign per leg; it never executes anything).
@layerhop/wagmi:atomicBatchStatus/getAtomicBatchStatusreportsupported,ready(an EIP-7702 upgrade the wallet offers) ornone;wallet_sendCallsnever requests a paymaster. The app revokes all approvals on a chain in one confirmation, and dashboard refunds send approve + refund together where the wallet batches.
Copy trading, swap by reply on Farcaster and X, Built on LayerHop
- New: Copy trading and the trade feed. Trade cards, the new feed at app.layerhop.com/feed and the top wallets page have Copy this trade: the same route with your own remembered size, never the original amount.
GET /v1/quoteandPOST /v1/quotetakecopyOf(a trade card's quote id or a wallet): the copied trade's owner gets the referral attribution for that quote (a card only for the same destination token and chain; a wallet only when it uses LayerHop). The TypeScript SDK'sQuoteParamshascopyOf. - New:
GET /v1/trade-feedlists recent swaps (worth $25 or more, listed tokens) of wallets that opted in with a signed plain text message (POST /v1/trade-feed/opt-in,GET /v1/trade-feed/opt-in/{wallet}). Only swaps after the opt-in are shown; an opt-out removes them, and an older signature can't undo a newer choice (CONFLICT). - New: Swap by reply. Mention LayerHop on Farcaster or X with "swap 10 USDC to SOL" and get a link to a prefilled swap (never an executed one). Prefilled
app.layerhop.com/swaplinks unfurl as an image of the live quote and, on Farcaster, as a Mini App that uses the Farcaster wallet.POST /v1/social/farcaster/webhookreceives Neynar's signed webhooks. - New: Built on LayerHop at layerhop.com/ecosystem:
POST /v1/ecosystemsubmits a project (logo fetched once over https from a public host and checked by content),GET /v1/ecosystemlists approved ones, admins review at/v1/admin/ecosystem(dashboard: Admin → Ecosystem). The page also describes the grants program.
2026-10-28#
A clear warning when fees eat a small swap
- When a route costs 5% or more of what you send, network fees included, the swap card says how much in dollars and, when most of it is a fixed fee, from which amount it drops under 3%. From 20% you confirm "I understand I'll receive about $X" before you can review the swap.
- Mostly this affects tiny amounts and routes with a fixed fee: bridging into Tron costs about $1 whatever the size, and TRX → USDT on Tron through Relay about $1.70, so a few dollars there lose a large share while $50 or more is fine.
Berachain tokens in the app
- Discover has a Berachain tab next to Solana and Robinhood Chain: Trending, New pairs, Top volume and Gainers, and Berachain tokens in the "All chains" view.
- Token pages for Berachain tokens (
app.layerhop.com/token/berachain/<address>): live chart and price, recent trades and top traders, top holders and contract checks from GoPlus, watchlist, price alerts while the app is open, and share links. Buy or sell with any token on any chain we support, through the normal swap. - Launchpads has a Berachain tab with new launches: Berachain pools from the last 7 days with at least $5,000 of liquidity. Berachain launchpad bonding curves aren't covered by our data sources yet, so it has no "About to graduate" or "Graduated" column.
- Pasting a token address into the app search now finds it on Robinhood Chain and Berachain.
- Not on Berachain yet: Telegram alerts and bundle maps.
- When the contract checks have no data on a token (common for very new ones), the token page now says "Risk check unavailable" instead of a score based only on its pool.
Now live: Tron, Across, Solana limit orders and the gas station
- Tron: swap and bridge TRX and USDT to and from EVM chains and Solana, and TRX ↔ USDT on Tron, through Relay and (from Tron) deBridge. Connect TronLink or a WalletConnect Tron wallet in the same connect window as EVM and Solana. You need some TRX for network fees (about 10–15 TRX for a USDT approval plus the swap without staked energy).
- Across is a new route provider for EVM bridges and often the best price on routes like Base → Arbitrum.
- Limit orders on Solana (Jupiter Trigger): set a price on a token page and the order fills on its own, from your own wallet.
- Gas station: refuel several chains with native gas in one transaction at app.layerhop.com/gas.
- Community: join the LayerHop Discord at discord.gg/NU4Vb3r7DV for help, releases and discussion.
Dropped transactions get their own state
- New order status
dropped: the reported source transaction never reached the network (gas too low, cancelled, or sped up under a new hash in the wallet). The tracker asks the source chain for the hash after a grace period (20 minutes on EVM chains, 5 on Solana, 10 on Tron) and drops the order after 3 checks in a row that don't find it. On EVM, a transaction that was seen in the mempool and then vanished is dropped once the sender's nonce has moved past it (replaced), otherwise after an hour. No funds moved, so it never counts as a fill or a provider failure. Before, such orders stayedsubmitteduntil the 24-hour timeout. See What happens when a transaction is dropped? - New webhook event
order.dropped.GET /v1/orders/{provider}/{id}answersstate: "dropped"for such an order, and the live status stream closes on it. - A dropped hash counts as provisional again: report the replacement hash with
POST /v1/orders/{quoteId}/submittedand the order goes back tosubmitted. - A checkout payment that is dropped reopens the session (
checkout.session.payment_failed), like a failed one. - The swap app shows "This transaction never reached the network. Your funds didn't move." with a Try again button that gets a new quote for the same route.
Community safety: transaction preview, scam reports, wallet health
- New: Transaction preview.
POST /v1/previewexplains a raw EVM transaction (simulated witheth_simulateV1,debug_traceCalloreth_call, calldata decoded), an EIP-712 signature request (Permit, DAI permit, Permit2, Seaport) or a base64 Solana transaction (simulateTransaction) in plain language: balance changes, approvals, who gets what and red flags such as unlimited approvals to wallets or unknown contracts,setApprovalForAll, permits to unknown spenders and orders that pay you nothing. Read-only; never asks for a signature. At layerhop.com/preview and app.layerhop.com/preview. - New: Community reports.
POST /v1/reportsfiles a wallet-signed report of an address or token (scam, phishing, address poisoning, rug pull) with an optional transaction hash and note;GET /v1/reports/{target}andGET /v1/reports?targets=return the count, categories and approved notes. One report per wallet and target, rate limited, and the wallet needs some history. Shown as "community reports: N" in the app's recipient check, token risk badge and preview page; never blocks a swap. Admins review notes atGET /v1/admin/reportsandPOST /v1/admin/reports/{id}/approve|hide(dashboard: Admin → Scam reports). - New in the app: app.layerhop.com/health scores any wallet 0–100 from open approvals, risky tokens held, address-poisoning traps, stuck withdrawals and dust, with a fix-it link per check and a share card that shows only the score.
Rug, unlock, move and gap alerts; Discord bot
POST /v1/alerts/draftstakes four new kinds, with defaults filled in and returned byGET /v1/alerts/drafts/{id}:rug(the main pool losespct% of its liquidity within an hour, or the token's risk check turnsdanger; an optionalcreatoralso starts a dev-sell watch),unlock(vesting unlocks of at leastminPct% of circulating supply orminUsd,leadDaysahead, from DefiLlama's emissions data),move(pct% withinwindow1hor24h) andgap(a token LayerHop lists on several chains ispct% cheaper on another chain). New request fieldspct,window,minPct,minUsd,leadDays; out-of-range values areINVALID_PARAMS.- Telegram bot:
/alert <token> rug | unlock | move 10% | gap, listed in/alerts,/alert mute <n>. These alerts stay on with cooldowns, and every alert message has Mute 24h and Remove buttons. See Telegram bot. - Web app: token pages have Alerts that stay on (shield button) to create these alerts on Telegram.
- New Discord bot:
/price,/quote(best route and a link to swap on LayerHop; it never signs),/track,/alert(delivered by DM or to a channel a server admin picks with/settings), with Mute and Remove buttons.
Gather, split the bill, tip jar and bulk payouts
- New: Split the bill.
POST /v1/splitscreates a split (who is owed, as an address, ENS or.solname; the token and chain; the total in base units; equal shares, named shares or custom amounts that add up exactly; a note) and returns a one-time edit secret;GET /v1/splits/{id}lists each share's status (unpaid,partial,paidwithin 0.5%) from filled orders;PATCH /v1/splits/{id}withx-edit-tokenrenames shares, edits the note and closes or reopens it. Payers pay at layerhop.com/split/ from any chain; create splits at app.layerhop.com/split. GET /v1/quoteandPOST /v1/quotetakepurpose(tip,split,payout,gather),splitId+splitShare(checked against the split;CONFLICTonce it is closed) andnote(a message on a tip or split payment). They are recorded on the order and never change the fee or the route. The TypeScript SDK'sQuoteParamshas the same fields.- New: Tip jar. A "Tip me in crypto" card at layerhop.com/tip/ (preset amounts, a message, "Supported by N tippers"), embedded with one script tag (
https://layerhop.com/tip.js) or a plain iframe for sites with a strict Content-Security-Policy; build it at app.layerhop.com/tipjar.GET /v1/tip-jars/{address}returns the tipper count and the latest messages. - New: Bulk payouts.
POST /v1/payouts/planchecks up to 100 rows (CSV text or JSON: recipient as address, ENS or.sol, amount, token, chain, label) and groups them into same-chain transfer batches and routed rows;POST /v1/payouts/transfersbuilds a transfer batch (EVM calls for one EIP-5792 confirmation, or one unsigned Solana transaction). In the app at app.layerhop.com/payouts, with a recipient check on every address, retry, skip and resume, and a receipt CSV.@layerhop/wagmiaddssendWalletCalls. - Web app: Gather everything (app.layerhop.com/gather) finds a wallet's USDC, USDT, ETH or everything above $X on every chain and brings it into one token on one chain, with one quote per chain, the total received and fees up front, chains whose fees exceed your limit skipped with the reason, and progress that survives closing the tab.
Safety fixes
- Bulk payouts: an ENS recipient on an EVM chain other than Ethereum gets the name's address record for that chain, or its Ethereum address only when that is a plain wallet (or the same contract exists on the chain); otherwise the row is invalid. Same rule as pay links.
- Bulk payouts: a plan resolves at most 25 different names (rows past that ask for an address), within a shared budget and 20 seconds;
POST /v1/payouts/transfersrefuses Solana amounts above the u64 maximum and Token-2022 mints. - Bulk payouts in the app: the transfers the API returns are checked against the rows before the wallet sees them, and a batch the wallet accepted is never sent again: if its status is unknown, the app offers Check status instead of a retry.
@layerhop/wagmi:sendWalletCallsandsendEvmTxfall back to one transaction per call only when the wallet refuseswallet_sendCalls; once it accepted the batch, an unclear outcome throwsBatchPendingErrorwith the batch id, andcheckWalletCallslooks it up later. - Transaction preview:
gives_away_assets(danger) now also flags a transaction whose simulation moves your assets out with nothing back to an address the call doesn't name and we don't recognize (fake claim and mint buttons), a Seaport order that pays you only dust, sends most of its payment to someone else or returns less of the token it takes, any order in a Seaport bulk listing, a Solana transaction where a signer other than the fee payer loses assets, and a Solana signer whose account is assigned to another program.unknown_functionstays a caution when the simulation logged transfers, and unreadable order signatures (Blur, 1inch, 0x) say to treat them as handing over what they offer. A revert reported as-32000is a failed simulation; no simulation at all is a caution. - Community reports: only reports a LayerHop admin approved raise a preview's risk (3 or more: danger), counted on the preview's chain; unreviewed reports show as information. Permit2, the routers LayerHop uses and listed tokens can't be reported. Lookups return
approved. A reporting wallet whose history can't be checked can't report. - Discord bot: token names and symbols from third parties are escaped (no markdown or links), and
/price,/quoteand/trackare rate limited per user.
2026-10-27#
Token risk checks and wallet safety
- New
GET /v1/tokens/{chain}/{address}/risk: a token's safety report before a user buys it, aslevel(ok,caution,dangerorunknown) plusreasons(honeypot, can't sell, buy / sell / transfer tax, mintable, owner can change balances, blacklist, pausable, upgradeable, hidden owner, unpublished source, freeze authority, few holders) from GoPlus Security, andfake_symbolfor a token using a major's symbol (USDC, USDT, ETH, WETH, SOL …) at an address that isn't the real one. Listed majors answerokwithout an upstream call; reports are cached for 10 minutes;unknown(no report) is still a 200. See How do I check a token for risks. - Web app: buying a token that isn't a major shows its risk reasons in the swap card and review, and a
dangertoken needs an explicit tick before confirming; token pages show the check next to the trade box. - Web app: sending to an address that isn't your connected wallet runs a recipient check first: look-alikes of addresses you used (address poisoning), zero-value transfers from look-alike addresses, contracts, Solana token accounts, and unused or first-time addresses. Look-alikes show the full address with the differing characters highlighted and need "I checked this address" before you can confirm.
- Web app: new Approvals page (app.layerhop.com/approvals) lists your EVM wallet's open token allowances on Ethereum, Arbitrum, Base, Optimism, BNB Chain and Polygon, flags unlimited ones and unknown spenders, and revokes each with one transaction you sign.
Promised vs received, provider scoreboard, tax export and pay links
- Trades and trade cards (
GET /v1/portfolio/{address}/trades,GET /v1/orders/{quoteId}/card) now carryexecution: the quoted output, the quote's guaranteed minimum, the amount the destination transaction actually delivered (read on chain by LayerHop shortly after the fill), the difference in bps and USD, and the fees (the fee taken from the input, provider and gas, in USD). Orders (GET /v1/orders, dashboard) gaindstAmountMinanddstAmountReceived. See Did I get what the quote promised?. - New public provider scoreboard,
GET /v1/transparency/providers?days=7|30and layerhop.com/transparency: per provider, fills, median quote accuracy, delivered ≥ the quoted minimum, median time to fill, refund and failure rates, and how our web quote compared with the provider's own no-fee quote in the daily price check. Aggregates only, with the sample size of every figure. - Tax export:
GET /v1/portfolio/trades.csv?address=…&format=raw|koinly|cointrackerdownloads a wallet's swaps (or several wallets', merged) with both legs matched;GET /v1/dashboard/orders.csvdoes the same for a dashboard account's orders. Export buttons in the app's Portfolio and the dashboard's Orders page. See How do I export my swaps for taxes?. - Personal pay links:
layerhop.com/to/<name>(an ENS name, a.solname or an address) lets anyone pay you from any chain and token; you receive your preferred token, set with the ENS text recordcom.layerhop.receive(base:USDC). Make one at layerhop.com/to.GET /v1/pay-links/{name}resolves a link. See Personal pay links.
Recover, transfer tracker and gas station
- New: Recover stuck withdrawals.
GET /v1/recover/withdrawals?address=finds Arbitrum One / Nova and OP Stack (OP Mainnet, Base, Unichain, Ink, Soneium, World Chain, Lisk, Mode, Zora) withdrawals to Ethereum whose second step was never sent;GET /v1/recover/withdrawals/{chain}/{txHash}looks one up;GET /v1/recover/claimbuilds the next transaction (execute,proveorfinalize), simulated from the sender before it is returned;GET /v1/recover/chainslists coverage. Public, read-only. In the app at app.layerhop.com/recover. - New: Track any transfer.
GET /v1/track/{txHash}finds any bridge or aggregator transfer (Relay, LI.FI, Across, deBridge, Mayan, LayerZero / Stargate, CCTP, Wormhole, Gas.zip, Arbitrum and OP Stack bridges) from its source transaction and returns the status, the destination transaction and the next step. At layerhop.com/track and app.layerhop.com/track. - New, off by default: the gas station refuels up to 10 chains with native gas from one transaction (Gas.zip):
GET /v1/gas/chains,POST /v1/gas/quote,GET /v1/gas/status/{txHash},GET /v1/gas/balances. AnswersFORBIDDENuntil the deployment setsGAS_STATION_ENABLED=1. No LayerHop fee.
Safety fixes
- Recipient check (web app): an outgoing token transfer counts as "sent before" only when the user sent the transaction that emitted it, so a fake token's transfer log can't make a poisoned look-alike look familiar; an on-chain counterparty never stops the look-alike check.
- Pay links: ENS names on chains other than Ethereum use the chain's own address record (ENSIP-11); a smart wallet's Ethereum address is used elsewhere only when that contract exists there too. Offchain (CCIP-Read) names resolve only through public https gateways.
- Token risk: new reasons
airdrop_scamandfake_token(danger),tax_modifiable,selfdestruct,external_call,closableandno_trading_data(caution); a report without a honeypot test is no longerok. - Trade data: public trade cards, the trade history and the public CSV show one combined fee (
fees.feeBps,fee,feeUsd) instead of LayerHop's and the partner's separately. The public CSV holds the newest 200 swaps (like the history), 6 exports per minute per IP; the dashboard export keeps the split and up to 10 000 orders. Amounts of tokens with unknown decimals are left empty in the CSV. - Transfer tracker and Recover: budgets shared by all clients on top of the per-IP limits, unknown hashes cached for 5 minutes, 2 Recover scans per minute per IP. Recover claims that fail their simulation come back without
tx, and Arbitrum token withdrawals show a token and amount only from the known gateways. - Gas station (off by default): Gas.zip's native price is checked against ours and destination chain ids come from our own table.
- The pay page says a quote "delivers at least" the requested amount only when its guaranteed minimum does.
2026-10-26#
Route health and smaller chains
- Route health probes now also try WETH when a chain's native coin and stablecoin get no quote, so chains that bridges reach only with WETH (e.g. Telos) no longer show as
unavailable.GET /v1/admin/route-healthprobe rows can havetokenKind: wrapped. - Kaia: Stargate's USDC.e (
0xE2053BCf56D2030d2470Fb454574237cF9ee3D4B) is now a listed token, the Kaia stablecoin that has routes in and out. - Sei: when routes are dropped because the wallet isn't linked to a Sei address,
NO_ROUTEnow says so and points to https://app.sei.io.
2026-10-25#
Gasless swaps, recurring orders and dev-sell alerts: safety checks
- Gasless (0x) typed data is checked when the quote is made and again by
signGaslessbefore the wallet signs: Permit2 witness transfer on the swap's chain, canonical Permit2, sell token and at most the sell amount, the quote's settler as spender, your recipient, the quoted minimum out and a deadline under 10 minutes; approvals only for Permit2 on the sell token.signGaslessnow takesexpect(what you asked for) and throwsGASLESS_UNSAFEotherwise;gaslessProblemsis exported from@layerhop/sdk. See What gets checked before signing. - New error codes
GASLESS_PENDING(409: the quote's first submission is still being relayed, or the relayer has a pending trade of the same token) andGASLESS_FAILED(422: the relayer rejected the signed order). A quote is relayed once even when two submissions race. Gasless quotes now stay valid until shortly before the signed deadline (at most 2 minutes); later submissions getQUOTE_EXPIREDwith "get a new quote and sign again". - Recurring orders: create and cancel transactions must pass an instruction whitelist in the API and in the app (no token approvals, authority changes or transfers to other wallets).
POST /v1/alerts/drafts(dev_sell): the API resolves the token's creator itself; drafts carryverified, and the Telegram bot calls an unverified wallet a "watched wallet" instead of "the dev".
Token launches on Robinhood Chain, Base and Arbitrum
POST /v1/launch/metadatatakes an optionalchain(solanaby default, orrobinhood,base,arbitrum). On the EVM chainsmintandcreatorare0xaddresses, stored lowercase, and a token counts as created once its address has contract code there. Responses andGET /v1/launch/metadatarows now includechain;mintsaccepts EVM addresses in any case. See Token launch metadata.- Web app: the Create page launches tokens on Robinhood Chain, Base and Arbitrum through Doppler (one signature, optional first buy), next to Solana.
Trade cards and referrals: trust checks
GET /v1/orders/{quoteId}/cardandGET /v1/portfolio/{address}/trades: newsrcVerified/dstVerified(the token is listed) andsrcTxVerified(the source transaction was checked on chain). Unlisted tokens getsymbol: nulland no USD value; USD at fill is only recorded for listed tokens. The app's card shows "Unlisted token" + address and says "Verified on-chain" only for a verified source transaction ("Recorded by LayerHop" otherwise).GET /v1/portfolio/{address}/tradesshows the other chain's transaction hash only when the address is both sender and recipient (role: both); see Which transaction hashes does it show?.- Referral stats and the leaderboard leave out orders whose sender or recipient is the referrer and count volume in listed tokens only. A quote's
referrerequal to itsrecipientis now ignored too. POST /v1/alerts/drafts: optionalpurpose: "stop_loss"(withop: "below"); the Telegram bot then offers a sell when it fires. At most 20 open drafts per IP; when the store is full the oldest draft is dropped instead of refusing new ones.- Telegram bot: followed wallets are capped at 10 per person (1,000 in total as a memory bound), with Solana RPC calls paced to about 5 per second.
Trade history, trade cards and a referral leaderboard
- Orders now record the USD value of both sides when they fill (
srcAmountUsd,dstAmountUsd;nullwhen not recorded). - New
GET /v1/portfolio/{address}/trades: a wallet's filled LayerHop swaps (sender or recipient) with token details, transaction hashes and USD at fill. See Trade history and trade cards. - New
GET /v1/orders/{quoteId}/card: public data of a filled order for a "verified on-chain" trade card, without any wallet address. - New
GET /v1/referrals/leaderboard?window=7d|30d|all: top 50 referrers by referred filled volume, truncated addresses, optional own rank withaddress.GET /v1/referrals/{address}now counts the USD value at fill where recorded. See Referral links. Rewards stay off. - Web app: Portfolio shows cost, average cost and unrealized PnL per token from your swaps on any device (approximations marked
~); filled swaps can be shared as a card atapp.layerhop.com/card/<quoteId>from the success screen and Activity; Referrals shows the leaderboard and your rank; Get gas on arrival is suggested (the switch stays off) when your wallet has no native gas on the destination chain.
Telegram alerts from the app
- New
POST /v1/alerts/draftsandGET /v1/alerts/drafts/{id}(public; 10 drafts per IP per minute; drafts last 15 minutes): park a price or followed-wallet alert so the app can openhttps://t.me/layerhop_bot?start=d_<id>. See Telegram bot. - Telegram bot: price alerts by token address from the app, followed-wallet swap alerts on Solana (
/follow,/following), and links to the token's page on app.layerhop.com.
Balances for any token, and fresh balances after a swap
GET /v1/balances: optionaltokens(at most 20chainId:address) that are always returned, even at zero and even when they are on no token list (unlisted EVM tokens get their metadata read on-chain,verified: false). Their chains are scanned too; a bad entry is skipped and listed inerrors. Optionalfresh=1reloads balances cached more than 4 seconds ago (at most 20 per minute per key or IP, then the cached result). See Tokens & balances.- TypeScript SDK:
balances(address, chains?, { tokens, fresh }). - Web app and widget: the swap form always shows the real balance of both selected tokens, including tokens pasted by address, and refreshes balances when a swap is submitted, when it fills (or fails or refunds) and again 5, 15 and 30 seconds after it fills. Limit orders refresh balances after placing or cancelling.
Token launch metadata
- New
POST /v1/launch/metadata(multipart): stores a new Solana token's name, symbol, links and image (PNG, JPEG, WebP or GIF, at most 1 MB) and returns its Metaplexuri. New error codeLAUNCH_IMAGE_INVALID. - New
GET /v1/launch/metadata/{mint}.json,GET /v1/launch/metadata/{mint}/imageandGET /v1/launch/metadata?mints=…. See Token launch metadata. - Limits: 10 uploads per IP per hour (identical re-uploads are free), at most 5 pending uploads per creator, unused uploads deleted after 24 hours, and 600 metadata/image reads per minute per IP.
Referral attribution
GET /v1/quote/POST /v1/quote: optionalreferrer(an EVM or Solana wallet). The order built from the quote records it; invalid values and self-referral are ignored. It never changes the fee or the price.- New
GET /v1/referrals/{address}: a wallet's referred orders, filled orders and filled volume in USD. Referral rewards are off (rewardBps: 0). - TypeScript SDK:
quote({ referrer }). - Web app:
?r=<wallet>on any link is remembered for 30 days (first link wins), and a new Referrals page shows your link and stats. See Referral links.
2026-10-23#
Route health and route minimums
GET /v1/chains: newrouteHealthper chain (in,out,status,checkedAt). LayerHop probes every chain about every 2 hours with small read-only quotes in both directions; a direction turnsfailingafter two failed runs in a row and recovers after one success.statusisok,deposit_only,withdraw_only,unavailableorunknown. See Tokens & balances.GET /v1/quote/POST /v1/quote: a quote that fails because the amount is below the providers' minimum now answersAMOUNT_TOO_SMALLwitherror.details.minAmount,minAmountUsdandminAmountApprox(previously oftenNO_ROUTE). See Error handling.NO_ROUTEsays when the destination's routes in (or the source's routes out) are currently failing.- Web app and widget: chains whose routes fail both ways are hidden from the pickers,
deposit only/withdraw onlylabels, a warning with a required checkbox before bridging into a chain you can't currently bridge out of, and "Minimum for this route is about $X" with a Use minimum button. - LI.FI's current "no available quotes" error is now read correctly: it reported as a generic
PROVIDER_ERRORbefore, and is nowNO_ROUTE, orAMOUNT_TOO_SMALLwith the bridge minimum LI.FI names. - USD prices for more native coins (CELO, KAIA, FLR and others) through a DefiLlama fallback.
- Admin:
GET /v1/admin/route-health.
Blast deposits via the canonical bridge; dead chains hidden
- New provider
blast-native: Blast's canonical bridge, ETH on Ethereum → ETH on Blast only, 1:1 with no LayerHop fee. Relay, LI.FI, deBridge and the other aggregators dropped Blast, so it was unreachable. See Providers. GET /v1/chains: newonlyRoutefield on chains every provider serves through one fixed route (Blast). Blast isdestinationOnly.- The chain registry refreshes every hour (was 6 hours). A chain that no provider lists any more is omitted from
GET /v1/chains, and quotes to or from it, from a destination-only chain, or into anonlyRoutechain by another route fail fast withUNSUPPORTED_CHAINinstead ofNO_ROUTE. - Web app and widget: picking Blast as the destination from anything other than ETH on Ethereum shows why, with one click to switch the source.
LayerHop fees halved
- Default LayerHop fee per channel:
api10 bps (was 20),web15 (was 30),widget15 (was 30),bot45 (was 90). Deposit addresses use theapichannel fee, so they drop to 10 bps too. - Same-token checkout payments: 0.25% of the amount due, paid on top by the payer (was 0.5%).
- Partner fees, the partner fee caps and the 150 bps total cap are unchanged.
fees.ourFeeBpsstill reports the fee applied on every quote. - The web app and widget now show one Fees total per route (LayerHop fee + partner fee + provider fee + estimated gas); opening it lists each part by name.
2026-10-22#
API: stricter validation and checked transaction reports
POST /v1/orders/{quoteId}/submittedchecks the hash on the source chain: it must be the quote sender's transaction (EVM: to the contract the order was built for; Solana: signed by the sender). A mismatch isINVALID_PARAMS; a hash not visible yet is recorded as provisional (verified: falsein the response) and can be replaced by the real one. See Order tracking.GET /v1/orders?address=no longer lists orders with no reported transaction, except to an API key of the account that built them.GET /v1/quoteandPOST /v1/quote:senderandrecipientmust be addresses of their chains, the same token on the same chain is refused, andintegratorFeeBpsmust be >= 0 (allINVALID_PARAMS, previously oftenNO_ROUTE).amountabove 2^256 - 1 isAMOUNT_TOO_LARGE; leading zeros are ignored.- A quote that fails with
NO_ROUTEnow carries the per-provider reasons inerror.details.errors. When every provider rejected the amount as too small or too large, the code isAMOUNT_TOO_SMALL/AMOUNT_TOO_LARGE. - New
warningson quote responses:GAS_ON_ARRIVAL_UNAVAILABLEwhen gas on arrival was requested but no quote delivers it. GET /v1/orders/{provider}/{id}: a malformedidisINVALID_PARAMSfor every provider; a well-formed unknown id isstate: "unknown".- Unknown paths return the
NOT_FOUNDerror JSON instead of a plain-text 404.
2026-10-19#
JavaScript SDKs 0.7.0
- New packages on npm:
@layerhop/wagmiand@layerhop/solana(execute quotes with the user's wallet; approve + swap in one EIP-5792 confirmation),@layerhop/react-native(widget and checkout for React Native and Expo), and the agent framework integrations@layerhop/ai(Vercel AI SDK, LangChain, OpenAI Agents),@layerhop/plugin-elizaos,@layerhop/agentkitand@layerhop/goat. @layerhop/sdk:verifyWebhookSignatureandconstructWebhookEventfor webhooks, destination calls on quotes, and streams that work in React Native.@layerhop/widget: the/reactentry's type declarations now match its JavaScript (0.6.0 declared helpers such asisValidIntegratorthat the bundle did not contain).@layerhop/cli:layerhop dev, an offline mock API for local development and CI (local development).- Python, Go and Rust SDKs are unchanged at 0.6.0.
Developer tools: local mock API, GitHub Action, Postman
layerhop devstarts a local mock API for offline development and CI: the core quote → build → report → status flow with fixed prices, test-mode outcomes (4001refunds,4002fails,4004has no route), signedorder.*webhooks to--webhook-url, and optional Anvil forks of EVM chains with--fork. It ships in the next@layerhop/clirelease.- The
setup-layerhopGitHub Action starts the mock API in a CI job and exportsLAYERHOP_API_URL(published aslayerhop/setup-layerhopalongside that CLI release). - A Postman collection generated from the spec (it imports into Insomnia and Bruno too), and the raw spec at /openapi.yaml and /openapi.json.
- The API playground now covers deposit addresses, subscriptions, limit orders, invoices and
webhooks/trigger, flags endpoints that need a key, and keeps your key in memory or this tab's session storage only. - New Get help page.
Mobile: React Native, Expo and Swift
- New
@layerhop/react-native:<LayerHopWidget />and<LayerHopCheckout />for React Native and Expo, with the web widget's options and typed callbacks. Wallet deep links open the wallet app, anduseWalletReturntells you when the user comes back. @layerhop/sdknow works in React Native, including live streams:streamOrder,checkout.streamanduseOrderStreamread Server-Sent Events overXMLHttpRequestwhenfetchcan't stream. The newstreamingoption overrides this choice.- New Swift SDK (
LayerHopSwift package, iOS 15+ / macOS 12+): async/await, Codable models and webhook verification, with no dependencies.
Wallet packages: @layerhop/wagmi and @layerhop/solana
@layerhop/wagmi:executeQuote(config, { quote }),useExecuteQuote()andexecuteQuoteWithWalletClientfor viem wallet clients. When the wallet supports EIP-5792 atomic batching, the approval, swap and anyextraTxsgo in one confirmation. Other wallets get sequential transactions. See Wallets.@layerhop/solana:executeSolanaQuotewith signers for@solana/wallet-adapter, Wallet Standard and injected or embedded wallets, including submit-via-API and co-signed transactions.- The hosted checkout and the swap app use the same path, so a same-token checkout payment and its LayerHop fee transfer take one confirmation in EIP-5792 wallets.
SDKs 0.6.0
- All SDKs move to 0.6.0:
@layerhop/sdk,@layerhop/react,@layerhop/widget,@layerhop/cliand@layerhop/mcpon npm,layerhopon PyPI and crates.io, andgithub.com/layerhop/layerhop-gov0.6.0. - New in every SDK: deposit addresses, subscriptions, limit orders, gas on arrival on quotes,
extraTxson EVM transactions,depositAddressId/limitOrderIdon orders, and thesubscription.*/limit_order.*webhook events. The CLI addslayerhop deposit-address; the MCP server adds six deposit-address tools.
Telegram bot: price alerts, deposit addresses, invite links
- @layerhop_bot price alerts:
/alert SOL > 200,/alert ETH < 3000,/alerts,/alert del <n>. Each alert fires once with a one-tap swap link and a Re-arm button. /receive USDC on base to solanacreates a deposit address that converts what you send and delivers it to your wallet, with refund protection and notifications when deposits complete;/addresseslists yours./invitegives you a personal invite link. Link your partner id with/partner <id>to earn your partner fee on swaps by the people you invite.
Checkout: 0.5% on same-token payments
- A checkout payment in the settlement token on the settlement chain now carries LayerHop's fee of 0.5% of the amount due, paid on top by the payer (see Fees). The merchant still receives the full amount; refunds stay fee-free. Quotes show
fees.ourFeeBps: 50and asrcAmountthat includes the fee. - Non-custodial: on Solana the fee is a second transfer in the same transaction; on EVM chains
EvmTxhas a new optionalextraTxsarray (here: the fee transfer), sent after the main transaction or batched by EIP-5792 wallets.
Gas on arrival and Hyperliquid deposits
- Gas on arrival:
GET /v1/quote?gasOnArrival=true(orgasOnArrivalUsd=0.5…20) also delivers native gas on the destination chain, paid out of the swap. Cross-chain routes to EVM chains whose output isn't native; Relay delivers it today, and those quotes carrygasOnArrivaland rank first. TypeScript SDKquote({ gasOnArrival }); the swap app and widget have a "Get gas on arrival" switch (widgetgasOnArrival=1starts it on). - Deposit to Hyperliquid from any EVM chain:
dstChain=hyperliquid(id1337) withdstToken=USDClands in the recipient's perps balance, through a swap or a deposit address. Hyperliquid is a destination only;GET /v1/chainsmarks itdestinationOnly: true.
Subscriptions
- Subscriptions: recurring billing in USDC or USDT, every day, week, month or year. A wallet can't be charged automatically, so LayerHop issues and emails an invoice each period and the customer pays it with any token on any chain. Unpaid past the due date the subscription is
past_duewith reminders 1 and 3 days later, and it is canceled 7 days after the due date. Cancel now or at period end, pause and resume. - Endpoints
POST/GET /v1/subscriptions,GET/PATCH /v1/subscriptions/{id},GET /v1/subscriptions/{id}/invoices,POST /v1/subscriptions/{id}/cancel,/pauseand/resume. New webhook eventssubscription.created,subscription.renewed,subscription.past_dueandsubscription.canceled(with samples); invoices carrysubscriptionId. - Dashboard: Payments → Subscriptions. TypeScript SDK:
lh.subscriptions. CLI:layerhop trigger subscription.*. - Webhook endpoints can now subscribe explicitly to every event type, including
checkout.session.refundedandinvoice.*.
Limit orders on Solana (beta)
- Limit orders: sell a Solana token once it reaches your price, through Jupiter's Trigger program, with partial fills, an optional expiry and cancel. Non-custodial: the wallet signs every step. Your channel fee and partner fee apply on every fill when the output token is SOL, USDC or USDT.
- Endpoints
POST/GET /v1/limit-orders,GET /v1/limit-orders/{id}(with its fills),POST /v1/limit-orders/{id}/submit,POST /v1/limit-orders/{id}/canceland, in test mode,POST /v1/limit-orders/{id}/simulate. Each fill becomes an order (quoteIdstarting withlof_,limitOrderIdset). New webhook eventslimit_order.opened,limit_order.filled,limit_order.cancelled,limit_order.expiredandlimit_order.failed. - Test keys work today; live mode is rolling out. Recurring (DCA) orders are not available yet: no DCA provider lets integrators charge a fee.
- TypeScript SDK:
lh.limitOrders(create,submit,get,list,cancel,simulate).
Deposit addresses
- Deposit addresses: your user swaps or bridges by sending tokens to an address, with no wallet connection or signing in your app. Non-custodial: the address belongs to the liquidity provider (Relay) and LayerHop never holds funds. Reusable addresses (any amount, the same route) or one-time addresses for an exact amount, with refunds to your user's
refundToaddress. The API channel fee applies, plus your partner fee. - Endpoints
POST/GET /v1/deposit-addresses,GET /v1/deposit-addresses/{id}(with its recent deposits),POST /v1/deposit-addresses/{id}/refresh,POST /v1/deposit-addresses/{id}/disableand, in test mode,POST /v1/deposit-addresses/{id}/simulate. Each deposit becomes an order (quoteIdstarting withdep_) with the usualorder.*webhooks; orders carrydepositAddressId. - Live and test keys both work.
- TypeScript SDK:
lh.depositAddresses(create,get,list,refresh,disable,simulate).
Partner program: instant activation and payouts
- Partner applications go live at once with a starter cap of 50 bps (0.50%) on top of LayerHop's fee; set your fee and start earning, no review wait. LayerHop can raise the cap later.
- Payouts in the dashboard and
GET /v1/dashboard/payouts: per token what you earned (filled orders), what LayerHop paid and what is owed, with a USD estimate, plus your payout history with transaction hashes. - Statement download:
GET /v1/dashboard/earnings/statement.csvlists every earning and payout.
2026-10-18#
Merchant tools: invoices, refunds, analytics; status page
- Invoices: bill a customer by email with line items in USDC or USDT. LayerHop emails the invoice from
billing@layerhop.com, hosts it atlayerhop.com/invoice/{id}where the customer pays with any token on any chain, then emails a receipt with a PDF (GET /v1/invoices/{id}/receipt.pdf). EndpointsPOST/GET /v1/invoices,GET/PATCH /v1/invoices/{id},POST /v1/invoices/{id}/send,POST /v1/invoices/{id}/void, and the publicGET /v1/invoices/{id}/publicandPOST /v1/invoices/{id}/pay. New webhook eventsinvoice.sentandinvoice.paid; sessions carryinvoiceId. - Refunds: refund a paid checkout session in full or in part with
POST /v1/checkout/sessions/{id}/refunds(list withGET) or from the dashboard. Non-custodial: you sign from your own wallet, and LayerHop routes the settlement token back to the payer's original chain and token (or sends the settlement token). No LayerHop fee on refunds. Sessions carryrefundedAmount, orders carryrefundId, andcheckout.session.refundedis sent when a refund completes. - Payment analytics in the dashboard: revenue by day, by what customers paid with and by settlement, refunds, conversion and time to pay, plus a CSV export of sessions.
- Status page at status.layerhop.com and the public
GET /v1/status: live status and 90-day uptime of the API, checkout, worker, dashboard, docs, MCP server, Telegram bot and every liquidity provider, with recent incidents. Components are checked every minute and incidents alert the team by email and Telegram. - SDKs 0.5.0 (TypeScript, Python, Go, Rust): invoices,
checkout.refundsand platform status (serviceStatus()/service_status()/ServiceStatus). - All JavaScript packages are now versioned together at 0.5.0 (
@layerhop/sdk,react,widget,cli,mcp).@layerhop/react0.5.0 depends on@layerhop/sdk^0.5.0; earlier versions were pinned to the 0.3 SDK. - WordPress plugin 1.1.0: a LayerHop payment box on WooCommerce orders (live status, what the customer paid with, transactions, Check payment status now), refunds synced from
checkout.session.refunded(a full refund marks the order Refunded), a setup checklist and Test connection on the settings page, and translations. The plugin now has its own repository, layerhop/layerhop-wordpress, with release downloads.
Payments on your own site
- Embedded checkout: open the payment as a popup or inline on your website with
https://layerhop.com/checkout.js,@layerhop/widget(openCheckout,mountCheckout) or the React<LayerHopCheckout />, withpaid,cancelandstatusevents. - Products and payment buttons: a fixed price you set once, sold with
<button data-layerhop-product="prod_…">, alayerhop.com/buy/prod_…link or a QR code, with no backend. New endpointsPOST/GET /v1/checkout/products,GET/PATCH /v1/checkout/products/{id}and the publicPOST /v1/checkout/products/{id}/sessions; sessions carryproductId. - WordPress and WooCommerce plugin: a "Crypto (any token)" payment method for WooCommerce (classic and block checkout) that marks orders paid after on-chain verification, and a
[layerhop_button]shortcode for any WordPress site. - TypeScript SDK 0.4:
lh.checkout.products.
Live order status and webhook tools
- Live order status over Server-Sent Events:
GET /v1/orders/{quoteId}/eventsandGET /v1/checkout/sessions/{id}/eventspush every change and close when the order or session is final. Orders in flight are now checked every 5 seconds for the first half minute. - Webhook tools: send a realistic sample of any event type from the dashboard, rotate an endpoint's signing secret with a grace period (deliveries carry two
v1signatures meanwhile), open any delivery to see the exact request, per-endpoint health (success rate, p95 latency), and an Events log with resend. - CLI 0.2:
layerhop listen --forward-to http://localhost:3000/webhooksforwards your webhook events to your laptop (no tunnel), andlayerhop trigger order.filledsends sample test-mode events. Backed byGET /v1/webhooks/streamandPOST /v1/webhooks/trigger. - TypeScript SDK 0.3:
streamOrder,checkout.stream,webhooks.stream,webhooks.trigger. React 0.2:useOrderStream. Webhook deliveries now recorddurationMs.
Checkout: pay with any token
- New checkout sessions: set an amount in USDC or USDT on one of seven chains, send your customer to the hosted page at
layerhop.com/pay/…, and they pay with any token on any chain. LayerHop routes the payment so at least the amount due reaches your address, verifies the delivery on chain, then sendscheckout.session.completed. - Endpoints:
POST/GET /v1/checkout/sessions,GET /v1/checkout/sessions/{id},POST /v1/checkout/sessions/{id}/expire, and the payer-sidePOST /v1/checkout/sessions/{id}/quote. New webhook eventscheckout.session.processing,checkout.session.completed,checkout.session.payment_failedandcheckout.session.expired. Orders carrycheckoutSessionId. - New provider id
direct: a plain token transfer, used when the payer already holds the settlement token on the settlement chain (no LayerHop fee). - TypeScript SDK 0.2.0:
lh.checkout.create / get / list / expire / quote.
API: test mode
- New
lh_test_API keys (create them in the dashboard with Test mode on). Every request made with a test key is served by the newsandboxprovider: realistic quotes priced from live USD prices, placeholder transactions (tx.sandbox: true) that cannot move funds, and a simulated order lifecycle that fills in about 10 seconds. Magic amounts ending in4001,4002and4004produce refunds, failures andNO_ROUTE. See Test mode. - Additive fields:
livemodeon quote, order, simulation, webhook event, API key, request log and webhook endpoint objects. Dashboard endpoints take?mode=live|test, andPOST /v1/dashboard/keysandPOST /v1/dashboard/webhookstakemode. - Test-mode webhook events go only to test endpoints; test orders never count towards volume or partner earnings.
Docs
-
New API playground: send live requests from the browser with your key, get cURL, TypeScript and Python for every call, and follow the quote → build → report → track flow step by step.
-
New look: the docs now use the current LayerHop brand (logo, colors and type) shared with layerhop.com, and the header links to the swap app, layerhop.com and the dashboard.
-
Rewritten for the live platform: the hosted API, dashboard, webhooks, simulation, order lifecycle, partner fees and the 71-chain registry. Removed outdated "coming soon" notes for features that have shipped.
-
New pages: Dashboard & API keys, Telegram bot, Widget reference and Simulation.
-
Every page is available as Markdown for tools and AI assistants, alongside
/llms.txtand/llms-full.txt, with structured data and a sitemap.
2026-10-17#
Swap app and assets
- Rebuilt swap experience with token search, USD prices and wallet balances across 71 chains, including Berachain, HyperEVM, Monad and Robinhood Chain.
GET /v1/chainsis a live registry merged from the providers' chain lists (refreshed every 6 hours), with logos,explorerAddress,providersandpopular.GET /v1/tokenssearches every routable token (q,limit,cursor); tokens includename,logoURI,priceUsd,verifiedandpopular.- New:
GET /v1/tokens/lookup(on-chain metadata for unlisted tokens),GET /v1/pricesandGET /v1/balances.GET /v1/quoteaccepts any registry chain and any token address; unknown symbols returnUNSUPPORTED_TOKEN. See Chains, tokens, prices and balances. - One wallet connect modal for EVM and Solana wallets in the swap app and dashboard.
Widget
- Deep customization (embed protocol 1.1): presets, full color control, fonts, density, width, shadow and border, title and logo, chain and token allow-lists, amount and recipient locks, and options to hide parts of the card.
- New events (
routes,walletConnected,walletDisconnected,amountChanged) and an opt-insetParamsmessage from the host page. - Visual widget builder at layerhop.com/developers/widget.
- Fixed: an opaque box behind dark embeds on some host pages. See the Widget reference.
Developer platform
- Developer dashboard at dashboard.layerhop.com: wallet sign-in (EVM and Solana), API keys, usage, request logs, orders, webhooks and the partner program.
- API keys (
lh_live_…, sent asx-api-key) with per-key rate limits; anonymous requests are limited per IP. Over the limit:429 RATE_LIMITEDwithretry-after. - Webhooks:
order.submitted,order.filled,order.refunded,order.failedandwebhook.test, signed withLayerHop-Signature, retried for up to 24 hours, replayable from the dashboard. POST /v1/simulate: dry-run the transaction for a quote. See Simulation.POST /v1/orders/{quoteId}/submittedto report a broadcast, andGET /v1/orders?address=for order history. See Order tracking.- New error codes
FORBIDDEN,NOT_FOUNDandCONFLICT. - MCP server at
https://mcp.layerhop.com/mcp, also runnable over stdio. - SDKs and tools: React hooks, Python, Go and Rust clients and the
layerhopCLI, alongside the TypeScript SDK. The TypeScript SDK gainedchains(),tokens(),lookupToken(),prices(),balances(),reportSubmitted(),simulate()andlistOrders(). Registry packages are publishing soon.
Partner fees
- Registered partners earn their own fee on top of LayerHop's, selected with
integrator=<id>(API,/swap,/embed) or a partner API key, which can also setintegratorFeeBps. Quotes reportfees.integratorFeeBpsandfees.integrator. The total fee is capped at 150 bps by default. See Earn fees as a partner.
Providers
- KyberSwap added as a second EVM same-chain source, replacing Odos, which shut down.
- Jupiter fees are collected through Jupiter Swap V2
/build(any bps). Those transactions are broadcast by the wallet; the order-and-execute path withsubmitViaApiremains as a fallback. - Mayan transaction building added (Solana ↔ EVM). Mayan is held back in production and available on request.
Telegram bot
- @layerhop_bot: quotes and swap links in Telegram; the user signs on layerhop.com.
Initial release
- Public API v1:
GET /v1/health,GET /v1/chains,GET /v1/tokens,GET /v1/quote(parallel fan-out, ranked by time-adjusted output),POST /v1/orders,POST /v1/orders/submit,GET /v1/orders/{provider}/{id}. - Stable error codes with
requestIdanddocsUrl;x-request-idon every response. - Fee channels
api(20 bps),web(30),widget(30),bot(90). - OpenAPI 3.1 spec, the TypeScript SDK (
quote,buildTx,submit,status,watch), the swap app, widget, deep links and this docs site.
What is not available yet?#
Not yet available
SDK packages on npm, PyPI and crates.io (publishing soon); testnet support; a local devnet with forked chains (the CLI's
devnetruns the API with the mock provider only); a public status page; gasless (Permit2) approvals; LayerHop's own intent protocol.
Last updated