⚡ We welcome businesses to test our enterprise-grade service

zec
Zcash (ZEC)

Method: POST z_setmigration

dropdown

方法 RPC z_setmigration 例如 Zcash (ZEC)

POST z_setmigration

Method not allowed

当启用发芽时,将尝试将所有资金从此钱包的新闻地址迁移到Sapling帐户0的地址或参数“ -MigrationDestAddress”的地址。

此迁移旨在最大程度地减少信息泄漏。 结果,具有明显的发芽平衡的钱包,此过程可能需要数周。 每当区块链达到等于499 Modulo 500的高度时,迁移最多可尽可能多,尽可能多的交易。交易金额是根据ZIP 308中指定的随机分配来选择的。迁移将结束一旦钱包的芽 余额低于0.01 ZEC。

Parameters

enabled - 布尔

“ true”或“ false”分别启用禁用。

Request

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


Response

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