Skip to content

Commit 120731d

Browse files
JulsKawaJulsKawa
authored andcommitted
Add /settings/mempool/minfee/:feeE8 docs
1 parent 60a7eca commit 120731d

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Developers/API.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ METHOD| PATH | DESCRIPTION
3737
`GET` |`/transaction/mempool`| Show content of mempool
3838
`GET` |`/transaction/lookup/:txid`| Transaction lookup
3939
`GET` |`/transaction/minfee` | Show the minimum fee required by this node
40+
`GET` |`/settings/mempool/minfee/:feeE8` | Adjust the minimum transaction fee
4041
`GET` |`/chain/head`| Show info on chain head
4142
`GET` |`/chain/grid`| Show header grid (used for sync)
4243
`GET` |`/chain/block/:id/hash`| Show hash of specific block
@@ -201,6 +202,30 @@ Send transactions in JSON format, returns transaction hash in hex format:
201202
}
202203
```
203204
205+
### `GET /settings/mempool/minfee/:feeE8`
206+
207+
Adjust the minimum transaction fee. The desired new minimum transaction fee should be specified.
208+
209+
Exemple output:
210+
211+
```json
212+
{
213+
"code": 0,
214+
"data": {
215+
"deleted": 0
216+
}
217+
}
218+
```
219+
220+
You can also set the min fee when launching your node.
221+
222+
Exemple:
223+
224+
```bash
225+
$./wart-node --minfee="0.00009992"
226+
```
227+
228+
204229
### `GET /chain/head`
205230
206231
Show info on chain head. Example output:

0 commit comments

Comments
 (0)