Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

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:

  • integratorSwapFeeBps maps to Velora's partnerFeeBps
  • integratorSurplusBps enables Velora's takeSurplus
  • 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.
  • isDirectFeeTransfer is configured on velora({...}) setup and is only sent when partnerAddress is present.