Umi — API References - v1.3.0
    Preparing search index...

    Interface Signer

    Defines a public key that can sign transactions and messages.

    interface Signer {
        publicKey: PublicKey;
        signAllTransactions: (
            transactions: Transaction[],
        ) => Promise<Transaction[]>;
        signMessage: (message: Uint8Array) => Promise<Uint8Array<ArrayBufferLike>>;
        signTransaction: (transaction: Transaction) => Promise<Transaction>;
    }
    Index

    Properties

    publicKey: PublicKey

    The public key of the Signer.

    signAllTransactions: (transactions: Transaction[]) => Promise<Transaction[]>

    Signs all the given transactions at once.

    signMessage: (message: Uint8Array) => Promise<Uint8Array<ArrayBufferLike>>

    Signs the given message.

    signTransaction: (transaction: Transaction) => Promise<Transaction>

    Signs the given transaction.