Parameters
- addressstringREQUIRED
Typically a Dogecoin address
- objectobject
An object specifying additional parameters:
- fromstring
The starting Unix timestamp (in seconds) of the time range for which balance history is requested
- tostring
The ending Unix timestamp (in seconds) of the time range for which balance history is requested
- fiatcurrencystring
The fiat currency in which to convert the balance values (e.g., 'usd')
- groupByinteger
The time interval (in seconds) for grouping the balance data (e.g., 3600 for hourly data)
- gapinteger
The gap limit used when deriving addresses from an extended public key (xpub). Defaults to 20.
Returns
- timeinteger
The Unix timestamp (in seconds) representing the end time of the specified time interval
- txsinteger
The number of transactions that occurred within the specified time interval
- receivedstring
The total amount of Dogecoin received by the address during the specified time interval
- sentstring
The total amount of Dogecoin sent from the address during the specified time interval
- sentToSelfstring
The total amount of Dogecoin sent from the address to itself during the specified time interval
- ratesobject
An object providing exchange rates for the specified fiat currencies
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"time": 1487289600,7"txs": 2,8"received": "282589795290",9"sent": "282589795290",10"sentToSelf": "0",11"rates": {12"usd": 0.092215,13"eur": 0.080038,14"gbp": 0.06985,15"btc": 0.00000138,16"eth": 0.0000448317}18}19]20}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"time": 1487289600,7"txs": 2,8"received": "282589795290",9"sent": "282589795290",10"sentToSelf": "0",11"rates": {12"usd": 0.092215,13"eur": 0.080038,14"gbp": 0.06985,15"btc": 0.00000138,16"eth": 0.0000448317}18}19]20}