mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-06 21:05:50 +00:00
Merge NFT doc fixes
This commit is contained in:
@@ -105,7 +105,7 @@ async function createSellOffer() {
|
|||||||
"Account": wallet.classicAddress,
|
"Account": wallet.classicAddress,
|
||||||
"TokenID": tokenId.value,
|
"TokenID": tokenId.value,
|
||||||
"Amount": amount.value,
|
"Amount": amount.value,
|
||||||
"Flags": 1 //parseInt(flags.value)
|
"Flags": parseInt(flags.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Submit signed blob --------------------------------------------------------
|
// Submit signed blob --------------------------------------------------------
|
||||||
|
|||||||
@@ -397,7 +397,7 @@ async function createSellOffer() {
|
|||||||
"Account": wallet.classicAddress,
|
"Account": wallet.classicAddress,
|
||||||
"TokenID": tokenId.value,
|
"TokenID": tokenId.value,
|
||||||
"Amount": amount.value,
|
"Amount": amount.value,
|
||||||
"Flags": 1 //parseInt(flags.value)
|
"Flags": parseInt(flags.value)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -529,7 +529,7 @@ async function createBuyOffer() {
|
|||||||
"Owner": owner.value,
|
"Owner": owner.value,
|
||||||
"TokenID": tokenId.value,
|
"TokenID": tokenId.value,
|
||||||
"Amount": amount.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.
|
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**.
|
3. Click **Cancel Offer**.
|
||||||
|
|
||||||
|
|
||||||
@@ -831,7 +831,7 @@ To accept a sell offer:
|
|||||||
|
|
||||||
|
|
||||||
1. Enter your **Account** and **Secret** in the appropriate fields.
|
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**.
|
3. Click **Accept Sell Offer**.
|
||||||
|
|
||||||
The `acceptSellOffer()` function steps are:
|
The `acceptSellOffer()` function steps are:
|
||||||
|
|||||||
Reference in New Issue
Block a user