📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

btc
Bitcoin (BTC)

Method: POST setwalletflag

dropdown

方法 RPC setwalletflag 例如 Bitcoin (BTC)

POST setwalletflag

方法不允许

更改钱包的给定钱包标志的状态。

Parameters

flag - 字符串,必填

要更改的标志的名称。当前可用的标志 - avoid_reuse

value - 布尔值,可选,默认=真

新状态。

Request

curl --location --request POST 'https://btc.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"
}