@ledgerhq/coin-tezos
Version:
32 lines • 813 B
TypeScript
import { TezosOperationMode } from "../types/model";
export type CoreAccountInfo = {
address: string;
balance: bigint;
revealed: boolean;
xpub?: string;
};
export type CoreTransactionInfo = {
mode: TezosOperationMode;
recipient: string;
amount: bigint;
useAllAmount?: boolean;
};
export type EstimatedFees = {
fees: bigint;
gasLimit: bigint;
storageLimit: bigint;
estimatedFees: bigint;
amount?: bigint;
taquitoError?: string;
};
/**
* Fetch the transaction fees for a transaction
*
* @param {Account} account
* @param {Transaction} transaction
*/
export declare function estimateFees({ account, transaction, }: {
account: CoreAccountInfo;
transaction: CoreTransactionInfo;
}): Promise<EstimatedFees>;
//# sourceMappingURL=estimateFees.d.ts.map