mirror of
https://github.com/monero-project/monero-docs.git
synced 2025-04-12 16:41:58 +00:00
Merge pull request #142 from nahuhh/pr/get_default_fee_priority
wallet-rpc: add get_default_fee_priority
This commit is contained in:
commit
09ba275e13
1 changed files with 25 additions and 0 deletions
|
@ -1295,6 +1295,31 @@ $ curl -X POST http://127.0.0.1:18088/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
|||
}
|
||||
```
|
||||
|
||||
### **get_default_fee_priority**
|
||||
|
||||
Returns the adjusted fee priority(1-4) that the auto/default(0) tier will be mapped to.
|
||||
|
||||
Alias: _None_.
|
||||
|
||||
Inputs: _None_.
|
||||
|
||||
Outputs:
|
||||
|
||||
- _priority_ - unsigned int; The adjusted fee priority(1-4) that the auto/default(0) tier will be mapped to.
|
||||
|
||||
Example:
|
||||
|
||||
```Bash
|
||||
$ curl -X POST http://127.0.0.1:18088/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_default_fee_priority"}' -H 'Content-Type: application/json'
|
||||
{
|
||||
"id": "0",
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"priority": 2
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### **get_height**
|
||||
|
||||
Returns the wallet's current block height.
|
||||
|
|
Loading…
Reference in a new issue