diff --git a/layer/types/explorer.ts b/layer/types/explorer.ts index b48d6ed..992fb4f 100644 --- a/layer/types/explorer.ts +++ b/layer/types/explorer.ts @@ -1,4 +1,4 @@ -import { Coin, ExplorerTransaction } from '@injectivelabs/sdk-ts' +import { Coin, BlockWithTxs, ExplorerTransaction } from '@injectivelabs/sdk-ts' export interface UiExplorerTransaction extends ExplorerTransaction { types: string[] @@ -6,6 +6,10 @@ export interface UiExplorerTransaction extends ExplorerTransaction { coinSpent: Coin[] } +export interface UiExplorerBlockWithTxs extends Omit { + txs: UiExplorerTransaction[] +} + export type SharedEventAttribute = { key: string value: string