Blocks

Get block by timestamp

Returns a block closest to the specified timestamp.

get/v1/blocks/{timestamp}

Path parameters

timestampstring date-time required

Timestamp, e.g. 2020-01-01T00:00:00Z

Query parameters

operationsboolean

Flag indicating whether to include block operations into returned object or not

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

cycleinteger

Index of the cycle

levelinteger

Height of the block from the genesis

hashstring required

Block hash

timestampstring date-time

Datetime at which the block is claimed to have been created (ISO 8601, e.g. 2020-02-20T02:40:57Z)

protointeger

Protocol code, representing a number of protocol changes since genesis (mod 256, but -1 for the genesis block)

payloadRoundinteger

Round at which the block payload was proposed

blockRoundinteger

Round at which the block was produced

attestationPowerinteger

Recorder attestation power

attestationCommitteeinteger

Total attestation committee power

depositinteger

Security deposit frozen on the baker's account for producing the block (micro tez)

rewardDelegatedinteger

Portion of fixed reward, corresponding to delegated stake, paid to payload proposer's liquid balance (micro tez) (it is not frozen and can be spent immediately).

rewardStakedOwninteger

Portion of fixed reward, corresponding to baker's own stake, paid to payload proposer's own staked balance (micro tez) (it is frozen and belongs to the baker).

rewardStakedEdgeinteger

Portion of fixed reward, corresponding to baker's edge from external stake, paid to payload proposer's own staked balance (micro tez) (it is frozen and belongs to the baker).

rewardStakedSharedinteger

Portion of fixed reward, corresponding to baker's external stake, paid to payload proposer's external staked balance (micro tez) (it is frozen and belongs to baker's stakers).

bonusDelegatedinteger

Portion of bonus reward, corresponding to delegated stake, paid to block producer's liquid balance (micro tez) (it is not frozen and can be spent immediately).

bonusStakedOwninteger

Portion of bonus reward, corresponding to baker's own stake, paid to block producer's own staked balance (micro tez) (it is frozen and belongs to the baker).

bonusStakedEdgeinteger

Portion of bonus reward, corresponding to baker's edge from external stake, paid to block producer's own staked balance (micro tez) (it is frozen and belongs to the baker).

bonusStakedSharedinteger

Portion of fixed reward, corresponding to baker's external stake, paid to block producer's external staked balance (micro tez) (it is frozen and belongs to baker's stakers).

feesinteger

Total fee gathered from operations, included into the block

nonceRevealedboolean

Status of the seed nonce revelation true - seed nonce revealed false - there's no seed_nonce_hash in the block or seed nonce revelation has missed

lbToggleboolean nullable

Liquidity baking toggle (true if enabled, false if disabled, or null if the baker says 'pass')

lbToggleEmainteger

Liquidity baking escape EMA value with precision of 1000000 for integer computation

validationsinteger

DEPRECATED

aiToggleboolean nullable

DEPRECATED

aiToggleEmainteger

DEPRECATED

Changes