Record a swap event
Partner
Submit Swap Event
Submit a swap lifecycle event for tracking
POST
Record a swap event
Submits a swap lifecycle event to Hypermid for analytics and tracking purposes. Use this to report when users interact with your swap UI or when swap steps are completed.Documentation Index
Fetch the complete documentation index at: https://docs.hypermid.io/llms.txt
Use this file to discover all available pages before exploring further.
The event type. Possible values:
quote_requested, quote_received, swap_started, swap_signed, swap_completed, swap_failed, swap_cancelled.The transaction ID or quote ID associated with this event.
Source chain ID.
Destination chain ID.
Source token address.
Destination token address.
Amount being swapped.
Transaction hash (for signed/completed/failed events).
Additional metadata to attach to the event.
Authorizations
Partner API key. Optional for public endpoints, required for /v1/partner/*.
Body
application/json