@ledgerhq/coin-tezos
Version:
15 lines • 652 B
TypeScript
import type { TezosConfig } from '../config';
import type { getTezosToolkit } from './tezosToolkit';
type RevealLimits = {
fee: number;
gasLimit: number;
storageLimit: number;
};
/**
* Estimate the reveal-operation limits for an unrevealed manager account, clamped to
* the configured minimums. Falls back to the SDK helpers when node estimation fails
* (some addresses error with "inconsistent_hash").
*/
export declare function estimateRevealLimits(tezosToolkit: ReturnType<typeof getTezosToolkit>, address: string, feesConfig: TezosConfig['fees']): Promise<RevealLimits>;
export {};
//# sourceMappingURL=estimateRevealLimits.d.ts.map