Get account contract packages
Get a paginated list of account contract packages.
This endpoint allows you to retrieve a paginated list of account contract packages. You can filter the results by owner public key, specify the page number and size, and choose the sorting order and field. Additionally, you can include optional deploys number data in the response. The example shows a sample response with relevant details for each contract package, including contract package hash, owner public key, name, description, metadata, latest version contract type ID, timestamp, icon URL, and deploys number.
Query params
None
Sorting
Property | Description |
---|---|
| Sort contract packages by timestamp. |
Default sorting is timestamp DESC
Optional properties
Property | Type | Description |
---|---|---|
|
| Number of deploys in the specified number of the past days. It's a function includer that accepts the number of days as an argument. |
| ContractPackage owner account info | |
| ContractPackage centralized account info | |
|
| Owner's primary CSPR.name |
Response
PaginatedResponse
<ContractPackage>
Example
Last updated