Types

This page contains reusable constants and enumerations used across multiple API endpoints.


Transaction Actions

Represents the type of a transaction in the history.

Value
Description

BUY

Buy tokens (spending USDC or other base currency).

SELL

Sell tokens (receiving USDC or other base currency).

DEPOSIT

Deposit into the platform or via fiat on-ramp.

EXTERNAL_TRANSFER

Withdraw tokens from the platform to an external wallet.


Supported Chains

Swapper supports the following networks. Each integrator has access to a subset of these networks based on their agreement and configuration. Contact the Swapper team if you need additional networks enabled.

Mainnets

Chain ID
Network name

1

Ethereum Mainnet


Testnets

Chain ID
Network name

11155111

Sepolia (Ethereum)


Notes

  • Chain IDs must be passed as strings in query parameters.

  • Integrators can only query history for chains enabled in their configuration.

  • Testnets are available for development purposes only.

Last updated