GET
https://api.sfox.com/v1/user/deposit/address/:currency
Retrieve your crypto deposit address(es) for a currency.
Path Parameters
Response Body
Responses
200
[
{
"address": "0x123456789",
"currency": "eth"
}
]
Example Requests
curl -H 'Authorization: Bearer <API_TOKEN>' \
-H 'Content-Type: application/json' \
-X GET \
'https://api.sfox.com/v1/user/deposit/address/btc'
const axios = require('axios');
axios({
method: 'get',
url: 'https://api.sfox.com/v1/user/deposit/address/eth',
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/user/deposit/address/eth",
headers={
"Authorization": "Bearer <API_KEY>",
}
)
print(data)
Last updated