Skip to content

Latest commit

 

History

History
46 lines (43 loc) · 4.95 KB

Contract.md

File metadata and controls

46 lines (43 loc) · 4.95 KB

# Contract

Properties

Name Type Description Notes
id int Internal TzKT id. [sortable] [optional]
type string Type of the account, `contract` - smart contract programmable account. [optional]
address string Public key hash of the contract [optional]
kind string Kind of the contract (`delegator_contract` or `smart_contract`), where `delegator_contract` - manager.tz smart contract for delegation purpose only. [optional]
tzips string[] List of implemented standards (TZIPs). [optional]
alias string Name of the project behind the contract or contract description. [optional]
balance int Contract balance (micro tez). [sortable] [optional]
creator OneOfCreatorInfo Information about the account, which has deployed the contract to the blockchain. Click on the field to expand more details. [optional]
manager OneOfManagerInfo Information about the account, which was marked as a manager when contract was deployed to the blockchain. Click on the field to expand more details. [optional]
delegate OneOfDelegateInfo Information about the current delegate of the contract. `null` if it's not delegated. Click on the field to expand more details. [optional]
delegation_level int Block height of latest delegation. `null` if it's not delegated. [optional]
delegation_time \DateTime Block datetime of latest delegation (ISO 8601, e.g. `2020-02-20T02:40:57Z`). `null` if it's not delegated. [optional]
num_contracts int Number of contracts, created (originated) and/or managed by the contract. [optional]
tokens_count int Number of tokens minted in the contract. [optional]
active_tokens_count int Number of account tokens with non-zero balances. [optional]
token_balances_count int Number of tokens the account ever had. [optional]
token_transfers_count int Number of token transfers from/to the account. [optional]
tickets_count int Number of tickets minted in the contract. [optional]
active_tickets_count int Number of tickets the account owns. [optional]
ticket_balances_count int Number of tickets the account ever owned. [optional]
ticket_transfers_count int Number of ticket transfers from/to the account. [optional]
num_delegations int Number of delegation operations of the contract. [optional]
num_originations int Number of origination (deployment / contract creation) operations, related the contract. [optional]
num_transactions int Number of transaction (transfer) operations, related to the contract. [sortable] [optional]
num_reveals int Number of reveal (is used to reveal the public key associated with an account) operations of the contract. [optional]
num_migrations int Number of migration (result of the context (database) migration during a protocol update) operations. related to the contract (synthetic type). [optional]
transfer_ticket_count int Number of transfer ticket operations related to the contract. [optional]
increase_paid_storage_count int Number of `increase_paid_storage` operations related to the contract. [optional]
events_count int Number of events produced by the contract. [optional]
first_activity int Block height of the contract creation. [sortable] [optional]
first_activity_time \DateTime Block datetime of the contract creation (ISO 8601, e.g. `2020-02-20T02:40:57Z`). [optional]
last_activity int Height of the block in which the account state was changed last time. [sortable] [optional]
last_activity_time \DateTime Datetime of the block in which the account state was changed last time (ISO 8601, e.g. `2020-02-20T02:40:57Z`). [optional]
type_hash int 32-bit hash of the contract parameter and storage types. This field can be used for searching similar contracts (which have the same interface). [optional]
code_hash int 32-bit hash of the contract code. This field can be used for searching same contracts (which have the same script). [optional]
metadata mixed TZIP-16 metadata (with `?legacy=true` this field will contain tzkt profile info). [optional]
extras mixed Off-chain extras. [optional]
storage mixed Contract storage value. Omitted by default. Use `?includeStorage=true` to include it into response. [optional]

[Back to Model list] [Back to API list] [Back to README]