MyCrypto/common/config/constants.ts

9 lines
309 B
TypeScript

// Lower/upper ranges for gas limit
export const GAS_LIMIT_LOWER_BOUND = 21000;
export const GAS_LIMIT_UPPER_BOUND = 8000000;
// Lower/upper ranges for gas price in gwei
export const GAS_PRICE_GWEI_LOWER_BOUND = 0.01;
export const GAS_PRICE_GWEI_UPPER_BOUND = 3000;
export const GAS_PRICE_GWEI_DEFAULT = 20;