UNPKG

@dojima-wallet/connection

Version:

Initialise and connection for layer 1&2 blockchain

30 lines (29 loc) 1.47 kB
/** * The decimal for cosmos chain. */ export declare const COSMOS_DECIMAL = 6; /** * Default gas limit * As same as definition in Cosmos-station's web wallet * @see https://github.com/cosmostation/web-wallet-ts-react/blob/4d78718b613defbd6c92079b33aa8ce9f86d597c/src/constants/chain.ts#L76 */ export declare const DEFAULT_GAS_LIMIT = "200000"; /** * Default fee * As same as definition in Cosmosstation's web wallet * @see https://github.com/cosmostation/web-wallet-ts-react/blob/4d78718b613defbd6c92079b33aa8ce9f86d597c/src/constants/chain.ts#L66 */ export declare const DEFAULT_FEE: { type: import("@dojima-wallet/utils").Denomination.Base; amount: () => import("bignumber.js").BigNumber; plus: (value: any | import("bignumber.js").BigNumber.Value, decimal?: number) => any; minus: (value: any | import("bignumber.js").BigNumber.Value, decimal?: number) => any; times: (value: any | import("bignumber.js").BigNumber.Value, decimal?: number) => any; div: (value: any | import("bignumber.js").BigNumber.Value, decimal?: number) => any; gt: (value: any | import("bignumber.js").BigNumber.Value) => boolean; gte: (value: any | import("bignumber.js").BigNumber.Value) => boolean; lt: (value: any | import("bignumber.js").BigNumber.Value) => boolean; lte: (value: any | import("bignumber.js").BigNumber.Value) => boolean; eq: (value: any | import("bignumber.js").BigNumber.Value) => boolean; decimal: number; };