TypeAlias.FeesEstimation
type FeesEstimation = {
details: FeeDetails;
maxFees: bigint;
};
Represents a transaction fee estimation returned by estimation methods.
The concrete shape of the details
field depends on the underlying network:
- EVM chains: EvmFeeDetails (EIP-1559 fields)
- Stellar: StellarFeeDetails (fee per operation as string)
See
- KeybanAccount.estimateTransfer
- KeybanAccount.estimateERC20Transfer
- KeybanAccount.estimateNftTransfer
Properties
Property | Type | Description |
---|---|---|
details | FeeDetails | Parameters to set when constructing a transaction to ensure the estimation maxFees. |
maxFees | bigint | The total maximum fees for the transaction. |