diff --git a/docs/en/rpc-library/wallet-rpc.md b/docs/en/rpc-library/wallet-rpc.md index b3e08ccf..e32ffbfa 100644 --- a/docs/en/rpc-library/wallet-rpc.md +++ b/docs/en/rpc-library/wallet-rpc.md @@ -2339,7 +2339,6 @@ Inputs: - _address_ - string; Wallet address - _amount_ - unsigned int; (optional) the integer amount to receive, in [atomic-units](https://www.getmonero.org/resources/moneropedia/atomic-units.html "Atomic Units refer to the smallest fraction of 1 XMR."). -- _payment_id_ - string; (Optional, defaults to a random ID) 16 characters hex encoded. - _recipient_name_ - string; (optional) name of the payment recipient - _tx_description_ - string; (optional) Description of the reason for the tx @@ -2350,12 +2349,12 @@ Outputs: Example: ```json -$ curl -X POST http://127.0.0.1:18088/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"make_uri","params":{"address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt","amount":10,"payment_id":"420fa29b2d9a49f5","tx_description":"Testing out the make_uri function.","recipient_name":"el00ruobuob Stagenet wallet"}}' -H 'Content-Type: application/json' +$ curl -X POST http://127.0.0.1:18088/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"make_uri","params":{"address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt","amount":10,"tx_description":"Testing out the make_uri function.","recipient_name":"el00ruobuob Stagenet wallet"}}' -H 'Content-Type: application/json' { "id": "0", "jsonrpc": "2.0", "result": { - "uri": "monero:55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt?tx_payment_id=420fa29b2d9a49f5&tx_amount=0.000000000010&recipient_name=el00ruobuob%20Stagenet%20wallet&tx_description=Testing%20out%20the%20make_uri%20function." + "uri": "monero:55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt?tx_amount=0.000000000010&recipient_name=el00ruobuob%20Stagenet%20wallet&tx_description=Testing%20out%20the%20make_uri%20function." } } ``` @@ -2400,7 +2399,6 @@ Outputs: - _uri_ - JSON object containing payment information: - _address_ - string; Wallet address - _amount_ - unsigned int; Integer amount to receive, in [atomic-units](https://www.getmonero.org/resources/moneropedia/atomic-units.html "Atomic Units refer to the smallest fraction of 1 XMR.") (0 if not provided) - - _payment_id_ - string; (Optional, defaults to a random ID) 16 characters hex encoded. - _recipient_name_ - string; Name of the payment recipient (empty if not provided) - _tx_description_ - string; Description of the reason for the tx (empty if not provided) @@ -2415,7 +2413,7 @@ $ curl -X POST http://127.0.0.1:18088/json_rpc -d '{"jsonrpc":"2.0","id":"0","me "uri": { "address": "55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt", "amount": 10, - "payment_id": "420fa29b2d9a49f5", + "payment_id": "", "recipient_name": "el00ruobuob Stagenet wallet", "tx_description": "Testing out the make_uri function." }