getunclaimedgas

Get unclaimed gas of the specified address.

Parameters

Object NameRequiredTypeDetail
ADDRESS✅StringThe address to check for unclaimed gas.
"params": [
    "NSk8xEBm3FNAFDueUf21cMugkWidJn5N1n"
]

Result

The unclaimed gas with the specified address.

Example

Request

curl <your-endpoint> \
   -X POST \
   -H "Content-Type: application/json" \
   -d '{"jsonrpc": "2.0", "method": "getunclaimedgas", "params":["NSk8xEBm3FNAFDueUf21cMugkWidJn5N1n"],"id": 1}'

Return

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "unclaimed": "317",
        "address": "NSk8xEBm3FNAFDueUf21cMugkWidJn5N1n"
    }
}