GET
https://api.sfox.com/v1
/whitelisted-addresses
Retrieve a list of the crypto withdrawal addresses you have whitelisted in your account.
Response Body
Custom alias you have assigned to the address
Whitelisted withdraw address
Currency that can be withdrawn to the address
Responses
200
{
"data": [
{
"alias": "Satoshis Fund",
"address": "1NLqQmwkGxxQmzS9uwtCGXxbxrcNW4FpYp",
"currency_symbol": "btc",
"date_created": "2021-09-15T15:12:13.000Z",
"date_updated": "2021-09-15T15:12:13.000Z",
"status":"Pending"
}
]
}
Example Requests
curl -H 'Authorization: Bearer <API_TOKEN>' \
'https://api.sfox.com/v1/whitelisted-addresses'
const axios = require('axios');
axios({
method: 'get',
url: 'https://api.sfox.com/v1/whitelisted-addresses',
headers: {
'Authorization': 'Bearer <API_KEY>'
}
}).then(response => {
console.log(response)
}).catch(err => {
console.error(err)
});
import requests
data = requests.get(
"https://api.sfox.com/v1/whitelisted-addresses",
headers={
"Authorization": "Bearer <API_KEY>",
}
)
print(data)
Last updated