@avalabs/avalanchejs
Version:
Avalanche Platform JS Library
13 lines • 793 B
TypeScript
import type { TransferableInput, TransferableOutput } from '../../../../serializable';
import type { UnsignedTx } from '../../../common';
import type { FeeState } from '../../models';
export declare const checkFeeIsCorrect: ({ unsignedTx, inputs, outputs, feeState, additionalInputs, additionalOutputs, additionalFee, }: {
unsignedTx: UnsignedTx;
inputs: readonly TransferableInput[];
outputs: readonly TransferableOutput[];
feeState: FeeState;
additionalInputs?: readonly TransferableInput[] | undefined;
additionalOutputs?: readonly TransferableOutput[] | undefined;
additionalFee?: bigint | undefined;
}) => [amountConsumed: Record<string, string>, expectedAmountConsumed: Record<string, string>, expectedFee: bigint];
//# sourceMappingURL=feeForTesting.d.ts.map