Function createSyncNativeInstruction

  • Construct a SyncNative instruction

    Parameters

    • account: PublicKey

      Native account to sync lamports from

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc