mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-19 05:35:48 +00:00
Q-Apps documentation updates based on UI development progress.
This commit is contained in:
parent
7f23ef64a2
commit
c5a0b00cde
22
Q-Apps.md
22
Q-Apps.md
@ -307,29 +307,17 @@ let res = await qortalRequest({
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
### Send coin to address
|
### Send QORT to address
|
||||||
_Requires user approval_
|
_Requires user approval_
|
||||||
```
|
```
|
||||||
await qortalRequest({
|
await qortalRequest({
|
||||||
action: "SEND_COIN",
|
action: "SEND_COIN",
|
||||||
coin: "QORT",
|
coin: "QORT",
|
||||||
destinationAddress: "QZLJV7wbaFyxaoZQsjm6rb9MWMiDzWsqM2",
|
destinationAddress: "QZLJV7wbaFyxaoZQsjm6rb9MWMiDzWsqM2",
|
||||||
amount: 100000000, // 1 QORT
|
amount: 1.00000000 // 1 QORT
|
||||||
fee: 10000 // 0.0001 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
|
### Search or list chat messages
|
||||||
```
|
```
|
||||||
@ -393,14 +381,14 @@ _Requires user approval_
|
|||||||
```
|
```
|
||||||
let res = await qortalRequest({
|
let res = await qortalRequest({
|
||||||
action: "DEPLOY_AT",
|
action: "DEPLOY_AT",
|
||||||
creationBytes: "12345",
|
creationBytes: "12345", // Must be Base58 encoded
|
||||||
name: "test name",
|
name: "test name",
|
||||||
description: "test description",
|
description: "test description",
|
||||||
type: "test type",
|
type: "test type",
|
||||||
tags: "test tags",
|
tags: "test tags",
|
||||||
amount: 100000000, // 1 QORT
|
amount: 1.00000000, // 1 QORT
|
||||||
assetId: 0,
|
assetId: 0,
|
||||||
fee: 20000 // 0.0002 QORT
|
// fee: 0.002 // optional - will use default fee if excluded
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user