Skip to main content

TypeAlias.FeesEstimation

type FeesEstimation: {
details: {
gasCost: bigint;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
};
maxFees: bigint;
};

Represents the estimation of fees for a transaction.

Type declaration

NameTypeDescription
details{ gasCost: bigint; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; }-
details.gasCostbigintThe estimated gas cost for the transaction.
details.maxFeePerGasbigintThe maximum fee per unit of gas.
details.maxPriorityFeePerGasbigintThe maximum priority fee per unit of gas.
maxFeesbigintThe total maximum fees for the transaction.

See

KeybanAccount#estimateTransfer