Interface RpcTransport

interface RpcTransport {
    call(api: string, method: string, params?: any): Promise<any>;
    close?(): void | Promise<void>;
    getCurrentAddress(): string;
}

Implemented by

Methods

  • Parameters

    • api: string
    • method: string
    • Optionalparams: any

    Returns Promise<any>