⚡ We welcome businesses to test our enterprise-grade service

zec
Zcash (ZEC)

Method: POST prioritisetransaction

dropdown

方法 RPC prioritisetransaction 例如 Zcash (ZEC)

POST prioritisetransaction

Method not allowed

在较高(或较低)的优先级中接受交易成矿体

Parameters

txid - 细绳

交易ID。

priority delta - 数字

添加或减法的优先级。

交易选择算法认为TX将具有更高的优先级。

(计算交易的优先级:造币 * value_in_satoshis / txsize)

fee delta - 数字

费用(在satoshis)添加(或减去负数)。

该费用实际上不是支付的,只有用于将交易选择为块的算法考虑交易,因为它将支付更高(或较低的)费用。

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


Response

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