mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-13 03:46:34 +02:00
Merge !1095
Update get_fee_estimate daemon RPC documentation See merge request monero-project/monero-site!1095
This commit is contained in:
commit
2413626034
@ -979,7 +979,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
||||
|
||||
### **get_fee_estimate**
|
||||
|
||||
Gives an estimation on fees per kB.
|
||||
Gives an estimation on fees per byte.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
@ -989,7 +989,8 @@ Inputs:
|
||||
|
||||
Outputs:
|
||||
|
||||
* *fee* - unsigned int; Amount of fees estimated per kB in @atomic-units
|
||||
* *fee* - unsigned int; Amount of fees estimated per byte in @atomic-units
|
||||
* *quantization_mask* - unsigned int; Final fee should be rounded up to an even multiple of this value
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`).
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% assign version = '2.3.0' | split: '.' %}
|
||||
{% include untranslated.html %}
|
||||
{% include disclaimer.html translated="false" version=page.version %}
|
||||
## Introduction
|
||||
|
||||
This is a list of the monerod daemon RPC calls, their inputs and outputs, and examples of each.
|
||||
@ -979,7 +979,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
||||
|
||||
### **get_fee_estimate**
|
||||
|
||||
Gives an estimation on fees per kB.
|
||||
Gives an estimation on fees per byte.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
@ -989,7 +989,8 @@ Inputs:
|
||||
|
||||
Outputs:
|
||||
|
||||
* *fee* - unsigned int; Amount of fees estimated per kB in @atomic-units
|
||||
* *fee* - unsigned int; Amount of fees estimated per byte in @atomic-units
|
||||
* *quantization_mask* - unsigned int; Final fee should be rounded up to an even multiple of this value
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`).
|
||||
|
||||
|
@ -979,7 +979,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
||||
|
||||
### **get_fee_estimate**
|
||||
|
||||
Gives an estimation on fees per kB.
|
||||
Gives an estimation on fees per byte.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
@ -989,7 +989,8 @@ Inputs:
|
||||
|
||||
Outputs:
|
||||
|
||||
* *fee* - unsigned int; Amount of fees estimated per kB in @atomic-units
|
||||
* *fee* - unsigned int; Amount of fees estimated per byte in @atomic-units
|
||||
* *quantization_mask* - unsigned int; Final fee should be rounded up to an even multiple of this value
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`).
|
||||
|
||||
|
@ -979,7 +979,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
||||
|
||||
### **get_fee_estimate**
|
||||
|
||||
Gives an estimation on fees per kB.
|
||||
Gives an estimation on fees per byte.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
@ -989,7 +989,8 @@ Inputs:
|
||||
|
||||
Outputs:
|
||||
|
||||
* *fee* - unsigned int; Amount of fees estimated per kB in @atomic-units
|
||||
* *fee* - unsigned int; Amount of fees estimated per byte in @atomic-units
|
||||
* *quantization_mask* - unsigned int; Final fee should be rounded up to an even multiple of this value
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`).
|
||||
|
||||
|
@ -979,7 +979,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
||||
|
||||
### **get_fee_estimate**
|
||||
|
||||
Donne une estimation des frais par kO.
|
||||
Donne une estimation des frais par octet.
|
||||
|
||||
Alias : *Aucun*.
|
||||
|
||||
@ -989,7 +989,8 @@ Entrées :
|
||||
|
||||
Sorties :
|
||||
|
||||
* *fee* - entier non signé; Montant estimé des frais par kO en @unités-atomiques
|
||||
* *fee* - entier non signé; Montant estimé des frais par octet en @unités-atomiques
|
||||
* *quantization_mask* - entier non signé; Les frais finaux doivent être arrondis à un multiple de cette valeur
|
||||
* *status* - chaîne de caractères; Code erreur général RPC. "OK" signifie que tout va bien.
|
||||
* *untrusted* - booléen; Indique si le résultat est obtenu en utilisant un nœud d'amorce, auquel il ne faudrait pas faire confiance (`true`), ou si le démon est totalement synchronisé (`false`).
|
||||
|
||||
|
@ -979,7 +979,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
||||
|
||||
### **get_fee_estimate**
|
||||
|
||||
Gives an estimation on fees per kB.
|
||||
Gives an estimation on fees per byte.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
@ -989,7 +989,8 @@ Inputs:
|
||||
|
||||
Outputs:
|
||||
|
||||
* *fee* - unsigned int; Amount of fees estimated per kB in @atomic-units
|
||||
* *fee* - unsigned int; Amount of fees estimated per byte in @atomic-units
|
||||
* *quantization_mask* - unsigned int; Final fee should be rounded up to an even multiple of this value
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`).
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% assign version = '2.3.0' | split: '.' %}
|
||||
{% include disclaimer.html translated="true" version=page.version %}
|
||||
{% include disclaimer.html translated="false" version=page.version %}
|
||||
## Introduction
|
||||
|
||||
This is a list of the monerod daemon RPC calls, their inputs and outputs, and examples of each.
|
||||
@ -979,7 +979,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
||||
|
||||
### **get_fee_estimate**
|
||||
|
||||
Gives an estimation on fees per kB.
|
||||
Gives an estimation on fees per byte.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
@ -989,7 +989,8 @@ Inputs:
|
||||
|
||||
Outputs:
|
||||
|
||||
* *fee* - unsigned int; Amount of fees estimated per kB in @atomic-units
|
||||
* *fee* - unsigned int; Amount of fees estimated per byte in @atomic-units
|
||||
* *quantization_mask* - unsigned int; Final fee should be rounded up to an even multiple of this value
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`).
|
||||
|
||||
|
@ -979,7 +979,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
||||
|
||||
### **get_fee_estimate**
|
||||
|
||||
Gives an estimation on fees per kB.
|
||||
Gives an estimation on fees per byte.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
@ -989,7 +989,8 @@ Inputs:
|
||||
|
||||
Outputs:
|
||||
|
||||
* *fee* - unsigned int; Amount of fees estimated per kB in @atomic-units
|
||||
* *fee* - unsigned int; Amount of fees estimated per byte in @atomic-units
|
||||
* *quantization_mask* - unsigned int; Final fee should be rounded up to an even multiple of this value
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`).
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% assign version = '2.2.0' | split: '.' %}
|
||||
{% assign version = '2.3.0' | split: '.' %}
|
||||
{% include disclaimer.html translated="false" version=page.version %}
|
||||
## Introduction
|
||||
|
||||
@ -44,9 +44,7 @@ Note2: Guide updated as of network height of 1,562,465.
|
||||
* [/get_blocks_by_height.bin](#get_blocks_by_heightbin)
|
||||
* [/get_hashes.bin](#get_hashesbin)
|
||||
* [/get_o_indexes.bin](#get_o_indexesbin)
|
||||
* [/get_random_outs.bin](#get_random_outsbin)
|
||||
* [/get_outs.bin](#get_outsbin)
|
||||
* [/get_random_rctouts.bin](#get_random_rctoutsbin)
|
||||
* [/get_transactions](#get_transactions)
|
||||
* [/get_alt_blocks_hashes](#get_alt_blocks_hashes)
|
||||
* [/is_key_image_spent](#is_key_image_spent)
|
||||
@ -981,7 +979,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
||||
|
||||
### **get_fee_estimate**
|
||||
|
||||
Gives an estimation on fees per kB.
|
||||
Gives an estimation on fees per byte.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
@ -991,7 +989,8 @@ Inputs:
|
||||
|
||||
Outputs:
|
||||
|
||||
* *fee* - unsigned int; Amount of fees estimated per kB in @atomic-units
|
||||
* *fee* - unsigned int; Amount of fees estimated per byte in @atomic-units
|
||||
* *quantization_mask* - unsigned int; Final fee should be rounded up to an even multiple of this value
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`).
|
||||
|
||||
@ -1395,37 +1394,6 @@ $ curl -X POST http://127.0.0.1:18081/get_o_indexes.bin --data-binary '{"txid":"
|
||||
--->
|
||||
|
||||
|
||||
### **/get_random_outs.bin**
|
||||
|
||||
Get a list of random outputs for a specific list of amounts. Binary request.
|
||||
|
||||
Alias: */getrandom_outs.bin*.
|
||||
|
||||
Inputs:
|
||||
|
||||
* *amounts* - array of unsigned int; amounts to get random outputs for
|
||||
* *outs_count* - unsigned int; Number of output to get
|
||||
|
||||
Output:
|
||||
|
||||
* *outs* - array of structure *outs_for_amount* as follows:
|
||||
* *amount* - unsigned int;
|
||||
* *outs* - array of structure *out_entry* as follows:
|
||||
* *global_amount_index* - unsigned int;
|
||||
* *out_key* - public key;
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`).
|
||||
|
||||
<!-- Cannot get this working
|
||||
Example:
|
||||
|
||||
```
|
||||
$ curl -X POST http://127.0.0.1:18081/get_o_indexes.bin -d '{"txid":"d6e48158472848e6687173a91ae6eebfa3e1d778e65252ee99d7515d63090408"}' -H 'Content-Type: application/json'
|
||||
|
||||
```
|
||||
--->
|
||||
|
||||
|
||||
### **/get_outs.bin**
|
||||
|
||||
Get outputs. Binary request.
|
||||
@ -1460,36 +1428,6 @@ $ curl -X POST http://127.0.0.1:18081/get_o_indexes.bin --data-binary '{"txid":"
|
||||
--->
|
||||
|
||||
|
||||
### **/get_random_rctouts.bin**
|
||||
|
||||
Get random RingCT outputs. Binary request.
|
||||
|
||||
Alias: */getrandom_rctouts.bin*.
|
||||
|
||||
Inputs:
|
||||
|
||||
* *outs_count* - unsigned int; amount of RingCT output to get
|
||||
|
||||
Outputs:
|
||||
|
||||
* *outs* - array of structure *out_entry* as follows:
|
||||
* *amount* - unsigned int;
|
||||
* *commitment* - RingCT Key;
|
||||
* *global_amount_index* - unsigned int;
|
||||
* *out_key* - public key;
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`).
|
||||
|
||||
<!-- Cannot get this working
|
||||
Example:
|
||||
|
||||
```
|
||||
$ curl -X POST http://127.0.0.1:18081/get_random_rctouts.bin -d '{"outs_count":7}' -H 'Content-Type: application/json'
|
||||
|
||||
```
|
||||
--->
|
||||
|
||||
|
||||
### **/get_transactions**
|
||||
|
||||
Look up one or more transactions by hash.
|
||||
@ -2026,7 +1964,7 @@ Outputs:
|
||||
* *id_hash* - string; Key image.
|
||||
* *txs_hashes* - string list; tx hashes of the txes (usually one) spending that key image.
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *transactions* - List of transactions in the mempool are not in in a block on the main chain at the moment:
|
||||
* *transactions* - List of transactions in the mempool are not in a block on the main chain at the moment:
|
||||
* *blob_size* - unsigned int; The size of the full transaction blob.
|
||||
* *double_spend_seen* - boolean; States if this transaction has been seen as double spend.
|
||||
* *do_not_relay*; boolean; States if this transaction should not be relayed
|
||||
|
@ -979,7 +979,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
||||
|
||||
### **get_fee_estimate**
|
||||
|
||||
Gives an estimation on fees per kB.
|
||||
Gives an estimation on fees per byte.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
@ -989,7 +989,8 @@ Inputs:
|
||||
|
||||
Outputs:
|
||||
|
||||
* *fee* - unsigned int; Amount of fees estimated per kB in @atomic-units
|
||||
* *fee* - unsigned int; Amount of fees estimated per byte in @atomic-units
|
||||
* *quantization_mask* - unsigned int; Final fee should be rounded up to an even multiple of this value
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`).
|
||||
|
||||
|
@ -914,7 +914,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
||||
|
||||
### **get_coinbase_tx_sum**
|
||||
|
||||
Get the coinbase ammount and the fees ammount for n last blocks starting at particular height
|
||||
Get the coinbase amount and the fees amount for n last blocks starting at particular height
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
@ -979,7 +979,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me
|
||||
|
||||
### **get_fee_estimate**
|
||||
|
||||
Gives an estimation on fees per kB.
|
||||
Gives an estimation on fees per byte.
|
||||
|
||||
Alias: *None*.
|
||||
|
||||
@ -989,7 +989,8 @@ Inputs:
|
||||
|
||||
Outputs:
|
||||
|
||||
* *fee* - unsigned int; Amount of fees estimated per kB in @atomic-units
|
||||
* *fee* - unsigned int; Amount of fees estimated per byte in @atomic-units
|
||||
* *quantization_mask* - unsigned int; Final fee should be rounded up to an even multiple of this value
|
||||
* *status* - string; General RPC error code. "OK" means everything looks good.
|
||||
* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user