mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55:50 +00:00
Add example NFTokenOffer, NFTokenAcceptOffer
Fixes #1553 by adding real examples from Mainnet of the NFTokenOffer object type and NFTokenAcceptOffer transaction type (the offer entry is no longer in the ledger because it was deleted when the sale was completed, but you can look it up in ledger 75443623.
This commit is contained in:
@@ -13,6 +13,23 @@ Tokens that have the `lsfTransferable` flag set can be transferred among partici
|
||||
|
||||
_(Added by the [NonFungibleTokensV1_1 amendment][].)_
|
||||
|
||||
## Example {{currentpage.name}} JSON
|
||||
|
||||
```json
|
||||
{
|
||||
"Amount": "1000000",
|
||||
"Flags": 1,
|
||||
"LedgerEntryType": "NFTokenOffer",
|
||||
"NFTokenID": "00081B5825A08C22787716FA031B432EBBC1B101BB54875F0002D2A400000000",
|
||||
"NFTokenOfferNode": "0",
|
||||
"Owner": "rhRxL3MNvuKEjWjL7TBbZSDacb8PmzAd7m",
|
||||
"OwnerNode": "17",
|
||||
"PreviousTxnID": "BFA9BE27383FA315651E26FDE1FA30815C5A5D0544EE10EC33D3E92532993769",
|
||||
"PreviousTxnLgrSeq": 75443565,
|
||||
"index": "AEBABA4FAC212BF28E0F9A9C3788A47B085557EC5D1429E7A8266FB859C863B3"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### `NFTokenOffer` Fields
|
||||
|
||||
|
||||
@@ -15,6 +15,26 @@ The `NFTokenAcceptOffer` transaction is used to accept offers to `buy` or `sell`
|
||||
|
||||
_(Added by the [NonFungibleTokensV1_1 amendment][].)_
|
||||
|
||||
## Example NFTokenAcceptOffer JSON
|
||||
|
||||
```json
|
||||
{
|
||||
"Account": "r9spUPhPBfB6kQeF6vPhwmtFwRhBh2JUCG",
|
||||
"Fee": "12",
|
||||
"LastLedgerSequence": 75447550,
|
||||
"Memos": [
|
||||
{
|
||||
"Memo": {
|
||||
"MemoData": "61356534373538372D633134322D346663382D616466362D393666383562356435386437"
|
||||
}
|
||||
}
|
||||
],
|
||||
"NFTokenSellOffer": "68CD1F6F906494EA08C9CB5CAFA64DFA90D4E834B7151899B73231DE5A0C3B77",
|
||||
"Sequence": 68549302,
|
||||
"TransactionType": "NFTokenAcceptOffer"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Brokered vs. Direct Mode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user