⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
neo
NEO (NEO)

Method: POST getwalletunclaimedgas

dropdown

# getwalletunclaimedgas example for NEO (NEO)

POST getwalletunclaimedgas

Method not allowed

Gets the amount of unclaimed GAS in the wallet.

Before you can invoke this method you must call the RPC method openwallet to open the wallet first.

Parameters

-

Request

curl --location --request POST 'https://neo.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "getwalletunclaimedgas",
"params": [],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}