Get Wallet Balance
Changed onGet the balance of a wallet for a given chain and currency
API scope required: wallets:balance.read
Request
- Base URL: https://staging.crossmint.com/api
- URL: https://staging.crossmint.com/api/v1-alpha2/wallets/{walletLocator}/balances
- Auth: none declared. Required headers: X-API-KEY
Path parameters
A wallet locator can be of the format:
- <walletAddress>
- email:<email>:<walletType>
- userId:<userId>:<walletType>
- userId:<userId>:<walletType> (white label user example)
- phoneNumber:<phoneNumber>:<walletType>
- twitter:<handle>:<walletType>
- x:<handle>:<walletType>
- me:<walletType> (Use when calling from the client side with a client API key)
Query parameters
The blockchain(s) to query. Comma-separated list of chains
The tokens to query. Comma-separated list
Headers
API key required for authentication
Response
Returns the balance of the wallet for the given chain and currency
Example response
[
{
"token": "eth",
"decimals": 18
}
]Changes
- info
removed the
cotienum value from the/response property for the response status - info
removed the
plumeenum value from the/response property for the response status - info
removed the
xaienum value from the/response property for the response status
- info
- warning
added the new
mgusdenum value to the/response property for the response status - warning
added the new
usdgenum value to the/response property for the response status - warning
added the new
wirex-usdcenum value to the/response property for the response status - warning
added the new
wirex-usdcenum value to the/response property for the response status
- warning