<p>Solved. Despite definition in bitcoin.config, when calling sendrawtransaction we need to pass again the maxfeerate</p>
<p>sendrawtransaction raw_tx_hex 1000</p>

CC BY-SA 4.0
2023-12-04T16:20:08.683Z
`maxtxfee` is a *wallet* configuration option; it doesn't apply to `sendrawtransaction` as that isn't a wallet RPC.
Pieter Wuille
CC BY-SA 4.0
2024-04-30T16:54:54.087Z
Did this really bypass it? I'm trying to use it and get: "Fee rates larger than or equal to 1BTC/kvB are not accepted". I'm using with "sendrawtransaction ra_tx_hex 100000".
polespinasa
CC BY-SA 4.0
2023-12-04T08:29:04.007Z
2023-12-04T08:29:04.007Z
Pawel
<p>I am building different tx types on regtest and don't want to care about tx fees.</p>
<p>Here is my bitcoin.config</p>
<p><em>fallbackfee=100000
paytxfee=100000
maxtxfee=100000
mintxfee=0.1
maxfeerate=100000</em></p>
<p>I have set the values absurdly high, but bitcoin core still doesn't allow to send a transaction (P2WPKH, 1 input and 1 output) with 100 btc in fees, and still get</p>
<p><em>Fee exceeds maximum configured by user (e.g. -maxtxfee, maxfeerate) (code -25)</em></p>

<transaction-fees>
Setting high tx fees (paytxfee, maxtxfee,..)
Pawel
# Setting high tx fees (paytxfee, maxtxfee,..)

(Asked by: username_0 on 2023-12-04)

I am building different tx types on regtest and don't want to care about tx fees.

Here is my bitcoin.config

*fallbackfee=100000
paytxfee=100000
maxtxfee=100000
mintxfee=0.1
maxfeerate=100000*

I have set the values absurdly high, but bitcoin core still doesn't allow to send a transaction (P2WPKH, 1 input and 1 output) with 100 btc in fees, and still get

*Fee exceeds maximum configured by user (e.g. -maxtxfee, maxfeerate) (code -25)*

**Tags:** transaction-fees


---

## 1 answers

### Answer by username_0 on 2023-12-04. Score: 2

Solved. Despite definition in bitcoin.config, when calling sendrawtransaction we need to pass again the maxfeerate

sendrawtransaction raw\_tx\_hex 1000

> **Comments:**
> **username_1**: `maxtxfee` is a *wallet* configuration option; it doesn't apply to `sendrawtransaction` as that isn't a wallet RPC.  
> **username_2**: Did this really bypass it? I'm trying to use it and get: "Fee rates larger than or equal to 1BTC/kvB are not accepted". I'm using with "sendrawtransaction ra_tx_hex 100000".  

---

