Receive Messages
The on-chain API for receiving cross-chain messages
Interface
/*
* @notice Receive a message from a sender on the origin domain
* @param _origin Domain of the origin chain
* @param _nonce Unique nonce for the (origin, destination) tuple.
* @param _sender Address of sender on origin chain as bytes32
* @param _message Raw bytes content of message
*/
function handle(
uint32 _origin,
uint32 _nonce,
bytes32 _sender,
bytes memory _message
) external;Hello World
Example Usage
Advanced Examples
FAQs
Last updated