mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
Added "GET_PRICE" action.
This commit is contained in:
11
Q-Apps.md
11
Q-Apps.md
@@ -76,6 +76,7 @@ Here is a list of currently supported actions:
|
||||
- FETCH_BLOCK
|
||||
- FETCH_BLOCK_RANGE
|
||||
- SEARCH_TRANSACTIONS
|
||||
- GET_PRICE
|
||||
|
||||
More functionality will be added in the future.
|
||||
|
||||
@@ -392,6 +393,16 @@ let res = await qortalRequest({
|
||||
});
|
||||
```
|
||||
|
||||
### Get an estimate of the QORT price
|
||||
```
|
||||
let res = await qortalRequest({
|
||||
action: "GET_PRICE",
|
||||
blockchain: "LITECOIN",
|
||||
// maxtrades: 10,
|
||||
inverse: true
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
## Sample App
|
||||
|
||||
|
Reference in New Issue
Block a user