The following endpoint will require an API-KEY. To request an API-KEY e-mail support@hashaxis.com

You will also need the TOKEN-ID of the token you wish to request whitelisting for. Replace these values with real keys and IDs.

 

CURL SNIPPET

curl --location --request POST 'https://x.hashaxis.com/whitelists/token' \
--header 'x-hashaxis-token: API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"tokenId":"TOKEN-ID"}'

 

JS SNIPPET


var myHeaders = new Headers();
myHeaders.append("x-hashaxis-token", "API-KEY");
myHeaders.append("Content-Type", "application/json");
var raw = JSON.stringify({"tokenId":"TOKEN-ID"});
var requestOptions = {
  method: 'POST',
  headers: myHeaders,
  body: raw
};
fetch("https://x.hashaxis.com/whitelists/token", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));