Get spendable balance
URL Expired
The URL for this request expired after 30 days.
Request to get a balance for a master key, account, and asset.
MasterKey
string
required
Master key name.
Account
string
required
Account name.
CAIP19
string
required
Asset identifier in CAIP-19 format (e.g. eip155:1/slip44:60).
Responses
200The spendable balance.400Invalid input, validation error, or malformed request.404Not found — the master key / account does not exist, or the CAIP-19 is not registered.500Internal server error. May include anerrorCode(M-prefixed) anddatafrom the MPA error code system. Seecwpapi/errors.gofor codes.
cURL Example
curl --request POST \
--url https://api.your-wallet.blockdaemon-wallet.com/api/cwp/balances/spendable \
--header 'accept: application/json' \
--header 'content-type: application/json'
Base URLhttps://api.your-wallet.blockdaemon-wallet.com/api/cwp/balances/spendable