Interface WalletClient

Wallet client interface

interface WalletClient {
    enable: ((chainIds) => Promise<void>);
    getAccount: ((chainId) => Promise<Account>);
    getSigner: ((chainId) => Promise<Signer>);
}

Properties

enable: ((chainIds) => Promise<void>)

Type declaration

    • (chainIds): Promise<void>
    • Parameters

      • chainIds: string | string[]

      Returns Promise<void>

getAccount: ((chainId) => Promise<Account>)

Type declaration

    • (chainId): Promise<Account>
    • Parameters

      • chainId: string

      Returns Promise<Account>

getSigner: ((chainId) => Promise<Signer>)

Type declaration

    • (chainId): Promise<Signer>
    • Parameters

      • chainId: string

      Returns Promise<Signer>