Get contracts by contract package
Retrieve contracts associated with a specific contract package.
This endpoint allows you to retrieve contracts associated with a specific contract package. You can filter the results by deploy hash and choose to include optional fields such as contract package data. The example demonstrates a sample response with details for each contract, including contract hash, contract package hash, deploy hash, contract type ID, timestamp, contract version, and disabled status.
Query params
Query param
Description
deploy_hash
Hash of the deploy that deployed the contract to the network
Sorting
None
Optional properties
Property
Type
Description
contract_package
Contract package, this contract version is a part of
Sorting
Property
Description
timestamp
Sort contracts by timestamp
Default sorting is timestamp DESC
Response
Example
Last updated