/** * Asset Hub Type Definitions * * Type definitions for Polkadot Asset Hub integration */ import type { InjectedAccountWithMeta } from '@polkadot/extension-inject/types'; export interface AssetHubConfig { /** * Network to connect to * - paseo: Paseo testnet (recommended for testing) * - polkadot: Polkadot mainnet * - kusama: Kusama canary network */ network: 'paseo' | 'polkadot' | 'kusama'; /** * Custom RPC endpoint (optional) * If not provided, will use default endpoint for selected network */ rpcEndpoint?: string; } export interface WalletAccount extends InjectedAccountWithMeta { } export interface NetworkInfo { chain: string; nodeName: string; nodeVersion: string; genesisHash: string; } export interface AccountBalance { free: bigint; reserved: bigint; frozen: bigint; total: bigint; } export interface TransactionStatus { isInBlock: boolean; isFinalized: boolean; blockHash?: string; txHash?: string; error?: string; } export type StatusCallback = (status: TransactionStatus) => void; //# sourceMappingURL=asset-hub.types.d.ts.map