Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TradingAccount

Index

Constructors

constructor

Properties

wallet

wallet: Wallet

Accessors

id

  • get id(): string

Methods

affirmations

buildPayload

calculateSettlementFees

partners

settlements

signPayload

verifyPayload

  • Verifies that a payload received from BitGo sufficiently matches the expected parameters. This is used to prevent man-in-the-middle attacks which could maliciously alter the contents of a payload.

    Parameters

    • params: BuildPayloadParameters

      parameters used to build the payload

    • payload: string

      payload received from the BitGo API

    Returns boolean

    true if the payload's sensitive fields match, false if the payload may have been tampered with

Generated using TypeDoc