@ecp.eth/sdk / channel-manager/types / TotalFeeEstimation
Type Alias: TotalFeeEstimation
type TotalFeeEstimation = {
baseToken: {
amount: bigint;
};
contractAsset?: ContractBasedAssetType;
description: string;
metadata: readonly MetadataEntry[];
};
Defined in: packages/sdk/src/channel-manager/types.ts:193
Properties
baseToken
baseToken: {
amount: bigint;
};
Defined in: packages/sdk/src/channel-manager/types.ts:197
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:203
The contract based asset to be paid, such as ERC20, ERC721, ERC1155
description
description: string;
Defined in: packages/sdk/src/channel-manager/types.ts:207
The description of the fee
metadata
metadata: readonly MetadataEntry[];
Defined in: packages/sdk/src/channel-manager/types.ts:211
The metadata of the fee estimation