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.
Authorizations
OAuth 2.0 authorization and token endpoints
Query Parameters
The swap contract address
"0x742d35cc6634c0532925a3b844bc9e7595f0beb1"
The EVM chain to read from, e.g. ethereum_mainnet, ethereum_sepolia, base_mainnet or base_sepolia
"ethereum_sepolia"
Response
Successful response.
Current status flags of a Superstate swap contract.
String representing the object's type. Objects of the same type share the same value.
swap_status The contract's stopped() bitmask as a uint256 decimal string. Zero means no functionality is stopped.
"0"
The contract's SWAP_LEVEL() flag as a uint256 decimal string
"4"