Ooga Booga
  • AGGREGATOR
    • How Does It Work?
    • Liquidity Sources
    • Fee Model
  • DEVELOPERS
    • Swap API
      • Guide
      • Reference
      • Troubleshooting
    • Price API
      • Guide (WIP)
      • Reference
    • Endpoints
  • Resources
    • Audit
    • Media
    • Community Made Resources
  • DEPLOYMENTS
    • Aggregator
      • OBRouter Reference
    • Token
    • Ooga Bucks
  • TWAP
    • Benefits
    • Architecture
    • Miscellaneous
    • Trade Execution Logic and Retry Behavior
    • Frontrunning Considerations and Parameter Confidentiality
Powered by GitBook
On this page
  1. DEVELOPERS

Swap API

OBRouter is the primary contract which is interacted with in day-to-day use, including those that engage through calldata retrieved from the Swap API.

pathDefinition is generated by the API. This is fed intoOBExecutor to carry out the swap route. This value should never be tampered as it can cause to loss of funds.

OBExecutor is ephemeral and may change often (to include new liquidity sources). Therefore, it should never be hardcoded. It should always be returned from the Swap API. It is also not recommended to call OBExecutor directly.

API responses are limited to 1500 requests per minute.

If you require a higher rate limit, please ping us on telegram @beranoulli or @whoiskevinn.

PreviousFee ModelNextGuide

Last updated 20 hours ago