IERC7786Recipient
Interface for the ERC-7786 client contract (receiver).
Functions
receiveMessage
Endpoint for receiving cross-chain message.
This function may be called directly by the gateway.
function receiveMessage(
bytes32 receiveId,
bytes calldata sender, // Binary Interoperable Address
bytes calldata payload
)
external
payable
returns (bytes4);Parameters
| Name | Type | Description |
|---|---|---|
| receiveId | bytes32 | |
| sender | bytes | |
| payload | bytes |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | bytes4 |