curl --request POST \
--url https://prv.gateway.indexer.biya.io/injective_portfolio_rpc.InjectivePortfolioRpc/AccountPortfolioBalances \
--header 'Content-Type: application/json' \
--data '
{
"account_address": "<string>",
"usd": true
}
'Get the account portfolio balances
curl --request POST \
--url https://prv.gateway.indexer.biya.io/injective_portfolio_rpc.InjectivePortfolioRpc/AccountPortfolioBalances \
--header 'Content-Type: application/json' \
--data '
{
"account_address": "<string>",
"usd": true
}
'{
"portfolio": {
"account_address": "string",
"bank_balances": [
{
"denom": "string",
"amount": "string",
"usd_value": "string"
}
],
"subaccounts": [
{
"subaccount_id": "string",
"denom": "string",
"deposit": {
"total_balance": "string",
"available_balance": "string",
"total_balance_usd": "string",
"available_balance_usd": "string"
}
}
],
"total_usd": "string"
}
}