The options to use when sending a transaction.

Hierarchy

Properties

commitment?: Commitment

The commitment level to use when fetching data.

id?: string

An explicit RPC request identifier.

maxRetries?: number

The maximum number of retries to use.

minContextSlot?: number

The minimum slot to use when fetching data.

preflightCommitment?: Commitment

The commitment level to use for the preflight check.

An abort signal to prematurely cancel the request.

skipPreflight?: boolean

Whether to skip the preflight check.

txSender?: ((txs: Transaction[]) => Promise<Uint8Array[]>)

Type declaration

    • (txs: Transaction[]): Promise<Uint8Array[]>
    • custom tx sender which returns the signatures of the transaction

      Parameters

      Returns Promise<Uint8Array[]>

Generated using TypeDoc