Operations

Get transaction by hash

Returns transaction operations with specified hash.

get/v1/operations/transactions/{hash}

Path parameters

hashstring required

Operation hash

Query parameters

micheline'Json' | 'JsonString' | 'Raw' | 'RawString'

Format of the parameters, storage and diffs: 0 - JSON, 1 - JSON string, 2 - raw micheline, 3 - raw micheline string

quote'None' | 'Btc' | 'Eur' | 'Usd' | 'Cny' | 'Jpy' | 'Krw' | 'Eth' | 'Gbp'

Comma-separated list of ticker symbols to inject historical prices into response

Response

typestring

Type of the operation, transaction - is a standard operation used to transfer tezos tokens to an account

idinteger

Unique ID of the operation, stored in the TzKT indexer database

levelinteger

The height of the block from the genesis block, in which the operation was included

timestampstring date-time

Datetime of the block, in which the operation was included (ISO 8601, e.g. 2020-02-20T02:40:57Z)

blockstring required

Hash of the block, in which the operation was included

hashstring required

Hash of the operation

counterinteger

An account nonce which is used to prevent operation replay

senderCodeHashinteger nullable

Hash of the sender contract code, or null is the sender is not a contract

nonceinteger nullable

An account nonce which is used to prevent internal operation replay

gasLimitinteger

A cap on the amount of gas a given operation can consume

gasUsedinteger

Amount of gas, consumed by the operation

storageLimitinteger

A cap on the amount of storage a given operation can consume

storageUsedinteger

Amount of storage, consumed by the operation

bakerFeeinteger

Fee to the baker, produced block, in which the operation was included (micro tez)

storageFeeinteger

The amount of funds burned from the sender account for used the blockchain storage (micro tez)

allocationFeeinteger

The amount of funds burned from the sender account for account creation (micro tez)

targetCodeHashinteger nullable

Hash of the target contract code, or null is the target is not a contract

amountinteger

The transaction amount (micro tez)

{"stackTrail":"components:schemas:TransactionOperation:allOf:properties:storage","oasType":"schema","type":"unknown","description":"Contract storage after executing the transaction converted to human-readable JSON. Note: you can configure storage format by setting `micheline` query parameter.","nullable":true}
statusstring required

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 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)

hasInternalsboolean

An indication of whether the transaction has an internal operations true - there are internal operations false - no internal operations

tokenTransfersCountinteger nullable

Number of token transfers produced by the operation, or null if there are no transfers

ticketTransfersCountinteger nullable

Number of ticket transfers produced by the operation, or null if there are no transfers

eventsCountinteger nullable

Number of events produced by the operation, or null if there are no events

Changes

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