Skip to main content
7 events
when toggle format what by license comment
Sep 28, 2022 at 15:02 comment added Oleksandr Mosur I think SOL balance could be here public-api.solscan.io/docs/#/Account/get_account__account_, see "lamports", but how to know the precision this is the question)
Aug 29, 2022 at 16:01 comment added Patoshi パトシ I'm trying to do it with: public-api.solscan.io --- i don't want to install anything on my server or local.
Aug 25, 2022 at 19:20 comment added vicyyn curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d ' {"jsonrpc":"2.0", "id":1, "method":"getBalance", "params":["83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri"]} '
Aug 25, 2022 at 19:20 comment added vicyyn docs.solana.com/developing/clients/jsonrpc-api#getbalance
Aug 25, 2022 at 19:20 comment added vicyyn Yeah already told you the way to do it. You can use Solana JSON RPC API by calling getBalance request example :)
Aug 25, 2022 at 15:57 comment added Patoshi パトシ i want to do it without installing a library. mainly want to just fetch this info from an REST api call using curl.
Aug 16, 2022 at 19:11 history answered vicyyn CC BY-SA 4.0