Parameters
- addressstringREQUIRED
The address for which the balance history is to be fetched
- objectobject
An object specifying additional parameters:
- fromstringREQUIRED
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. Some of the available currencies are AED, EUR, GBP, USD, etc
- groupByinteger
The time interval (in seconds) for grouping the balance data
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 native token/currency received by the address during the specified time interval
- sentstring
The total amount of native token/currency sent from the address during the specified time interval
- sentToSelfstring
The total amount of native token/currency sent from the address to itself during the specified time interval
- ratesobject
An object providing exchange rates for the specified fiat currencies
1{2"id": 1,3"result": [4{5"time": 1685689200,6"txs": 5,7"received": "0",8"sent": "10247601921605917",9"sentToSelf": "0",10"rates": {11"usd": 1907.212312}13},14{15"time": 1694048400,16"txs": 1,17"received": "0",18"sent": "0",19"sentToSelf": "0",20"rates": {21"usd": 1646.30522}23},24{25"time": 1694084400,26"txs": 4,27"received": "0",28"sent": "8064344277547668",29"sentToSelf": "0",30"rates": {31"usd": 1646.30532}33},34{35"time": 1694156400,36"txs": 1,37"received": "0",38"sent": "0",39"sentToSelf": "0",40"rates": {41"usd": 1636.354242}43},44{45"time": 1696716000,46"txs": 1,47"received": "0",48"sent": "0",49"sentToSelf": "0",50"rates": {51"usd": 1635.082952}53}54],55"jsonrpc": "2.0"56}
1{2"id": 1,3"result": [4{5"time": 1685689200,6"txs": 5,7"received": "0",8"sent": "10247601921605917",9"sentToSelf": "0",10"rates": {11"usd": 1907.212312}13},14{15"time": 1694048400,16"txs": 1,17"received": "0",18"sent": "0",19"sentToSelf": "0",20"rates": {21"usd": 1646.30522}23},24{25"time": 1694084400,26"txs": 4,27"received": "0",28"sent": "8064344277547668",29"sentToSelf": "0",30"rates": {31"usd": 1646.30532}33},34{35"time": 1694156400,36"txs": 1,37"received": "0",38"sent": "0",39"sentToSelf": "0",40"rates": {41"usd": 1636.354242}43},44{45"time": 1696716000,46"txs": 1,47"received": "0",48"sent": "0",49"sentToSelf": "0",50"rates": {51"usd": 1635.082952}53}54],55"jsonrpc": "2.0"56}