Wallet Management
Get Balance
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 Balance
This endpoint retrieves the balance of a specific wallet for a given asset.
GET
/
v1
/
wallets
/
{walletId}
/
balance
curl --request GET \
--url https://api.blockradar.co/v1/wallets/{walletId}/balance \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '""'
{
"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"
},
"message": "Balance fetched successfully",
"statusCode": 200
}
Authorizations
Path Parameters
Example:
"YOUR_WALLET_ID"
Query Parameters
Example:
"WALLET_ASSET_ID"
Body
application/json · any
The body is of type any
.
Response
200 - application/json
200
The response is of type object
.
curl --request GET \
--url https://api.blockradar.co/v1/wallets/{walletId}/balance \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '""'
{
"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"
},
"message": "Balance fetched successfully",
"statusCode": 200
}