v1
latestOpenAPI 3.0.02026-07-22243670.8 KBSwap
Get the swap contract's status
Reads stopped() and SWAP_LEVEL() on the Superstate swap contract so clients can determine whether swaps are currently allowed.
get/v1/swap/status
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
{
"stopped": "0",
"swap_level": "4"
}