Get spot account
Manage your DeltaDeFi spot trading account. A spot account is required for trading and holds your encrypted operation key.
Get spot account details for a user
Authorizations
Header parameters
X-API-KEYstringRequired
API Key
Responses
200
OK
application/json
account_idstringOptionalExample:
550e8400-e29b-41d4-a716-446655440000account_typestringOptionalExample:
spotcreated_atstringOptionalExample:
2024-01-01T00:00:00Zencrypted_operation_keystringOptionalExample:
U2FsdGVkX1+vupppZksvRf5pq5g5XjFRIipRkwB0K1Y=operation_key_hashstringOptionalExample:
abc123def456...400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get/accounts/spot-account
GET /accounts/spot-account HTTP/1.1
X-API-KEY: text
Accept: */*
{
"account_id": "550e8400-e29b-41d4-a716-446655440000",
"account_type": "spot",
"created_at": "2024-01-01T00:00:00Z",
"encrypted_operation_key": "U2FsdGVkX1+vupppZksvRf5pq5g5XjFRIipRkwB0K1Y=",
"operation_key_hash": "abc123def456..."
}Understanding Operation Keys
The operation key is a crucial security component:
Generated client-side: Never sent to the server in plain text
Encrypted with your password: Uses AES-GCM encryption
Used for signing trades: Authorizes trading operations without your master wallet
Last updated