ethers.js/packages/experimental/lib.esm/nonce-manager.d.ts

17 lines
934 B
TypeScript
Raw Permalink Normal View History

2019-05-14 18:48:48 -04:00
import { ethers } from "ethers";
export declare class NonceManager extends ethers.Signer {
readonly signer: ethers.Signer;
2019-11-20 18:57:38 +09:00
_initialPromise: Promise<number>;
_deltaCount: number;
2019-05-14 18:48:48 -04:00
constructor(signer: ethers.Signer);
2020-04-03 22:13:06 -04:00
get provider(): ethers.providers.Provider;
2019-05-14 18:48:48 -04:00
connect(provider: ethers.providers.Provider): NonceManager;
getAddress(): Promise<string>;
getTransactionCount(blockTag?: ethers.providers.BlockTag): Promise<number>;
setTransactionCount(transactionCount: ethers.BigNumberish | Promise<ethers.BigNumberish>): void;
incrementTransactionCount(count?: number): void;
signMessage(message: ethers.Bytes | string): Promise<string>;
2020-06-01 05:04:12 -04:00
signTransaction(transaction: ethers.utils.Deferrable<ethers.providers.TransactionRequest>): Promise<string>;
sendTransaction(transaction: ethers.utils.Deferrable<ethers.providers.TransactionRequest>): Promise<ethers.providers.TransactionResponse>;
2019-05-14 18:48:48 -04:00
}