Objects
getPackages
Changed onGet a list of all packages on the Sui Network. Packages are smart contracts on Sui that execute custom logic.
get/v1/packages
Request
- Base URLhttps://api.blockberry.one/sui
- URLhttps://api.blockberry.one/sui/v1/packages
- AuthAPI key in header x-api-key
Query parameters
pageinteger required
Queried API page.
sizeinteger required
Number of queried entries.
orderBy'ASC' | 'DESC' required
Sorting method: from the lowest element to the highest (ASC) or from the highest element to the lowest (DESC).
sortBy'AGE' | 'MODULES' | 'TRANSACTIONS' required
Select sorting parameter.
isVerifiedSourcesboolean
Flag showing that the source code of the queried package is verified
Flag showing that the queried package is verified, and the publisher provided its source code.
Response
OK
Changes
- warning
deleted the
queryrequest parameterisListedInDirectory - warning
deleted the
queryrequest parametersearchStr - info
added the new optional
queryrequest parameterisVerifiedSources - info
for the
queryrequest parametersize, the max was increased from50.00to100.00
- warning