You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1508,15 +1508,15 @@ Creates an instance of Token.
1508
1508
1509
1509
| Name | Type | Description ||
1510
1510
| ---- | ---- | ----------- | -------- |
1511
-
| web3data || The web3data instance. | |
1511
+
| web3data |`Web3Data`| The web3data instance. | |
1512
1512
1513
1513
1514
1514
1515
1515
1516
1516
##### Examples
1517
1517
1518
1518
```javascript
1519
-
1519
+
consttoken=newToken(newWeb3data('API_KEY'))
1520
1520
```
1521
1521
1522
1522
@@ -1529,7 +1529,7 @@ Creates an instance of Token.
1529
1529
1530
1530
1531
1531
1532
-
#### getRankings(filterOptions)
1532
+
#### getRankings([filterOptions])
1533
1533
1534
1534
1535
1535
Retrieves the top ranked tokens by a specific metric.
@@ -1541,7 +1541,7 @@ Retrieves the top ranked tokens by a specific metric.
1541
1541
1542
1542
| Name | Type | Description ||
1543
1543
| ---- | ---- | ----------- | -------- |
1544
-
| filterOptions || The filters associated with the request. See [docs](https://docs.amberdata.io/reference#gettokenrankings) for more details. | |
1544
+
| filterOptions |`object`| The filters associated with the request. See [docs](https://docs.amberdata.io/reference#gettokenrankings) for more details. |*Optional*|
Retrieves the historical volume of token transfers for the specified address.
@@ -1574,8 +1574,8 @@ Retrieves the historical volume of token transfers for the specified address.
1574
1574
1575
1575
| Name | Type | Description ||
1576
1576
| ---- | ---- | ----------- | -------- |
1577
-
| hash || The address of the token contract. | |
1578
-
| filterOptions || The filters associated with the request. See [docs](https://docs.amberdata.io/reference#gettokenvolume) for more details. | |
1577
+
| hash |`string`| The address of the token contract. | |
1578
+
| filterOptions |`object`| The filters associated with the request. See [docs](https://docs.amberdata.io/reference#gettokenvolume) for more details. |*Optional*|
Retrieves the latest or historical token supplies (and derivatives) for the specified address. Use the `startDate` or `endDate` filters to get historical data.
1705
+
1706
+
1707
+
1708
+
1709
+
##### Parameters
1710
+
1711
+
| Name | Type | Description ||
1712
+
| ---- | ---- | ----------- | -------- |
1713
+
| hash |`string`| The address for which to retrieve token supplies. | |
1714
+
| filterOptions |`object`| The filters associated with the request. See [docs](https://docs.amberdata.io/reference#gettokensupplylatest) for more details. |*Optional*|
1715
+
| filterOptions.startDate |`number`| Filter by token prices after this date The interval can not exceed 6 months (d), or 30 days (h). |*Optional*|
1716
+
| filterOptions.endDate |`number`| Filter by token prices before this date The interval can not exceed 6 months (d), or 30 days (h). |*Optional*|
0 commit comments