Get on-chain balance

For AI agents: visit https://vault.docs.blockdaemon.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.

Time Status User Agent
Make a request to see history.

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).

Response Codes

`` 200 The on-chain balance.

`` 400 Invalid input, validation error, or malformed request

`` 404

Not found — the master key / account does not exist, or the CAIP-19 is not registered.

`` 500 Internal server error. May include an errorCode (M-prefixed) and data from the MPA error code system. See cwpapi/errors.go for codes.

Updated 12 days ago


Base URL

https://api.your-wallet.blockdaemon-wallet.com/api/cwp/balances/onchain

xxxxxxxxxx

curl --request POST \
     --url https://api.your-wallet.blockdaemon-wallet.com/api/cwp/balances/onchain \
     --header 'accept: application/json' \
     --header 'content-type: application/json'

Click Try It! to start a request and see the response here! Or choose an example:

application/json

200400``500

Updated 12 days ago