curl --request GET \
--url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/wallets/{wallet_id}/balance{
"balance": {
"symbol": "BTC",
"amount": "109.42",
"holds": "2",
"bonded_amount": "109.42",
"reserved_amount": "109.42",
"unbonding_amount": "109.42",
"unvested_amount": "109.42",
"pending_rewards_amount": "109.42",
"past_rewards_amount": "109.42",
"bondable_amount": "109.42",
"withdrawable_amount": "109.42",
"fiat_amount": "109.42",
"unbondable_amount": "109.42"
}
}Query balance for a specific wallet.
curl --request GET \
--url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/wallets/{wallet_id}/balance{
"balance": {
"symbol": "BTC",
"amount": "109.42",
"holds": "2",
"bonded_amount": "109.42",
"reserved_amount": "109.42",
"unbonding_amount": "109.42",
"unvested_amount": "109.42",
"pending_rewards_amount": "109.42",
"past_rewards_amount": "109.42",
"bondable_amount": "109.42",
"withdrawable_amount": "109.42",
"fiat_amount": "109.42",
"unbondable_amount": "109.42"
}
}BalancesService balancesService = PrimeServiceFactory.createBalancesService(client);
GetWalletBalanceRequest request = new GetWalletBalanceRequest.Builder()
.portfolioId("PORTFOLIO_ID_HERE")
.walletId("WALLET_ID_HERE")
.build();
GetWalletBalanceResponse response = balancesService.getWalletBalance(request);
A successful response.
Show child attributes
The display symbol for the asset
"BTC"
The total amount in whole units with full precision. Includes the holds amount.
"109.42"
Amount that is currently held in obligation to an open order's position or a pending withdrawal
"2"
Amount that is currently locked due to bonding/staking, potentially subject to an unbonding period, in whole units
"109.42"
Amount that must remain in the wallet due to the protocol, in whole units
"109.42"
Amount that is in the process of unbonding, in whole units
"109.42"
Unrealized amount subject to a vesting schedule, in whole units
"109.42"
Pending bonding/staking rewards that have not yet been realized, in whole units
"109.42"
Previously realized bonding/staking rewards, in whole units
"109.42"
Amount available for bonding/staking, in whole units
"109.42"
Amount available to withdraw, in whole units
"109.42"
The total amount in fiat unit
"109.42"
Amount available for unbonding/unstaking, in whole units
"109.42"
Was this page helpful?