SwapProperties

Hierarchy

  • SwapProperties

Indexable

  • [ k: string]: any

Index

Properties

Properties

counterparty

counterparty: string

Defined in cnd/cnd.ts:110

The peer-id of the counterparty of this swap.


id

id: string

Defined in cnd/cnd.ts:106

The id of the swap.


parameters

parameters: object

Defined in cnd/cnd.ts:126

The parameters of this swap.

Type declaration:


protocol

protocol: string

Defined in cnd/cnd.ts:118

The cryptographic protocol that is employed in this swap.


role

role: "Alice" | "Bob"

Defined in cnd/cnd.ts:114

The role in which you are participating in this swap.


Optional state

state? : undefined | object

Defined in cnd/cnd.ts:136

The detailed state of the swap.


status

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

Defined in cnd/cnd.ts:122

The status this swap is currently in.