atomic unit links in rpc developer guides

This commit is contained in:
el00ruobuob 2018-04-27 14:40:05 +02:00
parent 485b33953d
commit 914bce057b
12 changed files with 64 additions and 64 deletions

View file

@ -4,7 +4,7 @@ This is a list of the monerod daemon RPC calls, their inputs and outputs, and ex
Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below. Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below.
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### [JSON RPC Methods](#json-rpc-methods): ### [JSON RPC Methods](#json-rpc-methods):
@ -170,7 +170,7 @@ Outputs:
* *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block. * *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block.
* *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain. * *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain.
* *prev_hash* - string; The hash of the block immediately preceding this block in the chain. * *prev_hash* - string; The hash of the block immediately preceding this block in the chain.
* *reward* - unsigned int; The amount of new atomic units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 atomic units. * *reward* - unsigned int; The amount of new @atomic-units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 @atomic-units.
* *timestamp* - unsigned int; The time the block was recorded into the blockchain. * *timestamp* - unsigned int; The time the block was recorded into the blockchain.
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
@ -308,7 +308,7 @@ Outputs:
* *gen* - Miner txs are coinbase txs, or "gen". * *gen* - Miner txs are coinbase txs, or "gen".
* *height* - This block height, a.k.a. when the coinbase is generated. * *height* - This block height, a.k.a. when the coinbase is generated.
* *vout* - List of transaction outputs. Each output contains: * *vout* - List of transaction outputs. Each output contains:
* *amount* - The amount of the output, in atomic units. * *amount* - The amount of the output, in @atomic-units.
* *target* - * *target* -
* *key* - * *key* -
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string.
@ -651,11 +651,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes.
@ -756,7 +756,7 @@ Outputs:
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
* *transactions* - List of transactions in the mempool that have not been included in a block: * *transactions* - List of transactions in the mempool that have not been included in a block:
* *blob_size* - unsigned int; The size of the full transaction blob. * *blob_size* - unsigned int; The size of the full transaction blob.
* *fee* - unsigned int; The amount of the mining fee included in the transaction, in atomic units. * *fee* - unsigned int; The amount of the mining fee included in the transaction, in @atomic-units.
* *id_hash* - string; The transaction ID hash. * *id_hash* - string; The transaction ID hash.
* *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`. * *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`.
* *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured. * *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured.
@ -769,11 +769,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes.

View file

@ -29,7 +29,7 @@ curl \
-H 'Content-Type: application/json' -H 'Content-Type: application/json'
``` ```
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### Index of JSON RPC Methods: ### Index of JSON RPC Methods:
@ -157,7 +157,7 @@ Send monero to a number of recipients.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).
@ -201,7 +201,7 @@ Same as transfer, but can split into more than one tx if necessary.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).

View file

@ -5,7 +5,7 @@ This is a list of the monerod daemon RPC calls, their inputs and outputs, and ex
Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below. Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below.
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### [JSON RPC Methods](#json-rpc-methods): ### [JSON RPC Methods](#json-rpc-methods):
@ -171,7 +171,7 @@ Outputs:
* *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block. * *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block.
* *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain. * *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain.
* *prev_hash* - string; The hash of the block immediately preceding this block in the chain. * *prev_hash* - string; The hash of the block immediately preceding this block in the chain.
* *reward* - unsigned int; The amount of new atomic units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 atomic units. * *reward* - unsigned int; The amount of new @atomic-units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 @atomic-units.
* *timestamp* - unsigned int; The time the block was recorded into the blockchain. * *timestamp* - unsigned int; The time the block was recorded into the blockchain.
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
@ -309,7 +309,7 @@ Outputs:
* *gen* - Miner txs are coinbase txs, or "gen". * *gen* - Miner txs are coinbase txs, or "gen".
* *height* - This block height, a.k.a. when the coinbase is generated. * *height* - This block height, a.k.a. when the coinbase is generated.
* *vout* - List of transaction outputs. Each output contains: * *vout* - List of transaction outputs. Each output contains:
* *amount* - The amount of the output, in atomic units. * *amount* - The amount of the output, in @atomic-units.
* *target* - * *target* -
* *key* - * *key* -
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string.
@ -652,11 +652,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes.
@ -757,7 +757,7 @@ Outputs:
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
* *transactions* - List of transactions in the mempool that have not been included in a block: * *transactions* - List of transactions in the mempool that have not been included in a block:
* *blob_size* - unsigned int; The size of the full transaction blob. * *blob_size* - unsigned int; The size of the full transaction blob.
* *fee* - unsigned int; The amount of the mining fee included in the transaction, in atomic units. * *fee* - unsigned int; The amount of the mining fee included in the transaction, in @atomic-units.
* *id_hash* - string; The transaction ID hash. * *id_hash* - string; The transaction ID hash.
* *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`. * *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`.
* *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured. * *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured.
@ -770,11 +770,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes.

View file

@ -30,7 +30,7 @@ curl \
-H 'Content-Type: application/json' -H 'Content-Type: application/json'
``` ```
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### Index of JSON RPC Methods: ### Index of JSON RPC Methods:
@ -158,7 +158,7 @@ Send monero to a number of recipients.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).
@ -202,7 +202,7 @@ Same as transfer, but can split into more than one tx if necessary.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).

View file

@ -5,7 +5,7 @@ This is a list of the monerod daemon RPC calls, their inputs and outputs, and ex
Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below. Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below.
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### [JSON RPC Methods](#json-rpc-methods): ### [JSON RPC Methods](#json-rpc-methods):
@ -171,7 +171,7 @@ Outputs:
* *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block. * *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block.
* *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain. * *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain.
* *prev_hash* - string; The hash of the block immediately preceding this block in the chain. * *prev_hash* - string; The hash of the block immediately preceding this block in the chain.
* *reward* - unsigned int; The amount of new atomic units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 atomic units. * *reward* - unsigned int; The amount of new @atomic-units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 @atomic-units.
* *timestamp* - unsigned int; The time the block was recorded into the blockchain. * *timestamp* - unsigned int; The time the block was recorded into the blockchain.
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
@ -309,7 +309,7 @@ Outputs:
* *gen* - Miner txs are coinbase txs, or "gen". * *gen* - Miner txs are coinbase txs, or "gen".
* *height* - This block height, a.k.a. when the coinbase is generated. * *height* - This block height, a.k.a. when the coinbase is generated.
* *vout* - List of transaction outputs. Each output contains: * *vout* - List of transaction outputs. Each output contains:
* *amount* - The amount of the output, in atomic units. * *amount* - The amount of the output, in @atomic-units.
* *target* - * *target* -
* *key* - * *key* -
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string.
@ -652,11 +652,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes.
@ -757,7 +757,7 @@ Outputs:
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
* *transactions* - List of transactions in the mempool that have not been included in a block: * *transactions* - List of transactions in the mempool that have not been included in a block:
* *blob_size* - unsigned int; The size of the full transaction blob. * *blob_size* - unsigned int; The size of the full transaction blob.
* *fee* - unsigned int; The amount of the mining fee included in the transaction, in atomic units. * *fee* - unsigned int; The amount of the mining fee included in the transaction, in @atomic-units.
* *id_hash* - string; The transaction ID hash. * *id_hash* - string; The transaction ID hash.
* *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`. * *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`.
* *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured. * *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured.
@ -770,11 +770,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes.

View file

@ -30,7 +30,7 @@ curl \
-H 'Content-Type: application/json' -H 'Content-Type: application/json'
``` ```
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### Index of JSON RPC Methods: ### Index of JSON RPC Methods:
@ -158,7 +158,7 @@ Send monero to a number of recipients.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).
@ -202,7 +202,7 @@ Same as transfer, but can split into more than one tx if necessary.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).

View file

@ -5,7 +5,7 @@ This is a list of the monerod daemon RPC calls, their inputs and outputs, and ex
Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below. Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below.
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### [JSON RPC Methods](#json-rpc-methods): ### [JSON RPC Methods](#json-rpc-methods):
@ -171,7 +171,7 @@ Outputs:
* *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block. * *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block.
* *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain. * *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain.
* *prev_hash* - string; The hash of the block immediately preceding this block in the chain. * *prev_hash* - string; The hash of the block immediately preceding this block in the chain.
* *reward* - unsigned int; The amount of new atomic units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 atomic units. * *reward* - unsigned int; The amount of new @atomic-units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 @atomic-units.
* *timestamp* - unsigned int; The time the block was recorded into the blockchain. * *timestamp* - unsigned int; The time the block was recorded into the blockchain.
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
@ -309,7 +309,7 @@ Outputs:
* *gen* - Miner txs are coinbase txs, or "gen". * *gen* - Miner txs are coinbase txs, or "gen".
* *height* - This block height, a.k.a. when the coinbase is generated. * *height* - This block height, a.k.a. when the coinbase is generated.
* *vout* - List of transaction outputs. Each output contains: * *vout* - List of transaction outputs. Each output contains:
* *amount* - The amount of the output, in atomic units. * *amount* - The amount of the output, in @atomic-units.
* *target* - * *target* -
* *key* - * *key* -
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string.
@ -652,11 +652,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes.
@ -756,7 +756,7 @@ Outputs:
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
* *transactions* - List of transactions in the mempool that have not been included in a block: * *transactions* - List of transactions in the mempool that have not been included in a block:
* *blob_size* - unsigned int; The size of the full transaction blob. * *blob_size* - unsigned int; The size of the full transaction blob.
* *fee* - unsigned int; The amount of the mining fee included in the transaction, in atomic units. * *fee* - unsigned int; The amount of the mining fee included in the transaction, in @atomic-units.
* *id_hash* - string; The transaction ID hash. * *id_hash* - string; The transaction ID hash.
* *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`. * *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`.
* *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured. * *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured.
@ -769,11 +769,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes.

View file

@ -30,7 +30,7 @@ curl \
-H 'Content-Type: application/json' -H 'Content-Type: application/json'
``` ```
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### Index of JSON RPC Methods: ### Index of JSON RPC Methods:
@ -158,7 +158,7 @@ Send monero to a number of recipients.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).
@ -202,7 +202,7 @@ Same as transfer, but can split into more than one tx if necessary.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).

View file

@ -4,7 +4,7 @@ Poniżej znajduje się lista funkcji RPC demona monerod, ich wejścia i wyników
Wiele funkcji RPC korzysta z interfejsu demona JSON RPC, podczas gdy inne używają własnego interfejsu, jak przedstawiono poniżej. Wiele funkcji RPC korzysta z interfejsu demona JSON RPC, podczas gdy inne używają własnego interfejsu, jak przedstawiono poniżej.
Uwaga: "jednostki atomowe" dotyczą najmniejszego ułamka 1 XMR, zgodnie z implementacją monerod. **1 XMR = 1e12 jednostek atomowych.** Uwaga: "jednostki atomowe (@atomic-unit)" dotyczą najmniejszego ułamka 1 XMR, zgodnie z implementacją monerod. **1 XMR = 1e12 jednostek atomowych.**
### [Metody JSON RPC](#json-rpc-methods): ### [Metody JSON RPC](#json-rpc-methods):

View file

@ -29,7 +29,7 @@ curl \
-H 'Content-Type: application/json' -H 'Content-Type: application/json'
``` ```
Zauważ, że jednostki atomowe są najmniejszą częścią 1 XMR, zgodnie z implementacją monerod. **1 XMR = 1e12 jednostek atomowych.** Zauważ, że jednostki atomowe (@atomic-unit) są najmniejszą częścią 1 XMR, zgodnie z implementacją monerod. **1 XMR = 1e12 jednostek atomowych.**
### Lista metod JSON RPC: ### Lista metod JSON RPC:

View file

@ -5,7 +5,7 @@ This is a list of the monerod daemon RPC calls, their inputs and outputs, and ex
Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below. Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below.
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### [JSON RPC Methods](#json-rpc-methods): ### [JSON RPC Methods](#json-rpc-methods):
@ -171,7 +171,7 @@ Outputs:
* *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block. * *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block.
* *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain. * *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain.
* *prev_hash* - string; The hash of the block immediately preceding this block in the chain. * *prev_hash* - string; The hash of the block immediately preceding this block in the chain.
* *reward* - unsigned int; The amount of new atomic units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 atomic units. * *reward* - unsigned int; The amount of new @atomic-units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 @atomic-units.
* *timestamp* - unsigned int; The time the block was recorded into the blockchain. * *timestamp* - unsigned int; The time the block was recorded into the blockchain.
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
@ -309,7 +309,7 @@ Outputs:
* *gen* - Miner txs are coinbase txs, or "gen". * *gen* - Miner txs are coinbase txs, or "gen".
* *height* - This block height, a.k.a. when the coinbase is generated. * *height* - This block height, a.k.a. when the coinbase is generated.
* *vout* - List of transaction outputs. Each output contains: * *vout* - List of transaction outputs. Each output contains:
* *amount* - The amount of the output, in atomic units. * *amount* - The amount of the output, in @atomic-units.
* *target* - * *target* -
* *key* - * *key* -
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string.
@ -652,11 +652,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes.
@ -757,7 +757,7 @@ Outputs:
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
* *transactions* - List of transactions in the mempool that have not been included in a block: * *transactions* - List of transactions in the mempool that have not been included in a block:
* *blob_size* - unsigned int; The size of the full transaction blob. * *blob_size* - unsigned int; The size of the full transaction blob.
* *fee* - unsigned int; The amount of the mining fee included in the transaction, in atomic units. * *fee* - unsigned int; The amount of the mining fee included in the transaction, in @atomic-units.
* *id_hash* - string; The transaction ID hash. * *id_hash* - string; The transaction ID hash.
* *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`. * *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`.
* *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured. * *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured.
@ -770,11 +770,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes.

View file

@ -30,7 +30,7 @@ curl \
-H 'Content-Type: application/json' -H 'Content-Type: application/json'
``` ```
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### Index of JSON RPC Methods: ### Index of JSON RPC Methods:
@ -158,7 +158,7 @@ Send monero to a number of recipients.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).
@ -202,7 +202,7 @@ Same as transfer, but can split into more than one tx if necessary.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).