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
Float
TheFloat
scalar type represents signed double-precision fractional values as specified by IEEE 754 (opens in a new tab).