Get send fee

Get send fee on LayerZero

Base
Base

Reads onchain state

Reads the fee, in ether, that LayerZero charges to send a token to an address on another chain through its OFT. The OFT quotes exactly the transfer a send encodes, so this is what the send would pay in the same block. Reach for it to gate a cross-chain send on the fee staying below a share of the amount moved.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on LayerZero · 1

On other protocols · 1