From be3be3110027bb265b411774e513f41314c4e8cc Mon Sep 17 00:00:00 2001 From: ravaga Date: Thu, 30 Nov 2023 20:25:42 +0100 Subject: [PATCH] transfer method fix Signed-off-by: ravaga --- docs/build/rpc-api/wallet-rpc-api/transfer.md | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/docs/build/rpc-api/wallet-rpc-api/transfer.md b/docs/build/rpc-api/wallet-rpc-api/transfer.md index ee41950..9f27d1f 100644 --- a/docs/build/rpc-api/wallet-rpc-api/transfer.md +++ b/docs/build/rpc-api/wallet-rpc-api/transfer.md @@ -1,24 +1,27 @@ Creates a transaction and broadcasts it to the network -### Request +### Request :::caution ㅤ If you use multiple addresses in destinations field, make sure there are maximum 1 integrated address involved, or, if "payment id" parameter was specified, then integrated addresses are not allowed. ::: - ```json { - "jsonrpc": "2.0", - "id": 0, - "method": "transfer", - "params": { - "destinations": "", - "fee": 0, - "mixin": 10, - "payment_id": "", - "comment": "" - } + "jsonrpc": "2.0", + "id": 0, + "method": "transfer", + "params": { + "destinations": [ + { + "amount": 1000000000, + "address": "ZxCkEgHf3ci8hgBfboZeCENaYrHBYZ1bLFi5cgWvn4WJLaxfgs4kqG6cJi9ai2zrXWSCpsvRXit14gKjeijx6YPC1zT8rneEf" + } + ], + "fee": 1000000000000, + "mixin": 10, + "comment": "" + } } ``` @@ -34,7 +37,6 @@ If you use multiple addresses in destinations field, make sure there are maximum ### Response - ```json { "id": "0",