Skip to content

Commit

Permalink
chore: add explorer block type
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRalee committed Aug 8, 2024
1 parent dc51589 commit dfe1158
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion layer/types/explorer.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import { Coin, ExplorerTransaction } from '@injectivelabs/sdk-ts'
import { Coin, BlockWithTxs, ExplorerTransaction } from '@injectivelabs/sdk-ts'

export interface UiExplorerTransaction extends ExplorerTransaction {
types: string[]
coinReceived: Coin[]
coinSpent: Coin[]
}

export interface UiExplorerBlockWithTxs extends Omit<BlockWithTxs, 'txs'> {
txs: UiExplorerTransaction[]
}

export type SharedEventAttribute = {
key: string
value: string
Expand Down

0 comments on commit dfe1158

Please sign in to comment.