Last updated 8 months ago
GET https://api.sfox.com/v1/user/deposit/address/:currency
GET
https://api.sfox.com/v1/user/deposit/address/:currency
Retrieve your crypto deposit address(es) for a currency.
[ { "address": "0x123456789", "currency": "eth" } ]
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)
currency required
currency
string
Specify the currency you want to retrieve deposit address(es) for.
Crypto asset
address
Crypto address to use for deposits