interface Wallet {
    publicKey: PublicKey;
    signAllTransactions<T extends Transaction | VersionedTransaction>(
        txs: T[],
    ): Promise<T[]>;
    signTransaction<T extends Transaction | VersionedTransaction>(
        tx: T,
    ): Promise<T>;
}

Implemented by

Properties

publicKey: PublicKey

Methods

  • Type Parameters

    • T extends Transaction | VersionedTransaction

    Parameters

    • txs: T[]

    Returns Promise<T[]>

  • Type Parameters

    • T extends Transaction | VersionedTransaction

    Parameters

    • tx: T

    Returns Promise<T>