ExternalProvider: {
    host?: string;
    isMetaMask?: boolean;
    isStatus?: boolean;
    path?: string;
    request?: ((request: {
        method: string;
        params?: any[];
    }) => Promise<any>);
    send?: ((request: {
        method: string;
        params?: any[];
    }, callback: ((error: any, response: any) => void)) => void);
    sendAsync?: ((request: {
        method: string;
        params?: any[];
    }, callback: ((error: any, response: any) => void)) => void);
}

Type declaration

  • Optional host?: string
  • Optional isMetaMask?: boolean
  • Optional isStatus?: boolean
  • Optional path?: string
  • Optional request?: ((request: {
        method: string;
        params?: any[];
    }) => Promise<any>)
      • (request: {
            method: string;
            params?: any[];
        }): Promise<any>
      • Parameters

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

        Returns Promise<any>

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

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

              • error: any
              • response: any

              Returns void

        Returns void

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

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

              • error: any
              • response: any

              Returns void

        Returns void

Generated using TypeDoc