Methods
getSuggestedPriorityFeeMultiplier
- getSuggestedPriorityFeeMultiplier(): number
-
Returns number
getTimeoutCount
- getTimeoutCount(): number
-
Returns number
getTxLandRate
- getTxLandRate(): number
-
Returns number
getVersionedTransaction
- getVersionedTransaction(ixs: TransactionInstruction[], lookupTableAccounts: AddressLookupTableAccount[], additionalSigners?: Signer[], opts?: ConfirmOptions, blockhash?: Readonly<{
blockhash: string;
lastValidBlockHeight: number;
}>): Promise<VersionedTransaction>
-
Parameters
-
ixs: TransactionInstruction[]
-
lookupTableAccounts: AddressLookupTableAccount[]
-
Optional
additionalSigners: Signer[]
-
Optional
opts: ConfirmOptions
-
Optional
blockhash: Readonly<{
blockhash: string;
lastValidBlockHeight: number;
}>
Returns Promise<VersionedTransaction>
send
- send(tx: Transaction, additionalSigners?: Signer[], opts?: ConfirmOptions, preSigned?: boolean): Promise<TxSigAndSlot>
-
Parameters
-
tx: Transaction
-
Optional
additionalSigners: Signer[]
-
Optional
opts: ConfirmOptions
-
Optional
preSigned: boolean
sendRawTransaction
- sendRawTransaction(rawTransaction: Uint8Array | Buffer, opts: ConfirmOptions): Promise<TxSigAndSlot>
-
Parameters
-
rawTransaction: Uint8Array | Buffer
-
opts: ConfirmOptions
sendVersionedTransaction
- sendVersionedTransaction(tx: VersionedTransaction, additionalSigners?: Signer[], opts?: ConfirmOptions, preSigned?: boolean): Promise<TxSigAndSlot>
-
Parameters
-
tx: VersionedTransaction
-
Optional
additionalSigners: Signer[]
-
Optional
opts: ConfirmOptions
-
Optional
preSigned: boolean
simulateTransaction
- simulateTransaction(tx: VersionedTransaction): Promise<boolean>
-
Returns Promise<boolean>