From 5b59900c1680a5608ea8a8b7e30a630a12973377 Mon Sep 17 00:00:00 2001 From: Mahdi Yari <m.yary15@gmail.com> Date: Fri, 4 Jun 2021 15:15:23 +0430 Subject: [PATCH] update collateralizedConvert --- doc/README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/README.md b/doc/README.md index 4bb44ca..c2da520 100644 --- a/doc/README.md +++ b/doc/README.md @@ -1769,18 +1769,16 @@ hive.broadcast.convert(wif, owner, requestid, amount, function(err, result) { ### Collateralized Convert ```js -hive.broadcast.collateralizedConvert(wif, owner, collateral_amount, converted_amount, requestid, conversion_date, function(err, result) { +hive.broadcast.collateralizedConvert(wif, owner, requestid, amount, function(err, result) { console.log(err, result); }); ``` |Parameter|Datatype|Description| |---------|--------|-----------| -|wif|string|Active private key| +|wif|string|Active private key. "5xx...xxxx"| |owner|string|Hive username. "guest123"| -|collateral_amount|string|Hive to be used as collateral for the conversion. "100.000 HIVE"| -|converted_amount|string|Amount of HBD to be converted. "10.000 HBD"| |requestid|integer|Identifier for the conversion transactions from same account. 1| -|conversion_date|string|Time at which the conversion should take place. "2020/10/10 10:00"| +|amount|string|Hive to be used as collateral for the conversion. "100.000 HIVE"| |callback|function|function(err, data) {/*code*/}| ### Curate Reward -- GitLab