aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Interface PerpetualsBuilderCodeParamaters

    Optional integrator fee configuration for an order.

    When provided, this allows an approved integrator to collect a fee on the taker volume generated by this order. The integrator must have been previously approved by the user via the create-integration endpoint, and the taker fee must not exceed the maximum fee approved by the user.

    interface PerpetualsBuilderCodeParamaters {
        integratorFee: number;
        integratorId: number;
    }
    Index
    integratorFee: number

    Integrator fee (as a decimal) to be charged on this order's taker volume.

    For example, 0.0005 represents a 0.05% fee. This value must not exceed the maximum integrator fee that the user approved for this integrator. The fee is only applied to taker volume (not maker volume).

    integratorId: number

    Numeric integrator id (as assigned by the registry) of the integrator who will receive the fee.

    This integrator must have been previously approved by the account owner.