import { ApiInterfaceRx } from '@plugnet/api/types'; import { DerivedFees } from '../types'; import { Observable } from 'rxjs'; /** * @name fees * @returns An object containing the combined results of the storage queries for * all relevant fees as declared in the substrate chain spec. * @example *
* * ```javascript * api.derive.balances.fees(([creationFee, transferFee]) => { * console.log(`The fee for creating a new account on this chain is ${creationFee} units. The fee required for making a transfer is ${transferFee} units.`); * }); * ``` */ export declare function fees(api: ApiInterfaceRx): () => Observable;