API Docs
Revenue
Get Revenue

Get Revenue

Retrieve the Revenue made on a subaccount

Example

query getRevenue {
  getRevenue(cid: ARRR, startInterval: { days: 1 }, endInterval: { days: 1 }, uname: "your_username")
}

Response

{
  "data": {
    "getRevenue":
  }
}

Arguments

  • uname (String)

  • cid (CurrencyProfileName)

enum CurrencyProfileName {
  ARRR
  BTC
  DASH
  DCR
  KMD
  LBC
  SC
  SCP
  ZEC
  ZEN
  USD
  TBTC
  ETH
  TETH
  USDT
}
  • startInterval (IntervalInput)
type IntervalInput {
  seconds: Float
  minutes: Int
  hours: Int
  days: Int
  months: Int
  years: Int
}
  • endInterval (IntervalInput)

  • isEqui (Boolean)

Type