Is there any way to track or get information about current user account resources consumption using RPC API? I.e. how many operations can be executed with the current tokens or how much RAM or CPU is taken?
1 Answer
Yes, you can refer to the EOSIO documentation for get_account
curl --request POST --url http://localhost:8080/v1/chain/get_account --header 'accept: application/json' --header 'content-type: application/json' --data '{"account_name":"eosio"}'
The results show RAM/NET/CPU current usage and maximum available.