Accounts

Get account contracts

Returns a list of contracts created by (or related to) the specified account.

get/v1/accounts/{address}/contracts

Path parameters

addressstring required

Account address (starting with tz or KT)

Query parameters

ascstring nullable

Ascending sort mode (optional, i.e. sort.asc=id is the same as sort=id).
Specify a field name to sort by.

Example: ?sort=balance.

descstring nullable

Descending sort mode.
Specify a field name to sort by descending.

Example: ?sort.desc=id.

Sorts contracts by specified field. Supported fields: id (default, desc), balance, creationLevel.

elinteger nullable

Elements offset mode (optional, i.e. offset.el=123 is the same as offset=123).
Skips specified number of elements.

Example: ?offset=100.

pginteger nullable

Page offset mode.
Skips page * limit elements. This is a classic pagination.

Example: ?offset.pg=1.

crinteger nullable

Cursor offset mode.
Skips all elements with the cursor before (including) the specified value. Cursor is a field used for sorting, e.g. id. Avoid using this offset mode with non-unique or non-sequential cursors such as amount, balance, etc.

Example: ?offset.cr=45837.

Specifies which or how many items should be skipped

limitinteger

Maximum number of items to return

Response

kindstring required

Kind of the contract (delegator_contract or smart_contract), where delegator_contract - manager.tz smart contract for delegation purpose only

aliasstring nullable

Name of the project behind the contract or contract description

addressstring required

Public key hash of the contract

balanceinteger

Contract balance (micro tez)

creationLevelinteger

Height of the block where the contract was created

creationTimestring date-time nullable

Datetime of the block where the contract was created (ISO 8601, e.g. 2020-02-20T02:40:57Z)

Changes

No recorded changes to this endpoint across all 1 revision of this API.