interface Signer {
    getAddress: (() => Promise<string>);
    getBlockNumber: (() => undefined | number);
    getChainId: (() => undefined | number);
    signMessage: ((message) => Promise<string>);
    walletType: (() => undefined | WalletType);
}

Properties

getAddress: (() => Promise<string>)

Type declaration

    • (): Promise<string>
    • Returns Promise<string>

getBlockNumber: (() => undefined | number)

Type declaration

    • (): undefined | number
    • Returns undefined | number

getChainId: (() => undefined | number)

Type declaration

    • (): undefined | number
    • Returns undefined | number

signMessage: ((message) => Promise<string>)

Type declaration

    • (message): Promise<string>
    • Parameters

      • message: string

      Returns Promise<string>

walletType: (() => undefined | WalletType)

Type declaration

Generated using TypeDoc