Options
All
  • Public
  • Public/Protected
  • All
Menu

Atomex SDK

Index

Type aliases

Algorithm

Algorithm: "Ed25519" | "Ed25519:Blake2b" | "Sha256WithEcdsa:Secp256k1" | "Blake2bWithEcdsa:Secp256k1" | "Blake2bWithEcdsa:Secp256r1" | "Keccak256WithEcdsa:Geth2940" | "Sha256WithEcdsa:BtcMsg"

Network

Network: "testnet" | "mainnet"

OrderStatus

OrderStatus: "Pending" | "Confirmed" | "Canceled"

OrderType

OrderType: "Return" | "FillOrKill" | "SolidFillOrKill" | "ImmediateOrCancel"

PartyStatus

PartyStatus: "Created" | "Involved" | "PartiallyInitiated" | "Initiated" | "Redeemed" | "Refunded" | "Lost" | "Jackpot"

Side

Side: "Buy" | "Sell"

Sort

Sort: "Asc" | "Desc"

TezosBasedCurrency

TezosBasedCurrency: "XTZ" | "TZBTC"

TxStatus

TxStatus: "Pending" | "Placed" | "PartiallyFilled" | "Filled" | "Canceled" | "Rejected"

TxType

TxType: "Lock" | "AdditionalLock" | "Redeem" | "Refund"

Functions

Const dt2ts

  • dt2ts(isoTime: Date | string): number
  • Parameters

    • isoTime: Date | string

    Returns number

Const formatTimestamp

  • formatTimestamp(timestamp: number): string
  • Parameters

    • timestamp: number

    Returns string

Const now

  • now(): number

Generated using TypeDoc