Skip to content

@liquality.client.Client

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

Class: Client<ChainType, WalletType, SwapType>

@liquality/client.Client

Type parameters

Name Type
ChainType Chain<any>
WalletType Wallet<any, any>
SwapType Swap<any, any>

Table of contents

Constructors

Accessors

Constructors

constructor

new Client<ChainType, WalletType, SwapType>(chain?, wallet?, swap?)

Type parameters

Name Type
ChainType Chain<any, Network>
WalletType Wallet<any, any>
SwapType Swap<any, any, any>

Parameters

Name Type
chain? ChainType
wallet? WalletType
swap? SwapType

Defined in

client/lib/Client.ts:10

Accessors

chain

get chain(): ChainType

Returns

ChainType

Defined in

client/lib/Client.ts:16

set chain(chain): void

Parameters

Name Type
chain ChainType

Returns

void

Defined in

client/lib/Client.ts:20


swap

get swap(): SwapType

Returns

SwapType

Defined in

client/lib/Client.ts:32

set swap(swap): void

Parameters

Name Type
swap SwapType

Returns

void

Defined in

client/lib/Client.ts:36


wallet

get wallet(): WalletType

Returns

WalletType

Defined in

client/lib/Client.ts:24

set wallet(wallet): void

Parameters

Name Type
wallet WalletType

Returns

void

Defined in

client/lib/Client.ts:28

Clone this wiki locally