dgb

DGB

POST

GET

chevron-right

Last updated on January 1, 1970

1 min read

Method bumpfee undefined ()
connect with JSON-RPC protocol

bumpfee

info-circle-fill

Method not allowed

info-circle-fill

Bumps the fee of an opt-in-RBF transaction T, replacing it with a newtransaction B.An opt-in RBF transaction with the given txid must be in the wallet.The command will pay the additional fee by reducing change outputs oradding inputs when necessary.It may add a new change output if one does not already exist.All inputs in the original transaction will be included in thereplacement transaction.The command will fail if the wallet or mempool contains a transactionthat spends one of Ts outputs.It may add a new change output if one does not already exist.All inputs in the original transaction will be included in thereplacement transaction. The command will fail if the wallet or mempoolcontains a transaction that spends one of Ts outputs.By default, the new fee will be calculated automatically using theestimatesmartfee RPC.The user can specify a confirmation target for estimatesmartfee.Alternatively, the user can specify a fee rate in sat/vB for the newtransaction.At a minimum, the new fee rate must be high enough to pay an additionalnew relay fee (incrementalfee returned by getnetworkinfo) to enter thenodes mempool.\* WARNING before version 0.21, fee_rate was in BTC/kvB. As of 0.21,fee_rate is in sat/vB. \*

Parameters

txid - string, required

The txid to be bumped

options - json object, optional

The txid to be bumped

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

Response

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

Start Building with GetBlock RPCs for Free