export type MediaType = { bytes: number; format: string; gateway: string; raw: string; thumbnail: string; }; export interface ChainsInterface { [key: number]: { name: string; chain: string; network: string; networkId: number; nativeCurrency: { name: string; symbol: string; decimals: number; }; rpc: string[]; faucets: string[]; infoURL: string; blockExplorerUrl?: string; symbol?: string; logo?: string; }; } export interface ChainsNamesConfig { [key: string]: number; } export interface TokenInterface { contractAddress: string; tokenBalance: string; decimals: number; logo: string | null; name: string; symbol: string; formattedBalance: string; network: string; tokenPrice: number; valueInUsd: string; } export interface INFT { balance: number; contract: { address: string; contractDeployer: string; deployedBlockNumber: number; name: string; openSea: { lastIngestedAt: string; }; symbol: string; tokenType: string; }; description: string; media: MediaType[]; network: string; rawMetadata: { attributes: Array; description: string; external_url: string; image: string; name: string; animation?: string; animation_url?: string; image_url?: string; }; timeLastUpdated: string; title: string; tokenId: string; tokenType: string; tokenUri: { gateway: string; raw: string; }; } export interface IGasProp { type: string; hex: string; } export type IGasEstimate = { gasLimit: IGasProp; maxFeePerGas?: IGasProp; maxPriorityFeePerGas?: IGasProp; gasPrice?: IGasProp; }; export type Transaction = { blockHash: string; blockNumber: string; confirmations: string; contractAddress: string; cumulativeGasUsed: string; from: string; functionName: string; gas: string; gasPrice: string; gasUsed: string; hash: string; input: string; nonce: string; status: string; timestamp: string; to: string; transactionIndex: string; value: string; isError: string; }; export type SukuTransaction = { transaction?: { params: { value: string; to: string; data: string; }[]; }; statusCode?: number; message?: string; idempotencyKey?: string; }; export type LogsTransaction = { address: string; topics: string[]; data: string; blockNumber: string; blockHash: string; timeStamp: string; gasPrice: string; gasUsed: string; logIndex: string; transactionHash: string; transactionIndex: string; };