Fetch Balance Method
This method is used to get balance of the user.
It does not require any parameters. In response, it returns the balance of the user.
DANGER
This method is not available for now
Request example:
shell
curl 'https://api.ibuy.exchange/api/public/market.v1.PubMarketService/FetchBalance' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'typescript
const marketService = createClient(ibuy.marketv1.PubMarketService, transport)
const response = await marketService.fetchBalance({})Response example:
json
{
"balance": "1000"
}