@ledgerhq/coin-aptos
Version:
Ledger Aptos Coin integration
16 lines • 713 B
TypeScript
import type { Account } from "@ledgerhq/types-live";
import BigNumber from "bignumber.js";
import { AptosAPI } from "../network";
import type { Transaction, TransactionErrors } from "../types";
type IGetEstimatedGasReturnType = {
fees: BigNumber;
estimate: {
maxGasAmount: string;
gasUnitPrice: string;
};
errors: TransactionErrors;
};
export declare const getFee: (account: Account, transaction: Transaction, aptosClient: AptosAPI) => Promise<IGetEstimatedGasReturnType>;
export declare const getEstimatedGas: (account: Account, transaction: Transaction, aptosClient: AptosAPI) => Promise<IGetEstimatedGasReturnType>;
export {};
//# sourceMappingURL=getFeesForTransaction.d.ts.map