If I have a contract like below:
contract wallet{
mapping (address => uint) balances
function send(){...}
......
}
and I deploy this contract on the ethereum.
When I want to query the balances for example check the balance of Alice, is there any api to do this query directly like SQL.