/** * Constants for NEAR Protocol */ export declare const NETWORK_PRESETS: { readonly mainnet: { readonly rpcUrl: "https://free.rpc.fastnear.com"; readonly networkId: "mainnet"; }; readonly testnet: { readonly rpcUrl: "https://rpc.testnet.fastnear.com"; readonly networkId: "testnet"; }; readonly localnet: { readonly rpcUrl: "http://localhost:3030"; readonly networkId: "localnet"; }; readonly betanet: { readonly rpcUrl: "https://rpc.betanet.near.org"; readonly networkId: "betanet"; }; }; export declare const YOCTO_PER_NEAR: bigint; export declare const GAS_PER_TGAS: bigint; export declare const DEFAULT_FUNCTION_CALL_GAS = "30000000000000"; /** * Cost per byte of storage in yoctoNEAR. * * This is a protocol constant (10^19 yoctoNEAR per byte = 0.00001 NEAR/byte). * It has remained unchanged since NEAR genesis and would require a hard fork * to modify. Used for calculating available balance. * * @see https://docs.near.org/concepts/storage/storage-staking */ export declare const STORAGE_AMOUNT_PER_BYTE: bigint; export declare const ACCOUNT_ID_REGEX: RegExp; export declare const MIN_ACCOUNT_ID_LENGTH = 2; export declare const MAX_ACCOUNT_ID_LENGTH = 64; export declare const ED25519_KEY_PREFIX = "ed25519:"; export declare const SECP256K1_KEY_PREFIX = "secp256k1:"; /** Prefix for full ML-DSA-65 (FIPS 204) keys (1952-byte public key). */ export declare const ML_DSA_65_KEY_PREFIX = "ml-dsa-65:"; /** * Prefix for the 32-byte on-trie handle of an ML-DSA-65 access key, as returned * by view RPCs. This is a hash, not a usable public key: it cannot sign or be * used as an `AddKey` public key. */ export declare const ML_DSA_65_HASH_PREFIX = "ml-dsa-65-hash:"; /** Full ML-DSA-65 public key length in bytes. */ export declare const ML_DSA_65_PUBLIC_KEY_LENGTH = 1952; /** ML-DSA-65 deterministic key-generation seed length in bytes. */ export declare const ML_DSA_65_SEED_LENGTH = 32; /** * Expanded ML-DSA-65 secret (private) key length in bytes. nearcore / near-cli * `ml-dsa-65:` credentials carry this raw expanded secret key, not the 32-byte * seed, so {@link MlDsa65KeyPair} accepts both forms. */ export declare const ML_DSA_65_SECRET_KEY_LENGTH = 4032; /** ML-DSA-65 signature length in bytes. */ export declare const ML_DSA_65_SIGNATURE_LENGTH = 3309; /** ML-DSA-65 on-trie handle (hash) length in bytes. */ export declare const ML_DSA_65_HASH_LENGTH = 32; export declare const RPC_METHODS: { readonly QUERY: "query"; readonly BROADCAST_TX_COMMIT: "broadcast_tx_commit"; readonly BROADCAST_TX_ASYNC: "broadcast_tx_async"; readonly TX_STATUS: "tx"; readonly BLOCK: "block"; readonly CHUNK: "chunk"; readonly VALIDATORS: "validators"; readonly GAS_PRICE: "gas_price"; readonly STATUS: "status"; }; //# sourceMappingURL=constants.d.ts.map