Using any existing key to query the currently RU balance of the account which owns the api key

This method is to use any existing key to check the RU balance of your account, no matter how many keys in the account. The key is the last 40 digits of an private endpoint.

For example, a user created 4 private endpoints and his remaining RU is 99M,

Using 4e322aee2acbba7229823619efa64afc20706107 or c338e93b14dc91370070e6c58d3689405ff7b1cb as the parameter will give the same response of the 99M remaining RU.


BlockPI API key - any API key that the users already created in their account.


QUANTITY - the remaining RU balance of the account.


// Request
curl -X POST -H "Content-Type: application/json" 
--data '{
    "jsonrpc": "2.0",
    "method": "blockpi_ruBalance",
    "params": [
            "apiKey": "60794794c00003b35af4e11863311826619a3bcc" 
    "id": 1

// Result
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "balance": 0

Last updated