transferFromEth()
Initiates transaction to transfer tokens to the contract on EVM
Method Parameters
tokenBridgeAddress: string
Ethereum bridge contract address
signer: ethers.Signer
ethers js Signer
tokenAddress: string
Ethereum token address
amount: ethers.BigNumberish
Amount to be bridged (ethers js BigNumberish)
recipientChain: ChainId | ChainName
Destination chain
recipientAddress: Uint8Array
Destination address
network: string
network to use ("WORMHOLE"/"MESSINA")
Returns
Returns ethers js ethers.ContractReceipt
Usage
Last updated