Skip to main content

@unicrowio/sdk

Namespaces

Enumerations

Interfaces

Type Aliases

CalculateFunction

Ƭ CalculateFunction: CalculateAmountsInput

Defined in

typing/index.ts:1372


IReleasedTransactionPayload

Ƭ IReleasedTransactionPayload: ReleaseParsedPayload

Defined in

typing/index.ts:674


tConnectedUser

Ƭ tConnectedUser: "buyer" | "seller" | "arbitrator" | "marketplace" | "other"

Defined in

typing/index.ts:880


tEscrowParty

Ƭ tEscrowParty: "buyer" | "seller" | null

Defined in

typing/index.ts:70

Variables

NETWORK

Const NETWORK: Object

Index signature

▪ [name: string]: UnicrowNetwork

Defined in

config/setup.ts:3

Functions

config

config(«destructured»): void

Sets the target network for all subsequent SDK calls.

Parameters

NameTypeDefault value
«destructured»Objectundefined
› autoSwitchNetworkbooleanfalse
› chainIdbigintundefined

Returns

void

Defined in

config/setup.ts:96


getContractAddress

getContractAddress(role): string

Parameters

NameType
roleRole

Returns

string

Defined in

config/getContractAddress.ts:3