post https://api.infstones.com/neo/mainnet/
Get unclaimed gas of the specified address.
Parameters
Object Name | Required | Type | Detail |
---|---|---|---|
ADDRESS | ✅ | String | The 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"
}
}