Skip to main content
Build unsigned transactions for token swaps.

Get Buy Transaction

Build an unsigned transaction for buying tokens. Endpoint: /evm/buy/transaction Example:

Get Sell Transaction

Endpoint: /evm/sell/transaction Same parameters as buy transaction. swapMode is always ExactIn, and amountIn is the amount of tokens to sell in raw units. Example:

Get Approve Transaction

Build a transaction to approve token spending. Endpoint: /evm/approve/transaction Example: