Blockchain Information
List of endpoints for get current details of Pactus blockchain.
Get Market Cap
Free, No AuthReturns current market cap.
MarketCap formula
MarketCap = Circulation Supply * Last Price
GET https://api.pacviewer.com/v1/marketcap
Query Params
Key | Description | Example |
---|
format | Return value with specific format (text) | text |
Headers
Body
Status OK 200
{
"status": 200,
"message": "OK",
"data": {
"value": 629447.2329217776
}
}
With format=text
query:
Get Circulation Supply
Free, No AuthReturns current circulation supply.
Circulation Supply formula
Circulation supply = Total Supply - Total Staked
GET https://api.pacviewer.com/v1/circulation_supply
Query Params
Key | Description | Example |
---|
format | Return value with specific format (text) | text |
Headers
Body
Status OK 200
{
"status": 200,
"message": "OK",
"data": {
"value": 222983.605938173
}
}
With format=text
query:
Get Total Value Locked (TVL)
Free, No AuthReturn Total Value Locked (TVL).
Total Value Locked (TVL) = Total Staked * Last Price
GET https://api.pacviewer.com/v1/total_value_locked
Query Params
Key | Description | Example |
---|
format | Return value with specific format (text) | text |
Headers
Body
Status OK 200
{
"status": 200,
"message": "OK",
"data": {
"value": 439734.2503423898
}
}
With format=text
query:
Get Fully Diluted Valuation (FDV)
Free, No AuthReturn Fully Diluted Valuation (FDV).
Fully Diluted Valuation (FDV) = Max supply * Last Price
GET https://api.pacviewer.com/v1/fully_diluted_valuation
Query Params
Key | Description | Example |
---|
format | Return value with specific format (text) | text |
Headers
Body
Status OK 200
{
"status": 200,
"message": "OK",
"data": {
"value": 840257.9343933696
}
}
With format=text
query:
Get Total Supply
Free, No AuthReturn Total supply.
Total supply = Max Supply - Treasury Balance
GET https://api.pacviewer.com/v1/total_supply
Query Params
Key | Description | Example |
---|
format | Return value with specific format (text) | text |
Headers
Body
Status OK 200
{
"status": 200,
"message": "OK",
"data": {
"value": 217541354.1235
}
}
With format=text
query:
Get Max Supply
Free, No AuthReturn max supply.
Max supply = 42,000,000 PAC
GET https://api.pacviewer.com/v1/max_supply
Query Params
Key | Description | Example |
---|
format | Return value with specific format (text) | text |
Headers
Body
Status OK 200
{
"status": 200,
"message": "OK",
"data": {
"value": 42000000
}
}
With format=text
query:
Get Total Staked
Free, No AuthReturn Total staked.
Total Staked = total power
GET https://api.pacviewer.com/v1/total_staked
Query Params
Key | Description | Example |
---|
format | Return value with specific format (text) | text |
Headers
Body
Status OK 200
{
"status": 200,
"message": "OK",
"data": {
"value": 700059.365163147
}
}
With format=text
query:
Get Market
Free, No AuthReturn market details.
GET https://api.pacviewer.com/v1/market
Status OK 200
{
"status": 200,
"message": "OK",
"data": {
"circulation_supply": 338640.513039625,
"total_supply": 21798588,
"total_staked": 697948.304120365,
"total_value_locked": 830498.4583490798,
"fully_diluted_valuation": 49976388,
"volume": 3075.8677,
"market_cap": 402953.08743303234,
"price": 1.189914,
"change_24h": 0,
"change_7d": 0
}
}
Get Fee Meter
Free, No AuthReturn fee details.
GET https://api.pacviewer.com/v1/fee
Status OK 200
{
"status": 200,
"message": "OK",
"data": {
"since_height": 360,
"minFee": 2000000,
"avgFee": 3500000,
"maxFee": 5000000
}
}