@hyperlane-xyz/sdk
Version:
The official SDK for the Hyperlane Network
8 lines • 515 B
TypeScript
import type { ChainMetadata } from './chainMetadataTypes.js';
export declare function tryNormalizeNumericChainId(chainId: string | number): number | null;
export declare function areChainIdsEqual(left: ChainMetadata['chainId'] | null | undefined, right: ChainMetadata['chainId'] | null | undefined): boolean;
export declare function getEffectiveDomainId(metadata: {
chainId: ChainMetadata['chainId'];
domainId?: ChainMetadata['domainId'] | null;
}): number | null;
//# sourceMappingURL=chainIdUtils.d.ts.map