/** * Block-explorer URL resolution. * * Provider plugins resolve a tx hash to a fully-qualified explorer URL during * wire→domain mapping. The explorer target is a function of the settling chain, * so the map is keyed by chain id rather than by provider. */ /** * Settling chains a perps tx can be observed on. * * @public */ export declare const ExplorerChainId: { readonly ETHEREUM: 1; readonly ARBITRUM_ONE: 42161; readonly LIGHTER: 304; readonly HYPERLIQUID: 999; }; /** * Union of {@link ExplorerChainId} values. * * @public */ export type ExplorerChainId = (typeof ExplorerChainId)[keyof typeof ExplorerChainId]; /** * Build a fully-resolved block-explorer URL for a tx on a known chain. * * @returns The explorer URL, or `undefined` when the hash is empty (no on-chain * tx to link). * @public */ export declare function explorerTxUrl(chainId: ExplorerChainId, txHash: string | undefined): string | undefined; //# sourceMappingURL=explorer.d.ts.map