aftermath-ts-sdk - v6.7.0
    Preparing search index...

    Interface ApiRewardsGetFeeRateResponse

    A wallet's traded volume and effective fee rates in the running rewards epoch.

    Fee tiers are decided per epoch from the volume a wallet trades in that epoch, so both volumes and rates move as the epoch goes on and start over when the next one begins. A wallet that has not traded this epoch gets zero volumes and the base rates; the same answer is returned while the running epoch's volumes are not loaded yet.

    interface ApiRewardsGetFeeRateResponse {
        epoch: number;
        makerFeeRate: number;
        makerVolume: number;
        makerVolumeShare: number;
        takerFeeOverride: boolean;
        takerFeeRate: number;
        takerVolume: number;
    }
    Index
    epoch: number

    The running epoch the figures cover, numbered from zero.

    makerFeeRate: number

    Effective maker fee rate as a fraction of notional (0.0001 is 1 bp): the maker fee tier reached by makerVolume, less the rebate tier reached by the wallet's share of all maker volume. Negative when the rebate exceeds the fee.

    makerVolume: number

    Maker volume so far this epoch in USD, summed over all of the wallet's perpetuals accounts and markets.

    makerVolumeShare: number

    The wallet's share of all maker volume this epoch (0.005 is 0.5%), which picks its maker rebate tier. Zero when nobody has made yet.

    takerFeeOverride: boolean

    True when takerFeeRate is a fixed rate configured for the wallet rather than the tier reached by takerVolume.

    takerFeeRate: number

    Effective taker fee rate as a fraction of notional (0.0001 is 1 bp): the taker fee tier reached by takerVolume, or the wallet's fixed rate when one is configured for it.

    takerVolume: number

    Taker volume so far this epoch in USD, summed over all of the wallet's perpetuals accounts and markets.