Function createTransferWrappedInstruction
- createTransferWrappedInstruction(connection, tokenBridgeProgramId, wormholeProgramId, payer, message, from, fromOwner, tokenChain, tokenAddress, nonce, amount, fee, targetAddress, targetChain): TransactionInstruction
-
Parameters
-
connection: Connection
-
tokenBridgeProgramId: PublicKeyInitData
-
wormholeProgramId: PublicKeyInitData
-
payer: PublicKeyInitData
-
message: PublicKeyInitData
-
from: PublicKeyInitData
-
fromOwner: PublicKeyInitData
-
tokenChain: number
-
tokenAddress: Uint8Array | Buffer
-
nonce: number
-
amount: bigint
-
fee: bigint
-
targetAddress: Uint8Array | Buffer
-
targetChain: number
Returns TransactionInstruction