Version: 0.14.1

SwapProperties

Hierarchy

  • SwapProperties

Indexable

  • [ k: string]: any

Index

Properties

Properties

counterparty

counterparty: string

Defined in src/cnd/cnd.ts:203

The peer-id of the counterparty of this swap.


id

id: string

Defined in src/cnd/cnd.ts:199

The id of the swap.


parameters

parameters: object

Defined in src/cnd/cnd.ts:219

The parameters of this swap.

Type declaration:


protocol

protocol: string

Defined in src/cnd/cnd.ts:211

The cryptographic protocol that is employed in this swap.


role

role: "Alice" | "Bob"

Defined in src/cnd/cnd.ts:207

The role in which you are participating in this swap.


Optional state

state? : undefined | object

Defined in src/cnd/cnd.ts:229

The detailed state of the swap.


status

status: "IN_PROGRESS" | "SWAPPED" | "NOT_SWAPPED" | "INTERNAL_FAILURE"

Defined in src/cnd/cnd.ts:215

The status this swap is currently in.