# Function createTransferNativeTokensWithRelayInstruction

- createTransferNativeTokensWithRelayInstruction(connection, programId, payer, tokenBridgeProgramId, wormholeProgramId, mint, amount, toNativeTokenAmount, recipientAddress, recipientChain, batchId, wrapNative): Promise<TransactionInstruction>

- #### Parameters

  - ##### connection: Connection

  - ##### programId: PublicKeyInitData

  - ##### payer: PublicKeyInitData

  - ##### tokenBridgeProgramId: PublicKeyInitData

  - ##### wormholeProgramId: PublicKeyInitData

  - ##### mint: PublicKeyInitData

  - ##### amount: bigint

  - ##### toNativeTokenAmount: bigint

  - ##### recipientAddress: Uint8Array

  - ##### recipientChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky"

  - ##### batchId: number

  - ##### wrapNative: boolean

  #### Returns Promise<TransactionInstruction>

  - Defined in platforms/solana/protocols/tokenBridge/src/utils/automaticTokenBridge/instructions/transferNativeTokensWithRelay.ts:21

Generated using TypeDoc