From 67dbfd1fcbb9735b1f7c30f050820b61e3b9feb1 Mon Sep 17 00:00:00 2001 From: Ben Orozco Date: Thu, 20 Nov 2025 23:52:16 -0600 Subject: [PATCH 1/5] feat: include index_block_hash in [abstract] tx schema --- src/api/controllers/db-controller.ts | 1 + src/api/schemas/entities/transactions.ts | 3 +++ tests/api/tx.test.ts | 11 +++++++++++ 3 files changed, 15 insertions(+) diff --git a/src/api/controllers/db-controller.ts b/src/api/controllers/db-controller.ts index 9c0ac09056..835c64edad 100644 --- a/src/api/controllers/db-controller.ts +++ b/src/api/controllers/db-controller.ts @@ -1125,6 +1125,7 @@ function parseDbAbstractTx(dbTx: DbTx, baseTx: BaseTransaction): AbstractTransac ...baseTx, is_unanchored: dbTx.block_hash === '0x', block_hash: dbTx.block_hash, + index_block_hash: dbTx.index_block_hash, parent_block_hash: dbTx.parent_block_hash, block_height: dbTx.block_height, block_time: dbTx.block_time || dbTx.burn_block_time, diff --git a/src/api/schemas/entities/transactions.ts b/src/api/schemas/entities/transactions.ts index 2491e82c7c..1a9fca5efb 100644 --- a/src/api/schemas/entities/transactions.ts +++ b/src/api/schemas/entities/transactions.ts @@ -55,6 +55,9 @@ const AbstractTransactionProperties = { block_hash: Type.String({ description: 'Hash of the blocked this transactions was associated with', }), + index_block_hash: Type.String({ + description: 'Hash of the block index this transactions was associated with', + }), block_height: Type.Integer({ description: 'Height of the block this transactions was associated with', }), diff --git a/tests/api/tx.test.ts b/tests/api/tx.test.ts index e66bec0707..4986bbfa9a 100644 --- a/tests/api/tx.test.ts +++ b/tests/api/tx.test.ts @@ -462,6 +462,7 @@ describe('tx tests', () => { const expectedResp = { block_hash: '0xff', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', @@ -618,6 +619,7 @@ describe('tx tests', () => { const expectedResp = { block_hash: '0xff', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', @@ -773,6 +775,7 @@ describe('tx tests', () => { const expectedResp = { block_hash: '0xff', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', @@ -962,6 +965,7 @@ describe('tx tests', () => { const expectedResp = { block_hash: '0xff', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', @@ -1601,6 +1605,7 @@ describe('tx tests', () => { const expectedResp: Transaction = { block_hash: '0xff', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', @@ -1818,6 +1823,7 @@ describe('tx tests', () => { const expectedResp = { block_hash: '0x5678', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', @@ -1980,6 +1986,7 @@ describe('tx tests', () => { const expectedResp = { block_hash: '0xff', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', @@ -3643,6 +3650,7 @@ describe('tx tests', () => { parent_burn_block_time_iso: '2021-07-12T20:48:55.000Z', tx_status: 'success', block_hash: '0x1234', + index_block_hash: '0xdeadbeef', block_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', @@ -3827,6 +3835,7 @@ describe('tx tests', () => { anchor_mode: 'any', is_unanchored: false, block_hash: '0xd10ccecfd7ac9e5f8a10de0532fac028559b31a6ff494d82147f6297fb663139', + index_block_hash: '0xd10ccecfd7ac9e5f8a10de0532fac028559b31a6ff494d82147f6297fb663139', block_time: 1637003433, block_time_iso: '2021-11-15T19:10:33.000Z', parent_block_hash: '0x', @@ -3929,6 +3938,7 @@ describe('tx tests', () => { anchor_mode: 'any', is_unanchored: false, block_hash: '0xd10ccecfd7ac9e5f8a10de0532fac028559b31a6ff494d82147f6297fb663139', + index_block_hash: '0xd10ccecfd7ac9e5f8a10de0532fac028559b31a6ff494d82147f6297fb663139', parent_block_hash: '0x', block_height: 1, block_time: 1637003433, @@ -4290,6 +4300,7 @@ describe('tx tests', () => { expect(json.results[0]).toStrictEqual({ anchor_mode: 'any', block_hash: '0x00000000000000000001e2ee7f0c6bd5361b5e7afd76156ca7d6f524ee5ca3d8', + index_block_hash: '0xdeadbeef', block_height: 1, block_time: 94869287, block_time_iso: '1973-01-03T00:34:47.000Z', From d5cff8a5321f33369137bd2d7e566f82d32e4108 Mon Sep 17 00:00:00 2001 From: Ben Orozco Date: Thu, 20 Nov 2025 23:53:44 -0600 Subject: [PATCH 2/5] chore: npm run generate:client MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit took me a while to figure out I needed to re-generate OpenAPI type schemas as they’re used for tests mocks --- client/src/generated/schema.d.ts | 250 ++++++++++++++++++++++++++++++- 1 file changed, 248 insertions(+), 2 deletions(-) diff --git a/client/src/generated/schema.d.ts b/client/src/generated/schema.d.ts index e110639842..5bdae334f6 100644 --- a/client/src/generated/schema.d.ts +++ b/client/src/generated/schema.d.ts @@ -1945,6 +1945,8 @@ export interface operations { * @example 123 */ nonce?: number; + /** @description Exclude function_args from contract call responses for smaller transaction sizes. */ + exclude_function_args?: boolean; }; header?: never; path?: never; @@ -2051,6 +2053,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -2266,6 +2270,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -2481,6 +2487,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -2703,6 +2711,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -2917,6 +2927,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -3131,6 +3143,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -3302,6 +3316,8 @@ export interface operations { * @example true */ unanchored?: boolean; + /** @description Exclude function_args from contract call responses for smaller transaction sizes. */ + exclude_function_args?: boolean; }; header?: never; path?: never; @@ -3405,6 +3421,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -3620,6 +3638,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -3835,6 +3855,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -4057,6 +4079,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -4271,6 +4295,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -4485,6 +4511,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -4709,6 +4737,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -4808,6 +4837,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -4907,6 +4937,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -5013,6 +5044,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -5111,6 +5143,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -5209,6 +5242,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -5289,6 +5323,8 @@ export interface operations { offset?: number; /** @description Results per page */ limit?: number; + /** @description Exclude function_args from contract call responses for smaller transaction sizes. */ + exclude_function_args?: boolean; }; header?: never; path?: never; @@ -5395,6 +5431,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -5494,6 +5531,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -5593,6 +5631,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -5699,6 +5738,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -5797,6 +5837,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -5895,6 +5936,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -6140,6 +6182,8 @@ export interface operations { * @example true */ unanchored?: boolean; + /** @description Exclude function_args from contract call responses for smaller transaction sizes. */ + exclude_function_args?: boolean; }; header?: never; path: { @@ -6245,6 +6289,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -6460,6 +6506,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -6675,6 +6723,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -6897,6 +6947,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -7111,6 +7163,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -7325,6 +7379,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -7549,6 +7605,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -7648,6 +7705,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -7747,6 +7805,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -7853,6 +7912,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -7951,6 +8011,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -8049,6 +8110,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -8144,6 +8206,8 @@ export interface operations { offset?: number; /** @description Results per page */ limit?: number; + /** @description Exclude function_args from contract call responses for smaller transaction sizes. */ + exclude_function_args?: boolean; }; header?: never; path: { @@ -8252,6 +8316,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -8467,6 +8533,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -8682,6 +8750,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -8904,6 +8974,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -9118,6 +9190,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -9332,6 +9406,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -9497,6 +9573,8 @@ export interface operations { offset?: number; /** @description Results per page */ limit?: number; + /** @description Exclude function_args from contract call responses for smaller transaction sizes. */ + exclude_function_args?: boolean; }; header?: never; path: { @@ -9609,6 +9687,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -9824,6 +9904,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -10039,6 +10121,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -10261,6 +10345,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -10475,6 +10561,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -10689,6 +10777,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -11254,6 +11344,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -11469,6 +11561,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -11684,6 +11778,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -11906,6 +12002,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -12120,6 +12218,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -12334,6 +12434,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -12634,6 +12736,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -12849,6 +12953,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -13064,6 +13170,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -13286,6 +13394,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -13500,6 +13610,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -13714,6 +13826,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -14019,6 +14133,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -14234,6 +14350,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -14449,6 +14567,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -14671,6 +14791,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -14885,6 +15007,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -15099,6 +15223,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -15833,6 +15959,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -16048,6 +16176,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -16263,6 +16393,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -16485,6 +16617,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -16699,6 +16833,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -16913,6 +17049,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -18018,6 +18156,8 @@ export interface operations { unanchored?: boolean; /** @description Block hash or block height. Return data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time. */ until_block?: string; + /** @description Exclude function_args from contract call responses for smaller transaction sizes. */ + exclude_function_args?: boolean; }; header?: never; path: { @@ -18126,6 +18266,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -18341,6 +18483,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -18556,6 +18700,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -18778,6 +18924,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -18992,6 +19140,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -19206,6 +19356,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -19473,6 +19625,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -19688,6 +19842,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -19903,6 +20059,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -20125,6 +20283,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -20339,6 +20499,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -20553,6 +20715,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -20871,6 +21035,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -21086,6 +21252,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -21301,6 +21469,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -21523,6 +21693,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -21737,6 +21909,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -21951,6 +22125,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -22353,6 +22529,8 @@ export interface operations { * @example true */ unanchored?: boolean; + /** @description Exclude function_args from contract call responses for smaller transaction sizes. */ + exclude_function_args?: boolean; }; header?: never; path: { @@ -22461,6 +22639,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -22560,6 +22739,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -22659,6 +22839,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -22765,6 +22946,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -22863,6 +23045,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -22961,6 +23144,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -23301,6 +23485,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -23516,6 +23702,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -23731,6 +23919,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -23953,6 +24143,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -24167,6 +24359,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -24381,6 +24575,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -24605,6 +24801,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -24704,6 +24901,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -24803,6 +25001,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -24909,6 +25108,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -25007,6 +25207,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -25105,6 +25306,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -25222,6 +25424,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -25321,6 +25524,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -25420,6 +25624,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -25526,6 +25731,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -25624,6 +25830,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -25722,6 +25929,7 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Status of the transaction */ tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic"; + replaced_by_tx_id: string | null; /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */ receipt_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */ @@ -25843,6 +26051,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -26058,6 +26268,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -26273,6 +26485,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -26495,6 +26709,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -26709,6 +26925,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -26923,6 +27141,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -27347,7 +27567,7 @@ export interface operations { limit?: number; /** @description Result offset */ offset?: number; - /** @description Cursor for pagination */ + /** @description Cursor for block pagination */ cursor?: string; }; header?: never; @@ -27668,6 +27888,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -27883,6 +28105,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -28098,6 +28322,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -28320,6 +28546,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -28534,6 +28762,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -28748,6 +28978,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -29165,7 +29397,7 @@ export interface operations { limit?: number; /** @description Result offset */ offset?: number; - /** @description Cursor for pagination */ + /** @description Cursor for block pagination */ cursor?: string; }; header?: never; @@ -29651,6 +29883,8 @@ export interface operations { limit?: number; /** @description Result offset */ offset?: number; + /** @description Exclude function_args from contract call responses for smaller transaction sizes. */ + exclude_function_args?: boolean; }; header?: never; path: { @@ -29760,6 +29994,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -29975,6 +30211,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -30190,6 +30428,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -30412,6 +30652,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -30626,6 +30868,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ @@ -30840,6 +31084,8 @@ export interface operations { anchor_mode: "on_chain_only" | "off_chain_only" | "any"; /** @description Hash of the blocked this transactions was associated with */ block_hash: string; + /** @description Hash of the block index this transactions was associated with */ + index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ From c37c698926ea5bfa766f6d2efbc5f6c9d937eab2 Mon Sep 17 00:00:00 2001 From: Ben Orozco Date: Fri, 21 Nov 2025 00:08:20 -0600 Subject: [PATCH 3/5] test: fix in address & search test mocks --- tests/api/address.test.ts | 15 +++++++++++++++ tests/api/search.test.ts | 2 ++ 2 files changed, 17 insertions(+) diff --git a/tests/api/address.test.ts b/tests/api/address.test.ts index 745018bec4..0f653492b6 100644 --- a/tests/api/address.test.ts +++ b/tests/api/address.test.ts @@ -273,6 +273,7 @@ describe('address tests', () => { post_conditions: [], tx_status: 'success', block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647994, block_time_iso: '2020-07-13T13:46:34.000Z', @@ -364,6 +365,7 @@ describe('address tests', () => { post_conditions: [], tx_status: 'success', block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647994, block_time_iso: '2020-07-13T13:46:34.000Z', @@ -429,6 +431,7 @@ describe('address tests', () => { post_conditions: [], tx_status: 'success', block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647994, block_time_iso: '2020-07-13T13:46:34.000Z', @@ -768,6 +771,7 @@ describe('address tests', () => { post_conditions: [], tx_status: 'success', block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647994, block_time_iso: '2020-07-13T13:46:34.000Z', @@ -844,6 +848,7 @@ describe('address tests', () => { post_conditions: [], tx_status: 'success', block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647994, block_time_iso: '2020-07-13T13:46:34.000Z', @@ -935,6 +940,7 @@ describe('address tests', () => { post_conditions: [], tx_status: 'success', block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 1594647994, block_time_iso: '2020-07-13T13:46:34.000Z', @@ -1915,6 +1921,7 @@ describe('address tests', () => { post_condition_mode: 'allow', post_conditions: [], block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 39486, block_time_iso: '1970-01-01T10:58:06.000Z', @@ -1975,6 +1982,7 @@ describe('address tests', () => { post_condition_mode: 'allow', post_conditions: [], block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 39486, block_time_iso: '1970-01-01T10:58:06.000Z', @@ -2019,6 +2027,7 @@ describe('address tests', () => { post_condition_mode: 'allow', post_conditions: [], block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 39486, block_time_iso: '1970-01-01T10:58:06.000Z', @@ -2064,6 +2073,7 @@ describe('address tests', () => { post_condition_mode: 'allow', post_conditions: [], block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 39486, block_time_iso: '1970-01-01T10:58:06.000Z', @@ -2109,6 +2119,7 @@ describe('address tests', () => { post_condition_mode: 'allow', post_conditions: [], block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 39486, burn_block_height: 100123123, @@ -2169,6 +2180,7 @@ describe('address tests', () => { post_condition_mode: 'allow', post_conditions: [], block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 39486, burn_block_height: 100123123, @@ -2241,6 +2253,7 @@ describe('address tests', () => { tx: { anchor_mode: 'any', block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 39486, block_time_iso: '1970-01-01T10:58:06.000Z', @@ -2322,6 +2335,7 @@ describe('address tests', () => { tx: { anchor_mode: 'any', block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 39486, block_time_iso: '1970-01-01T10:58:06.000Z', @@ -2401,6 +2415,7 @@ describe('address tests', () => { post_condition_mode: 'allow', post_conditions: [], block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 39486, block_time_iso: '1970-01-01T10:58:06.000Z', diff --git a/tests/api/search.test.ts b/tests/api/search.test.ts index ab4ad16073..1f80d276fa 100644 --- a/tests/api/search.test.ts +++ b/tests/api/search.test.ts @@ -555,6 +555,7 @@ describe('search tests', () => { anchor_mode: 'any', is_unanchored: false, block_hash: '0x1234000000000000000000000000000000000000000000000000000000000000', + index_block_hash: '0xdeadbeef', parent_block_hash: '0x', block_height: 1, block_time: 2837565, @@ -1553,6 +1554,7 @@ describe('search tests', () => { metadata: { anchor_mode: 'any', block_hash: '0x1234', + index_block_hash: '0x1234', block_height: 1, block_time: 2837565, block_time_iso: '1970-02-02T20:12:45.000Z', From baf9d1e308a6fa2945a2b58f6374c4436643dbea Mon Sep 17 00:00:00 2001 From: Ben Orozco Date: Sat, 22 Nov 2025 13:25:55 -0600 Subject: [PATCH 4/5] feat(api/tx): add block's tenure_height in tx's --- src/api/controllers/db-controller.ts | 1 + src/api/schemas/entities/transactions.ts | 5 +++++ src/datastore/common.ts | 2 ++ src/datastore/helpers.ts | 2 ++ src/datastore/pg-store.ts | 12 ++++++++++-- src/event-stream/core-node-message.ts | 1 + src/event-stream/reader.ts | 2 ++ tests/api/tx.test.ts | 24 ++++++++++++++++++++++++ tests/utils/test-builders.ts | 2 ++ 9 files changed, 49 insertions(+), 2 deletions(-) diff --git a/src/api/controllers/db-controller.ts b/src/api/controllers/db-controller.ts index 835c64edad..368baa501f 100644 --- a/src/api/controllers/db-controller.ts +++ b/src/api/controllers/db-controller.ts @@ -1128,6 +1128,7 @@ function parseDbAbstractTx(dbTx: DbTx, baseTx: BaseTransaction): AbstractTransac index_block_hash: dbTx.index_block_hash, parent_block_hash: dbTx.parent_block_hash, block_height: dbTx.block_height, + tenure_height: dbTx.tenure_height, block_time: dbTx.block_time || dbTx.burn_block_time, block_time_iso: dbTx.block_time ? unixEpochToIso(dbTx.block_time) diff --git a/src/api/schemas/entities/transactions.ts b/src/api/schemas/entities/transactions.ts index 1a9fca5efb..9ddfaf94ae 100644 --- a/src/api/schemas/entities/transactions.ts +++ b/src/api/schemas/entities/transactions.ts @@ -61,6 +61,11 @@ const AbstractTransactionProperties = { block_height: Type.Integer({ description: 'Height of the block this transactions was associated with', }), + tenure_height: Nullable( + Type.Integer({ + description: 'Height of the block index (tenure) this transactions was associated with', + }) + ), block_time: Type.Number({ description: 'Unix timestamp (in seconds) indicating when this block was mined.', }), diff --git a/src/datastore/common.ts b/src/datastore/common.ts index 52b7265421..406410aea0 100644 --- a/src/datastore/common.ts +++ b/src/datastore/common.ts @@ -185,6 +185,7 @@ export interface DbTx extends BaseTx { block_hash: string; parent_block_hash: string; block_height: number; + tenure_height: number | null; burn_block_time: number; burn_block_height: number; parent_burn_block_time: number; @@ -963,6 +964,7 @@ export interface TxQueryResult { block_time: number; parent_block_hash: string; block_height: number; + tenure_height: number | null; burn_block_height: number; burn_block_time: number; parent_burn_block_time: number; diff --git a/src/datastore/helpers.ts b/src/datastore/helpers.ts index fa649218a7..71c689471f 100644 --- a/src/datastore/helpers.ts +++ b/src/datastore/helpers.ts @@ -363,6 +363,7 @@ export function parseTxQueryResult(result: ContractTxQueryResult): DbTx { block_time: result.block_time || result.burn_block_time, parent_block_hash: result.parent_block_hash, block_height: result.block_height, + tenure_height: result.tenure_height, burn_block_height: result.burn_block_height, burn_block_time: result.burn_block_time, parent_burn_block_time: result.parent_burn_block_time, @@ -1183,6 +1184,7 @@ export function createDbTxFromCoreMsg(msg: CoreNodeParsedTxMessage): DbTxRaw { parent_block_hash: msg.parent_block_hash, block_hash: msg.block_hash, block_height: msg.block_height, + tenure_height: msg.tenure_height, burn_block_height: msg.burn_block_height, burn_block_time: msg.burn_block_time, parent_burn_block_time: msg.parent_burn_block_time, diff --git a/src/datastore/pg-store.ts b/src/datastore/pg-store.ts index c192378686..1bd86d08dd 100644 --- a/src/datastore/pg-store.ts +++ b/src/datastore/pg-store.ts @@ -1379,8 +1379,12 @@ export class PgStore extends BasePgStore { return await this.sqlTransaction(async sql => { const maxBlockHeight = await this.getMaxBlockHeight(sql, { includeUnanchored }); const result = await sql` - SELECT ${sql(TX_COLUMNS)}, ${abiColumn(sql)} + SELECT ${sql(TX_COLUMNS)}, blocks.tenure_height, ${abiColumn(sql)} FROM txs + LEFT JOIN ( + SELECT index_block_hash, tenure_height + FROM blocks + ) AS blocks USING (index_block_hash) WHERE tx_id = ${txId} AND block_height <= ${maxBlockHeight} ORDER BY canonical DESC, microblock_canonical DESC, block_height DESC LIMIT 1 @@ -3573,8 +3577,12 @@ export class PgStore extends BasePgStore { return await this.sqlTransaction(async sql => { const maxBlockHeight = await this.getMaxBlockHeight(sql, { includeUnanchored }); const result = await sql` - SELECT ${sql(TX_COLUMNS)}, ${abiColumn(sql)} + SELECT ${sql(TX_COLUMNS)}, blocks.tenure_height, ${abiColumn(sql)} FROM txs + LEFT JOIN ( + SELECT index_block_hash, tenure_height + FROM blocks + ) AS blocks USING (index_block_hash) WHERE tx_id IN ${sql(txIds)} AND block_height <= ${maxBlockHeight} AND canonical = true diff --git a/src/event-stream/core-node-message.ts b/src/event-stream/core-node-message.ts index 0656794d83..0b0ddfed28 100644 --- a/src/event-stream/core-node-message.ts +++ b/src/event-stream/core-node-message.ts @@ -345,6 +345,7 @@ export interface CoreNodeParsedTxMessage { microblock_sequence: number; microblock_hash: string; block_height: number; + tenure_height: number | null, burn_block_height: number; burn_block_time: number; parent_burn_block_time: number; diff --git a/src/event-stream/reader.ts b/src/event-stream/reader.ts index 6525d818c6..91edce9c5b 100644 --- a/src/event-stream/reader.ts +++ b/src/event-stream/reader.ts @@ -744,6 +744,7 @@ export interface CoreNodeMsgBlockData { parent_burn_block_height: number; parent_burn_block_hash: string; block_height: number; + tenure_height: number | null; burn_block_time: number; burn_block_height: number; block_time: number; @@ -941,6 +942,7 @@ export function parseMessageTransaction( parent_burn_block_hash: blockData.parent_burn_block_hash, parent_burn_block_time: blockData.parent_burn_block_timestamp, block_height: blockData.block_height, + tenure_height: blockData.tenure_height, burn_block_height: blockData.burn_block_height, burn_block_time: blockData.burn_block_time, microblock_sequence: coreTx.microblock_sequence ?? I32_MAX, diff --git a/tests/api/tx.test.ts b/tests/api/tx.test.ts index 4986bbfa9a..0f5615502b 100644 --- a/tests/api/tx.test.ts +++ b/tests/api/tx.test.ts @@ -105,6 +105,7 @@ describe('tx tests', () => { parent_index_block_hash: '', parent_block_hash: '', block_height: 1, + tenure_height: 1, tx_index: 33, index_block_hash: '0xd10ccecfd7ac9e5f8a10de0532fac028559b31a6ff494d82147f6297fb663139', block_hash: '0xd10ccecfd7ac9e5f8a10de0532fac028559b31a6ff494d82147f6297fb663139', @@ -181,6 +182,7 @@ describe('tx tests', () => { index_block_hash: '0x1234', parent_block_hash: '0x5678', block_height: 0, + tenure_height: 0, block_time: 39486, burn_block_height: 0, burn_block_time: 39486, @@ -230,6 +232,7 @@ describe('tx tests', () => { index_block_hash: '0x1234', parent_block_hash: '0x5678', block_height: 0, + tenure_height: 1, block_time: 39486, burn_block_height: 0, burn_block_time: 39486, @@ -413,6 +416,7 @@ describe('tx tests', () => { microblock_sequence: I32_MAX, block_hash: dbBlock.block_hash, block_height: dbBlock.block_height, + tenure_height: dbBlock.tenure_height, block_time: dbBlock.burn_block_time, burn_block_height: dbBlock.burn_block_height, burn_block_time: dbBlock.burn_block_time, @@ -464,6 +468,7 @@ describe('tx tests', () => { block_hash: '0xff', index_block_hash: '0x1234', block_height: 1, + tenure_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', burn_block_height: 123, @@ -579,6 +584,7 @@ describe('tx tests', () => { microblock_sequence: I32_MAX, block_hash: dbBlock.block_hash, block_height: dbBlock.block_height, + tenure_height: dbBlock.tenure_height, block_time: dbBlock.burn_block_time, burn_block_height: dbBlock.burn_block_height, burn_block_time: dbBlock.burn_block_time, @@ -621,6 +627,7 @@ describe('tx tests', () => { block_hash: '0xff', index_block_hash: '0x1234', block_height: 1, + tenure_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', burn_block_height: 123, @@ -735,6 +742,7 @@ describe('tx tests', () => { microblock_sequence: I32_MAX, block_hash: dbBlock.block_hash, block_height: dbBlock.block_height, + tenure_height: dbBlock.tenure_height, block_time: dbBlock.burn_block_time, burn_block_height: dbBlock.burn_block_height, burn_block_time: dbBlock.burn_block_time, @@ -777,6 +785,7 @@ describe('tx tests', () => { block_hash: '0xff', index_block_hash: '0x1234', block_height: 1, + tenure_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', burn_block_height: 123, @@ -902,6 +911,7 @@ describe('tx tests', () => { microblock_sequence: I32_MAX, block_hash: dbBlock.block_hash, block_height: dbBlock.block_height, + tenure_height: dbBlock.tenure_height, block_time: dbBlock.burn_block_time, burn_block_height: dbBlock.burn_block_height, burn_block_time: dbBlock.burn_block_time, @@ -967,6 +977,7 @@ describe('tx tests', () => { block_hash: '0xff', index_block_hash: '0x1234', block_height: 1, + tenure_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', burn_block_height: 123, @@ -1133,6 +1144,7 @@ describe('tx tests', () => { microblock_sequence: I32_MAX, block_hash: dbBlock.block_hash, block_height: dbBlock.block_height, + tenure_height: dbBlock.tenure_height, block_time: dbBlock.burn_block_time, burn_block_height: dbBlock.burn_block_height, burn_block_time: dbBlock.burn_block_time, @@ -1279,6 +1291,7 @@ describe('tx tests', () => { index_block_hash: dbBlock.index_block_hash, block_hash: dbBlock.block_hash, block_height: dbBlock.block_height, + tenure_height: dbBlock.tenure_height, block_time: 2837565, burn_block_height: dbBlock.burn_block_height, burn_block_time: 2837565, @@ -1543,6 +1556,7 @@ describe('tx tests', () => { microblock_sequence: I32_MAX, block_hash: dbBlock.block_hash, block_height: dbBlock.block_height, + tenure_height: dbBlock.tenure_height, block_time: 1594647995, burn_block_height: dbBlock.burn_block_height, burn_block_time: 1594647995, @@ -1607,6 +1621,7 @@ describe('tx tests', () => { block_hash: '0xff', index_block_hash: '0x1234', block_height: 1, + tenure_height: 1, block_time: 1594647995, block_time_iso: '2020-07-13T13:46:35.000Z', burn_block_height: 123, @@ -1784,6 +1799,7 @@ describe('tx tests', () => { burn_block_height: dbBlock.burn_block_height, block_hash: dbBlock.parent_block_hash, block_height: dbBlock.block_height, + tenure_height: dbBlock.tenure_height, block_time: 1594647995, burn_block_time: 1594647995, parent_burn_block_hash: '0xaa', @@ -1946,6 +1962,7 @@ describe('tx tests', () => { microblock_sequence: I32_MAX, block_hash: dbBlock.block_hash, block_height: dbBlock.block_height, + tenure_height: dbBlock.tenure_height, block_time: dbBlock.burn_block_time, burn_block_height: dbBlock.burn_block_height, burn_block_time: dbBlock.burn_block_time, @@ -2783,6 +2800,7 @@ describe('tx tests', () => { index_block_hash: block.index_block_hash, block_hash: block.block_hash, block_height: block.block_height, + tenure_height: 1, block_time: 2837565, burn_block_height: block.block_height, burn_block_time: 2837565, @@ -2909,6 +2927,7 @@ describe('tx tests', () => { index_block_hash: '0x1234', block_hash: block.block_hash, block_height: block.block_height, + tenure_height: 1, block_time: block.burn_block_time, burn_block_height: block.burn_block_height, burn_block_time: block.burn_block_time, @@ -3568,6 +3587,7 @@ describe('tx tests', () => { index_block_hash: block.index_block_hash, block_hash: block.block_hash, block_height: block.block_height, + tenure_height: 1, block_time: 1594647995, burn_block_height: block.burn_block_height, burn_block_time: 1594647995, @@ -3712,6 +3732,7 @@ describe('tx tests', () => { parent_index_block_hash: '', parent_block_hash: '', block_height: 1, + tenure_height: 1, block_time: 1637003433, tx_index: 33, index_block_hash: '0xd10ccecfd7ac9e5f8a10de0532fac028559b31a6ff494d82147f6297fb663139', @@ -3753,6 +3774,7 @@ describe('tx tests', () => { parent_index_block_hash: '', parent_block_hash: '', block_height: 1, + tenure_height: 1, tx_index: 33, index_block_hash: '0xd10ccecfd7ac9e5f8a10de0532fac028559b31a6ff494d82147f6297fb663139', block_hash: '0xd10ccecfd7ac9e5f8a10de0532fac028559b31a6ff494d82147f6297fb663139', @@ -4182,6 +4204,7 @@ describe('tx tests', () => { index_block_hash: block.index_block_hash, block_hash: block.block_hash, block_height: block.block_height, + tenure_height: block.tenure_height, block_time: block.burn_block_time, burn_block_height: block.burn_block_height, burn_block_time: block.burn_block_time, @@ -4403,6 +4426,7 @@ describe('tx tests', () => { index_block_hash: block.index_block_hash, block_hash: block.block_hash, block_height: block.block_height, + tenure_height: block.tenure_height, block_time: block.burn_block_time, burn_block_height: block.burn_block_height, burn_block_time: block.burn_block_time, diff --git a/tests/utils/test-builders.ts b/tests/utils/test-builders.ts index 5ee5bdf3de..1d46344826 100644 --- a/tests/utils/test-builders.ts +++ b/tests/utils/test-builders.ts @@ -34,6 +34,7 @@ import { bufferToHex } from '@hirosystems/api-toolkit'; // Default values when none given. Useful when they are irrelevant for a particular test. const BLOCK_HEIGHT = 1; +const TENURE_HEIGHT = 1; const BLOCK_HASH = '0x123456'; const INDEX_BLOCK_HASH = '0xdeadbeef'; const MICROBLOCK_HASH = '0x123466'; @@ -219,6 +220,7 @@ function testTx(args?: TestTxArgs): DataStoreTxEventData { index_block_hash: args?.index_block_hash ?? INDEX_BLOCK_HASH, block_hash: args?.block_hash ?? BLOCK_HASH, block_height: args?.block_height ?? BLOCK_HEIGHT, + tenure_height: args?.tenure_height ?? TENURE_HEIGHT, burn_block_height: args?.block_height ?? BLOCK_HEIGHT, burn_block_time: args?.burn_block_time ?? BURN_BLOCK_TIME, block_time: args?.block_time ?? STACKS_BLOCK_TIME, From 350277268420a4e774156a6279ae5f1c878645b1 Mon Sep 17 00:00:00 2001 From: Ben Orozco Date: Sat, 22 Nov 2025 13:26:31 -0600 Subject: [PATCH 5/5] chore: npm run generate:openapi generate:client --- client/src/generated/schema.d.ts | 96 ++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/client/src/generated/schema.d.ts b/client/src/generated/schema.d.ts index 5bdae334f6..ffee09e9dd 100644 --- a/client/src/generated/schema.d.ts +++ b/client/src/generated/schema.d.ts @@ -2057,6 +2057,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -2274,6 +2275,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -2491,6 +2493,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -2715,6 +2718,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -2931,6 +2935,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -3147,6 +3152,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -3425,6 +3431,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -3642,6 +3649,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -3859,6 +3867,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -4083,6 +4092,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -4299,6 +4309,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -4515,6 +4526,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -6293,6 +6305,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -6510,6 +6523,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -6727,6 +6741,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -6951,6 +6966,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -7167,6 +7183,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -7383,6 +7400,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -8320,6 +8338,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -8537,6 +8556,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -8754,6 +8774,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -8978,6 +8999,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -9194,6 +9216,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -9410,6 +9433,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -9691,6 +9715,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -9908,6 +9933,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -10125,6 +10151,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -10349,6 +10376,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -10565,6 +10593,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -10781,6 +10810,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -11348,6 +11378,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -11565,6 +11596,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -11782,6 +11814,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -12006,6 +12039,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -12222,6 +12256,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -12438,6 +12473,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -12740,6 +12776,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -12957,6 +12994,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -13174,6 +13212,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -13398,6 +13437,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -13614,6 +13654,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -13830,6 +13871,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -14137,6 +14179,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -14354,6 +14397,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -14571,6 +14615,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -14795,6 +14840,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -15011,6 +15057,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -15227,6 +15274,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -15963,6 +16011,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -16180,6 +16229,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -16397,6 +16447,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -16621,6 +16672,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -16837,6 +16889,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -17053,6 +17106,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -18270,6 +18324,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -18487,6 +18542,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -18704,6 +18760,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -18928,6 +18985,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -19144,6 +19202,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -19360,6 +19419,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -19629,6 +19689,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -19846,6 +19907,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -20063,6 +20125,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -20287,6 +20350,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -20503,6 +20567,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -20719,6 +20784,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -21039,6 +21105,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -21256,6 +21323,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -21473,6 +21541,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -21697,6 +21766,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -21913,6 +21983,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -22129,6 +22200,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -23489,6 +23561,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -23706,6 +23779,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -23923,6 +23997,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -24147,6 +24222,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -24363,6 +24439,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -24579,6 +24656,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -26055,6 +26133,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -26272,6 +26351,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -26489,6 +26569,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -26713,6 +26794,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -26929,6 +27011,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -27145,6 +27228,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -27892,6 +27976,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -28109,6 +28194,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -28326,6 +28412,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -28550,6 +28637,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -28766,6 +28854,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -28982,6 +29071,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -29998,6 +30088,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -30215,6 +30306,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -30432,6 +30524,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -30656,6 +30749,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -30872,6 +30966,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */ @@ -31088,6 +31183,7 @@ export interface operations { index_block_hash: string; /** @description Height of the block this transactions was associated with */ block_height: number; + tenure_height: number | null; /** @description Unix timestamp (in seconds) indicating when this block was mined. */ block_time: number; /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */