Create deposit address
Changed onCreates a deposit address for a given asset.
Request
- Base URLhttps://api.cert.zerohash.com
- URLhttps://api.cert.zerohash.com/deposits/digital_asset_addresses
- AuthAPI key in header X-SCX-API-KEY and API key in header X-SCX-PASSPHRASE
Headers
HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.
Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.
Request body
Example request
{
"participant_code": "ABCDEF",
"asset": "BTC",
"account_label": "general"
}Response
Successfully created deposit address. Returns the created resource with generated IDs and timestamps.
Example response
{
"message": {
"created_at": 1590663417000,
"address": "2NCgV7BXXafJZ86utcYFs5m3tCpkcpLafeG",
"participant_code": "ABCDEF",
"platform_code": "ABCDEF",
"asset": "BTC",
"account_label": "general"
}
}Changes
- breaking
request property
was restricted to a list of enum values - info
added the new
AAVEenum value to the request property - info
added the new
ADAenum value to the request property - info
added the new
ALGOenum value to the request property - info
added the new
AVAXenum value to the request property - info
added the new
BATenum value to the request property - info
added the new
BCHenum value to the request property - info
added the new
BTCenum value to the request property - info
added the new
BUSDenum value to the request property - info
added the new
COMPenum value to the request property - info
added the new
DAIenum value to the request property - info
added the new
DOGEenum value to the request property - info
added the new
DOTenum value to the request property - info
added the new
EGLDenum value to the request property - info
added the new
EOSenum value to the request property - info
added the new
ETCenum value to the request property - info
added the new
ETHenum value to the request property - info
added the new
ETH.ARBITRUMenum value to the request property - info
added the new
GRTenum value to the request property - info
added the new
GYENenum value to the request property - info
added the new
HBARenum value to the request property - info
added the new
LINKenum value to the request property - info
added the new
LTCenum value to the request property - info
added the new
LUNAenum value to the request property - info
added the new
MATICenum value to the request property - info
added the new
MATIC.POLYGONenum value to the request property - info
added the new
MKRenum value to the request property - info
added the new
MOBenum value to the request property - info
added the new
SANDenum value to the request property - info
added the new
SOLenum value to the request property - info
added the new
UNIenum value to the request property - info
added the new
USDCenum value to the request property - info
added the new
USDC.ALGOenum value to the request property - info
added the new
USDC.AVAXenum value to the request property - info
added the new
USDC.HBARenum value to the request property - info
added the new
USDC.POLYGONenum value to the request property - info
added the new
USDC.SOLenum value to the request property - info
added the new
USDC.XLMenum value to the request property - info
added the new
USDTenum value to the request property - info
added the new
USTenum value to the request property - info
added the new
WBTCenum value to the request property - info
added the new
XEMenum value to the request property - info
added the new
XLMenum value to the request property - info
added the new
XRPenum value to the request property - info
added the new
XTZenum value to the request property - info
added the new
ZUSDenum value to the request property
- breaking