@yoroi/types
Version:
The Yoroi Types package of Yoroi SDK
15 lines • 564 B
TypeScript
import { BalanceQuantity } from '../balance/token';
import { SwapAggregator } from '../swap/aggregator';
export interface AppApi {
getFrontendFees(): Promise<AppFrontendFeesResponse>;
}
export type AppFrontendFeesResponse = Readonly<{
[aggregator in SwapAggregator]?: ReadonlyArray<AppFrontendFeeTier>;
}>;
export type AppFrontendFeeTier = Readonly<{
primaryTokenValueThreshold: BalanceQuantity;
secondaryTokenBalanceThreshold: BalanceQuantity;
variableFeeMultiplier: number;
fixedFee: BalanceQuantity;
}>;
//# sourceMappingURL=app.d.ts.map