Native Tokens Handling
The 0x Cross-Chain API is in private beta. Request access to start building.
This page explains how native tokens (ETH, SOL, TRX) work in cross-chain swaps.
Native Token Addresses
Each chain type uses a specific address to represent the native token:
Pass these as sellToken or buyToken when swapping the chain’s native token.
Wrap Steps
When selling a native token, the API may include a wrap step on the origin chain before the swap or bridge, converting native to wrapped (e.g., ETH to WETH):
The wrap executes atomically within the origin transaction. No extra user action needed.
Wrap steps affect refund behavior. If a bridge fails after a wrap, the refund is in the wrapped token (WETH), not the original native token (ETH). See Handling Failures and Recovery.
The value Field (EVM only)
On EVM chains, the value field in the transaction object is the amount of native token sent with the transaction. It is non-zero in two cases:
- Selling a native token —
valueincludes the sell amount - Bridge native fee — some bridges charge a messaging fee in native token (see Understanding Bridging Costs)
When both apply, value = sell amount + bridge fee.
The user must have enough native token balance for value plus gas fees. If not, the transaction reverts.