ILayerZeroReceiver

Git Source

Functions

lzReceive

LayerZero endpoint will invoke this function to deliver the message on the destination

function lzReceive(uint16 srcChainId, bytes calldata srcAddress, uint64 nonce, bytes calldata payload) external;

Parameters

NameTypeDescription
srcChainIduint16The source endpoint identifier
srcAddressbytesThe source sending contract address from the source chain
nonceuint64The ordered message nonce
payloadbytesThe signed payload is the UA bytes has encoded to be sent