v1

latestOpenAPI 3.0.02026-07-22243670.8 KB
Wallet

Check whether a wallet is authorized on a swap contract

Reads authorized(address) on the Superstate swap contract to determine whether the given wallet is allowed to swap.

get/v1/wallet/authorized

Query parameters

contract_addressstring required
Example:0x742d35cc6634c0532925a3b844bc9e7595f0beb1

The swap contract address

wallet_addressstring required
Example:0x8ba1f109551bd432803012645ac136ddd64dba72

The wallet address to check

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.

authorizedboolean required

Whether the wallet is authorized on the swap contract

object'wallet_authorization' required

String representing the object's type. Objects of the same type share the same value.

Example response

{
  "authorized": true
}