⚡ We welcome businesses to test our enterprise-grade service

grs
Groestlcoin (GRS)

Method: POST setwalletflag

dropdown

Method RPC setwalletflag example for Groestlcoin (GRS)

POST setwalletflag

Method not allowed

Change the state of the given wallet flag for a wallet.

Parameters

flag - string, required

The name of the flag to change. Current available flags - avoid_reuse

value - boolean, optional, default=true

The new state.

Request

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


Response

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