v1

latestOpenAPI 3.0.02026-07-17103042.4 KB
Contracts

List deployments for a contract

Returns a paginated list of all historical deployments for the contract with the given identifier, ordered descending by block height (newest first). Results can be filtered by block height range.

get/experimental/v1/contracts/{identifier}/deployments

Path parameters

identifierstring required

Address-qualified Cadence contract identifier (e.g. A.1654653399040a61.EVM).

The address-qualified contract identifier (e.g. A.1654653399040a61.EVM).

Query parameters

cursorstring base64

Opaque pagination cursor from a previous response's next_cursor field.

Opaque pagination cursor from a previous response's next_cursor field.

limitinteger

The maximum number of results to return.

start_blockstring uint64

Filter to include only deployments at or after this block height (inclusive).

end_blockstring uint64

Filter to include only deployments at or before this block height (inclusive).

expandstring[]

A comma-separated list indicating which properties of the content to expand.

selectstring[]

A comma-separated list indicating which properties of the content to return.

Response

A page of contract deployments.

next_cursorstring base64

Opaque pagination cursor from a previous response's next_cursor field.