Hierarchy

  • ExternalProvider
    • EthereumProvider

Properties

host?: string
isMetaMask?: boolean
isStatus?: boolean
path?: string
providers?: EthereumProvider[]
request?: ((request) => Promise<any>)

Type declaration

    • (request): Promise<any>
    • Parameters

      • request: {
            method: string;
            params?: any[];
        }
        • method: string
        • Optional params?: any[]

      Returns Promise<any>

selectedAddress: null | string
send?: ((request, callback) => void)

Type declaration

    • (request, callback): void
    • Parameters

      • request: {
            method: string;
            params?: any[];
        }
        • method: string
        • Optional params?: any[]
      • callback: ((error, response) => void)
          • (error, response): void
          • Parameters

            • error: any
            • response: any

            Returns void

      Returns void

sendAsync?: ((request, callback) => void)

Type declaration

    • (request, callback): void
    • Parameters

      • request: {
            method: string;
            params?: any[];
        }
        • method: string
        • Optional params?: any[]
      • callback: ((error, response) => void)
          • (error, response): void
          • Parameters

            • error: any
            • response: any

            Returns void

      Returns void

Methods

Generated using TypeDoc