TypeAlias.FeesEstimation
type FeesEstimation: {
details: {
gasCost: bigint;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
};
maxFees: bigint;
};
Represents the estimation of fees for a transaction.
Type declaration
Name | Type | Description |
---|---|---|
details | { gasCost : bigint ; maxFeePerGas : bigint ; maxPriorityFeePerGas : bigint ; } | - |
details.gasCost | bigint | The estimated gas cost for the transaction. |
details.maxFeePerGas | bigint | The maximum fee per unit of gas. |
details.maxPriorityFeePerGas | bigint | The maximum priority fee per unit of gas. |
maxFees | bigint | The total maximum fees for the transaction. |