Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TradingPartner

Index

Constructors

constructor

Properties

id

id: string

primaryAccountId

primaryAccountId: string

primaryEnterpriseName

primaryEnterpriseName: string

requesterAccountId

requesterAccountId: string

secondaryAccountId

secondaryAccountId: string

secondaryEnterpriseName

secondaryEnterpriseName: string

status

type

Methods

checkBalance

  • checkBalance(currency: string, amount: string, callback?: NodeCallback<boolean>): Bluebird<boolean>
  • Check if a trading partner has enough funds to cover the cost of a trade.

    Parameters

    • currency: string

      the currency to check

    • amount: string

      the amount of currency to check, represented in base units (such as cents, satoshi, or wei)

    • Optional callback: NodeCallback<boolean>

    Returns Bluebird<boolean>

Generated using TypeDoc