From c5a0b00cde97a48ad2e2dcde32e95d34a756dd28 Mon Sep 17 00:00:00 2001 From: CalDescent Date: Fri, 24 Feb 2023 12:15:22 +0000 Subject: [PATCH] Q-Apps documentation updates based on UI development progress. --- Q-Apps.md | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/Q-Apps.md b/Q-Apps.md index 7416a126..33bf3325 100644 --- a/Q-Apps.md +++ b/Q-Apps.md @@ -307,29 +307,17 @@ let res = await qortalRequest({ }); ``` -### Send coin to address +### Send QORT to address _Requires user approval_ ``` await qortalRequest({ action: "SEND_COIN", coin: "QORT", destinationAddress: "QZLJV7wbaFyxaoZQsjm6rb9MWMiDzWsqM2", - amount: 100000000, // 1 QORT - fee: 10000 // 0.0001 QORT + amount: 1.00000000 // 1 QORT }); ``` -### Send coin to address -_Requires user approval_ -``` -await qortalRequest({ - action: "SEND_COIN", - coin: "LTC", - destinationAddress: "LSdTvMHRm8sScqwCi6x9wzYQae8JeZhx6y", - amount: 100000000, // 1 LTC - fee: 20 // 0.00000020 LTC per byte -}); -``` ### Search or list chat messages ``` @@ -393,14 +381,14 @@ _Requires user approval_ ``` let res = await qortalRequest({ action: "DEPLOY_AT", - creationBytes: "12345", + creationBytes: "12345", // Must be Base58 encoded name: "test name", description: "test description", type: "test type", tags: "test tags", - amount: 100000000, // 1 QORT + amount: 1.00000000, // 1 QORT assetId: 0, - fee: 20000 // 0.0002 QORT + // fee: 0.002 // optional - will use default fee if excluded }); ```