add support for nfts in binary codec (#1797)

This commit is contained in:
ledhed2222
2021-11-15 17:08:37 -05:00
committed by GitHub
parent be99161e89
commit 7cb38591ac
4 changed files with 780 additions and 804 deletions

View File

@@ -40,7 +40,8 @@
"Check": 67, "Check": 67,
"Nickname": 110, "Nickname": 110,
"Contract": 99, "Contract": 99,
"GeneratorMap": 103, "NFTokenPage": 80,
"NFTokenOffer": 55,
"NegativeUNL": 78 "NegativeUNL": 78
}, },
"FIELDS": [ "FIELDS": [
@@ -94,6 +95,16 @@
"type": "UInt16" "type": "UInt16"
} }
], ],
[
"TransferFee",
{
"nth": 4,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt16"
}
],
[ [
"Flags", "Flags",
{ {
@@ -624,6 +635,16 @@
"type": "Hash256" "type": "Hash256"
} }
], ],
[
"TokenID",
{
"nth": 10,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[ [
"BookDirectory", "BookDirectory",
{ {
@@ -895,7 +916,7 @@
} }
], ],
[ [
"Generator", "URI",
{ {
"nth": 5, "nth": 5,
"isVLEncoded": true, "isVLEncoded": true,
@@ -1134,6 +1155,16 @@
"type": "AccountID" "type": "AccountID"
} }
], ],
[
"Minter",
{
"nth": 9,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "AccountID"
}
],
[ [
"ObjectEndMarker", "ObjectEndMarker",
{ {
@@ -1244,6 +1275,16 @@
"type": "STObject" "type": "STObject"
} }
], ],
[
"NonFungibleToken",
{
"nth": 12,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
}
],
[ [
"Signer", "Signer",
{ {
@@ -1354,6 +1395,16 @@
"type": "STArray" "type": "STArray"
} }
], ],
[
"NonFungibleTokens",
{
"nth": 10,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STArray"
}
],
[ [
"Majorities", "Majorities",
{ {
@@ -1484,6 +1535,16 @@
"type": "Vector256" "type": "Vector256"
} }
], ],
[
"TokenIDs",
{
"nth": 4,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "Vector256"
}
],
[ [
"Transaction", "Transaction",
{ {
@@ -1554,6 +1615,36 @@
"type": "UInt32" "type": "UInt32"
} }
], ],
[
"TokenTaxon",
{
"nth": 42,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"MintedTokens",
{
"nth": 43,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"BurnedTokens",
{
"nth": 44,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[ [
"Channel", "Channel",
{ {
@@ -1584,6 +1675,56 @@
"type": "Hash256" "type": "Hash256"
} }
], ],
[
"ValidatedHash",
{
"nth": 25,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"PreviousPageMin",
{
"nth": 26,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"NextPageMin",
{
"nth": 27,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"BuyOffer",
{
"nth": 28,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"SellOffer",
{
"nth": 29,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[ [
"TickSize", "TickSize",
{ {
@@ -1613,6 +1754,36 @@
"isSigningField": true, "isSigningField": true,
"type": "UInt64" "type": "UInt64"
} }
],
[
"Cookie",
{
"nth": 10,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"ServerVersion",
{
"nth": 11,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"OfferNode",
{
"nth": 12,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
] ]
], ],
"TRANSACTION_RESULTS": { "TRANSACTION_RESULTS": {
@@ -1737,7 +1908,18 @@
"tecDUPLICATE": 149, "tecDUPLICATE": 149,
"tecKILLED": 150, "tecKILLED": 150,
"tecHAS_OBLIGATIONS": 151, "tecHAS_OBLIGATIONS": 151,
"tecTOO_SOON": 152 "tecTOO_SOON": 152,
"tecMAX_SEQUENCE_REACHED": 154,
"tecNO_SUITABLE_PAGE": 155,
"tecBUY_SELL_MISMATCH": 156,
"tecOFFER_TYPE_MISMATCH": 157,
"tecCANT_ACCEPT_OWN_OFFER": 158,
"tecINSUFFICIENT_FUNDS": 159,
"tecOBJECT_NOT_FOUND": 160,
"tecINSUFFICIENT_PAYMENT": 161,
"tecINCORRECT_ASSET": 162,
"tecTOO_MANY": 163
}, },
"TRANSACTION_TYPES": { "TRANSACTION_TYPES": {
"Invalid": -1, "Invalid": -1,
@@ -1764,7 +1946,11 @@
"DepositPreauth": 19, "DepositPreauth": 19,
"TrustSet": 20, "TrustSet": 20,
"AccountDelete": 21, "AccountDelete": 21,
"NFTokenMint": 25,
"NFTokenBurn": 26,
"NFTokenCreateOffer": 27,
"NFTokenCancelOffer": 28,
"NFTokenAcceptOffer": 29,
"EnableAmendment": 100, "EnableAmendment": 100,
"SetFee": 101, "SetFee": 101,
"UNLModify": 102 "UNLModify": 102

View File

@@ -244,15 +244,46 @@ function ticketTest() {
}) })
} }
function nfTokenTest() {
const fixtures = require('./fixtures/nf-token.json')
for (const txName of Object.keys(fixtures)) {
test(`can serialize transaction ${txName}`, () => {
expect(encode(fixtures[txName].tx.json)).toEqual(
fixtures[txName].tx.binary,
)
})
test(`can deserialize transaction ${txName}`, () => {
expect(decode(fixtures[txName].tx.binary)).toEqual(
fixtures[txName].tx.json,
)
})
test(`can serialize meta ${txName}`, () => {
expect(encode(fixtures[txName].meta.json)).toEqual(
fixtures[txName].meta.binary,
)
})
test(`can deserialize meta ${txName}`, () => {
expect(decode(fixtures[txName].meta.binary)).toEqual(
fixtures[txName].meta.json,
)
})
}
}
describe('Binary Serialization', function () { describe('Binary Serialization', function () {
describe('nestedObjectTests', () => nestedObjectTests()) describe('nestedObjectTests', nestedObjectTests)
describe('BytesList', () => bytesListTest()) describe('BytesList', bytesListTest)
describe('DeliverMin', () => deliverMinTest()) describe('DeliverMin', deliverMinTest)
describe('DepositPreauth', () => DepositPreauthTest()) describe('DepositPreauth', DepositPreauthTest)
describe('SignerListSet', () => SignerListSetTest()) describe('SignerListSet', SignerListSetTest)
describe('Escrow', () => EscrowTest()) describe('Escrow', EscrowTest)
describe('PaymentChannel', () => PaymentChannelTest()) describe('PaymentChannel', PaymentChannelTest)
describe('NegativeUNLTest', () => NegativeUNLTest()) describe('NegativeUNLTest', NegativeUNLTest)
describe('OmitUndefined', () => omitUndefinedTest()) describe('OmitUndefined', omitUndefinedTest)
describe('TicketTest', () => ticketTest()) describe('TicketTest', ticketTest)
describe('NFToken', nfTokenTest)
}) })

View File

@@ -611,7 +611,7 @@
}, },
{ {
"type_name": "Blob", "type_name": "Blob",
"name": "Generator", "name": "URI",
"nth_of_type": 5, "nth_of_type": 5,
"type": 7, "type": 7,
"expected_hex": "75" "expected_hex": "75"
@@ -2928,794 +2928,6 @@
"type": "Amount", "type": "Amount",
"error": "10000000000000000000 absolute XRP is bigger than max native value 100000000000.0", "error": "10000000000000000000 absolute XRP is bigger than max native value 100000000000.0",
"is_negative": true "is_negative": true
},
{
"test_json": 0,
"canonical_json": "Payment",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0000"
},
{
"test_json": "EscrowCreate",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0001"
},
{
"test_json": 1,
"canonical_json": "EscrowCreate",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0001"
},
{
"test_json": "EscrowFinish",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0002"
},
{
"test_json": 2,
"canonical_json": "EscrowFinish",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0002"
},
{
"test_json": "AccountSet",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0003"
},
{
"test_json": 3,
"canonical_json": "AccountSet",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0003"
},
{
"test_json": "EscrowCancel",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0004"
},
{
"test_json": 4,
"canonical_json": "EscrowCancel",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0004"
},
{
"test_json": "SetRegularKey",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0005"
},
{
"test_json": 5,
"canonical_json": "SetRegularKey",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0005"
},
{
"test_json": "NickNameSet",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0006"
},
{
"test_json": 6,
"canonical_json": "NickNameSet",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0006"
},
{
"test_json": "OfferCreate",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0007"
},
{
"test_json": 7,
"canonical_json": "OfferCreate",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0007"
},
{
"test_json": "OfferCancel",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0008"
},
{
"test_json": 8,
"canonical_json": "OfferCancel",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0008"
},
{
"test_json": "Contract",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0009"
},
{
"test_json": 9,
"canonical_json": "Contract",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0009"
},
{
"test_json": "TicketCreate",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "000A"
},
{
"test_json": 10,
"canonical_json": "TicketCreate",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "000A"
},
{
"test_json": "TicketCancel",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "000B"
},
{
"test_json": 11,
"canonical_json": "TicketCancel",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "000B"
},
{
"test_json": "TrustSet",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0014"
},
{
"test_json": 20,
"canonical_json": "TrustSet",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0014"
},
{
"test_json": "EnableAmendment",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0064"
},
{
"test_json": 100,
"canonical_json": "EnableAmendment",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0064"
},
{
"test_json": "SetFee",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0065"
},
{
"test_json": 101,
"canonical_json": "SetFee",
"type_id": 1,
"type_specialisation_field": "TransactionType",
"type": "UInt16",
"expected_hex": "0065"
},
{
"test_json": "AccountRoot",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0061"
},
{
"test_json": 97,
"canonical_json": "AccountRoot",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0061"
},
{
"test_json": "DirectoryNode",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0064"
},
{
"test_json": 100,
"canonical_json": "DirectoryNode",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0064"
},
{
"test_json": "GeneratorMap",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0067"
},
{
"test_json": 103,
"canonical_json": "GeneratorMap",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0067"
},
{
"test_json": "RippleState",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0072"
},
{
"test_json": 114,
"canonical_json": "RippleState",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0072"
},
{
"test_json": "Offer",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "006F"
},
{
"test_json": 111,
"canonical_json": "Offer",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "006F"
},
{
"test_json": "Contract",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0063"
},
{
"test_json": 99,
"canonical_json": "Contract",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0063"
},
{
"test_json": "LedgerHashes",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0068"
},
{
"test_json": 104,
"canonical_json": "LedgerHashes",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0068"
},
{
"test_json": "EnabledAmendments",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0066"
},
{
"test_json": 102,
"canonical_json": "EnabledAmendments",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0066"
},
{
"test_json": "FeeSettings",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0073"
},
{
"test_json": 115,
"canonical_json": "FeeSettings",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0073"
},
{
"test_json": "Ticket",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0054"
},
{
"test_json": 84,
"canonical_json": "Ticket",
"type_id": 1,
"type_specialisation_field": "LedgerEntryType",
"type": "UInt16",
"expected_hex": "0054"
},
{
"test_json": "tesSUCCESS",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "00"
},
{
"test_json": 0,
"canonical_json": "tesSUCCESS",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "00"
},
{
"test_json": "tecCLAIM",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "64"
},
{
"test_json": 100,
"canonical_json": "tecCLAIM",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "64"
},
{
"test_json": "tecPATH_PARTIAL",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "65"
},
{
"test_json": 101,
"canonical_json": "tecPATH_PARTIAL",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "65"
},
{
"test_json": "tecUNFUNDED_ADD",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "66"
},
{
"test_json": 102,
"canonical_json": "tecUNFUNDED_ADD",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "66"
},
{
"test_json": "tecUNFUNDED_OFFER",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "67"
},
{
"test_json": 103,
"canonical_json": "tecUNFUNDED_OFFER",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "67"
},
{
"test_json": "tecUNFUNDED_PAYMENT",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "68"
},
{
"test_json": 104,
"canonical_json": "tecUNFUNDED_PAYMENT",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "68"
},
{
"test_json": "tecFAILED_PROCESSING",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "69"
},
{
"test_json": 105,
"canonical_json": "tecFAILED_PROCESSING",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "69"
},
{
"test_json": "tecDIR_FULL",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "79"
},
{
"test_json": 121,
"canonical_json": "tecDIR_FULL",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "79"
},
{
"test_json": "tecINSUF_RESERVE_LINE",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "7A"
},
{
"test_json": 122,
"canonical_json": "tecINSUF_RESERVE_LINE",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "7A"
},
{
"test_json": "tecINSUF_RESERVE_OFFER",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "7B"
},
{
"test_json": 123,
"canonical_json": "tecINSUF_RESERVE_OFFER",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "7B"
},
{
"test_json": "tecNO_DST",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "7C"
},
{
"test_json": 124,
"canonical_json": "tecNO_DST",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "7C"
},
{
"test_json": "tecNO_DST_INSUF_XRP",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "7D"
},
{
"test_json": 125,
"canonical_json": "tecNO_DST_INSUF_XRP",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "7D"
},
{
"test_json": "tecNO_LINE_INSUF_RESERVE",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "7E"
},
{
"test_json": 126,
"canonical_json": "tecNO_LINE_INSUF_RESERVE",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "7E"
},
{
"test_json": "tecNO_LINE_REDUNDANT",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "7F"
},
{
"test_json": 127,
"canonical_json": "tecNO_LINE_REDUNDANT",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "7F"
},
{
"test_json": "tecPATH_DRY",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "80"
},
{
"test_json": 128,
"canonical_json": "tecPATH_DRY",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "80"
},
{
"test_json": "tecUNFUNDED",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "81"
},
{
"test_json": 129,
"canonical_json": "tecUNFUNDED",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "81"
},
{
"test_json": "tecMASTER_DISABLED",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "82"
},
{
"test_json": 130,
"canonical_json": "tecMASTER_DISABLED",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "82"
},
{
"test_json": "tecNO_REGULAR_KEY",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "83"
},
{
"test_json": 131,
"canonical_json": "tecNO_REGULAR_KEY",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "83"
},
{
"test_json": "tecOWNERS",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "84"
},
{
"test_json": 132,
"canonical_json": "tecOWNERS",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "84"
},
{
"test_json": "tecNO_ISSUER",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "85"
},
{
"test_json": 133,
"canonical_json": "tecNO_ISSUER",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "85"
},
{
"test_json": "tecNO_AUTH",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "86"
},
{
"test_json": 134,
"canonical_json": "tecNO_AUTH",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "86"
},
{
"test_json": "tecNO_LINE",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "87"
},
{
"test_json": 135,
"canonical_json": "tecNO_LINE",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "87"
},
{
"test_json": "tecINSUFF_FEE",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "88"
},
{
"test_json": 136,
"canonical_json": "tecINSUFF_FEE",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "88"
},
{
"test_json": "tecFROZEN",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "89"
},
{
"test_json": 137,
"canonical_json": "tecFROZEN",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "89"
},
{
"test_json": "tecNO_TARGET",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "8A"
},
{
"test_json": 138,
"canonical_json": "tecNO_TARGET",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "8A"
},
{
"test_json": "tecNO_PERMISSION",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "8B"
},
{
"test_json": 139,
"canonical_json": "tecNO_PERMISSION",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "8B"
},
{
"test_json": "tecNO_ENTRY",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "8C"
},
{
"test_json": 140,
"canonical_json": "tecNO_ENTRY",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "8C"
},
{
"test_json": "tecINSUFFICIENT_RESERVE",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "8D"
},
{
"test_json": 141,
"canonical_json": "tecINSUFFICIENT_RESERVE",
"type_id": 16,
"type_specialisation_field": "TransactionResult",
"type": "UInt8",
"expected_hex": "8D"
} }
] ]
} }

View File

@@ -0,0 +1,547 @@
{
"NFTokenMint": {
"tx": {
"json": {
"Account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"Fee": "12",
"Flags": 9,
"LastLedgerSequence": 22,
"Sequence": 5,
"SigningPubKey": "0330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD020",
"TokenTaxon": 0,
"TransactionType": "NFTokenMint",
"TransferFee": 50,
"TxnSignature": "3045022100DAB7343B26035702FF7E0736E04A092AC9512964E41C3CA64926CDFBE777946602202F295A3BB1282E0AF98F9F5978D4037D75EDEB0EC642519D966D7B9B5826E61B",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
},
"binary": "12001914003222000000092400000005201B00000016202A0000000068400000000000000C73210330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD02074473045022100DAB7343B26035702FF7E0736E04A092AC9512964E41C3CA64926CDFBE777946602202F295A3BB1282E0AF98F9F5978D4037D75EDEB0EC642519D966D7B9B5826E61B751868747470733A2F2F677265677765697362726F642E636F6D8114B5F762798A53D543A014CAF8B297CFF8F2F937E8"
},
"meta": {
"json": {
"AffectedNodes": [
{
"ModifiedNode": {
"FinalFields": {
"Account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"Balance": "99999999999999940",
"Flags": 0,
"MintedTokens": 5,
"OwnerCount": 1,
"Sequence": 6
},
"LedgerEntryType": "AccountRoot",
"LedgerIndex": "2B6AC232AA4C4BE41BF49D2459FA4A0347E1B543A4C92FCEE0821C0201E2E9A8",
"PreviousFields": {
"Balance": "99999999999999952",
"MintedTokens": 4,
"Sequence": 5
},
"PreviousTxnID": "E9BFEE7C403F74445B59B8FA8E972ABD642A360E1FBC15C53BAA717573BEC462",
"PreviousTxnLgrSeq": 3
}
},
{
"ModifiedNode": {
"FinalFields": {
"Flags": 0,
"NonFungibleTokens": [
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E816E5DA9C00000001",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E82DCBAB9D00000002",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E85B974D9F00000004",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
}
]
},
"LedgerEntryType": "NFTokenPage",
"LedgerIndex": "B5F762798A53D543A014CAF8B297CFF8F2F937E8FFFFFFFFFFFFFFFFFFFFFFFF",
"PreviousFields": {
"NonFungibleTokens": [
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E816E5DA9C00000001",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E82DCBAB9D00000002",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
}
]
},
"PreviousTxnID": "E9BFEE7C403F74445B59B8FA8E972ABD642A360E1FBC15C53BAA717573BEC462",
"PreviousTxnLgrSeq": 3
}
}
],
"TransactionIndex": 4,
"TransactionResult": "tesSUCCESS"
},
"binary": "201C00000004F8E5110061250000000355E9BFEE7C403F74445B59B8FA8E972ABD642A360E1FBC15C53BAA717573BEC462562B6AC232AA4C4BE41BF49D2459FA4A0347E1B543A4C92FCEE0821C0201E2E9A8E62400000005202B0000000462416345785D89FFD0E1E7220000000024000000062D00000001202B0000000562416345785D89FFC48114B5F762798A53D543A014CAF8B297CFF8F2F937E8E1E1E5110050250000000355E9BFEE7C403F74445B59B8FA8E972ABD642A360E1FBC15C53BAA717573BEC46256B5F762798A53D543A014CAF8B297CFF8F2F937E8FFFFFFFFFFFFFFFFFFFFFFFFE6FAEC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E816E5DA9C00000001751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E82DCBAB9D00000002751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003751868747470733A2F2F677265677765697362726F642E636F6DE1F1E1E72200000000FAEC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E816E5DA9C00000001751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E82DCBAB9D00000002751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E85B974D9F00000004751868747470733A2F2F677265677765697362726F642E636F6DE1F1E1E1F1031000"
}
},
"NFTokenBurn": {
"tx": {
"json": {
"Account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"Fee": "12",
"Flags": 0,
"LastLedgerSequence": 23,
"Sequence": 6,
"SigningPubKey": "0330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD020",
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E85B974D9F00000004",
"TransactionType": "NFTokenBurn",
"TxnSignature": "3045022100D614E1F0A1C41A05652B8998FC2C4DC8658B95BFD89F4A0DEBE3FFDCB75CE1D8022027DF89138FC442C803DC2BEC07636CEB8D0EC6297E23262A729B83D32F93FD3D"
},
"binary": "12001A22000000002400000006201B000000175A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E85B974D9F0000000468400000000000000C73210330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD02074473045022100D614E1F0A1C41A05652B8998FC2C4DC8658B95BFD89F4A0DEBE3FFDCB75CE1D8022027DF89138FC442C803DC2BEC07636CEB8D0EC6297E23262A729B83D32F93FD3D8114B5F762798A53D543A014CAF8B297CFF8F2F937E8"
},
"meta": {
"json": {
"AffectedNodes": [
{
"ModifiedNode": {
"FinalFields": {
"Account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"Balance": "99999999999999928",
"BurnedTokens": 1,
"Flags": 0,
"MintedTokens": 5,
"OwnerCount": 1,
"Sequence": 7
},
"LedgerEntryType": "AccountRoot",
"LedgerIndex": "2B6AC232AA4C4BE41BF49D2459FA4A0347E1B543A4C92FCEE0821C0201E2E9A8",
"PreviousFields": {
"Balance": "99999999999999940",
"Sequence": 6
},
"PreviousTxnID": "5F0E3A19F1D5B028A31B8A0FDE8533B0FD185E4AE306F79CFF51D18E68985231",
"PreviousTxnLgrSeq": 3
}
},
{
"ModifiedNode": {
"FinalFields": {
"Flags": 0,
"NonFungibleTokens": [
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E816E5DA9C00000001",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E82DCBAB9D00000002",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
}
]
},
"LedgerEntryType": "NFTokenPage",
"LedgerIndex": "B5F762798A53D543A014CAF8B297CFF8F2F937E8FFFFFFFFFFFFFFFFFFFFFFFF",
"PreviousFields": {
"NonFungibleTokens": [
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E816E5DA9C00000001",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E82DCBAB9D00000002",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E85B974D9F00000004",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
}
]
},
"PreviousTxnID": "5F0E3A19F1D5B028A31B8A0FDE8533B0FD185E4AE306F79CFF51D18E68985231",
"PreviousTxnLgrSeq": 3
}
}
],
"TransactionIndex": 0,
"TransactionResult": "tesSUCCESS"
},
"binary": "201C00000000F8E51100612500000003555F0E3A19F1D5B028A31B8A0FDE8533B0FD185E4AE306F79CFF51D18E68985231562B6AC232AA4C4BE41BF49D2459FA4A0347E1B543A4C92FCEE0821C0201E2E9A8E6240000000662416345785D89FFC4E1E7220000000024000000072D00000001202B00000005202C0000000162416345785D89FFB88114B5F762798A53D543A014CAF8B297CFF8F2F937E8E1E1E51100502500000003555F0E3A19F1D5B028A31B8A0FDE8533B0FD185E4AE306F79CFF51D18E6898523156B5F762798A53D543A014CAF8B297CFF8F2F937E8FFFFFFFFFFFFFFFFFFFFFFFFE6FAEC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E816E5DA9C00000001751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E82DCBAB9D00000002751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E85B974D9F00000004751868747470733A2F2F677265677765697362726F642E636F6DE1F1E1E72200000000FAEC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E816E5DA9C00000001751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E82DCBAB9D00000002751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003751868747470733A2F2F677265677765697362726F642E636F6DE1F1E1E1F1031000"
}
},
"NFTokenCreateOffer": {
"tx": {
"json": {
"Account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"Amount": "100",
"Destination": "rV3WAvwwXgvPrYiUgSoytn9w3mejtPgLo",
"Expiration": 999999999,
"Fee": "12",
"Flags": 1,
"LastLedgerSequence": 26,
"Sequence": 9,
"SigningPubKey": "0330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD020",
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000",
"TransactionType": "NFTokenCreateOffer",
"TxnSignature": "3045022100BCEEEF98B9DB3A2ACA7CE80AB91B9398E3429B93F660BB8A063F134AA798AE970220667C560D16E555DF5EF30536804C082DAEC7A446DF2C7533ADB1E2437AF2CCB0"
},
"binary": "12001B220000000124000000092A3B9AC9FF201B0000001A5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B0000000061400000000000006468400000000000000C73210330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD02074473045022100BCEEEF98B9DB3A2ACA7CE80AB91B9398E3429B93F660BB8A063F134AA798AE970220667C560D16E555DF5EF30536804C082DAEC7A446DF2C7533ADB1E2437AF2CCB08114B5F762798A53D543A014CAF8B297CFF8F2F937E883140551EBD684BF2ADE0EF093A92B6E2C55D15BD9AE"
},
"meta": {
"json": {
"AffectedNodes": [
{
"CreatedNode": {
"LedgerEntryType": "NFTokenOffer",
"LedgerIndex": "1DEF39A07F364CB73BF5F8306BE22628D0AE517A2CB0AE5341269B1E671F2052",
"NewFields": {
"Amount": "100",
"Expiration": 999999999,
"Flags": 1,
"Owner": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000"
}
}
},
{
"ModifiedNode": {
"FinalFields": {
"Account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"Balance": "99999999999999892",
"BurnedTokens": 1,
"Flags": 0,
"MintedTokens": 5,
"OwnerCount": 2,
"Sequence": 10
},
"LedgerEntryType": "AccountRoot",
"LedgerIndex": "2B6AC232AA4C4BE41BF49D2459FA4A0347E1B543A4C92FCEE0821C0201E2E9A8",
"PreviousFields": {
"Balance": "99999999999999904",
"OwnerCount": 1,
"Sequence": 9
},
"PreviousTxnID": "D73C0ACEA1D4C9186A4AF1EAE2A4BD0A719A78AF6CE897C289AB297D371BEF53",
"PreviousTxnLgrSeq": 6
}
},
{
"CreatedNode": {
"LedgerEntryType": "DirectoryNode",
"LedgerIndex": "86992C19DA69763CAA9A4FC1697508140A995F15173EB00892C8EE23D5FD8FC3",
"NewFields": {
"Flags": 2,
"RootIndex": "86992C19DA69763CAA9A4FC1697508140A995F15173EB00892C8EE23D5FD8FC3",
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000"
}
}
},
{
"CreatedNode": {
"LedgerEntryType": "DirectoryNode",
"LedgerIndex": "D8120FC732737A2CF2E9968FDF3797A43B457F2A81AA06D2653171A1EA635204",
"NewFields": {
"Owner": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"RootIndex": "D8120FC732737A2CF2E9968FDF3797A43B457F2A81AA06D2653171A1EA635204"
}
}
}
],
"TransactionIndex": 0,
"TransactionResult": "tesSUCCESS"
},
"binary": "201C00000000F8E3110037561DEF39A07F364CB73BF5F8306BE22628D0AE517A2CB0AE5341269B1E671F2052E822000000012A3B9AC9FF5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B000000006140000000000000648214B5F762798A53D543A014CAF8B297CFF8F2F937E8E1E1E5110061250000000655D73C0ACEA1D4C9186A4AF1EAE2A4BD0A719A78AF6CE897C289AB297D371BEF53562B6AC232AA4C4BE41BF49D2459FA4A0347E1B543A4C92FCEE0821C0201E2E9A8E624000000092D0000000162416345785D89FFA0E1E72200000000240000000A2D00000002202B00000005202C0000000162416345785D89FF948114B5F762798A53D543A014CAF8B297CFF8F2F937E8E1E1E31100645686992C19DA69763CAA9A4FC1697508140A995F15173EB00892C8EE23D5FD8FC3E822000000025886992C19DA69763CAA9A4FC1697508140A995F15173EB00892C8EE23D5FD8FC35A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000E1E1E311006456D8120FC732737A2CF2E9968FDF3797A43B457F2A81AA06D2653171A1EA635204E858D8120FC732737A2CF2E9968FDF3797A43B457F2A81AA06D2653171A1EA6352048214B5F762798A53D543A014CAF8B297CFF8F2F937E8E1E1F1031000"
}
},
"NFTokenCancelOffer": {
"tx": {
"json": {
"Account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"Fee": "12",
"Flags": 0,
"LastLedgerSequence": 27,
"Sequence": 10,
"SigningPubKey": "0330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD020",
"TokenIDs": [
"00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000"
],
"TransactionType": "NFTokenCancelOffer",
"TxnSignature": "3044022075EAF267D19A626B3D970A96C363380FC7CCFB81178D75F723C5F097309B9FBC022027A896B759E882BFCB810C8AB5B3D819AEBFCAD6E0AF17F909BB3AFA9085EBEE"
},
"binary": "12001C2200000000240000000A201B0000001B68400000000000000C73210330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD02074463044022075EAF267D19A626B3D970A96C363380FC7CCFB81178D75F723C5F097309B9FBC022027A896B759E882BFCB810C8AB5B3D819AEBFCAD6E0AF17F909BB3AFA9085EBEE8114B5F762798A53D543A014CAF8B297CFF8F2F937E804132000090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000"
},
"meta": {
"json": {
"AffectedNodes": [
{
"ModifiedNode": {
"FinalFields": {
"Account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"Balance": "99999999999999880",
"BurnedTokens": 1,
"Flags": 0,
"MintedTokens": 5,
"OwnerCount": 2,
"Sequence": 11
},
"LedgerEntryType": "AccountRoot",
"LedgerIndex": "2B6AC232AA4C4BE41BF49D2459FA4A0347E1B543A4C92FCEE0821C0201E2E9A8",
"PreviousFields": {
"Balance": "99999999999999892",
"Sequence": 10
},
"PreviousTxnID": "4D43E602582E492DC685408C36B18CFB326FBC06C03DA46580F03356F91D590D",
"PreviousTxnLgrSeq": 7
}
}
],
"TransactionIndex": 0,
"TransactionResult": "tesSUCCESS"
},
"binary": "201C00000000F8E51100612500000007554D43E602582E492DC685408C36B18CFB326FBC06C03DA46580F03356F91D590D562B6AC232AA4C4BE41BF49D2459FA4A0347E1B543A4C92FCEE0821C0201E2E9A8E6240000000A62416345785D89FF94E1E72200000000240000000B2D00000002202B00000005202C0000000162416345785D89FF888114B5F762798A53D543A014CAF8B297CFF8F2F937E8E1E1F1031000"
}
},
"NFTokenAcceptOffer": {
"tx": {
"json": {
"Account": "rKBmBAi3cWzuj6iZYx6K7F3xF1LSs3br3o",
"Fee": "12",
"Flags": 0,
"LastLedgerSequence": 37,
"SellOffer": "AED08CC1F50DD5F23A1948AF86153A3F3B7593E5EC77D65A02BB1B29E05AB6AF",
"Sequence": 9,
"SigningPubKey": "ED3C94824B6696F16CA54F0E3085A5ED8867D19DC4BA572086E03DCAB30B094D79",
"TransactionType": "NFTokenAcceptOffer",
"TxnSignature": "D6653C5BDA53E29CFF05905BE4EA36A913D28D8730EAAB339FFC57D0484230349E195303A301490DDF5DC3BC01AD22047D9A0BBC37983D96ED06DBBFE43F9A08"
},
"binary": "12001D22000000002400000009201B00000025501DAED08CC1F50DD5F23A1948AF86153A3F3B7593E5EC77D65A02BB1B29E05AB6AF68400000000000000C7321ED3C94824B6696F16CA54F0E3085A5ED8867D19DC4BA572086E03DCAB30B094D797440D6653C5BDA53E29CFF05905BE4EA36A913D28D8730EAAB339FFC57D0484230349E195303A301490DDF5DC3BC01AD22047D9A0BBC37983D96ED06DBBFE43F9A088114C77B4F8423139A8F0939DDEB9EB076CC74F4A3B3"
},
"meta": {
"json": {
"AffectedNodes": [
{
"ModifiedNode": {
"FinalFields": {
"Account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"Balance": "99997999999999932",
"BurnedTokens": 1,
"Flags": 0,
"MintedTokens": 5,
"OwnerCount": 3,
"Sequence": 15
},
"LedgerEntryType": "AccountRoot",
"LedgerIndex": "2B6AC232AA4C4BE41BF49D2459FA4A0347E1B543A4C92FCEE0821C0201E2E9A8",
"PreviousFields": {
"Balance": "99997999999999832",
"OwnerCount": 4
},
"PreviousTxnID": "BB2608749900A1762B2C7E60AFB437091F56810B39E85545E9541A5F33FD2785",
"PreviousTxnLgrSeq": 16
}
},
{
"DeletedNode": {
"FinalFields": {
"Flags": 2,
"RootIndex": "45D3F54AACBCD7F8A5FB0737DA561BE9F0EA924276B2FDB0B8EA8D7FE4319632",
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003"
},
"LedgerEntryType": "DirectoryNode",
"LedgerIndex": "45D3F54AACBCD7F8A5FB0737DA561BE9F0EA924276B2FDB0B8EA8D7FE4319632"
}
},
{
"ModifiedNode": {
"FinalFields": {
"Account": "rKBmBAi3cWzuj6iZYx6K7F3xF1LSs3br3o",
"Balance": "1999999999888",
"Flags": 0,
"OwnerCount": 1,
"Sequence": 10
},
"LedgerEntryType": "AccountRoot",
"LedgerIndex": "4BDDA92DDF4C9702E2952261A181E7E1EFF37E9C2AC9D390D0E81AF34FC8A325",
"PreviousFields": {
"Balance": "2000000000000",
"OwnerCount": 0,
"Sequence": 9
},
"PreviousTxnID": "2B07B79F67C41680E07ED8EDCA5BC20827F1694D51207EFD800F5174FE76ADB3",
"PreviousTxnLgrSeq": 13
}
},
{
"DeletedNode": {
"FinalFields": {
"Amount": "100",
"Flags": 1,
"OfferNode": "0000000000000000",
"Owner": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"OwnerNode": "0000000000000000",
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003"
},
"LedgerEntryType": "NFTokenOffer",
"LedgerIndex": "AED08CC1F50DD5F23A1948AF86153A3F3B7593E5EC77D65A02BB1B29E05AB6AF"
}
},
{
"ModifiedNode": {
"FinalFields": {
"Flags": 0,
"NonFungibleTokens": [
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E816E5DA9C00000001",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E82DCBAB9D00000002",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
}
]
},
"LedgerEntryType": "NFTokenPage",
"LedgerIndex": "B5F762798A53D543A014CAF8B297CFF8F2F937E8FFFFFFFFFFFFFFFFFFFFFFFF",
"PreviousFields": {
"NonFungibleTokens": [
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E816E5DA9C00000001",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E82DCBAB9D00000002",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
},
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
}
]
},
"PreviousTxnID": "EF14A0EB3B1E7E928A07F4B6A659EEA4FB0F839499397B224E19DE61CAA884C7",
"PreviousTxnLgrSeq": 4
}
},
{
"CreatedNode": {
"LedgerEntryType": "NFTokenPage",
"LedgerIndex": "C77B4F8423139A8F0939DDEB9EB076CC74F4A3B3FFFFFFFFFFFFFFFFFFFFFFFF",
"NewFields": {
"NonFungibleTokens": [
{
"NonFungibleToken": {
"TokenID": "00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003",
"URI": "68747470733A2F2F677265677765697362726F642E636F6D"
}
}
]
}
}
},
{
"ModifiedNode": {
"FinalFields": {
"Flags": 0,
"Owner": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"RootIndex": "D8120FC732737A2CF2E9968FDF3797A43B457F2A81AA06D2653171A1EA635204"
},
"LedgerEntryType": "DirectoryNode",
"LedgerIndex": "D8120FC732737A2CF2E9968FDF3797A43B457F2A81AA06D2653171A1EA635204"
}
}
],
"TransactionIndex": 0,
"TransactionResult": "tesSUCCESS"
},
"binary": "201C00000000F8E5110061250000001055BB2608749900A1762B2C7E60AFB437091F56810B39E85545E9541A5F33FD2785562B6AC232AA4C4BE41BF49D2459FA4A0347E1B543A4C92FCEE0821C0201E2E9A8E62D0000000462416343A6B43FDF58E1E72200000000240000000F2D00000003202B00000005202C0000000162416343A6B43FDFBC8114B5F762798A53D543A014CAF8B297CFF8F2F937E8E1E1E41100645645D3F54AACBCD7F8A5FB0737DA561BE9F0EA924276B2FDB0B8EA8D7FE4319632E722000000025845D3F54AACBCD7F8A5FB0737DA561BE9F0EA924276B2FDB0B8EA8D7FE43196325A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003E1E1E5110061250000000D552B07B79F67C41680E07ED8EDCA5BC20827F1694D51207EFD800F5174FE76ADB3564BDDA92DDF4C9702E2952261A181E7E1EFF37E9C2AC9D390D0E81AF34FC8A325E624000000092D0000000062400001D1A94A2000E1E72200000000240000000A2D0000000162400001D1A94A1F908114C77B4F8423139A8F0939DDEB9EB076CC74F4A3B3E1E1E411003756AED08CC1F50DD5F23A1948AF86153A3F3B7593E5EC77D65A02BB1B29E05AB6AFE722000000013400000000000000003C00000000000000005A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E000000036140000000000000648214B5F762798A53D543A014CAF8B297CFF8F2F937E8E1E1E5110050250000000455EF14A0EB3B1E7E928A07F4B6A659EEA4FB0F839499397B224E19DE61CAA884C756B5F762798A53D543A014CAF8B297CFF8F2F937E8FFFFFFFFFFFFFFFFFFFFFFFFE6FAEC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E816E5DA9C00000001751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E82DCBAB9D00000002751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003751868747470733A2F2F677265677765697362726F642E636F6DE1F1E1E72200000000FAEC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E80000099B00000000751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E816E5DA9C00000001751868747470733A2F2F677265677765697362726F642E636F6DE1EC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E82DCBAB9D00000002751868747470733A2F2F677265677765697362726F642E636F6DE1F1E1E1E311005056C77B4F8423139A8F0939DDEB9EB076CC74F4A3B3FFFFFFFFFFFFFFFFFFFFFFFFE8FAEC5A00090032B5F762798A53D543A014CAF8B297CFF8F2F937E844B17C9E00000003751868747470733A2F2F677265677765697362726F642E636F6DE1F1E1E1E511006456D8120FC732737A2CF2E9968FDF3797A43B457F2A81AA06D2653171A1EA635204E7220000000058D8120FC732737A2CF2E9968FDF3797A43B457F2A81AA06D2653171A1EA6352048214B5F762798A53D543A014CAF8B297CFF8F2F937E8E1E1F1031000"
}
}
}