Skip to content

@liquality.bitcoin.<internal>.JsonRpcProvider

Krasimir Raykov edited this page Mar 30, 2022 · 1 revision

Class: JsonRpcProvider

@liquality/bitcoin..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/dist/lib/JsonRpc.d.ts:4

Methods

send

send(method, params): Promise<any>

Parameters

Name Type
method string
params any[]

Returns

Promise<any>

Defined in

client/dist/lib/JsonRpc.d.ts:6


defaultUrl

Static defaultUrl(): string

Returns

string

Defined in

client/dist/lib/JsonRpc.d.ts:5

Clone this wiki locally