UNPKG

@quirks/core

Version:
14 lines (13 loc) 641 B
import { EncodeObject } from '@cosmjs/proto-signing'; import { GasPrice } from '@cosmjs/stargate'; import { SigningSimulatorClient } from '../types'; import { Chain } from '@chain-registry/types'; /** * Retrieve chain gas price so we can use fee auto. * * @param chain * @param feeDenom ex. uosmo * @returns */ export declare const getGasPrice: (chain: Chain, feeDenom?: string) => Promise<GasPrice | undefined>; export declare const estimateFee: (client: SigningSimulatorClient, sender: string, messages: EncodeObject[], gasPrice?: string | GasPrice, memo?: string, multiplier?: number) => Promise<import('@cosmjs/stargate').StdFee>;