Search…
Common Errors and Handling
The most common error is not sending the gas fee when calling send(..., {value: fee})
Are you getting this error when sending a message?
LayerZero: not enough native for fees
When sending a message via the endpoint send() you must pass a value so LayerZero is compensated for the extra gas required to deliver the transaction to the destination chain.
This msg.value refers to the parameter of the transaction that sends the native gas token.
The parameters for estimateFees and send() MUST be the same
Rule of Thumb: if you have an estimateFee value that works, try to send a transaction with (value - 1). it should revert.
You can get a quote for any LayerZero message.
Copy link