Version: 0.13.0

SwapProperties

Hierarchy

  • SwapProperties

Indexable

  • [ k: string]: any

Index

Properties

Properties

counterparty

counterparty: string

Defined in cnd/cnd.ts:140

The peer-id of the counterparty of this swap.


id

id: string

Defined in cnd/cnd.ts:136

The id of the swap.


parameters

parameters: object

Defined in cnd/cnd.ts:156

The parameters of this swap.

Type declaration:


protocol

protocol: string

Defined in cnd/cnd.ts:148

The cryptographic protocol that is employed in this swap.


role

role: "Alice" | "Bob"

Defined in cnd/cnd.ts:144

The role in which you are participating in this swap.


Optional state

state? : undefined | object

Defined in cnd/cnd.ts:166

The detailed state of the swap.


status

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

Defined in cnd/cnd.ts:152

The status this swap is currently in.