Testnets are not recommended for testing swaps. Testnets typically lack real DEX liquidity making testnet swaps fail. We recommend using
inexspensive L2s like Base or Arbitrum to test swapping. The cost of gas will outweight the time required to debug testnet-specific issues like illiquidity.
Testnets Supported
You can see all the testnets we support in the table below. You can also query our API to get a JSON of the supported testnets: https://api.testnets.relay.link/chains The API response will also return chain IDs and other relevant information.API Support
To access testnets with our API, make sure to use the correct base URL:https://api.testnets.relay.link
By using this base URL, you’ll be able
to bridge, swap, and transact on testnets Relay supports. To get started, check out the API documentation.
SDK Support
To access testnets with our SDK, make sure to use the correct base URL:https://api.testnets.relay.link
You’ll pass this base URL in
the baseApiUrl
parameter when creating the client. To get started, check out the SDK documentation.
UI Kit Support
To access testnet with our UI kit, make sure to pass the testnet chain you want e.g.base sepolia
, sepolia
, etc.
To get started, check out the UI Kit documentation.