import { CurrencyTypes, StorageTypes } from '@requestnetwork/types'; import { BigNumber } from 'ethers'; export declare function getDefaultIpfsUrl(): string; export declare function getDefaultIpfsTimeout(): number; /** * Retrieve from config the default provider url for Ethereum * @returns the url to connect to the network */ export declare function getDefaultEthereumProvider(): string; /** * Retrieve from config the timeout threshold for the default provider url for Ethereum * @returns the url to connect to the network */ export declare function getDefaultEthereumProviderTimeout(): number; /** * Retrieve from config the default name of the network for Ethereum * @returns the name of the network */ export declare function getDefaultEthereumNetwork(): CurrencyTypes.EvmChainName; /** * Retrieve from config the default gas price to make transactions into Ethereum network * @returns the gas price as a string */ export declare function getDefaultEthereumGasPrice(): BigNumber; /** * Retrieve from config the default number of block confirmations to wait before considering a transaction successful * @returns the number of block confirmations */ export declare function getDefaultEthereumBlockConfirmations(): number; /** * Retrieve from config the maximum number of query retries * @returns the maximum amount of query retries */ export declare function getEthereumMaxRetries(): number; /** * Retrieve from config the safe gas price limit * This value ensures we don't use a value returned by an API provider * that can be unsafe to use (very high gas price that generate loss of ether) * @returns safe gas price limit */ export declare function getSafeGasPriceLimit(): string; /** * Retrieve from config the maximum number of retries on failed IPFS calls * @returns array of the swarm addresses */ export declare function getIpfsErrorHandlingConfig(): StorageTypes.IIpfsErrorHandlingConfiguration; /** * Retrieve from config the ipfs bootstrap nodes of the ipfs node * @returns array of the swarm addresses regexes */ export declare function getIpfsExpectedBootstrapNodes(): RegExp[]; /** * Retrieve from config the number of times we retry to read hashes on IPFS * @returns Number of times we retry to read hashes on IPFS */ export declare function getMaxIpfsReadRetry(): number; /** * Retrieve from config the amount of time to wait before a transaction is considered failed */ export declare function getTransactionPollingTimeout(): number; //# sourceMappingURL=config.d.ts.map