Hierarchy

Properties

addChain?: ((chain) => Promise<void>)

Type declaration

    • (chain): Promise<void>
    • Parameters

      • chain: Chain

      Returns Promise<void>

address?: string
chainId?: ChainId
chainType?: ChainTypes
connect: (() => Promise<void>)

Type declaration

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

getAddressUrl?: ((chain, address) => string)

Type declaration

    • (chain, address): string
    • Parameters

      • chain: Chain
      • address: string

      Returns string

getHashFromTx?: ((txResponse) => string)

Type declaration

getTxUrl?: ((chain, txHash) => string)

Type declaration

    • (chain, txHash): string
    • Parameters

      • chain: Chain
      • txHash: string

      Returns string

getWeb3Provider?: (() => Web3Provider)

Type declaration

    • (): Web3Provider
    • Returns Web3Provider

init: (() => Promise<void>)

Type declaration

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

isConnected: boolean
signAndSendTx: ((txRequestBody) => Promise<TransactionResponse>)

Type declaration

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

Type declaration

    • (message): Promise<string>
    • Parameters

      • message: string

      Returns Promise<string>

switchChain: ((chainId) => Promise<void>)

Type declaration

    • (chainId): Promise<void>
    • Parameters

      • chainId: ChainId

      Returns Promise<void>

Methods

Generated using TypeDoc