UNPKG

741 BTypeScriptView Raw
1import type { Option, Struct } from '@polkadot/types-codec';
2import type { Balance, Weight } from '@polkadot/types/interfaces/runtime';
3import type { DispatchClass } from '@polkadot/types/interfaces/system';
4/** @name FeeDetails */
5export interface FeeDetails extends Struct {
6 readonly inclusionFee: Option<InclusionFee>;
7}
8/** @name InclusionFee */
9export interface InclusionFee extends Struct {
10 readonly baseFee: Balance;
11 readonly lenFee: Balance;
12 readonly adjustedWeightFee: Balance;
13}
14/** @name RuntimeDispatchInfo */
15export interface RuntimeDispatchInfo extends Struct {
16 readonly weight: Weight;
17 readonly class: DispatchClass;
18 readonly partialFee: Balance;
19}
20export declare type PHANTOM_PAYMENT = 'payment';