When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Path Parameters
address*string
address is the address to query balances for.
Query Parameters
denom?string
denom is the coin denom to query balances for.
Response Body
application/json
application/json
curl -X GET "http://localhost:1317/cosmos/bank/v1beta1/spendable_balances/string/by_denom"{
"balance": {
"denom": "string",
"amount": "string"
}
}{
"error": "string",
"code": 0,
"message": "string",
"details": [
{
"type_url": "string",
"value": "string"
}
]
}