Optional config?: TxHandlerConfigOptional opts?: { Optional onOptional preOptional returnPrivate blockPrivate blockPrivate blockhashPrivate confirmationPrivate connectionPrivate Optional onPrivate Optional prePrivate returnPrivate walletPrivate _generatePrivate addBuilds and signs transactions from a given array of instructions for multiple transactions.
Accepts multiple instructions and builds a transaction for each. Prevents needing to spam RPC with requests for the same blockhash.
Accepts multiple instructions and builds a transaction for each. Prevents needing to spam RPC with requests for the same blockhash.
Optional recentBlockhash: Readonly<{ Optional wallet: IWalletOptional wallet: IWalletPrivate getCreated this to prevent non-finalized blockhashes being used when building transactions. We want to always use finalized because otherwise it's easy to get the BlockHashNotFound error (RPC uses finalized to validate a transaction). Using an older blockhash when building transactions should never really be a problem right now.
Get a map of signed and prepared transactions from an array of legacy transactions
Optional wallet: IWalletOptional commitment: CommitmentOptional recentBlockhash: Readonly<{ Private getGets transaction params with extra processing applied, like using the simulated compute units or using a dynamically calculated compute unit price.
Private getGet a map of signed transactions from an array of transactions to sign.
Optional wallet: IWalletPrivate getPrivate handlePrivate isPrivate isApplies recent blockhash and signs a given transaction
Optional wallet: IWalletOptional confirmationOpts: ConfirmOptionsOptional preSigned: booleanOptional recentBlockhash: Readonly<{ Private signOptional recentBlockhash: Readonly<{ Optional wallet: IWalletGenerated using TypeDoc
This class is responsible for creating and signing transactions.