Wallet Management
Get Balances
API Documentation
Wallet Management
Address Operations
- GETGet Addresses
- POSTGenerate Address
- GETGet Address
- PATCHUpdate Address
- POSTWhitelist address
- DELUnwhitelist address
- GETGet Balance
- GETGet Balances
- GETGet transactions
- POSTWithdraw Network Fee
- POSTWithdraw
- POSTGet Swap Quote
- POSTSwap Execute
- POSTCustom Smart Contract Network Fee
- POSTCustom Smart Contract Read
- POSTCustom Smart Contract Write
Withdrawals
Custom Smart Contracts
Asset Management
Transactions
AML(Anti Money Laundering)
Auto Settlements
Asset Recovery
Payment Links
Miscellaneous
Wallet Management
Get Balances
This endpoint retrieves the balances of a specific wallet.
GET
/
v1
/
wallets
/
{walletId}
/
balances
curl --request GET \
--url https://api.blockradar.co/v1/wallets/{walletId}/balances \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"address": "0x46705dfff24256421A05D056c29E81Bdc09723B8",
"asset_id": "e7ecb0d4-1acb-42a1-afa9-58b202fee07f"
}'
{
"data": [
{
"asset": {
"asset": {
"address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"blockchain": {
"createdAt": "2024-05-27T08:31:14.966Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"isActive": true,
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/Base_Network_Logo_vqyh7r.png",
"name": "base",
"slug": "base",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-10-27T07:52:16.115Z"
},
"createdAt": "2024-05-27T08:31:19.442Z",
"decimals": 6,
"id": "0927dc05-7d4e-4c0a-82c6-98ceb170ab84",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"name": "USD Coin",
"network": "testnet",
"standard": null,
"symbol": "USDC",
"updatedAt": "2024-05-27T09:24:11.963Z"
},
"createdAt": "2024-08-22T10:34:38.785Z",
"id": "dde9b0ce-599d-4ee4-9a17-960f06aa50a8",
"isActive": true,
"updatedAt": "2024-08-22T10:34:38.785Z"
},
"balance": "0.049",
"convertedBalance": "0.049"
},
{
"asset": {
"asset": {
"address": "0x0000000000000000000000000000000000000000",
"blockchain": {
"createdAt": "2024-05-27T08:31:14.966Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"isActive": true,
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/Base_Network_Logo_vqyh7r.png",
"name": "base",
"slug": "base",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-10-27T07:52:16.115Z"
},
"createdAt": "2024-05-27T08:31:19.440Z",
"decimals": 18,
"id": "ec9c982f-5d83-46e7-bda5-386100e795fc",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"name": "Ethereum",
"network": "testnet",
"standard": null,
"symbol": "ETH",
"updatedAt": "2024-05-27T09:24:11.962Z"
},
"createdAt": "2024-08-22T10:05:46.167Z",
"id": "ff99a04e-b279-4933-9075-29f0ae12eea0",
"isActive": true,
"updatedAt": "2024-08-22T10:05:46.167Z"
},
"balance": "0.049883596942791242",
"convertedBalance": "121.19120110057246661416"
}
],
"message": "Balances fetched successfully",
"statusCode": 200
}
Authorizations
Path Parameters
Example:
"YOUR_WALLET_ID"
Body
application/json
Response
200 - application/json
200
The response is of type object
.
curl --request GET \
--url https://api.blockradar.co/v1/wallets/{walletId}/balances \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"address": "0x46705dfff24256421A05D056c29E81Bdc09723B8",
"asset_id": "e7ecb0d4-1acb-42a1-afa9-58b202fee07f"
}'
{
"data": [
{
"asset": {
"asset": {
"address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"blockchain": {
"createdAt": "2024-05-27T08:31:14.966Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"isActive": true,
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/Base_Network_Logo_vqyh7r.png",
"name": "base",
"slug": "base",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-10-27T07:52:16.115Z"
},
"createdAt": "2024-05-27T08:31:19.442Z",
"decimals": 6,
"id": "0927dc05-7d4e-4c0a-82c6-98ceb170ab84",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/usd-coin-usdc-logo_fs9mhv.png",
"name": "USD Coin",
"network": "testnet",
"standard": null,
"symbol": "USDC",
"updatedAt": "2024-05-27T09:24:11.963Z"
},
"createdAt": "2024-08-22T10:34:38.785Z",
"id": "dde9b0ce-599d-4ee4-9a17-960f06aa50a8",
"isActive": true,
"updatedAt": "2024-08-22T10:34:38.785Z"
},
"balance": "0.049",
"convertedBalance": "0.049"
},
{
"asset": {
"asset": {
"address": "0x0000000000000000000000000000000000000000",
"blockchain": {
"createdAt": "2024-05-27T08:31:14.966Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"isActive": true,
"isEvmCompatible": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/Base_Network_Logo_vqyh7r.png",
"name": "base",
"slug": "base",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-10-27T07:52:16.115Z"
},
"createdAt": "2024-05-27T08:31:19.440Z",
"decimals": 18,
"id": "ec9c982f-5d83-46e7-bda5-386100e795fc",
"isActive": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"name": "Ethereum",
"network": "testnet",
"standard": null,
"symbol": "ETH",
"updatedAt": "2024-05-27T09:24:11.962Z"
},
"createdAt": "2024-08-22T10:05:46.167Z",
"id": "ff99a04e-b279-4933-9075-29f0ae12eea0",
"isActive": true,
"updatedAt": "2024-08-22T10:05:46.167Z"
},
"balance": "0.049883596942791242",
"convertedBalance": "121.19120110057246661416"
}
],
"message": "Balances fetched successfully",
"statusCode": 200
}