Constructors

Properties

commitment: Commitment = "confirmed"
connection: Connection
wallet: Wallet

Methods

  • Parameters

    • transactions: (Transaction | VersionedTransaction)[]
    • lastValidBlockHeight: number
    • blockhash: string
    • parallel: boolean = true

    Returns () => Promise<PromiseSettledResult<string>[]>

  • Parameters

    • transaction: Transaction | VersionedTransaction
    • lastValidBlockHeight: number
    • blockhash: string

    Returns Promise<string>

  • Parameters

    Returns Promise<
        {
            execute: () => Promise<string>;
            signedTx: Transaction | VersionedTransaction;
        },
    >

  • Parameters

    Returns Promise<
        {
            execute: () => Promise<PromiseSettledResult<string>[]>;
            signedTxs: (Transaction | VersionedTransaction)[];
        },
    >

  • Parameters

    Returns Promise<
        {
            blockhash: string;
            lastValidBlockHeight: number;
            transaction: Transaction
            | VersionedTransaction;
        },
    >

  • Parameters

    Returns Promise<
        {
            blockhash: string;
            lastValidBlockHeight: number;
            transactions: (Transaction | VersionedTransaction)[];
        },
    >