⚡ We welcome businesses to test our enterprise-grade service

dgb
DigiByte (DGB)

Method: POST rescanblockchain

dropdown

方法 RPC rescanblockchain 例如 DigiByte (DGB)

POST rescanblockchain

Method not allowed

清除与钱包相关的交易的当地区块链。

注意使用“ getwalletinfo”查询扫描进度。

Parameters

start_height - 数字,可选,默认值= 0

扫描应在哪里开始

stop_height - 数字,可选

应该扫描的最后一个块高度。 如果没有提供,它将在此通话的返回时间内恢复到小费。

Request

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


Response

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