Optimistic Block by Height
Fetch an optimistic (not-yet-final) block at a chosen height — may redirect once the optimistic window has finalized.
Fetch an optimistic (not-yet-final) block at a chosen height — may redirect once the optimistic window has finalized.
Responses from the selected endpoint appear here after you run a request.
Live response output will appear here after you run a request.
This operation performs GET /v0/block_opt/{block_height}.
Required request inputs: yes
GET /v0/block_opt/9820210
block_height *stringapiKeystringRequested document, or null when the selected slice is absent
Full block document as served by neardata, including the block envelope and per-shard payloads.
block *objectBlockEnvelopeBlock-level payload returned by neardata.
author *stringBlock producer account ID.
chunks *arrayitemsobjectChunkHeaderChunk header object as served by neardata.
chunk_hashstringgas_limitintegergas_usedintegerheight_createdintegerheight_includedintegeroutcome_rootstringoutgoing_receipts_rootstringprev_block_hashstringshard_idintegertx_rootstringheader *objectBlockHeaderBlock header object as served by neardata.
chunks_includedintegerepoch_idstringgas_pricestringhashstringheightintegernext_epoch_idstringprev_hashstringprev_heightintegertimestampintegertimestamp_nanosecstringtotal_supplystringshards *arrayitemsobjectShardDocumentPer-shard payload returned by neardata for a block.
chunk *objectChunkDocumentChunk payload returned by neardata for a single shard in a selected block.
author *stringChunk producer account ID.
header *objectChunkHeaderChunk header object as served by neardata.
chunk_hashstringgas_limitintegergas_usedintegerheight_createdintegerheight_includedintegeroutcome_rootstringoutgoing_receipts_rootstringprev_block_hashstringshard_idintegertx_rootstringreceipts *arrayitemsobjectReceiptDocumentReceipt object as served by neardata inside a chunk payload.
predecessor_id *stringpriority *integerreceipt *one ofReceiptBodyAction *objectActionReceiptDocumentactions *arrayitemsobjectActionDocumentgas_price *stringinput_data_ids *arrayitemsstringis_promise_yield *booleanoutput_data_receivers *arrayitemsobjectOutputDataReceiverDocumentdata_id *stringreceiver_id *stringsigner_id *stringsigner_public_key *stringData *objectDataReceiptDocumentdata *stringdata_id *stringis_promise_resume *booleanreceipt_id *stringreceiver_id *stringtransactions *arrayitemsobjectChunkTransactionWrapperTransaction entry returned inside a neardata chunk.
outcome *objectExecutionWithReceiptExecution result paired with an optional receipt object.
execution_outcome *objectExecutionOutcomeDocumentblock_hash *stringid *stringoutcome *objectExecutionOutcomeSummaryexecutor_id *stringgas_burnt *integerlogs *arrayitemsstringmetadata *objectreceipt_ids *arrayitemsstringstatus *one ofExecutionOutcomeStatusSuccessReceiptId *stringSuccessValue *stringFailure *objecttokens_burnt *stringproof *arrayitemsobjectExecutionProofItemreceipt *one ofReceipt payload when neardata includes it for this entry.
Receipt object as served by neardata inside a chunk payload.
predecessor_id *stringpriority *integerreceipt *one ofReceiptBodyAction *objectActionReceiptDocumentactions *arrayitemsobjectActionDocumentgas_price *stringinput_data_ids *arrayitemsstringis_promise_yield *booleanoutput_data_receivers *arrayitemsobjectOutputDataReceiverDocumentdata_id *stringreceiver_id *stringsigner_id *stringsigner_public_key *stringData *objectDataReceiptDocumentdata *stringdata_id *stringis_promise_resume *booleanreceipt_id *stringreceiver_id *stringtx_hashstringtransaction *objectSignedTransactionDocumentactions *arrayitemsobjectActionDocumenthash *stringnonce *integerpriority_fee *integerpublic_key *stringreceiver_id *stringsignature *stringsigner_id *stringreceipt_execution_outcomes *arrayitemsobjectExecutionWithReceiptExecution result paired with an optional receipt object.
execution_outcome *objectExecutionOutcomeDocumentblock_hash *stringid *stringoutcome *objectExecutionOutcomeSummaryexecutor_id *stringgas_burnt *integerlogs *arrayitemsstringmetadata *objectreceipt_ids *arrayitemsstringstatus *one ofExecutionOutcomeStatusSuccessReceiptId *stringSuccessValue *stringFailure *objecttokens_burnt *stringproof *arrayitemsobjectExecutionProofItemreceipt *one ofReceipt payload when neardata includes it for this entry.
Receipt object as served by neardata inside a chunk payload.
predecessor_id *stringpriority *integerreceipt *one ofReceiptBodyAction *objectActionReceiptDocumentactions *arrayitemsobjectActionDocumentgas_price *stringinput_data_ids *arrayitemsstringis_promise_yield *booleanoutput_data_receivers *arrayitemsobjectOutputDataReceiverDocumentdata_id *stringreceiver_id *stringsigner_id *stringsigner_public_key *stringData *objectDataReceiptDocumentdata *stringdata_id *stringis_promise_resume *booleanreceipt_id *stringreceiver_id *stringtx_hashstringshard_id *integerstate_changes *arrayitemsobjectStateChangeItemState change entry returned by neardata for a shard.
cause *one ofStateChangeCausetx_hash *stringtype *stringreceipt_hash *stringtype *stringreceipt_hash *stringtype *stringchange *one ofStateChangeValueaccount_id *stringamount *stringcode_hash *stringlocked *stringstorage_paid_at *integerstorage_usage *integeraccess_key *objectaccount_id *stringpublic_key *stringaccount_id *stringkey_base64 *stringvalue_base64 *stringaccount_id *stringkey_base64 *stringtype *string