From 8ea850b0e03110c9dd460b63f8b2fc97e4f737ab Mon Sep 17 00:00:00 2001 From: el00ruobuob Date: Tue, 16 Oct 2018 22:39:06 +0200 Subject: [PATCH] Correct wallet rpc guide, method make_integrated_address, optional Payment ID --- _i18n/ar/resources/developer-guides/wallet-rpc.md | 4 ++-- _i18n/en/resources/developer-guides/wallet-rpc.md | 4 ++-- _i18n/es/resources/developer-guides/wallet-rpc.md | 4 ++-- _i18n/fr/resources/developer-guides/wallet-rpc.md | 4 ++-- _i18n/it/resources/developer-guides/wallet-rpc.md | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/_i18n/ar/resources/developer-guides/wallet-rpc.md b/_i18n/ar/resources/developer-guides/wallet-rpc.md index 12e43803..0f092bf1 100644 --- a/_i18n/ar/resources/developer-guides/wallet-rpc.md +++ b/_i18n/ar/resources/developer-guides/wallet-rpc.md @@ -1203,7 +1203,7 @@ Alias: *None*. Inputs: * *standard_address* - string; (Optional, defaults to primary address) Destination public address. -* *payment_id* - string; 16 characters hex encoded; can't be empty. +* *payment_id* - string; (Optional, defaults to a random ID) 16 characters hex encoded. Outputs: @@ -1213,7 +1213,7 @@ Outputs: Example (Payment ID is empty, use a random ID): ``` -$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"make_integrated_address","params":{"standard_address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt","payment_id":"420fa29b2d9a49f5"}}' -H 'Content-Type: application/json' +$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"make_integrated_address","params":{"standard_address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt"}}' -H 'Content-Type: application/json' { "id": "0", "jsonrpc": "2.0", diff --git a/_i18n/en/resources/developer-guides/wallet-rpc.md b/_i18n/en/resources/developer-guides/wallet-rpc.md index f92d7fce..ae8f74e0 100644 --- a/_i18n/en/resources/developer-guides/wallet-rpc.md +++ b/_i18n/en/resources/developer-guides/wallet-rpc.md @@ -1203,7 +1203,7 @@ Alias: *None*. Inputs: * *standard_address* - string; (Optional, defaults to primary address) Destination public address. -* *payment_id* - string; 16 characters hex encoded; can't be empty. +* *payment_id* - string; (Optional, defaults to a random ID) 16 characters hex encoded. Outputs: @@ -1213,7 +1213,7 @@ Outputs: Example (Payment ID is empty, use a random ID): ``` -$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"make_integrated_address","params":{"standard_address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt","payment_id":"420fa29b2d9a49f5"}}' -H 'Content-Type: application/json' +$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"make_integrated_address","params":{"standard_address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt"}}' -H 'Content-Type: application/json' { "id": "0", "jsonrpc": "2.0", diff --git a/_i18n/es/resources/developer-guides/wallet-rpc.md b/_i18n/es/resources/developer-guides/wallet-rpc.md index 12e43803..0f092bf1 100644 --- a/_i18n/es/resources/developer-guides/wallet-rpc.md +++ b/_i18n/es/resources/developer-guides/wallet-rpc.md @@ -1203,7 +1203,7 @@ Alias: *None*. Inputs: * *standard_address* - string; (Optional, defaults to primary address) Destination public address. -* *payment_id* - string; 16 characters hex encoded; can't be empty. +* *payment_id* - string; (Optional, defaults to a random ID) 16 characters hex encoded. Outputs: @@ -1213,7 +1213,7 @@ Outputs: Example (Payment ID is empty, use a random ID): ``` -$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"make_integrated_address","params":{"standard_address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt","payment_id":"420fa29b2d9a49f5"}}' -H 'Content-Type: application/json' +$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"make_integrated_address","params":{"standard_address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt"}}' -H 'Content-Type: application/json' { "id": "0", "jsonrpc": "2.0", diff --git a/_i18n/fr/resources/developer-guides/wallet-rpc.md b/_i18n/fr/resources/developer-guides/wallet-rpc.md index 12e43803..0f092bf1 100644 --- a/_i18n/fr/resources/developer-guides/wallet-rpc.md +++ b/_i18n/fr/resources/developer-guides/wallet-rpc.md @@ -1203,7 +1203,7 @@ Alias: *None*. Inputs: * *standard_address* - string; (Optional, defaults to primary address) Destination public address. -* *payment_id* - string; 16 characters hex encoded; can't be empty. +* *payment_id* - string; (Optional, defaults to a random ID) 16 characters hex encoded. Outputs: @@ -1213,7 +1213,7 @@ Outputs: Example (Payment ID is empty, use a random ID): ``` -$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"make_integrated_address","params":{"standard_address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt","payment_id":"420fa29b2d9a49f5"}}' -H 'Content-Type: application/json' +$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"make_integrated_address","params":{"standard_address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt"}}' -H 'Content-Type: application/json' { "id": "0", "jsonrpc": "2.0", diff --git a/_i18n/it/resources/developer-guides/wallet-rpc.md b/_i18n/it/resources/developer-guides/wallet-rpc.md index 12e43803..0f092bf1 100644 --- a/_i18n/it/resources/developer-guides/wallet-rpc.md +++ b/_i18n/it/resources/developer-guides/wallet-rpc.md @@ -1203,7 +1203,7 @@ Alias: *None*. Inputs: * *standard_address* - string; (Optional, defaults to primary address) Destination public address. -* *payment_id* - string; 16 characters hex encoded; can't be empty. +* *payment_id* - string; (Optional, defaults to a random ID) 16 characters hex encoded. Outputs: @@ -1213,7 +1213,7 @@ Outputs: Example (Payment ID is empty, use a random ID): ``` -$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"make_integrated_address","params":{"standard_address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt","payment_id":"420fa29b2d9a49f5"}}' -H 'Content-Type: application/json' +$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"make_integrated_address","params":{"standard_address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt"}}' -H 'Content-Type: application/json' { "id": "0", "jsonrpc": "2.0",