Skip to content

@liquality.client.JsonRpcProvider

Krasimir Raykov edited this page Mar 29, 2022 · 3 revisions

Class: JsonRpcProvider

@liquality/client.JsonRpcProvider

Table of contents

Constructors

Methods

Constructors

constructor

new JsonRpcProvider(url?, username?, password?)

Parameters

Name Type
url? string
username? string
password? string

Defined in

client/lib/JsonRpc.ts:11

Methods

send

send(method, params): Promise<any>

Parameters

Name Type
method string
params any[]

Returns

Promise<any>

Defined in

client/lib/JsonRpc.ts:32


defaultUrl

Static defaultUrl(): string

Returns

string

Defined in

client/lib/JsonRpc.ts:28

Clone this wiki locally