prepare_receive_message
Documentation for eth_defi.cctp.receive.prepare_receive_message function.
- prepare_receive_message(web3, message, attestation)
Build a bound
receiveMessage()call on MessageTransmitterV2.This relays the attestation to the destination chain, causing USDC to be minted to the recipient specified in the original
depositForBurn()call.Anyone can call this function (unless
destinationCallerwas set in the original burn). No special permissions are required.- Parameters
- Returns
Bound contract function ready to be transacted
- Return type
web3.contract.contract.ContractFunction