diff --git a/client/src/generated/schema.d.ts b/client/src/generated/schema.d.ts index e110639842..ffee09e9dd 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,8 +2053,11 @@ 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; + 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. */ @@ -2266,8 +2271,11 @@ 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; + 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. */ @@ -2481,8 +2489,11 @@ 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; + 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. */ @@ -2703,8 +2714,11 @@ 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; + 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. */ @@ -2917,8 +2931,11 @@ 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; + 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. */ @@ -3131,8 +3148,11 @@ 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; + 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. */ @@ -3302,6 +3322,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,8 +3427,11 @@ 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; + 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. */ @@ -3620,8 +3645,11 @@ 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; + 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. */ @@ -3835,8 +3863,11 @@ 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; + 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. */ @@ -4057,8 +4088,11 @@ 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; + 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. */ @@ -4271,8 +4305,11 @@ 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; + 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. */ @@ -4485,8 +4522,11 @@ 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; + 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. */ @@ -4709,6 +4749,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 +4849,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 +4949,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 +5056,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 +5155,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 +5254,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 +5335,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 +5443,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 +5543,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 +5643,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 +5750,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 +5849,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 +5948,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 +6194,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,8 +6301,11 @@ 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; + 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. */ @@ -6460,8 +6519,11 @@ 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; + 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. */ @@ -6675,8 +6737,11 @@ 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; + 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. */ @@ -6897,8 +6962,11 @@ 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; + 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. */ @@ -7111,8 +7179,11 @@ 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; + 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. */ @@ -7325,8 +7396,11 @@ 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; + 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. */ @@ -7549,6 +7623,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 +7723,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 +7823,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 +7930,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 +8029,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 +8128,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 +8224,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,8 +8334,11 @@ 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; + 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. */ @@ -8467,8 +8552,11 @@ 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; + 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. */ @@ -8682,8 +8770,11 @@ 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; + 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. */ @@ -8904,8 +8995,11 @@ 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; + 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. */ @@ -9118,8 +9212,11 @@ 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; + 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. */ @@ -9332,8 +9429,11 @@ 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; + 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. */ @@ -9497,6 +9597,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,8 +9711,11 @@ 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; + 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. */ @@ -9824,8 +9929,11 @@ 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; + 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. */ @@ -10039,8 +10147,11 @@ 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; + 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. */ @@ -10261,8 +10372,11 @@ 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; + 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. */ @@ -10475,8 +10589,11 @@ 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; + 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. */ @@ -10689,8 +10806,11 @@ 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; + 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. */ @@ -11254,8 +11374,11 @@ 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; + 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. */ @@ -11469,8 +11592,11 @@ 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; + 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. */ @@ -11684,8 +11810,11 @@ 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; + 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. */ @@ -11906,8 +12035,11 @@ 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; + 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. */ @@ -12120,8 +12252,11 @@ 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; + 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. */ @@ -12334,8 +12469,11 @@ 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; + 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. */ @@ -12634,8 +12772,11 @@ 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; + 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. */ @@ -12849,8 +12990,11 @@ 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; + 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. */ @@ -13064,8 +13208,11 @@ 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; + 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. */ @@ -13286,8 +13433,11 @@ 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; + 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. */ @@ -13500,8 +13650,11 @@ 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; + 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. */ @@ -13714,8 +13867,11 @@ 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; + 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. */ @@ -14019,8 +14175,11 @@ 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; + 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. */ @@ -14234,8 +14393,11 @@ 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; + 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. */ @@ -14449,8 +14611,11 @@ 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; + 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. */ @@ -14671,8 +14836,11 @@ 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; + 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. */ @@ -14885,8 +15053,11 @@ 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; + 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. */ @@ -15099,8 +15270,11 @@ 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; + 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. */ @@ -15833,8 +16007,11 @@ 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; + 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. */ @@ -16048,8 +16225,11 @@ 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; + 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. */ @@ -16263,8 +16443,11 @@ 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; + 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. */ @@ -16485,8 +16668,11 @@ 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; + 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. */ @@ -16699,8 +16885,11 @@ 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; + 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. */ @@ -16913,8 +17102,11 @@ 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; + 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. */ @@ -18018,6 +18210,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,8 +18320,11 @@ 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; + 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. */ @@ -18341,8 +18538,11 @@ 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; + 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. */ @@ -18556,8 +18756,11 @@ 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; + 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. */ @@ -18778,8 +18981,11 @@ 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; + 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. */ @@ -18992,8 +19198,11 @@ 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; + 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. */ @@ -19206,8 +19415,11 @@ 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; + 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. */ @@ -19473,8 +19685,11 @@ 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; + 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. */ @@ -19688,8 +19903,11 @@ 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; + 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. */ @@ -19903,8 +20121,11 @@ 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; + 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. */ @@ -20125,8 +20346,11 @@ 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; + 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. */ @@ -20339,8 +20563,11 @@ 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; + 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. */ @@ -20553,8 +20780,11 @@ 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; + 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. */ @@ -20871,8 +21101,11 @@ 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; + 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. */ @@ -21086,8 +21319,11 @@ 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; + 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. */ @@ -21301,8 +21537,11 @@ 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; + 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. */ @@ -21523,8 +21762,11 @@ 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; + 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. */ @@ -21737,8 +21979,11 @@ 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; + 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. */ @@ -21951,8 +22196,11 @@ 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; + 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. */ @@ -22353,6 +22601,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 +22711,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 +22811,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 +22911,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 +23018,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 +23117,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 +23216,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,8 +23557,11 @@ 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; + 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. */ @@ -23516,8 +23775,11 @@ 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; + 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. */ @@ -23731,8 +23993,11 @@ 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; + 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. */ @@ -23953,8 +24218,11 @@ 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; + 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. */ @@ -24167,8 +24435,11 @@ 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; + 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. */ @@ -24381,8 +24652,11 @@ 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; + 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. */ @@ -24605,6 +24879,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 +24979,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 +25079,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 +25186,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 +25285,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 +25384,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 +25502,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 +25602,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 +25702,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 +25809,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 +25908,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 +26007,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,8 +26129,11 @@ 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; + 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. */ @@ -26058,8 +26347,11 @@ 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; + 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. */ @@ -26273,8 +26565,11 @@ 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; + 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. */ @@ -26495,8 +26790,11 @@ 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; + 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. */ @@ -26709,8 +27007,11 @@ 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; + 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. */ @@ -26923,8 +27224,11 @@ 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; + 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. */ @@ -27347,7 +27651,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,8 +27972,11 @@ 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; + 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. */ @@ -27883,8 +28190,11 @@ 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; + 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. */ @@ -28098,8 +28408,11 @@ 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; + 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. */ @@ -28320,8 +28633,11 @@ 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; + 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. */ @@ -28534,8 +28850,11 @@ 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; + 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. */ @@ -28748,8 +29067,11 @@ 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; + 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. */ @@ -29165,7 +29487,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 +29973,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,8 +30084,11 @@ 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; + 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. */ @@ -29975,8 +30302,11 @@ 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; + 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. */ @@ -30190,8 +30520,11 @@ 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; + 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. */ @@ -30412,8 +30745,11 @@ 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; + 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. */ @@ -30626,8 +30962,11 @@ 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; + 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. */ @@ -30840,8 +31179,11 @@ 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; + 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. */ diff --git a/src/api/controllers/db-controller.ts b/src/api/controllers/db-controller.ts index 9c0ac09056..368baa501f 100644 --- a/src/api/controllers/db-controller.ts +++ b/src/api/controllers/db-controller.ts @@ -1125,8 +1125,10 @@ 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, + 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 2491e82c7c..9ddfaf94ae 100644 --- a/src/api/schemas/entities/transactions.ts +++ b/src/api/schemas/entities/transactions.ts @@ -55,9 +55,17 @@ 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', }), + 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/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', diff --git a/tests/api/tx.test.ts b/tests/api/tx.test.ts index e66bec0707..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, @@ -462,7 +466,9 @@ describe('tx tests', () => { const expectedResp = { 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, @@ -578,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, @@ -618,7 +625,9 @@ describe('tx tests', () => { const expectedResp = { 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, @@ -733,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, @@ -773,7 +783,9 @@ describe('tx tests', () => { const expectedResp = { 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, @@ -899,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, @@ -962,7 +975,9 @@ describe('tx tests', () => { const expectedResp = { 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, @@ -1129,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, @@ -1275,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, @@ -1539,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, @@ -1601,7 +1619,9 @@ describe('tx tests', () => { const expectedResp: Transaction = { 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, @@ -1779,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', @@ -1818,6 +1839,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', @@ -1940,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, @@ -1980,6 +2003,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', @@ -2776,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, @@ -2902,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, @@ -3561,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, @@ -3643,6 +3670,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', @@ -3704,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', @@ -3745,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', @@ -3827,6 +3857,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 +3960,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, @@ -4172,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, @@ -4290,6 +4323,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', @@ -4392,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,