LayerHopDocsLaunch app (opens in a new tab)

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-deposits returns a one-time address for one swap, with no API key: send the exact amount to it and the output is delivered to the recipient you gave. GET /v1/swap-deposits/{id} reports waiting, received, filled, refunded, failed or expired. It is rolling out and answers FORBIDDEN until 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/bridge has allTime: 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-orders takes an EVM chain (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} returns rewards. 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/quote takes dstAmount instead of amount: 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/quote takes excludeProviders, excludeBridges and excludeExchanges to keep those out of every route. When they rule out every route you get 404 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 (then BLOCKHASH_EXPIRED). Wallets that can only sign and send still work. A wallet that returns no signature now throws WALLET_NO_SIGNATURE instead 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, planPayouts and buildPayoutTransfers (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/tokens takes chains (up to 20 chain ids or slugs, comma-separated) instead of chain: one request returns the first page of each chain, at most limit per 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 as 429 RATE_LIMITED; with nothing to fall back on you get 502 PROVIDER_ERROR. See Order tracking.

Faster "no route" answers

  • In NO_ROUTE and AMOUNT_TOO_SMALL errors from GET /v1/quote, a provider that didn't answer in time is now listed in error.details.errors with code PROVIDER_TIMEOUT (it was sometimes PROVIDER_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/lookup and GET /v1/balances now fill logoURI from 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}/quote takes srcChain: tron with a T-address sender. LayerHop checks that the reported Tron transaction is the deposit it built for that payment before the session can be paid, 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", TronTx with the prebuilt unsigned transactions; the SDKs parse and return them, a Tron wallet signs), energyUsed on simulations, gasless swaps (quote param, build / submit / status), destination calls, the referrer, copyOf, purpose, splitId, splitShare and note quote params, error.details on the API error type with parsed NO_ROUTE suggestions and the AMOUNT_TOO_SMALL minimum, token search, token lookup without a chain, token risk, prices, balances, the chain's routeHealth / onlyRoute / destinationOnly, splits, tip jars, payouts and Solana recurring orders. dropped ends watch and order streams. Swift and Rust add a case to BuiltTx and the API error (update exhaustive switch / match statements).
  • 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, gasless on get_quote (build_transaction returns the typed data and says the tools can't sign it), and NO_ROUTE suggestions 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/drafts accepts chain: "berachain" (chain id 80094) for the same kinds and with the same checks as robinhood: an EVM address, and for dev_sell and rug a creator wallet that is marked verified only when it matches the creator GoPlus reports. In the bot, /alert <0x address> on berachain rug (or move, 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 /embed widget take Tron: srcChain=tron or dstChain=tron (or the id 728126428), tokens as TRX, USDT or a T-address, and a T-address recipient for Tron. Allow-lists accept Tron entries too (fromChains=tron, fromTokens=tron:USDT), and so does the widget's setParams message. 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_ROUTE from GET /v1/quote now carries error.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) and via_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. See NO_ROUTE.
  • Blast: a quote into Blast from anything other than ETH on Ethereum is still UNSUPPORTED_CHAIN, now with a via_hub suggestion: to ETH on Ethereum first, then the canonical deposit. blast-native quotes report the Ethereum gas in USD (fees.gasUsd).
  • Relay's "Requested amount exceeds provisioned liquidity" is reported as AMOUNT_TOO_LARGE (was NO_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/tokens finds tokens that aren't on the hourly token lists yet. An unlisted address in q is read on chain and returned (verified: false; empty list if it isn't a token there). A text q with 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, with verified: false and the market price. See What about tokens that are too new for the lists?
  • GET /v1/tokens/lookup takes chain as 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 is UNSUPPORTED_TOKEN. The TypeScript SDK accepts lh.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/chains lists Tron (vm: "tvm", id 728126428).
  • 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/simulate simulates Tron transactions with triggerconstantcontract and reports energyUsed.
  • 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 tvm transaction 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 (evm or svm) 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=1 to start with "Get gas on arrival" on.
  • New GET /v1/claims and GET /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/targets lists where deposits into Polymarket, Hyperliquid, Aave v3 (Base, Arbitrum) and any pasted deposit address land; POST /v1/fund/polymarket/address returns a Polymarket wallet's bridge address from Polymarket's Bridge API. GET /v1/yields?asset=USDC|USDT lists current supply rates of verified Aave v3, Compound v3, Morpho and Spark vaults (on-chain reads and Morpho's API); POST /v1/yields/{id}/deposit returns the approve + supply / deposit calls for the user's own wallet, simulated first (CALLS_REVERTED on 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/drafts takes three kinds without a token: yield (another vault pays pct APY points more), drift (wallets drifted pct points from target weights) and reminder (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 purpose also takes rebalance and fund (attribution only).
  • New: monthly statements for merchants: GET /v1/dashboard/statements?month=YYYY-MM&format=json|csv|pdf and 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 / getAtomicBatchStatus report supported, ready (an EIP-7702 upgrade the wallet offers) or none; wallet_sendCalls never 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/quote and POST /v1/quote take copyOf (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's QuoteParams has copyOf.
  • New: GET /v1/trade-feed lists 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/swap links unfurl as an image of the live quote and, on Farcaster, as a Mini App that uses the Farcaster wallet. POST /v1/social/farcaster/webhook receives Neynar's signed webhooks.
  • New: Built on LayerHop at layerhop.com/ecosystem: POST /v1/ecosystem submits a project (logo fetched once over https from a public host and checked by content), GET /v1/ecosystem lists 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 stayed submitted until the 24-hour timeout. See What happens when a transaction is dropped?
  • New webhook event order.dropped. GET /v1/orders/{provider}/{id} answers state: "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}/submitted and the order goes back to submitted.
  • 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/preview explains a raw EVM transaction (simulated with eth_simulateV1, debug_traceCall or eth_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/reports files 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} and GET /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 at GET /v1/admin/reports and POST /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/drafts takes four new kinds, with defaults filled in and returned by GET /v1/alerts/drafts/{id}: rug (the main pool loses pct % of its liquidity within an hour, or the token's risk check turns danger; an optional creator also starts a dev-sell watch), unlock (vesting unlocks of at least minPct % of circulating supply or minUsd, leadDays ahead, from DefiLlama's emissions data), move (pct % within window 1h or 24h) and gap (a token LayerHop lists on several chains is pct % cheaper on another chain). New request fields pct, window, minPct, minUsd, leadDays; out-of-range values are INVALID_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/splits creates a split (who is owed, as an address, ENS or .sol name; 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, paid within 0.5%) from filled orders; PATCH /v1/splits/{id} with x-edit-token renames 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/quote and POST /v1/quote take purpose (tip, split, payout, gather), splitId + splitShare (checked against the split; CONFLICT once it is closed) and note (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's QuoteParams has 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/plan checks 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/transfers builds 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/wagmi adds sendWalletCalls.
  • 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/transfers refuses 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: sendWalletCalls and sendEvmTx fall back to one transaction per call only when the wallet refuses wallet_sendCalls; once it accepted the batch, an unclear outcome throws BatchPendingError with the batch id, and checkWalletCalls looks 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_function stays 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 -32000 is 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, /quote and /track are 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, as level (ok, caution, danger or unknown) plus reasons (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, and fake_symbol for a token using a major's symbol (USDC, USDT, ETH, WETH, SOL …) at an address that isn't the real one. Listed majors answer ok without 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 danger token 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 carry execution: 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) gain dstAmountMin and dstAmountReceived. See Did I get what the quote promised?.
  • New public provider scoreboard, GET /v1/transparency/providers?days=7|30 and 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|cointracker downloads a wallet's swaps (or several wallets', merged) with both legs matched; GET /v1/dashboard/orders.csv does 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 .sol name or an address) lets anyone pay you from any chain and token; you receive your preferred token, set with the ENS text record com.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/claim builds the next transaction (execute, prove or finalize), simulated from the sender before it is returned; GET /v1/recover/chains lists 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. Answers FORBIDDEN until the deployment sets GAS_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_scam and fake_token (danger), tax_modifiable, selfdestruct, external_call, closable and no_trading_data (caution); a report without a honeypot test is no longer ok.
  • 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-health probe rows can have tokenKind: 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_ROUTE now 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 signGasless before 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. signGasless now takes expect (what you asked for) and throws GASLESS_UNSAFE otherwise; gaslessProblems is 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) and GASLESS_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 get QUOTE_EXPIRED with "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 carry verified, 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/metadata takes an optional chain (solana by default, or robinhood, base, arbitrum). On the EVM chains mint and creator are 0x addresses, stored lowercase, and a token counts as created once its address has contract code there. Responses and GET /v1/launch/metadata rows now include chain; mints accepts 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}/card and GET /v1/portfolio/{address}/trades: new srcVerified / dstVerified (the token is listed) and srcTxVerified (the source transaction was checked on chain). Unlisted tokens get symbol: null and 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}/trades shows 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 referrer equal to its recipient is now ignored too.
  • POST /v1/alerts/drafts: optional purpose: "stop_loss" (with op: "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; null when 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 with address. 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 at app.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/drafts and GET /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 open https://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: optional tokens (at most 20 chainId: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 in errors. Optional fresh=1 reloads 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 Metaplex uri. New error code LAUNCH_IMAGE_INVALID.
  • New GET /v1/launch/metadata/{mint}.json, GET /v1/launch/metadata/{mint}/image and GET /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: optional referrer (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: new routeHealth per chain (in, out, status, checkedAt). LayerHop probes every chain about every 2 hours with small read-only quotes in both directions; a direction turns failing after two failed runs in a row and recovers after one success. status is ok, deposit_only, withdraw_only, unavailable or unknown. See Tokens & balances.
  • GET /v1/quote / POST /v1/quote: a quote that fails because the amount is below the providers' minimum now answers AMOUNT_TOO_SMALL with error.details.minAmount, minAmountUsd and minAmountApprox (previously often NO_ROUTE). See Error handling.
  • NO_ROUTE says 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 only labels, 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_ERROR before, and is now NO_ROUTE, or AMOUNT_TOO_SMALL with 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: new onlyRoute field on chains every provider serves through one fixed route (Blast). Blast is destinationOnly.
  • 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 an onlyRoute chain by another route fail fast with UNSUPPORTED_CHAIN instead of NO_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: api 10 bps (was 20), web 15 (was 30), widget 15 (was 30), bot 45 (was 90). Deposit addresses use the api channel 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.ourFeeBps still 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}/submitted checks 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 is INVALID_PARAMS; a hash not visible yet is recorded as provisional (verified: false in 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/quote and POST /v1/quote: sender and recipient must be addresses of their chains, the same token on the same chain is refused, and integratorFeeBps must be >= 0 (all INVALID_PARAMS, previously often NO_ROUTE). amount above 2^256 - 1 is AMOUNT_TOO_LARGE; leading zeros are ignored.
  • A quote that fails with NO_ROUTE now carries the per-provider reasons in error.details.errors. When every provider rejected the amount as too small or too large, the code is AMOUNT_TOO_SMALL / AMOUNT_TOO_LARGE.
  • New warnings on quote responses: GAS_ON_ARRIVAL_UNAVAILABLE when gas on arrival was requested but no quote delivers it.
  • GET /v1/orders/{provider}/{id}: a malformed id is INVALID_PARAMS for every provider; a well-formed unknown id is state: "unknown".
  • Unknown paths return the NOT_FOUND error JSON instead of a plain-text 404.

2026-10-19#

JavaScript SDKs 0.7.0

  • New packages on npm: @layerhop/wagmi and @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/agentkit and @layerhop/goat.
  • @layerhop/sdk: verifyWebhookSignature and constructWebhookEvent for webhooks, destination calls on quotes, and streams that work in React Native.
  • @layerhop/widget: the /react entry's type declarations now match its JavaScript (0.6.0 declared helpers such as isValidIntegrator that 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 dev starts a local mock API for offline development and CI: the core quote → build → report → status flow with fixed prices, test-mode outcomes (4001 refunds, 4002 fails, 4004 has no route), signed order.* webhooks to --webhook-url, and optional Anvil forks of EVM chains with --fork. It ships in the next @layerhop/cli release.
  • The setup-layerhop GitHub Action starts the mock API in a CI job and exports LAYERHOP_API_URL (published as layerhop/setup-layerhop alongside 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, and useWalletReturn tells you when the user comes back.
  • @layerhop/sdk now works in React Native, including live streams: streamOrder, checkout.stream and useOrderStream read Server-Sent Events over XMLHttpRequest when fetch can't stream. The new streaming option overrides this choice.
  • New Swift SDK (LayerHop Swift 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() and executeQuoteWithWalletClient for viem wallet clients. When the wallet supports EIP-5792 atomic batching, the approval, swap and any extraTxs go in one confirmation. Other wallets get sequential transactions. See Wallets.
  • @layerhop/solana: executeSolanaQuote with 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/cli and @layerhop/mcp on npm, layerhop on PyPI and crates.io, and github.com/layerhop/layerhop-go v0.6.0.
  • New in every SDK: deposit addresses, subscriptions, limit orders, gas on arrival on quotes, extraTxs on EVM transactions, depositAddressId / limitOrderId on orders, and the subscription.* / limit_order.* webhook events. The CLI adds layerhop 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 solana creates a deposit address that converts what you send and delivers it to your wallet, with refund protection and notifications when deposits complete; /addresses lists yours.
  • /invite gives 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: 50 and a srcAmount that includes the fee.
  • Non-custodial: on Solana the fee is a second transfer in the same transaction; on EVM chains EvmTx has a new optional extraTxs array (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 (or gasOnArrivalUsd=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 carry gasOnArrival and rank first. TypeScript SDK quote({ gasOnArrival }); the swap app and widget have a "Get gas on arrival" switch (widget gasOnArrival=1 starts it on).
  • Deposit to Hyperliquid from any EVM chain: dstChain=hyperliquid (id 1337) with dstToken=USDC lands in the recipient's perps balance, through a swap or a deposit address. Hyperliquid is a destination only; GET /v1/chains marks it destinationOnly: 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_due with 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, /pause and /resume. New webhook events subscription.created, subscription.renewed, subscription.past_due and subscription.canceled (with samples); invoices carry subscriptionId.
  • Dashboard: Payments → Subscriptions. TypeScript SDK: lh.subscriptions. CLI: layerhop trigger subscription.*.
  • Webhook endpoints can now subscribe explicitly to every event type, including checkout.session.refunded and invoice.*.

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}/cancel and, in test mode, POST /v1/limit-orders/{id}/simulate. Each fill becomes an order (quoteId starting with lof_, limitOrderId set). New webhook events limit_order.opened, limit_order.filled, limit_order.cancelled, limit_order.expired and limit_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 refundTo address. 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}/disable and, in test mode, POST /v1/deposit-addresses/{id}/simulate. Each deposit becomes an order (quoteId starting with dep_) with the usual order.* webhooks; orders carry depositAddressId.
  • 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.csv lists 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 at layerhop.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). Endpoints POST/GET /v1/invoices, GET/PATCH /v1/invoices/{id}, POST /v1/invoices/{id}/send, POST /v1/invoices/{id}/void, and the public GET /v1/invoices/{id}/public and POST /v1/invoices/{id}/pay. New webhook events invoice.sent and invoice.paid; sessions carry invoiceId.
  • Refunds: refund a paid checkout session in full or in part with POST /v1/checkout/sessions/{id}/refunds (list with GET) 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 carry refundedAmount, orders carry refundId, and checkout.session.refunded is 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.refunds and platform status (serviceStatus() / service_status() / ServiceStatus).
  • All JavaScript packages are now versioned together at 0.5.0 (@layerhop/sdk, react, widget, cli, mcp). @layerhop/react 0.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 />, with paid, cancel and status events.
  • Products and payment buttons: a fixed price you set once, sold with <button data-layerhop-product="prod_…">, a layerhop.com/buy/prod_… link or a QR code, with no backend. New endpoints POST/GET /v1/checkout/products, GET/PATCH /v1/checkout/products/{id} and the public POST /v1/checkout/products/{id}/sessions; sessions carry productId.
  • 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}/events and GET /v1/checkout/sessions/{id}/events push 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 v1 signatures 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/webhooks forwards your webhook events to your laptop (no tunnel), and layerhop trigger order.filled sends sample test-mode events. Backed by GET /v1/webhooks/stream and POST /v1/webhooks/trigger.
  • TypeScript SDK 0.3: streamOrder, checkout.stream, webhooks.stream, webhooks.trigger. React 0.2: useOrderStream. Webhook deliveries now record durationMs.

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 sends checkout.session.completed.
  • Endpoints: POST/GET /v1/checkout/sessions, GET /v1/checkout/sessions/{id}, POST /v1/checkout/sessions/{id}/expire, and the payer-side POST /v1/checkout/sessions/{id}/quote. New webhook events checkout.session.processing, checkout.session.completed, checkout.session.payment_failed and checkout.session.expired. Orders carry checkoutSessionId.
  • 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 new sandbox provider: 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 in 4001, 4002 and 4004 produce refunds, failures and NO_ROUTE. See Test mode.
  • Additive fields: livemode on quote, order, simulation, webhook event, API key, request log and webhook endpoint objects. Dashboard endpoints take ?mode=live|test, and POST /v1/dashboard/keys and POST /v1/dashboard/webhooks take mode.
  • 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.txt and /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/chains is a live registry merged from the providers' chain lists (refreshed every 6 hours), with logos, explorerAddress, providers and popular.
  • GET /v1/tokens searches every routable token (q, limit, cursor); tokens include name, logoURI, priceUsd, verified and popular.
  • New: GET /v1/tokens/lookup (on-chain metadata for unlisted tokens), GET /v1/prices and GET /v1/balances. GET /v1/quote accepts any registry chain and any token address; unknown symbols return UNSUPPORTED_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-in setParams message 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 as x-api-key) with per-key rate limits; anonymous requests are limited per IP. Over the limit: 429 RATE_LIMITED with retry-after.
  • Webhooks: order.submitted, order.filled, order.refunded, order.failed and webhook.test, signed with LayerHop-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}/submitted to report a broadcast, and GET /v1/orders?address= for order history. See Order tracking.
  • New error codes FORBIDDEN, NOT_FOUND and CONFLICT.
  • MCP server at https://mcp.layerhop.com/mcp, also runnable over stdio.
  • SDKs and tools: React hooks, Python, Go and Rust clients and the layerhop CLI, alongside the TypeScript SDK. The TypeScript SDK gained chains(), tokens(), lookupToken(), prices(), balances(), reportSubmitted(), simulate() and listOrders(). 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 set integratorFeeBps. Quotes report fees.integratorFeeBps and fees.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 with submitViaApi remains 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 requestId and docsUrl; x-request-id on 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 devnet runs the API with the mock provider only); a public status page; gasless (Permit2) approvals; LayerHop's own intent protocol.

Last updated