Get contract packages
Get a paginated list of contract packages.
GET /contract-packagesThis endpoint allows you to retrieve a paginated list of 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
owner_hash
Owner hash filter.
Sorting
timestamp
Sort contract packages by timestamp.
Default sorting is timestamp DESC
Optional properties
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.
cspr_name
string
Owner's primary CSPR.name
token_market_data
Token market data derived from indexed DEX swaps in the requested currency. It's a function includer that accepts currency_id and optional dex_id arguments.
Response
PaginatedResponse<ContractPackage>
Example
Last updated
