Stats
These commands return statistical information from Piri system.
This endpoint is used on the PIRI network to access a list of wallets that hold the most of the given "assetID" asset type. Skip and limit parameters can be used for pagination.
Asset ID
Record count for per page
Page count for skip according to limit value.
OK
Error status code. 0 indicates success, non-zero indicates an error.
Total number of rich wallets found for the specified asset.
POST /getRichList HTTP/1.1
Host: core.pirichain.com
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 37
"assetID='text'&limit=1&skip=1"OK
{
"error": 0,
"count": 5,
"data": [
{
"_id": "12345678901234567890abcd",
"address": "PRTMExampleAddress1234567890abcdefghijk",
"assetID": -1,
"balance": 500000
},
{
"_id": "abcdef1234567890123456789",
"address": "PRTMExampleAddress2abcdefghijk1234567890",
"assetID": -1,
"balance": 450000
}
]
}This endpoint returns the total transaction count for the last 10 processed days on the PIRI network in the form of a statistical series.
Asset ID
OK
Array of daily transaction statistics for the last 10 processed days
The date identifier in YYYY-MM-DD format representing the day for which statistics are reported.
The total number of transactions processed on this specific date.
POST /getDetailStats HTTP/1.1
Host: core.pirichain.com
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 18
"assetID='text'"OK
[
{
"_id": "2022-04-27",
"count": 1
},
{
"_id": "2022-04-28",
"count": 9
},
{
"_id": "2022-04-29",
"count": 13
},
{
"_id": "2022-04-30",
"count": 10
},
{
"_id": "2022-05-01",
"count": 23
},
{
"_id": "2022-05-02",
"count": 15
},
{
"_id": "2022-05-03",
"count": 1
},
{
"_id": "2022-05-04",
"count": 24
},
{
"_id": "2022-05-05",
"count": 23
},
{
"_id": "2022-05-06",
"count": 5
}
]This endpoint is used to display summary information related to the PIRI network.
OK
Total number of blocks processed in the PIRI network.
Total number of transactions completed in the network.
Number of transactions currently waiting in the transaction pool.
Total number of tokens created on the PIRI network.
Total number of unique addresses that have been active on the network.
Total size of custom data stored on the blockchain, displayed in human-readable format.
Current number of deputy nodes participating in the network consensus.
POST /getStats HTTP/1.1
Host: core.pirichain.com
Accept: */*
OK
{
"blockCount": 250000,
"transactionCount": 350000,
"poolTransactionCount": 5,
"tokenCount": 8,
"addressCount": 340000,
"customDataSize": "40.00 KB",
"totalBurnedPiri": [
{
"_id": null,
"total": 35000
}
],
"deputyCount": 6,
"totalFrozenData": [
{
"_id": null,
"totalFrozen": 280000
}
]
}This endpoint provides the total amount of PIRI circulating in the PIRI network.
OK
Error status code. 0 indicates success, non-zero indicates an error.
The total amount of PIRI tokens currently circulating in the network.
POST /getCirculation HTTP/1.1
Host: core.pirichain.com
Accept: */*
OK
{
"error": 0,
"amount": 2005000
}This endpoint is used to list the amount of PIRI burned in the PIRI network in the last 10 days.
OK
The date identifier in YYYY-MM-DD format representing the day for which burned PIRI statistics are reported.
The total amount of PIRI tokens burned on this specific date.
POST /getTotalBurnedPiri HTTP/1.1
Host: core.pirichain.com
Accept: */*
OK
[
{
"_id": "2024-08-15",
"count": 0.5
},
{
"_id": "2024-08-16",
"count": 1.2
},
{
"_id": "2024-08-17",
"count": 0.8
},
{
"_id": "2024-08-18",
"count": 1
},
{
"_id": "2024-08-19",
"count": 0.3
}
]Last updated