Merge NFT doc fixes

This commit is contained in:
mDuo13
2022-01-10 12:48:43 -08:00
2 changed files with 5 additions and 5 deletions

View File

@@ -105,7 +105,7 @@ async function createSellOffer() {
"Account": wallet.classicAddress,
"TokenID": tokenId.value,
"Amount": amount.value,
"Flags": 1 //parseInt(flags.value)
"Flags": parseInt(flags.value)
}
// Submit signed blob --------------------------------------------------------

View File

@@ -397,7 +397,7 @@ async function createSellOffer() {
"Account": wallet.classicAddress,
"TokenID": tokenId.value,
"Amount": amount.value,
"Flags": 1 //parseInt(flags.value)
"Flags": parseInt(flags.value)
}
```
@@ -529,7 +529,7 @@ async function createBuyOffer() {
"Owner": owner.value,
"TokenID": tokenId.value,
"Amount": amount.value,
"Flags": 0 //parseInt(flags.value)
"Flags": parseInt(flags.value)
}
```
@@ -695,7 +695,7 @@ To cancel an offer to sell or buy a `NFToken`:
1. Enter your **Account** and **Secret** in the appropriate fields.
2. Enter the **Token Offer Index** of the offer you want to accept. (Labeled as **Index** in the responses to `nft_buy_offers `and` nft_sell_offers` requests.)
2. Enter the **Token Offer Index** of the offer you want to cancel. (Labeled as **Index** in the responses to `nft_buy_offers `and` nft_sell_offers` requests.)
3. Click **Cancel Offer**.
@@ -831,7 +831,7 @@ To accept a sell offer:
1. Enter your **Account** and **Secret** in the appropriate fields.
2. Enter the **Token Offer Index** of the offer you want to cancel. (Labeled as **Index** in the responses to `nft_sell_offers` requests.)
2. Enter the **Token Offer Index** of the offer you want to accept. (Labeled as **Index** in the responses to `nft_sell_offers` requests.)
3. Click **Accept Sell Offer**.
The `acceptSellOffer()` function steps are: