Get transaction data for execution
Swap
Execute Swap
Get transaction data for a swap
POST
Get transaction data for execution
Returns the transaction data for a swap. Sign it with the user’s wallet and broadcast it.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.
Source chain ID (e.g.,
1 for Ethereum, 8453 for Base, 369 for PulseChain).Destination chain ID.
Source token contract address. Use
0x0000000000000000000000000000000000000000 for native tokens (ETH, PLS, etc.).Destination token contract address.
Amount in the smallest unit (e.g., wei). Must be a string to handle large numbers.
Sender wallet address.
Recipient wallet address on the destination chain.
Maximum slippage as a decimal (e.g.,
0.03 for 3%). Default: 0.03.Specific routing tool. Omit to let Hypermid choose the best automatically.
Set to
"manual" to force manual deposit flow for non-EVM chains.Response Types
The response has one of two shapes depending on the route:Transaction Request (most swaps)
Sign it and broadcast.Deposit Address (XRP, Dogecoin, Stellar, etc.)
Show the address to the user. They send tokens from their native wallet.GET /v1/execute/deposit/status.
Authorizations
Partner API key. Optional for public endpoints, required for /v1/partner/*.
Body
application/json
Source chain ID
Source token address
Amount in base units
Destination chain ID
Destination token address
Sender wallet address
Recipient wallet address
Refund address (defaults to fromAddress)
Slippage tolerance (decimal or bps)