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.
Body
assetIDstringRequired
Asset ID
limitnumberRequired
Record count for per page
skipnumberOptional
Page count for skip according to limit value.
Responses
200
OK
application/json; charset=utf-8
post
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"
200
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.
Body
assetIDstringOptional
Asset ID
Responses
200
OK
application/json; charset=utf-8
post
POST /getDetailStats HTTP/1.1
Host: core.pirichain.com
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 18
"assetID='text'"
200
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.
Responses
200
OK
application/json; charset=utf-8
post
POST /getStats HTTP/1.1
Host: core.pirichain.com
Accept: */*
200
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 is used to list the amount of PIRI burned in the PIRI network in the last 10 days.
Responses
200
OK
application/json; charset=utf-8
post
POST /getTotalBurnedPiri HTTP/1.1
Host: core.pirichain.com
Accept: */*
200
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
}
]
Was this helpful?