/**
 * x402 Payment Protocol types
 *
 * Unified types used across client, server, and facilitator.
 */
/**
 * Determine network type from a network identifier string.
 */
export function getNetworkType(network) {
    if (network.startsWith('fast-'))
        return 'fast';
    if (network.startsWith('solana'))
        return 'svm';
    return 'evm';
}
//# sourceMappingURL=payment.js.map