On this page

Fees

A transfer pays a native fee and may deduct a token fee:

msg.value = LayerZero message fee + asset flat fee
received tokens = transferable amount - token fee

The flat fee defaults to the router's minFlatFee and must stay between its immutable minFlatFee and maxFlatFee. Bounds are native units, not a live USD price. The owner may set a token fee up to 100 bps (1%). Fees are configured independently per chain.

Splits

FeeProtocolAsset creator
Flat native fee50%50%
Token fee5%95%

Rounding applies in integer token units. quoteOFT is authoritative for the token amount and quoteSend for total native value.

Configure and claim

The creator uses setFees on the chain it applies to, or setRemoteFees from the origin for a destination, paying the Lens quote for remote messages. Read destination bounds before sending: an invalid remote action can emit OwnerActionRejected even though its message is delivered.

Read ownerNativeFees(assetId) and ownerTokenFees(assetId) on each router. The creator calls claimFees(assetId, recipient) on the chain where fees accrued, or withdrawRemoteFees(assetId, eid, recipient, extraOptions) from the origin to claim on a remote chain. The recipient is paid on that remote chain, not bridged back.

Fees already charged on the source are not refunded by restore. Source transaction gas and recovery messaging costs are additional.