UNPKG

@bit-gpt/h402

Version:

BitGPT's 402 open protocol for blockchain-native payments

10 lines 428 B
import { Network } from "../types/shared/index.js"; /** * Converts a network name to its corresponding chain ID * * @param network - The network name to convert to a chain ID * @returns The chain ID for the specified network (number for EVM, string for Solana) * @throws Error if the network is not supported */ export declare function getNetworkId(network: Network): number | string; //# sourceMappingURL=network.d.ts.map