• Returns {
        addChain: ((chain: Chain) => Promise<void>);
        address?: Ref<undefined | string>;
        chainDetails?: Ref<undefined | {
            explorerUrl: string;
            icon: string;
            id: ChainId;
            name: string;
            rpcUrl: string;
            token: { name: string; symbol: string; decimals: number; };
            type: CHAIN_TYPES;
        }>;
        chainId?: Ref<undefined | ChainId>;
        chainType?: Ref<undefined | string>;
        connect: (() => Promise<void>);
        disconnect: (() => Promise<void>);
        getAddressUrl: ((chain: Chain, address: string) => undefined | string);
        getHashFromTx: ((txResponse: TransactionResponse) => undefined | string);
        getProvider: (() => undefined | Provider);
        getTxUrl: ((chain: Chain, txHash: string) => undefined | string);
        init: (<T>(providerProxyConstructor: ProviderProxyConstructor, createProviderOpts: CreateProviderOpts<T>) => Promise<void>);
        isConnected?: Ref<undefined | boolean>;
        providerType?: Ref<undefined | PROVIDERS>;
        rawProvider: Ref<undefined | RawProvider>;
        signAndSendTx: ((txRequestBody: TxRequestBody) => Promise<undefined | TransactionResponse>);
        signMessage: ((message: string) => Promise<undefined | string>);
        switchChain: ((chainId: ChainId) => Promise<void>);
    }

    • addChain: ((chain: Chain) => Promise<void>)
        • (chain: Chain): Promise<void>
        • Parameters

          • chain: Chain

          Returns Promise<void>

    • Optional address?: Ref<undefined | string>
    • Optional chainDetails?: Ref<undefined | {
          explorerUrl: string;
          icon: string;
          id: ChainId;
          name: string;
          rpcUrl: string;
          token: { name: string; symbol: string; decimals: number; };
          type: CHAIN_TYPES;
      }>
    • Optional chainId?: Ref<undefined | ChainId>
    • Optional chainType?: Ref<undefined | string>
    • connect: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

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

    • getAddressUrl: ((chain: Chain, address: string) => undefined | string)
        • (chain: Chain, address: string): undefined | string
        • Parameters

          • chain: Chain
          • address: string

          Returns undefined | string

    • getHashFromTx: ((txResponse: TransactionResponse) => undefined | string)
        • (txResponse: TransactionResponse): undefined | string
        • Parameters

          • txResponse: TransactionResponse

          Returns undefined | string

    • getProvider: (() => undefined | Provider)
        • (): undefined | Provider
        • Returns undefined | Provider

    • getTxUrl: ((chain: Chain, txHash: string) => undefined | string)
        • (chain: Chain, txHash: string): undefined | string
        • Parameters

          • chain: Chain
          • txHash: string

          Returns undefined | string

    • init: (<T>(providerProxyConstructor: ProviderProxyConstructor, createProviderOpts: CreateProviderOpts<T>) => Promise<void>)
        • <T>(providerProxyConstructor: ProviderProxyConstructor, createProviderOpts: CreateProviderOpts<T>): Promise<void>
        • Type Parameters

          • T extends string

          Parameters

          • providerProxyConstructor: ProviderProxyConstructor
          • createProviderOpts: CreateProviderOpts<T>

          Returns Promise<void>

    • Optional isConnected?: Ref<undefined | boolean>
    • Optional providerType?: Ref<undefined | PROVIDERS>
    • rawProvider: Ref<undefined | RawProvider>
    • signAndSendTx: ((txRequestBody: TxRequestBody) => Promise<undefined | TransactionResponse>)
        • (txRequestBody: TxRequestBody): Promise<undefined | TransactionResponse>
        • Parameters

          • txRequestBody: TxRequestBody

          Returns Promise<undefined | TransactionResponse>

    • signMessage: ((message: string) => Promise<undefined | string>)
        • (message: string): Promise<undefined | string>
        • Parameters

          • message: string

          Returns Promise<undefined | string>

    • switchChain: ((chainId: ChainId) => Promise<void>)
        • (chainId: ChainId): Promise<void>
        • Parameters

          • chainId: ChainId

          Returns Promise<void>

Generated using TypeDoc