Operations

Get migration by id

Returns migration operation with specified id.

get/v1/operations/migrations/{id}

Path parameters

idinteger required

Operation id

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, migration - result of the context (database) migration during a protocol update (synthetic type)

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

kindstring required

Kind of the migration bootstrap - balance updates, included in the first block after genesis activate_delegate - registering a new baker (delegator) during protocol migration airdrop - airdrop of 1 micro tez during Babylon protocol upgrade proposal_invoice - invoice for creation a proposal for protocol upgrade code_change - changing contract scripts during Babylon protocol upgrade origination - implicit (hardcoded in the protocol) origination of liquidity baking contracts subsidy - liquidity baking subsidy remove_bigmap_key - removing the key from the bigmap

balanceChangeinteger

The amount for which the operation updated the balance (micro tez)

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

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

Changes

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