Options
All
  • Public
  • Public/Protected
  • All
Menu

Result of the compose exchange method on Wallet object.

Hierarchy

  • ComposedExchange

Index

Properties

amount

amount: Decimal

Exchange amount in source account currency.

exchangeAddress

exchangeAddress: string | null

Zumo Exchange Service wallet address where outgoing crypto funds were deposited, null for exchanges from fiat currencies.

exchangeFee

exchangeFee: Decimal

Exchange fee, calculated as value X exchangeRate X feeRate.

See ExchangeSettings.

exchangeRate

exchangeRate: ExchangeRate

Exchange rate used composing exchange.

exchangeSettings

exchangeSettings: ExchangeSettings

Exchange settings used composing exchange.

fromAccount

fromAccount: Account

Source account.

incomingTransactionFee

incomingTransactionFee: Decimal

Return transaction fee.

See ExchangeSettings.

nonce

nonce: string

Unique nonce used to prevent double spend.

outgoingTransactionFee

outgoingTransactionFee: Decimal

Outgoing transaction fee.

returnAmount

returnAmount: Decimal

Amount that user receives, calculated as value X exchangeRate X (1 - feeRate) - withdrawFee.

See ExchangeSettings.

signedTransaction

signedTransaction: string | null

Signed transaction for a crypto transaction, null otherwise.

toAccount

toAccount: Account

Target account.

Legend

  • Property
  • Method
  • Private property
  • Private method
  • Property
  • Inherited property
  • Static property

Generated using TypeDoc