# Function createTransferWrappedWithPayloadInstruction

- createTransferWrappedWithPayloadInstruction(connection, tokenBridgeProgramId, wormholeProgramId, payer, message, from, fromOwner, tokenChain, tokenAddress, nonce, amount, targetAddress, targetChain, payload): 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

  - ##### targetAddress: Uint8Array | Buffer

  - ##### targetChain: number

  - ##### payload: Uint8Array | Buffer

  #### Returns TransactionInstruction

  - Defined in platforms/solana/protocols/tokenBridge/src/utils/tokenBridge/instructions/transferWrappedWithPayload.ts:19

Generated using TypeDoc