Add Whitelisted Address
Body Parameters
Parameter
Type
Description
Responses
Example Requests
curl -X POST \
-H 'Content-type: application/json' \
-H 'Authorization: Bearer < API_TOKEN >' \
--data '{ "alias": "Satoshis Fund",
"currency_symbol": "btc",
"address": "1NLqQmwkGxxQmzS9uwtCGXxbxrcNW4FpYp" }' \
'https://api.sfox.com/v1/whitelisted-addresses'const axios = require('axios');
axios({
method: 'post',
url: 'https://api.sfox.com/v1/whitelisted-addresses',
headers: {
'Authorization': 'Bearer <API_KEY>'
},
data: {
alias: 'Satoshis Fund',
currency_symbol: 'btc',
address: '1NLqQmwkGxxQmzS9uwtCGXxbxrcNW4FpYp'
}
}).then(response => {
console.log(response)
}).catch(err => {
console.error(err)
});Last updated