⚡ We welcome businesses to test our enterprise-grade service

dgb
DigiByte (DGB)

Method: POST settxfee

dropdown

方法 RPC settxfee 例如 DigiByte (DGB)

POST settxfee

Method not allowed

为此钱包设置每千克的交易费。 覆盖全局-paytxfee命令行参数。

可以通过通过0作为费用而停用。 在这种情况下,默认情况下将使用自动费用选择。

Parameters

amount - 数字或字符串,需要

BTC/KVB的交易费

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


Response

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