⚡ We welcome businesses to test our enterprise-grade service

zec
Zcash (ZEC)

Method: POST settxfee

dropdown

方法 RPC settxfee 例如 Zcash (ZEC)

POST settxfee

Method not allowed

设置每公斤的交易费。 覆盖PaytxFee参数。

Parameters

amount - 数字

ZEC/KB的交易费为最接近的0.00000001

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": "settxfee",
"params": [null],
"id": "getblock.io"}'


Response

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