Type Alias Provider

Provider: {
    request: ((request: RequestArguments) => Promise<any>);
    sendAsync: ((request: JsonRpcRequestPayload | JsonRpcRequestPayload[], callback: JsonRpcRequestCallback) => void);
    send: ((request: string | JsonRpcRequestPayload | JsonRpcRequestPayload[], callbackOrParams?: JsonRpcRequestCallback | any[], callback?: JsonRpcRequestCallback) => void);
    on: ((event: string, listener: ((...args: any[]) => void)) => void);
    removeListener: ((event: string, listener: ((...args: any[]) => void)) => void);
    isPassport: boolean;
}