Get the supply modifiers of a coin. These modifiers are the balances that are subtracted from the total supply in order to get the circulating supply. The balances we use as modifiers are from addresses that are considered not to be in circulation, such as addresses that hold burned or premined coins.
https://api.coinranking.com/v2/coin/:uuid/modifiers
Parameter | Description |
---|---|
uuid String | UUID of the coin you want to request the modifiers for. |
Parameter | Description |
---|---|
limit (optional) Number |
Limit. Used for pagination Default value: 50Size range: 0-100 Example:
...coin/cVaOmQWainv7g?orderBy=amount&limit=10
|
offset (optional) Number |
Offset. Used for pagination Default value: 0Example:
...coin/cVaOmQWainv7g?orderBy=amount&offset=50
|
orderBy (optional) String |
Order of the modifiers can be either when they were added (createdAt) or by amount Default value: createdAtAllowed values: amount createdAt Example:
...coin/cVaOmQWainv7g?orderBy=amount&orderBy=amount
|
orderDirection (optional) String |
Applies direction to the orderBy query, which can be in ascending or descending order. Default value: descAllowed values: desc asc Example:
...coin/cVaOmQWainv7g?orderBy=amount&orderDirection=asc
|
jsonHTTP/1.1 200 OK
{
"status": "success",
"data": {
"total": 3,
"modifiers": [
{
"blockchainName": "Neo",
"blockExplorerUrl": "https://neotracker.io/address/Ae2d6qj91YL3LVUMkza7WQsaTYjzjHm4z1",
"name": "Foundation",
"reference": "Ae2d6qj91YL3LVUMkza7WQsaTYjzjHm4z1",
"syncedAt": 1593436560,
"amount": "14146080"
}
]
}
}
Property | Description |
---|---|
status String | Status of the request Allowed values:success |
data Object | |
data.total Number | Total number of modifiers for the coin's supply. |
data.modifiers Object | |
data.modifiers.blockchainName String | Name of the blockchain to which this modifier applies. |
data.modifiers.blockExplorerUrl String | URL to block explorer. |
data.modifiers.name String | Name we have given the modifier. |
data.modifiers.reference String | Address of the modifier. |
data.modifiers.syncedAt Number/null | Epoch timestamp in seconds when the amount has last been synced. |
data.modifiers.amount String/null | Balance on the address retrieved at the syncedAt time. |
jsonHTTP/1.1 422 Unprocessable Entity
{
"status": "fail",
"type": "VALIDATION_ERROR",
"messages": [
"Limit can only be between 1 and 100."
]
}