v1
latestOpenAPI 3.0.02026-07-22243670.8 KBSwap
Get the swap contract's output token metadata
Resolves outputToken() on the Superstate swap contract and returns the ERC-20 name, symbol and decimals of that token.
get/v1/swap/output-token
Query parameters
contract_addressstring required
Example:0x742d35cc6634c0532925a3b844bc9e7595f0beb1
The swap contract address
chainstring required
Example:ethereum_sepolia
The EVM chain to read from, e.g. ethereum_mainnet, ethereum_sepolia, base_mainnet or base_sepolia
Response
Successful response.
Example response
{
"decimals": 6,
"name": "USD Coin",
"symbol": "USDC"
}