Contracts
Accounts

List contracts for an account

Returns a paginated list of contracts deployed to the given account address, ordered ascending by contract name. Results can be filtered by contract name and block height range.

get/experimental/v1/accounts/{address}/contracts

Path parameters

addressstring hexadecimal required

The 8-byte address of an account.

The account address (hex-encoded without 0x prefix).

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.

contract_namestring

Filter by case sensitive contract name (unqualified, e.g. EVM).

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 contracts for the account.

next_cursorstring base64

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

Changes

Changed in 4 of the 24 revisions of this API.23

    • the response property contracts/items/code became optional for the status 200

      response-property-became-optional

    • added the optional property contracts/items/_expandable/code to the response with the 200 status

      response-optional-property-added

    • added the optional property contracts/items/result to the response with the 200 status

      response-optional-property-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog