Appearance
Get Earn Balances for All Accounts
GET
/v1/staking/balances/all
Get the current balances for a specific earnType for all accounts (primary and subaccounts).
Authorizations
apiKey
Your API key
Type
API Key (header: X-VALR-API-KEY)
apiSignature
HMAC SHA512 signature of the request (see Authentication section)
Type
API Key (header: X-VALR-SIGNATURE)
apiTimestamp
Request timestamp in milliseconds
Type
API Key (header: X-VALR-TIMESTAMP)
Parameters
Query Parameters
earnType
The type of earn product to filter by.
Type
string
Valid values
"STAKE""LEND"Example
"STAKE"Responses
Earn balances for all accounts retrieved successfully
application/json