diff --git a/types/api/block.ts b/types/api/block.ts index 1f2a508b08..3d72ccbbe9 100644 --- a/types/api/block.ts +++ b/types/api/block.ts @@ -36,6 +36,8 @@ export interface Block { bitcoin_merged_mining_merkle_proof?: string | null; hash_for_merged_mining?: string | null; minimum_gas_price?: string | null; + // HEMI FIELDS + btc_finality?: number; } export interface BlocksResponse { diff --git a/types/api/transaction.ts b/types/api/transaction.ts index 5d077cb634..c980a15929 100644 --- a/types/api/transaction.ts +++ b/types/api/transaction.ts @@ -79,6 +79,8 @@ export type Transaction = { zkevm_batch_number?: number; zkevm_status?: typeof ZKEVM_L2_TX_STATUSES[number]; zkevm_sequence_hash?: string; + // Hemi fields + btc_finality?: number; } export const ZKEVM_L2_TX_STATUSES = [ 'Confirmed by Sequencer', 'L1 Confirmed' ]; diff --git a/ui/block/BlockDetails.tsx b/ui/block/BlockDetails.tsx index 493c462122..89b7a9bb22 100644 --- a/ui/block/BlockDetails.tsx +++ b/ui/block/BlockDetails.tsx @@ -166,6 +166,17 @@ const BlockDetails = ({ query }: Props) => { > + { data.btc_finality && ( + + + { data.btc_finality } + + + ) } { ) } ) } + { data.btc_finality && ( + + + { data.btc_finality } + + + ) } { data.execution_node && (