FeesDto

Type represent different swap fees

interface FeesDto {
    gasTokenFees: {
        gas: {
            gasPrice: string;
            gasLimit: string;
            totalWeiAmount: string;
            totalUsdAmount: number;
        };
        protocol: {
            fixedAmount: string;
            fixedWeiAmount: string;
            fixedUsdAmount: number;
        };
        provider: {
            fixedAmount: string;
            fixedWeiAmount: string;
            fixedUsdAmount: number;
        };
        nativeToken: {
            address: string;
            decimals: number;
            symbol: string;
            name: string;
            blockchainId: number;
        };
    };
    percentFees: {
        percent: number;
        token: {
            address: string;
            decimals: number;
            symbol: string;
            name: string;
            blockchainId: number;
        } | null;
    };
}

Last updated