@ecp.eth/sdk / channel-manager/types / TotalFeeEstimation
Type Alias: TotalFeeEstimation
type TotalFeeEstimation = {
baseToken: {
amount: bigint;
};
contractAsset?: ContractBasedAssetType;
description: string;
hook: Hex;
metadata: readonly MetadataEntry[];
};Defined in: packages/sdk/src/channel-manager/types.ts:194
Properties
baseToken
baseToken: {
amount: bigint;
};Defined in: packages/sdk/src/channel-manager/types.ts:198
The amount of the base token to be paid
amount
amount: bigint;contractAsset?
optional contractAsset: ContractBasedAssetType;Defined in: packages/sdk/src/channel-manager/types.ts:204
The contract based asset to be paid, such as ERC20, ERC721, ERC1155
description
description: string;Defined in: packages/sdk/src/channel-manager/types.ts:208
The description of the fee
hook
hook: Hex;Defined in: packages/sdk/src/channel-manager/types.ts:216
The hook address to be paid
metadata
metadata: readonly MetadataEntry[];Defined in: packages/sdk/src/channel-manager/types.ts:212
The metadata of the fee estimation