UNPKG

873 BTypeScriptView Raw
1import { ethers } from "ethers";
2export declare class SignerWithAddress extends ethers.Signer {
3 readonly address: string;
4 private readonly _signer;
5 static create(signer: ethers.providers.JsonRpcSigner): Promise<SignerWithAddress>;
6 private constructor();
7 getAddress(): Promise<string>;
8 signMessage(message: string | ethers.utils.Bytes): Promise<string>;
9 signTransaction(transaction: ethers.utils.Deferrable<ethers.providers.TransactionRequest>): Promise<string>;
10 sendTransaction(transaction: ethers.utils.Deferrable<ethers.providers.TransactionRequest>): Promise<ethers.providers.TransactionResponse>;
11 connect(provider: ethers.providers.Provider): SignerWithAddress;
12 _signTypedData(...params: Parameters<ethers.providers.JsonRpcSigner["_signTypedData"]>): Promise<string>;
13 toJSON(): string;
14}
15//# sourceMappingURL=signers.d.ts.map
\No newline at end of file