Перейти к основному содержимому

Поиск блока

Получите строку блока по высоте или хешу и при необходимости разверните связанные транзакции и квитанции.

Сеть
Включить квитанцииПоле тела запроса
Включить транзакцииПоле тела запроса
API-ключ FastNearНет сохранённого ключа
Получить API-ключ
Эндпоинтhttps://tx.main.fastnear.com
Авторизацияне обнаружена
Живой ответ

Ответы от выбранного эндпоинта появляются здесь после запуска запроса.

Здесь появится вывод живого ответа после запуска запроса.

Справка по запросу

application/json

Эта операция выполняет POST /v0/block с телом запроса типа application/json.

Обязательные входные данные запроса: да

POST /v0/block
{
  "block_id": 193916411,
  "with_receipts": true,
  "with_transactions": true
}

Схема тела запроса

objectBlockInput
требует block_id
block_id *один из
integerstring
with_receiptsboolean
with_transactionsboolean

Справка по ответу

200 application/json

Результат поиска блока

Схема ответа

objectBlockResponse
требует блока, block_txs, block_receipts
блока *object
требует block_height, block_hash, prev_block_hash, block_timestamp, epoch_id, next_epoch_id, chunks_included, author_id, protocol_version, gas_price, total_supply, num_transactions, num_receipts, gas_burnt, tokens_burnt
author_id *string
block_hash *string
block_height *integer
block_ordinalinteger
block_timestamp *string
chunks_included *integer
epoch_id *string
gas_burnt *string
gas_price *string
next_epoch_id *string
num_receipts *integer
num_transactions *integer
prev_block_hash *string
prev_block_heightinteger
protocol_version *integer
tokens_burnt *string
total_supply *string
block_receipts *array
itemsobjectReceiptTxRow
требует receipt_id, block_height, block_timestamp, receipt_index, appear_block_height, appear_receipt_index, transaction_hash, tx_block_height, tx_block_timestamp, tx_index, predecessor_id, receiver_id, receipt_type, priority, shard_id, is_success
appear_block_height *integer
appear_receipt_index *integer
block_height *integer
block_timestamp *string
is_success *boolean
predecessor_id *string
priority *integer
receipt_id *string
receipt_index *integer
receipt_type *string
receiver_id *string
shard_id *integer
transaction_hash *string
tx_block_height *integer
tx_block_timestamp *string
tx_index *integer
block_txs *array
itemsobjectBlockTxRow
требует transaction_hash, signer_id, tx_block_height, tx_index, tx_block_hash, tx_block_timestamp, last_block_height, is_completed, shard_id, receiver_id, signer_public_key, priority_fee, nonce, is_relayed, real_signer_id, real_receiver_id, is_success, gas_burnt, tokens_burnt
gas_burnt *integer
is_completed *boolean
is_relayed *boolean
is_success *boolean
last_block_height *integer
nonce *integer
priority_fee *integer
real_receiver_id *string
real_signer_id *string
receiver_id *string
shard_id *integer
signer_id *string
signer_public_key *string
tokens_burnt *string
transaction_hash *string
tx_block_hash *string
tx_block_height *integer
tx_block_timestamp *string
tx_index *integer