@lightprotocol/stateless.js - v0.22.1-alpha.1
    Preparing search index...

    Function buildAndSignTx

    • Builds a versioned Transaction from instructions and signs it.

      Parameters

      • instructions: TransactionInstruction[]

        instructions to include in the transaction

      • payer: Signer

        payer of the transaction

      • blockhash: string

        recent blockhash to use in the transaction

      • additionalSigners: Signer[] = []

        non-feepayer signers to include in the transaction

      • OptionallookupTableAccounts: AddressLookupTableAccount[]

        lookup table accounts to include in the transaction

      Returns VersionedTransaction