Velora
Configuration
import { createConfig, velora } from "@spandex/core";
export const config = createConfig({
providers: [
velora({
// Optional, override the API base URL
baseUrl: undefined,
// Optional, partner slug for attribution
partner: undefined,
// Optional, forwarded as `isDirectFeeTransfer` when fee/surplus capture is enabled
// Default: true
isDirectFeeTransfer: true,
}),
// ...
],
});When using global aggregation options:
integratorSwapFeeBpsmaps to Velora'spartnerFeeBpsintegratorSurplusBpsenables Velora'stakeSurplus- Velora uses a single partner recipient (
partnerAddress) for both flows. If both fee and surplus are requested with different addresses, spanDEX prioritizes the fee recipient. isDirectFeeTransferis configured onvelora({...})setup and is only sent whenpartnerAddressis present.