Version: next

SwapProperties

Hierarchy

  • SwapProperties

Indexable

  • [ k: string]: any

Index

Properties

Properties

counterparty

counterparty: string

Defined in src/cnd/cnd.ts:211

The peer-id of the counterparty of this swap.


id

id: string

Defined in src/cnd/cnd.ts:207

The id of the swap.


parameters

parameters: object

Defined in src/cnd/cnd.ts:227

The parameters of this swap.

Type declaration:


protocol

protocol: string

Defined in src/cnd/cnd.ts:219

The cryptographic protocol that is employed in this swap.


role

role: "Alice" | "Bob"

Defined in src/cnd/cnd.ts:215

The role in which you are participating in this swap.


Optional state

state? : undefined | object

Defined in src/cnd/cnd.ts:237

The detailed state of the swap.


status

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

Defined in src/cnd/cnd.ts:223

The status this swap is currently in.