Get a paginated list of account contract packages.
GET /accounts/{public_key}/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
timestamp
Sort contract packages by timestamp.
Default sorting is timestamp DESC
Optional properties
Property
Type
Description
deploys_number
int
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.