Skip to content

Latest commit

 

History

History
37 lines (34 loc) · 4.24 KB

OriginationOperation.md

File metadata and controls

37 lines (34 loc) · 4.24 KB

# OriginationOperation

Properties

Name Type Description Notes
type string Type of the operation, `origination` - deployment / contract creation operation. [optional]
id int Unique ID of the operation, stored in the TzKT indexer database [optional]
level int The height of the block from the genesis block, in which the operation was included [optional]
timestamp \DateTime Datetime of the block, in which the operation was included (ISO 8601, e.g. `2020-02-20T02:40:57Z`) [optional]
block string Hash of the block, in which the operation was included [optional]
hash string Hash of the operation [optional]
counter int An account nonce which is used to prevent operation replay [optional]
initiator OneOfAlias Information about the initiator of the contract call [optional]
sender OneOfAlias Information about the account, created a contract [optional]
sender_code_hash int Hash of the sender contract code, or `null` is the sender is not a contract [optional]
nonce int An account nonce which is used to prevent internal operation replay [optional]
gas_limit int A cap on the amount of gas a given operation can consume [optional]
gas_used int Amount of gas, consumed by the operation [optional]
storage_limit int A cap on the amount of storage a given operation can consume [optional]
storage_used int Amount of storage, consumed by the operation [optional]
baker_fee int Fee to the baker, produced block, in which the operation was included (micro tez) [optional]
storage_fee int The amount of funds burned from the sender account for contract storage in the blockchain (micro tez) [optional]
allocation_fee int The amount of funds burned from the sender account for contract account creation (micro tez) [optional]
contract_balance int The contract origination balance (micro tez) [optional]
contract_manager OneOfAlias Information about the account, which was marked as a manager in the operation [optional]
contract_delegate OneOfAlias Information about the baker (delegate), which was marked as a delegate in the operation [optional]
code mixed Contract code. Note: you can configure code format by setting `micheline` query parameter (`0 2` - raw micheline, `1
storage mixed Initial contract storage value converted to human-readable JSON. Note: you can configure storage format by setting `micheline` query parameter. [optional]
diffs \Bzzhh\Tzkt\Model\BigMapDiff[] List of bigmap updates (aka big_map_diffs) caused by the origination. [optional]
status string Operation status (`applied` - an operation applied by the node and successfully added to the blockchain, `failed` - an operation which failed with some particular error (not enough balance, gas limit, etc), `backtracked` - an operation which was a successful but reverted due to one of the following operations in the same operation group was failed, `skipped` - all operations after the failed one in an operation group) [optional]
errors \Bzzhh\Tzkt\Model\OperationError[] List of errors provided by the node, injected the operation to the blockchain. `null` if there is no errors [optional]
originated_contract OneOfOriginatedContract Information about the originated ( deployed / created ) contract [optional]
token_transfers_count int Number of token transfers produced by the operation, or `null` if there are no transfers [optional]
quote OneOfQuoteShort Injected historical quote at the time of operation [optional]

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