export type KeyOfType = keyof { [Key in keyof Type as Type[Key] extends ValueType ? Key : never]: any; }; /** * Network constants. */ export declare class Constants { constructor(); /** * Network id */ hrp: string; /** * The RPC address of the node for network connection */ rpc: string; /** * Time in milliseconds after transaction submission before * error is thrown if the transaction is not confirmed */ txConfirmationTimeout: number; /** * Time in milliseconds that determines the delay between two * consecutive checks if a transaction is confirmed */ txConfirmationCheckout: number; /** * The gas limit used in EVM transfers */ evmTransferGasLimit: bigint; /** * The share of estimated gas limit to specify as extra in C-chain transactions * (does not apply to EVM transfers), which is used in combination with evmGasLimitExtraAbs * (the maximum value prevails) */ evmGasLimitExtraRel: number; /** * The amount of estimated gas limit to specify as extra in C-chain transactions * (does not apply to EVM transfers), which is used in combination with evmGasLimitExtraRel * (the maximum value prevails) */ evmGasLimitExtraAbs: bigint; /** * The default base fee in weis used as fallback for C-chain transactions */ evmBaseFee: bigint; /** * The default max fee per gas in weis used as fallback for C-chain transactions */ evmMaxFeePerGas: bigint; /** * The default max priority fee per gas in weis used as fallback for C-chain transactions */ evmMaxPriorityFeePerGas: bigint; /** * The default allocated fee in weis for P-chain transactions */ pvmAllocatedFee: bigint; /** * The share of current network fee to specify as extra in P-chain transactions */ pvmBaseFeeExtraRel: number; /** * The address of the FlareContractRegistry contract */ address_FlareContractRegistry: string; /** * The address of (Gnosis) Safe Proxy factory for creating smart accounts */ address_SafeProxyFactory: string; /** * The address of (Gnosis) Safe Singleton for creating smart accounts */ address_SafeSingleton: string; /** * The address of (Gnosis) Safe fallback handler for creating smart accounts */ address_SafeFallbackHandler: string; /** * The base url of FDC verifiers service */ api_FdcVerifiersBaseUrl: string; /** * The API key for a FDC verifiers service */ api_FdcVerifiersKey: string; /** * The base url of a FDC data availability service */ api_FdcDABaseUrl: string; /** * The API key for a FDC data availability service */ api_FdcDAKey: string; copy(): Constants; toJson(): string; static fromJson(json: string): Constants; /** * Default constants for the main Flare network. */ static readonly FLARE: Constants; /** * Prepares default constants for the main Flare network. * @returns Constants of class {@link Constants}. */ protected static _flare(): Constants; /** * Default constants for the canary Flare network. */ static readonly SONGBIRD: Constants; /** * Prepares default constants for the canary Flare network. * @returns Constants of class {@link Constants}. */ protected static _songbird(): Constants; /** * Default constants for the test Flare network. */ static readonly COSTON2: Constants; /** * Prepares default constants for the test Flare network. * @returns Constants of class {@link Constants}. */ protected static _coston2(): Constants; /** * Default constants for the test canary Flare network. */ static readonly COSTON: Constants; /** * Prepares default constants for the test canary Flare network. * @returns Constants of class {@link Constants}. */ protected static _coston(): Constants; protected _setCommon(): void; } //# sourceMappingURL=constants.d.ts.map