Skip to content
LayerHop

LayerHop guide · Updated

What is gas on arrival, and when should you use it?

Gas on arrival delivers a small amount of the destination chain's native coin (ETH on Base, POL on Polygon and so on) together with your swap, so you can use what you received without first finding gas. It is about $2 by default and is paid out of the swap, so the main output is a little lower. It applies to cross-chain routes into an EVM chain.

How to turn it on

  1. 1

    Open a cross-chain swap into an EVM chain

    For example USDC on Ethereum to USDC on Base.

  2. 2

    Switch on gas on arrival

    In the swap app and the widget it is a switch. Through the API it is the gasOnArrival=true quote parameter, or gasOnArrivalUsd to choose the amount.

  3. 3

    Read the quote

    A quote that includes it reports what it adds, in the native coin and in dollars, and the amount of the main token you receive is lower by that much.

What it costs and how long it takes

Cost

Gas on arrival adds about $2 of the destination chain's native coin to the delivery (you can ask for $0.5 to $20), paid out of the swap. It applies to cross-chain routes into an EVM chain when you are not already receiving the native coin, and today only Relay routes deliver it. Because it is paid out of the swap, you receive a little less of the token you chose. LayerHop's own fee does not change.

Time

The gas is delivered together with the swap output, not later.

Common mistakes

  • Expecting it on Solana: it does not apply to Solana destinations.
  • Expecting it when the output is already the native coin: it is not needed there.
  • Assuming every route delivers it: today only Relay does, and when no returned quote includes it the response says so.
  • Asking for it together with an exact-output (receive an exact amount) request: that combination is not supported.

Questions

How much gas do I get?

$2 worth by default. You can ask for $0.5 to $20.

Does it cost extra?

It is paid out of the swap, so you receive that much less of your main token. LayerHop's own fee does not change.

What if the route cannot deliver it?

The parameter is ignored, never an error, and the API response carries a GAS_ON_ARRIVAL_UNAVAILABLE warning.

Do I still need gas on the source chain?

Yes. Gas on arrival covers the destination chain only.

Ready when you are.

LayerHop never holds your funds: you review the quote and sign in your own wallet.