redeemOnEthWithType()

Initiates transaction to receive tokens from the contract on EVM for USDC Tokens that are supported via Circle's CCTP (https://developers.circle.com/stablecoins/supported-domains).

Method Parameters

tokenBridgeAddress: string

Ethereum bridge contract address

signer: ethers.Signer

ethers js Signer

signedVAA: Uint8Array

Parsed signed VAA

messageType: string

receiving message type ("CCTP")

messagePayload: string

receiving message payload

network: string

network to use ("WORMHOLE"/"MESSINA")

Returns

Returns ethers js ethers.ContractReceipt

Usage

Last updated