Operations

Get delegation by hash

Returns a delegation operation with specified hash.

get/v1/operations/delegations/{hash}

Path parameters

hashstring required

Operation hash

Query parameters

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, delegation - is used to delegate funds to a delegate (an implicit account registered as a baker)

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

bakerFeeinteger

Fee to a baker, produced block, in which the operation was included

amountinteger

Sender's balance at the time of delegation operation (aka delegation amount).

stakingUpdatesCountinteger nullable

Number of staking updates happened internally

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)

Changes

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