import { Address } from '@xchainjs/xchain-util'; export type GetBalanceResponse = { data: { items: [ { contract_decimals: number; contract_name: string; contract_ticker_symbol: string; contract_address: string; balance: string; } ]; }; }; export type LogEventParam = { name: string; type: string; value: string; }; export type LogEvent = { sender_contract_decimals: number; sender_contract_ticker_symbol: string | null | undefined; sender_address: string | null | undefined; decoded: DecodedEvent | null | undefined; }; export type DecodedEvent = { name: string; params: LogEventParam[] | null | undefined; }; export type GetTransactionsItem = { tx_hash: string; block_signed_at: string; from_address: string; to_address: string; value: string; log_events: LogEvent[]; }; export type GetTransactionsResponse = { data: { address: string; items: GetTransactionsItem[]; pagination: { has_more: boolean; page_number: number; page_size: number; total_count: number | null; }; }; }; export type GetTransactionResponse = { data: { items: GetTransactionsItem[]; }; }; export type getTxsParams = { address: Address; offset: number; limit: number; assetAddress: string | undefined; };