POSTCheck token KYC permissions
Check token KYC permissions
Authorization
x-api-keystringrequiredheaderPlayground key
You're using a shared playground keyCreate a free account and get your own API keys from the dashboard.
Get your keysBody
application/jsonwalletAddressstringrequiredThe wallet address which will be used to send the token.
tokensstring[]requiredTokens to check permissions for. Maximum of 2 per request.
chainIdenumrequireddefault:11105613013714319632448018684217432646635042845310143421614222043114570735914481457777777713018453211155111
The unique ID of the blockchain. For a list of supported chains see the FAQ.
Response
Token permissions lookup successful.
requestIdstringrequiredA unique ID for the request.
resultsobject[]requiredPOST
/permissionsRequest
curl --request POST \
--url 'https://trade-api.gateway.uniswap.org/v1/permissions' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"walletAddress": "<string>",
"tokens": "<string[]>",
"chainId": 1
}'Response
200
{ "requestId": "<string>", "results": [ { "token": "<string>", "isPermissioned": "<boolean>", "isAllowlisted": "<boolean>", "adapterTokenAddress": "<string>", "kycUrl": "<string>", "issuer": "<string>" } ]}