Stats

These commands return statistical information from Piri system.

Get rich list

post
/getRichList

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
errorinteger ยท int32Required

Error status code. 0 indicates success, non-zero indicates an error.

countinteger ยท int32Required

Total number of rich wallets found for the specified asset.

post
/getRichList
200

OK

Get detailed statistics

post
/getDetailStats

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

Array of daily transaction statistics for the last 10 processed days

_idstringRequired

The date identifier in YYYY-MM-DD format representing the day for which statistics are reported.

countinteger ยท int32Required

The total number of transactions processed on this specific date.

post
/getDetailStats
200

OK

Get statistics

post
/getStats

This endpoint is used to display summary information related to the PIRI network.

Responses
200

OK

application/json; charset=utf-8
blockCountinteger ยท int32Required

Total number of blocks processed in the PIRI network.

transactionCountinteger ยท int32Required

Total number of transactions completed in the network.

poolTransactionCountinteger ยท int32Required

Number of transactions currently waiting in the transaction pool.

tokenCountinteger ยท int32Required

Total number of tokens created on the PIRI network.

addressCountinteger ยท int32Required

Total number of unique addresses that have been active on the network.

customDataSizestringRequired

Total size of custom data stored on the blockchain, displayed in human-readable format.

deputyCountinteger ยท int32Required

Current number of deputy nodes participating in the network consensus.

post
/getStats
200

OK

Get circulation

post
/getCirculation

This endpoint provides the total amount of PIRI circulating in the PIRI network.

Responses
200

OK

application/json; charset=utf-8
errorinteger ยท int32Required

Error status code. 0 indicates success, non-zero indicates an error.

amountinteger ยท int32Required

The total amount of PIRI tokens currently circulating in the network.

post
/getCirculation
200

OK

Deprecated

Get total burned PIRI

post
/getTotalBurnedPiri

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
_idstringRequired

The date identifier in YYYY-MM-DD format representing the day for which burned PIRI statistics are reported.

countnumberRequired

The total amount of PIRI tokens burned on this specific date.

post
/getTotalBurnedPiri
200

OK

Last updated