Whitelsted tokens

POST /WLCHECK

<Check if the token is whitelisted or not>

Headers

Name
Value
Description

Content-Type

application/json

Set to application/json to define the payload format.

cert

Python (requests): tuple

Path to the certificate and key file as a tuple (e.g., (cert_path, key_path)).

cURL: --cert and --key

Separate paths to the certificate and key (e.g., --cert cert_path --key key_path).

Java (Apache HttpClient): KeyStore

Certificate and key loaded into SSLContext or KeyStore.

Body

Name
Type
Description

apikey

string

APIKEY

contract_address

string

Token address

Response

{
    "message": "Whitelisted"
}

--------------------------------------------------------------------------------

}
    "message": "Not whitelisted"
}

Last updated