@bithomp/xrpl-api 3.3.10 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ledger/account_tx.d.ts +8 -0
- package/lib/ledger/account_tx.js +56 -6
- package/lib/ledger/transaction.js +9 -0
- package/lib/models/transaction.d.ts +1 -0
- package/lib/models/transaction.js +24 -0
- package/lib/models/transactions/SetRemarks.d.ts +3 -0
- package/lib/models/transactions/SetRemarks.js +2 -0
- package/lib/parse/ledger/delegate.d.ts +2 -0
- package/lib/parse/ledger/delegate.js +11 -0
- package/lib/parse/ledger/index.d.ts +2 -1
- package/lib/parse/ledger/index.js +4 -1
- package/lib/parse/ledger/permissions.d.ts +2 -0
- package/lib/parse/ledger/permissions.js +9 -0
- package/lib/parse/ledger/remark-flags.d.ts +5 -0
- package/lib/parse/ledger/remark-flags.js +8 -0
- package/lib/parse/ledger/remarks.d.ts +3 -0
- package/lib/parse/ledger/remarks.js +47 -0
- package/lib/parse/outcome/delegate_changes.d.ts +12 -0
- package/lib/parse/outcome/delegate_changes.js +59 -0
- package/lib/parse/outcome/index.d.ts +2 -0
- package/lib/parse/outcome/index.js +5 -1
- package/lib/parse/outcome/oracle_changes.d.ts +3 -3
- package/lib/parse/outcome/remarks_changes.d.ts +14 -0
- package/lib/parse/outcome/remarks_changes.js +68 -0
- package/lib/parse/outcome.js +22 -0
- package/lib/parse/specification/account-delete.d.ts +2 -1
- package/lib/parse/specification/account-delete.js +2 -0
- package/lib/parse/specification/amm-bid.d.ts +2 -1
- package/lib/parse/specification/amm-bid.js +2 -0
- package/lib/parse/specification/amm-clawback.d.ts +2 -1
- package/lib/parse/specification/amm-clawback.js +2 -0
- package/lib/parse/specification/amm-create.d.ts +2 -1
- package/lib/parse/specification/amm-create.js +2 -0
- package/lib/parse/specification/amm-delete.d.ts +2 -1
- package/lib/parse/specification/amm-delete.js +2 -0
- package/lib/parse/specification/amm-deposit.d.ts +2 -1
- package/lib/parse/specification/amm-deposit.js +2 -0
- package/lib/parse/specification/amm-vote.d.ts +2 -1
- package/lib/parse/specification/amm-vote.js +2 -0
- package/lib/parse/specification/amm-withdraw.d.ts +2 -1
- package/lib/parse/specification/amm-withdraw.js +2 -0
- package/lib/parse/specification/check-cancel.d.ts +2 -1
- package/lib/parse/specification/check-cancel.js +2 -0
- package/lib/parse/specification/check-cash.d.ts +2 -1
- package/lib/parse/specification/check-cash.js +2 -0
- package/lib/parse/specification/check-create.d.ts +2 -1
- package/lib/parse/specification/check-create.js +2 -0
- package/lib/parse/specification/clawback.d.ts +2 -1
- package/lib/parse/specification/clawback.js +2 -0
- package/lib/parse/specification/delegate-set.d.ts +4 -0
- package/lib/parse/specification/delegate-set.js +58 -0
- package/lib/parse/specification/deposit-preauth.d.ts +2 -1
- package/lib/parse/specification/deposit-preauth.js +2 -0
- package/lib/parse/specification/did-delete.d.ts +2 -1
- package/lib/parse/specification/did-delete.js +2 -0
- package/lib/parse/specification/did-set.d.ts +2 -1
- package/lib/parse/specification/did-set.js +2 -0
- package/lib/parse/specification/escrow-cancel.d.ts +2 -1
- package/lib/parse/specification/escrow-cancel.js +2 -0
- package/lib/parse/specification/escrow-create.d.ts +2 -1
- package/lib/parse/specification/escrow-create.js +2 -0
- package/lib/parse/specification/escrow-finish.d.ts +2 -1
- package/lib/parse/specification/escrow-finish.js +2 -0
- package/lib/parse/specification/mptoken-authorize.d.ts +2 -1
- package/lib/parse/specification/mptoken-authorize.js +2 -0
- package/lib/parse/specification/mptoken-issuance-create.d.ts +2 -1
- package/lib/parse/specification/mptoken-issuance-create.js +2 -0
- package/lib/parse/specification/mptoken-issuance-destroy.d.ts +2 -1
- package/lib/parse/specification/mptoken-issuance-destroy.js +2 -0
- package/lib/parse/specification/mptoken-issuance-set.d.ts +2 -1
- package/lib/parse/specification/mptoken-issuance-set.js +2 -0
- package/lib/parse/specification/nftoken-accept-offer.d.ts +2 -1
- package/lib/parse/specification/nftoken-accept-offer.js +2 -0
- package/lib/parse/specification/nftoken-burn.d.ts +2 -1
- package/lib/parse/specification/nftoken-burn.js +2 -0
- package/lib/parse/specification/nftoken-cancel-offer.d.ts +2 -1
- package/lib/parse/specification/nftoken-cancel-offer.js +2 -0
- package/lib/parse/specification/nftoken-create-offer.d.ts +2 -1
- package/lib/parse/specification/nftoken-create-offer.js +2 -0
- package/lib/parse/specification/nftoken-mint.d.ts +2 -1
- package/lib/parse/specification/nftoken-mint.js +2 -0
- package/lib/parse/specification/nftoken-modify.d.ts +2 -1
- package/lib/parse/specification/nftoken-modify.js +2 -0
- package/lib/parse/specification/offer-cancel.d.ts +2 -1
- package/lib/parse/specification/offer-cancel.js +2 -0
- package/lib/parse/specification/offer-create.d.ts +3 -2
- package/lib/parse/specification/offer-create.js +2 -0
- package/lib/parse/specification/oracle-delete.d.ts +2 -1
- package/lib/parse/specification/oracle-delete.js +2 -0
- package/lib/parse/specification/oracle-set.d.ts +2 -1
- package/lib/parse/specification/oracle-set.js +2 -0
- package/lib/parse/specification/payment-channel-claim.d.ts +2 -1
- package/lib/parse/specification/payment-channel-claim.js +2 -2
- package/lib/parse/specification/payment-channel-create.d.ts +2 -1
- package/lib/parse/specification/payment-channel-create.js +2 -0
- package/lib/parse/specification/payment-channel-fund.d.ts +2 -1
- package/lib/parse/specification/payment-channel-fund.js +2 -0
- package/lib/parse/specification/payment.d.ts +2 -1
- package/lib/parse/specification/payment.js +2 -0
- package/lib/parse/specification/set-remarks.d.ts +3 -0
- package/lib/parse/specification/set-remarks.js +56 -0
- package/lib/parse/specification/settings.js +2 -0
- package/lib/parse/specification/ticket-create.d.ts +2 -1
- package/lib/parse/specification/ticket-create.js +2 -0
- package/lib/parse/specification/trust-set.d.ts +4 -0
- package/lib/parse/specification/trust-set.js +74 -0
- package/lib/parse/specification/trustline.js +2 -0
- package/lib/parse/specification/unrecognized.d.ts +2 -1
- package/lib/parse/specification/unrecognized.js +2 -0
- package/lib/parse/specification/uritoken-burn.d.ts +2 -2
- package/lib/parse/specification/uritoken-burn.js +2 -2
- package/lib/parse/specification/uritoken-buy.d.ts +2 -2
- package/lib/parse/specification/uritoken-buy.js +2 -2
- package/lib/parse/specification/uritoken-cancel-sell-offer.d.ts +2 -2
- package/lib/parse/specification/uritoken-cancel-sell-offer.js +2 -2
- package/lib/parse/specification/uritoken-create-sell-offer.d.ts +2 -2
- package/lib/parse/specification/uritoken-create-sell-offer.js +2 -2
- package/lib/parse/specification/uritoken-mint.d.ts +2 -2
- package/lib/parse/specification/uritoken-mint.js +2 -2
- package/lib/parse/transaction.d.ts +3 -1
- package/lib/parse/transaction.js +8 -2
- package/lib/types/checks.d.ts +4 -4
- package/lib/types/delegate.d.ts +5 -0
- package/lib/types/delegate.js +2 -0
- package/lib/types/deposits.d.ts +2 -2
- package/lib/types/did.d.ts +3 -3
- package/lib/types/escrows.d.ts +3 -3
- package/lib/types/index.d.ts +2 -1
- package/lib/types/index.js +2 -1
- package/lib/types/mptokens.d.ts +1 -1
- package/lib/types/nftokens.d.ts +3 -3
- package/lib/types/oracle.d.ts +4 -12
- package/lib/types/payment_channels.d.ts +2 -4
- package/lib/types/remarks.d.ts +24 -0
- package/lib/types/remarks.js +6 -0
- package/lib/types/specification.d.ts +1 -0
- package/package.json +12 -12
|
@@ -42,6 +42,7 @@ const emit_details_1 = require("../ledger/emit_details");
|
|
|
42
42
|
const memos_1 = require("../ledger/memos");
|
|
43
43
|
const signers_1 = require("../ledger/signers");
|
|
44
44
|
const regular_key_1 = require("../ledger/regular-key");
|
|
45
|
+
const delegate_1 = require("../ledger/delegate");
|
|
45
46
|
const source_1 = require("../ledger/source");
|
|
46
47
|
const destination_1 = require("../ledger/destination");
|
|
47
48
|
const nftoken_flags_1 = __importDefault(require("../ledger/nftoken-flags"));
|
|
@@ -55,6 +56,7 @@ function parseNFTokenMint(tx) {
|
|
|
55
56
|
return (0, common_1.removeUndefined)({
|
|
56
57
|
signers: (0, signers_1.parseSigners)(tx),
|
|
57
58
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
59
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
58
60
|
source: (0, source_1.parseSource)(tx),
|
|
59
61
|
destination: (0, destination_1.parseDestination)(tx),
|
|
60
62
|
nftokenTaxon: tx.NFTokenTaxon,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NFTokenModify } from "xrpl";
|
|
1
2
|
import { FormattedNFTokenModifySpecification } from "../../types/nftokens";
|
|
2
|
-
declare function parseNFTokenModify(tx:
|
|
3
|
+
declare function parseNFTokenModify(tx: NFTokenModify): FormattedNFTokenModifySpecification;
|
|
3
4
|
export default parseNFTokenModify;
|
|
@@ -39,12 +39,14 @@ const emit_details_1 = require("../ledger/emit_details");
|
|
|
39
39
|
const memos_1 = require("../ledger/memos");
|
|
40
40
|
const signers_1 = require("../ledger/signers");
|
|
41
41
|
const regular_key_1 = require("../ledger/regular-key");
|
|
42
|
+
const delegate_1 = require("../ledger/delegate");
|
|
42
43
|
const source_1 = require("../ledger/source");
|
|
43
44
|
function parseNFTokenModify(tx) {
|
|
44
45
|
assert.ok(tx.TransactionType === "NFTokenModify");
|
|
45
46
|
return (0, common_1.removeUndefined)({
|
|
46
47
|
signers: (0, signers_1.parseSigners)(tx),
|
|
47
48
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
49
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
48
50
|
source: (0, source_1.parseSource)(tx),
|
|
49
51
|
nftokenID: tx.NFTokenID,
|
|
50
52
|
owner: tx.Owner,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OfferCancel } from "xrpl";
|
|
1
2
|
import { FormattedOfferCancelSpecification } from "../../types/offers";
|
|
2
|
-
declare function parseOfferCancel(tx:
|
|
3
|
+
declare function parseOfferCancel(tx: OfferCancel): FormattedOfferCancelSpecification;
|
|
3
4
|
export default parseOfferCancel;
|
|
@@ -38,12 +38,14 @@ const memos_1 = require("../ledger/memos");
|
|
|
38
38
|
const emit_details_1 = require("../ledger/emit_details");
|
|
39
39
|
const signers_1 = require("../ledger/signers");
|
|
40
40
|
const regular_key_1 = require("../ledger/regular-key");
|
|
41
|
+
const delegate_1 = require("../ledger/delegate");
|
|
41
42
|
const source_1 = require("../ledger/source");
|
|
42
43
|
function parseOfferCancel(tx) {
|
|
43
44
|
assert.ok(tx.TransactionType === "OfferCancel");
|
|
44
45
|
return {
|
|
45
46
|
signers: (0, signers_1.parseSigners)(tx),
|
|
46
47
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
48
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
47
49
|
source: (0, source_1.parseSource)(tx),
|
|
48
50
|
orderSequence: tx.OfferSequence,
|
|
49
51
|
emittedDetails: (0, emit_details_1.parseEmittedDetails)(tx),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { OfferCreate } from "xrpl";
|
|
2
|
+
import { FormattedOfferCreateSpecification } from "../../types";
|
|
3
|
+
declare function parseOfferCreate(tx: OfferCreate): FormattedOfferCreateSpecification;
|
|
3
4
|
export default parseOfferCreate;
|
|
@@ -45,6 +45,7 @@ const emit_details_1 = require("../ledger/emit_details");
|
|
|
45
45
|
const common_1 = require("../../common");
|
|
46
46
|
const signers_1 = require("../ledger/signers");
|
|
47
47
|
const regular_key_1 = require("../ledger/regular-key");
|
|
48
|
+
const delegate_1 = require("../ledger/delegate");
|
|
48
49
|
const source_1 = require("../ledger/source");
|
|
49
50
|
const offer_create_flags_1 = __importDefault(require("../ledger/offer-create-flags"));
|
|
50
51
|
function parseOfferCreate(tx) {
|
|
@@ -57,6 +58,7 @@ function parseOfferCreate(tx) {
|
|
|
57
58
|
return (0, common_1.removeUndefined)({
|
|
58
59
|
signers: (0, signers_1.parseSigners)(tx),
|
|
59
60
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
61
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
60
62
|
source: (0, source_1.parseSource)(tx),
|
|
61
63
|
flags,
|
|
62
64
|
quantity: quantity,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OracleDelete } from "xrpl";
|
|
1
2
|
import { FormattedOracleDeleteSpecification } from "../../types/oracle";
|
|
2
|
-
declare function parseDidDelete(tx:
|
|
3
|
+
declare function parseDidDelete(tx: OracleDelete): FormattedOracleDeleteSpecification;
|
|
3
4
|
export default parseDidDelete;
|
|
@@ -38,12 +38,14 @@ const common_1 = require("../../common");
|
|
|
38
38
|
const memos_1 = require("../ledger/memos");
|
|
39
39
|
const signers_1 = require("../ledger/signers");
|
|
40
40
|
const regular_key_1 = require("../ledger/regular-key");
|
|
41
|
+
const delegate_1 = require("../ledger/delegate");
|
|
41
42
|
const source_1 = require("../ledger/source");
|
|
42
43
|
function parseDidDelete(tx) {
|
|
43
44
|
assert.ok(tx.TransactionType === "OracleDelete");
|
|
44
45
|
return (0, common_1.removeUndefined)({
|
|
45
46
|
signers: (0, signers_1.parseSigners)(tx),
|
|
46
47
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
48
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
47
49
|
source: (0, source_1.parseSource)(tx),
|
|
48
50
|
oracleDocumentID: tx.OracleDocumentID,
|
|
49
51
|
memos: (0, memos_1.parseMemos)(tx),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OracleSet } from "xrpl";
|
|
1
2
|
import { FormattedOracleSetSpecification } from "../../types/oracle";
|
|
2
|
-
declare function parseDidSet(tx:
|
|
3
|
+
declare function parseDidSet(tx: OracleSet): FormattedOracleSetSpecification;
|
|
3
4
|
export default parseDidSet;
|
|
@@ -38,6 +38,7 @@ const common_1 = require("../../common");
|
|
|
38
38
|
const memos_1 = require("../ledger/memos");
|
|
39
39
|
const signers_1 = require("../ledger/signers");
|
|
40
40
|
const regular_key_1 = require("../ledger/regular-key");
|
|
41
|
+
const delegate_1 = require("../ledger/delegate");
|
|
41
42
|
const source_1 = require("../ledger/source");
|
|
42
43
|
const oracle_changes_1 = require("../outcome/oracle_changes");
|
|
43
44
|
function parseDidSet(tx) {
|
|
@@ -45,6 +46,7 @@ function parseDidSet(tx) {
|
|
|
45
46
|
return (0, common_1.removeUndefined)({
|
|
46
47
|
signers: (0, signers_1.parseSigners)(tx),
|
|
47
48
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
49
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
48
50
|
source: (0, source_1.parseSource)(tx),
|
|
49
51
|
oracleDocumentID: tx.OracleDocumentID,
|
|
50
52
|
provider: tx.Provider,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PaymentChannelClaim } from "xrpl";
|
|
1
2
|
import { FormattedPaymentChannelClaimSpecification } from "../../types/payment_channels";
|
|
2
|
-
declare function parsePaymentChannelClaim(tx:
|
|
3
|
+
declare function parsePaymentChannelClaim(tx: PaymentChannelClaim): FormattedPaymentChannelClaimSpecification;
|
|
3
4
|
export default parsePaymentChannelClaim;
|
|
@@ -44,18 +44,18 @@ const emit_details_1 = require("../ledger/emit_details");
|
|
|
44
44
|
const memos_1 = require("../ledger/memos");
|
|
45
45
|
const signers_1 = require("../ledger/signers");
|
|
46
46
|
const regular_key_1 = require("../ledger/regular-key");
|
|
47
|
+
const delegate_1 = require("../ledger/delegate");
|
|
47
48
|
const source_1 = require("../ledger/source");
|
|
48
49
|
function parsePaymentChannelClaim(tx) {
|
|
49
50
|
assert.ok(tx.TransactionType === "PaymentChannelClaim");
|
|
50
51
|
return (0, common_1.removeUndefined)({
|
|
51
52
|
signers: (0, signers_1.parseSigners)(tx),
|
|
52
53
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
54
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
53
55
|
source: (0, source_1.parseSource)(tx),
|
|
54
56
|
channel: tx.Channel,
|
|
55
57
|
balance: (0, amount_1.default)(tx.Balance),
|
|
56
58
|
amount: (0, amount_1.default)(tx.Amount),
|
|
57
|
-
signature: tx.Signature,
|
|
58
|
-
publicKey: tx.PublicKey,
|
|
59
59
|
renew: Boolean(tx.Flags & xrpl_1.PaymentChannelClaimFlags.tfRenew) || undefined,
|
|
60
60
|
close: Boolean(tx.Flags & xrpl_1.PaymentChannelClaimFlags.tfClose) || undefined,
|
|
61
61
|
emittedDetails: (0, emit_details_1.parseEmittedDetails)(tx),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PaymentChannelCreate } from "xrpl";
|
|
1
2
|
import { FormattedPaymentChannelCreateSpecification } from "../../types/payment_channels";
|
|
2
|
-
declare function parsePaymentChannelCreate(tx:
|
|
3
|
+
declare function parsePaymentChannelCreate(tx: PaymentChannelCreate): FormattedPaymentChannelCreateSpecification;
|
|
3
4
|
export default parsePaymentChannelCreate;
|
|
@@ -44,6 +44,7 @@ const emit_details_1 = require("../ledger/emit_details");
|
|
|
44
44
|
const memos_1 = require("../ledger/memos");
|
|
45
45
|
const signers_1 = require("../ledger/signers");
|
|
46
46
|
const regular_key_1 = require("../ledger/regular-key");
|
|
47
|
+
const delegate_1 = require("../ledger/delegate");
|
|
47
48
|
const source_1 = require("../ledger/source");
|
|
48
49
|
const destination_1 = require("../ledger/destination");
|
|
49
50
|
function parsePaymentChannelCreate(tx) {
|
|
@@ -51,6 +52,7 @@ function parsePaymentChannelCreate(tx) {
|
|
|
51
52
|
return (0, common_1.removeUndefined)({
|
|
52
53
|
signers: (0, signers_1.parseSigners)(tx),
|
|
53
54
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
55
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
54
56
|
source: (0, source_1.parseSource)(tx),
|
|
55
57
|
destination: (0, destination_1.parseDestination)(tx),
|
|
56
58
|
amount: (0, amount_1.default)(tx.Amount),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PaymentChannelFund } from "xrpl";
|
|
1
2
|
import { FormattedPaymentChannelFundSpecification } from "../../types/payment_channels";
|
|
2
|
-
declare function parsePaymentChannelFund(tx:
|
|
3
|
+
declare function parsePaymentChannelFund(tx: PaymentChannelFund): FormattedPaymentChannelFundSpecification;
|
|
3
4
|
export default parsePaymentChannelFund;
|
|
@@ -44,12 +44,14 @@ const emit_details_1 = require("../ledger/emit_details");
|
|
|
44
44
|
const memos_1 = require("../ledger/memos");
|
|
45
45
|
const signers_1 = require("../ledger/signers");
|
|
46
46
|
const regular_key_1 = require("../ledger/regular-key");
|
|
47
|
+
const delegate_1 = require("../ledger/delegate");
|
|
47
48
|
const source_1 = require("../ledger/source");
|
|
48
49
|
function parsePaymentChannelFund(tx) {
|
|
49
50
|
assert.ok(tx.TransactionType === "PaymentChannelFund");
|
|
50
51
|
return (0, common_1.removeUndefined)({
|
|
51
52
|
signers: (0, signers_1.parseSigners)(tx),
|
|
52
53
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
54
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
53
55
|
source: (0, source_1.parseSource)(tx),
|
|
54
56
|
channel: tx.Channel,
|
|
55
57
|
amount: (0, amount_1.default)(tx.Amount),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Payment } from "xrpl";
|
|
1
2
|
import { FormattedPaymentSpecification } from "../../types/payments";
|
|
2
|
-
declare function parsePayment(tx:
|
|
3
|
+
declare function parsePayment(tx: Payment): FormattedPaymentSpecification;
|
|
3
4
|
export default parsePayment;
|
|
@@ -41,6 +41,7 @@ const emit_details_1 = require("../ledger/emit_details");
|
|
|
41
41
|
const memos_1 = require("../ledger/memos");
|
|
42
42
|
const signers_1 = require("../ledger/signers");
|
|
43
43
|
const regular_key_1 = require("../ledger/regular-key");
|
|
44
|
+
const delegate_1 = require("../ledger/delegate");
|
|
44
45
|
const source_1 = require("../ledger/source");
|
|
45
46
|
const destination_1 = require("../ledger/destination");
|
|
46
47
|
function isNoDirectRipple(tx) {
|
|
@@ -56,6 +57,7 @@ function parsePayment(tx) {
|
|
|
56
57
|
destination: (0, destination_1.parseDestination)(tx),
|
|
57
58
|
signers: (0, signers_1.parseSigners)(tx),
|
|
58
59
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
60
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
59
61
|
invoiceID: tx.InvoiceID,
|
|
60
62
|
paths: tx.Paths ? JSON.stringify(tx.Paths) : undefined,
|
|
61
63
|
allowPartialPayment: (0, utils_1.isPartialPayment)(tx) || undefined,
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
const assert = __importStar(require("assert"));
|
|
37
|
+
const common_1 = require("../../common");
|
|
38
|
+
const emit_details_1 = require("../ledger/emit_details");
|
|
39
|
+
const memos_1 = require("../ledger/memos");
|
|
40
|
+
const signers_1 = require("../ledger/signers");
|
|
41
|
+
const regular_key_1 = require("../ledger/regular-key");
|
|
42
|
+
const source_1 = require("../ledger/source");
|
|
43
|
+
const remarks_1 = require("../ledger/remarks");
|
|
44
|
+
function parseSetRemarks(tx) {
|
|
45
|
+
assert.ok(tx.TransactionType === "SetRemarks");
|
|
46
|
+
return (0, common_1.removeUndefined)({
|
|
47
|
+
objectID: tx.ObjectID,
|
|
48
|
+
remarks: (0, remarks_1.parseRemarks)(tx.Remarks),
|
|
49
|
+
source: (0, source_1.parseSource)(tx),
|
|
50
|
+
signers: (0, signers_1.parseSigners)(tx),
|
|
51
|
+
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
52
|
+
emittedDetails: (0, emit_details_1.parseEmittedDetails)(tx),
|
|
53
|
+
memos: (0, memos_1.parseMemos)(tx),
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
exports.default = parseSetRemarks;
|
|
@@ -45,6 +45,7 @@ const emit_details_1 = require("../ledger/emit_details");
|
|
|
45
45
|
const memos_1 = require("../ledger/memos");
|
|
46
46
|
const signers_1 = require("../ledger/signers");
|
|
47
47
|
const regular_key_1 = require("../ledger/regular-key");
|
|
48
|
+
const delegate_1 = require("../ledger/delegate");
|
|
48
49
|
const source_1 = require("../ledger/source");
|
|
49
50
|
function getAccountRootModifiedNode(tx) {
|
|
50
51
|
const modifiedNodes = tx.meta.AffectedNodes.filter((node) => node.ModifiedNode?.LedgerEntryType === "AccountRoot");
|
|
@@ -90,6 +91,7 @@ function parseSettings(tx) {
|
|
|
90
91
|
source: (0, source_1.parseSource)(tx),
|
|
91
92
|
signers: (0, signers_1.parseSigners)(tx),
|
|
92
93
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
94
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
93
95
|
emittedDetails: (0, emit_details_1.parseEmittedDetails)(tx),
|
|
94
96
|
memos: (0, memos_1.parseMemos)(tx),
|
|
95
97
|
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TicketCreate } from "xrpl";
|
|
1
2
|
import { FormattedTicketCreateSpecification } from "../../types/tickets";
|
|
2
|
-
declare function parseTicketCreate(tx:
|
|
3
|
+
declare function parseTicketCreate(tx: TicketCreate): FormattedTicketCreateSpecification;
|
|
3
4
|
export default parseTicketCreate;
|
|
@@ -39,12 +39,14 @@ const emit_details_1 = require("../ledger/emit_details");
|
|
|
39
39
|
const memos_1 = require("../ledger/memos");
|
|
40
40
|
const signers_1 = require("../ledger/signers");
|
|
41
41
|
const regular_key_1 = require("../ledger/regular-key");
|
|
42
|
+
const delegate_1 = require("../ledger/delegate");
|
|
42
43
|
const source_1 = require("../ledger/source");
|
|
43
44
|
function parseTicketCreate(tx) {
|
|
44
45
|
assert.ok(tx.TransactionType === "TicketCreate");
|
|
45
46
|
return (0, common_1.removeUndefined)({
|
|
46
47
|
signers: (0, signers_1.parseSigners)(tx),
|
|
47
48
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
49
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
48
50
|
source: (0, source_1.parseSource)(tx),
|
|
49
51
|
ticketCount: tx.TicketCount,
|
|
50
52
|
emittedDetails: (0, emit_details_1.parseEmittedDetails)(tx),
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
const assert = __importStar(require("assert"));
|
|
37
|
+
const xrpl_1 = require("xrpl");
|
|
38
|
+
const utils_1 = require("../utils");
|
|
39
|
+
const common_1 = require("../../common");
|
|
40
|
+
const emit_details_1 = require("../ledger/emit_details");
|
|
41
|
+
const memos_1 = require("../ledger/memos");
|
|
42
|
+
const signers_1 = require("../ledger/signers");
|
|
43
|
+
const regular_key_1 = require("../ledger/regular-key");
|
|
44
|
+
const delegate_1 = require("../ledger/delegate");
|
|
45
|
+
const source_1 = require("../ledger/source");
|
|
46
|
+
function parseFlag(flagsValue, trueValue, falseValue) {
|
|
47
|
+
if (flagsValue & trueValue) {
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
if (flagsValue & falseValue) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
function parseTrustSet(tx) {
|
|
56
|
+
assert.ok(tx.TransactionType === "TrustSet");
|
|
57
|
+
return (0, common_1.removeUndefined)({
|
|
58
|
+
signers: (0, signers_1.parseSigners)(tx),
|
|
59
|
+
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
60
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
61
|
+
source: (0, source_1.parseSource)(tx),
|
|
62
|
+
limit: tx.LimitAmount.value,
|
|
63
|
+
currency: tx.LimitAmount.currency,
|
|
64
|
+
counterparty: tx.LimitAmount.issuer,
|
|
65
|
+
qualityIn: (0, utils_1.parseQuality)(tx.QualityIn),
|
|
66
|
+
qualityOut: (0, utils_1.parseQuality)(tx.QualityOut),
|
|
67
|
+
ripplingDisabled: parseFlag(tx.Flags, xrpl_1.TrustSetFlags.tfSetNoRipple, xrpl_1.TrustSetFlags.tfClearNoRipple),
|
|
68
|
+
frozen: parseFlag(tx.Flags, xrpl_1.TrustSetFlags.tfSetFreeze, xrpl_1.TrustSetFlags.tfClearFreeze),
|
|
69
|
+
authorized: parseFlag(tx.Flags, xrpl_1.TrustSetFlags.tfSetfAuth, 0),
|
|
70
|
+
emittedDetails: (0, emit_details_1.parseEmittedDetails)(tx),
|
|
71
|
+
memos: (0, memos_1.parseMemos)(tx),
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
exports.default = parseTrustSet;
|
|
@@ -41,6 +41,7 @@ const emit_details_1 = require("../ledger/emit_details");
|
|
|
41
41
|
const memos_1 = require("../ledger/memos");
|
|
42
42
|
const signers_1 = require("../ledger/signers");
|
|
43
43
|
const regular_key_1 = require("../ledger/regular-key");
|
|
44
|
+
const delegate_1 = require("../ledger/delegate");
|
|
44
45
|
const source_1 = require("../ledger/source");
|
|
45
46
|
function parseFlag(flagsValue, trueValue, falseValue) {
|
|
46
47
|
if (flagsValue & trueValue) {
|
|
@@ -56,6 +57,7 @@ function parseTrustline(tx) {
|
|
|
56
57
|
return (0, common_1.removeUndefined)({
|
|
57
58
|
signers: (0, signers_1.parseSigners)(tx),
|
|
58
59
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
60
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
59
61
|
source: (0, source_1.parseSource)(tx),
|
|
60
62
|
limit: tx.LimitAmount.value,
|
|
61
63
|
currency: tx.LimitAmount.currency,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BaseTransaction } from "xrpl";
|
|
1
2
|
import { FormattedUnrecognizedParserSpecification } from "../../types/unrecognized";
|
|
2
|
-
declare function unrecognizedParser(tx:
|
|
3
|
+
declare function unrecognizedParser(tx: BaseTransaction): FormattedUnrecognizedParserSpecification;
|
|
3
4
|
export default unrecognizedParser;
|
|
@@ -5,6 +5,7 @@ const emit_details_1 = require("../ledger/emit_details");
|
|
|
5
5
|
const memos_1 = require("../ledger/memos");
|
|
6
6
|
const signers_1 = require("../ledger/signers");
|
|
7
7
|
const regular_key_1 = require("../ledger/regular-key");
|
|
8
|
+
const delegate_1 = require("../ledger/delegate");
|
|
8
9
|
const source_1 = require("../ledger/source");
|
|
9
10
|
function unrecognizedParser(tx) {
|
|
10
11
|
return (0, common_1.removeUndefined)({
|
|
@@ -13,6 +14,7 @@ function unrecognizedParser(tx) {
|
|
|
13
14
|
source: (0, source_1.parseSource)(tx),
|
|
14
15
|
signers: (0, signers_1.parseSigners)(tx),
|
|
15
16
|
signer: (0, regular_key_1.parseSignerRegularKey)(tx),
|
|
17
|
+
delegate: (0, delegate_1.parseDelegate)(tx),
|
|
16
18
|
emittedDetails: (0, emit_details_1.parseEmittedDetails)(tx),
|
|
17
19
|
memos: (0, memos_1.parseMemos)(tx),
|
|
18
20
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FormattedURITokenBurnSpecification } from "../../types/uritokens";
|
|
2
|
-
declare function
|
|
3
|
-
export default
|
|
2
|
+
declare function parseURITokenBurn(tx: any): FormattedURITokenBurnSpecification;
|
|
3
|
+
export default parseURITokenBurn;
|
|
@@ -40,7 +40,7 @@ const memos_1 = require("../ledger/memos");
|
|
|
40
40
|
const signers_1 = require("../ledger/signers");
|
|
41
41
|
const regular_key_1 = require("../ledger/regular-key");
|
|
42
42
|
const source_1 = require("../ledger/source");
|
|
43
|
-
function
|
|
43
|
+
function parseURITokenBurn(tx) {
|
|
44
44
|
assert.ok(tx.TransactionType === "URITokenBurn");
|
|
45
45
|
return (0, common_1.removeUndefined)({
|
|
46
46
|
uritokenID: tx.URITokenID,
|
|
@@ -51,4 +51,4 @@ function parseNFTokenBurn(tx) {
|
|
|
51
51
|
memos: (0, memos_1.parseMemos)(tx),
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
exports.default =
|
|
54
|
+
exports.default = parseURITokenBurn;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FormattedURITokenBuySpecification } from "../../types/uritokens";
|
|
2
|
-
declare function
|
|
3
|
-
export default
|
|
2
|
+
declare function parseURITokenBuy(tx: any): FormattedURITokenBuySpecification;
|
|
3
|
+
export default parseURITokenBuy;
|
|
@@ -40,7 +40,7 @@ const memos_1 = require("../ledger/memos");
|
|
|
40
40
|
const signers_1 = require("../ledger/signers");
|
|
41
41
|
const regular_key_1 = require("../ledger/regular-key");
|
|
42
42
|
const source_1 = require("../ledger/source");
|
|
43
|
-
function
|
|
43
|
+
function parseURITokenBuy(tx) {
|
|
44
44
|
assert.ok(tx.TransactionType === "URITokenBuy");
|
|
45
45
|
return (0, common_1.removeUndefined)({
|
|
46
46
|
uritokenID: tx.URITokenID,
|
|
@@ -52,4 +52,4 @@ function parseNFTokenBurn(tx) {
|
|
|
52
52
|
memos: (0, memos_1.parseMemos)(tx),
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
exports.default =
|
|
55
|
+
exports.default = parseURITokenBuy;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FormattedURITokenCancelSellOfferSpecification } from "../../types/uritokens";
|
|
2
|
-
declare function
|
|
3
|
-
export default
|
|
2
|
+
declare function parseURITokenCancelSellOffer(tx: any): FormattedURITokenCancelSellOfferSpecification;
|
|
3
|
+
export default parseURITokenCancelSellOffer;
|
|
@@ -40,7 +40,7 @@ const memos_1 = require("../ledger/memos");
|
|
|
40
40
|
const signers_1 = require("../ledger/signers");
|
|
41
41
|
const regular_key_1 = require("../ledger/regular-key");
|
|
42
42
|
const source_1 = require("../ledger/source");
|
|
43
|
-
function
|
|
43
|
+
function parseURITokenCancelSellOffer(tx) {
|
|
44
44
|
assert.ok(tx.TransactionType === "URITokenCancelSellOffer");
|
|
45
45
|
return (0, common_1.removeUndefined)({
|
|
46
46
|
uritokenID: tx.URITokenID,
|
|
@@ -51,4 +51,4 @@ function parseNFTokenBurn(tx) {
|
|
|
51
51
|
memos: (0, memos_1.parseMemos)(tx),
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
exports.default =
|
|
54
|
+
exports.default = parseURITokenCancelSellOffer;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FormattedURITokenCreateSellOfferSpecification } from "../../types/uritokens";
|
|
2
|
-
declare function
|
|
3
|
-
export default
|
|
2
|
+
declare function parseURITokenCreateSellOffer(tx: any): FormattedURITokenCreateSellOfferSpecification;
|
|
3
|
+
export default parseURITokenCreateSellOffer;
|
|
@@ -41,7 +41,7 @@ const signers_1 = require("../ledger/signers");
|
|
|
41
41
|
const regular_key_1 = require("../ledger/regular-key");
|
|
42
42
|
const source_1 = require("../ledger/source");
|
|
43
43
|
const destination_1 = require("../ledger/destination");
|
|
44
|
-
function
|
|
44
|
+
function parseURITokenCreateSellOffer(tx) {
|
|
45
45
|
assert.ok(tx.TransactionType === "URITokenCreateSellOffer");
|
|
46
46
|
return (0, common_1.removeUndefined)({
|
|
47
47
|
uritokenID: tx.URITokenID,
|
|
@@ -54,4 +54,4 @@ function parseNFTokenBurn(tx) {
|
|
|
54
54
|
memos: (0, memos_1.parseMemos)(tx),
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
exports.default =
|
|
57
|
+
exports.default = parseURITokenCreateSellOffer;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FormattedURITokenMintSpecification } from "../../types/uritokens";
|
|
2
|
-
declare function
|
|
3
|
-
export default
|
|
2
|
+
declare function parseURITokenMint(tx: any): FormattedURITokenMintSpecification;
|
|
3
|
+
export default parseURITokenMint;
|
|
@@ -45,7 +45,7 @@ const signers_1 = require("../ledger/signers");
|
|
|
45
45
|
const regular_key_1 = require("../ledger/regular-key");
|
|
46
46
|
const source_1 = require("../ledger/source");
|
|
47
47
|
const destination_1 = require("../ledger/destination");
|
|
48
|
-
function
|
|
48
|
+
function parseURITokenMint(tx) {
|
|
49
49
|
assert.ok(tx.TransactionType === "URITokenMint");
|
|
50
50
|
return (0, common_1.removeUndefined)({
|
|
51
51
|
uri: tx.URI,
|
|
@@ -60,4 +60,4 @@ function parseNFTokenMint(tx) {
|
|
|
60
60
|
memos: (0, memos_1.parseMemos)(tx),
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
-
exports.default =
|
|
63
|
+
exports.default = parseURITokenMint;
|
|
@@ -22,11 +22,13 @@ import { FormattedAmmBidSpecification, FormattedAmmCreateSpecification, Formatte
|
|
|
22
22
|
import { FormattedDIDSetSpecification, FormattedDIDDeleteSpecification } from "../types/did";
|
|
23
23
|
import { FormattedOracleSetSpecification, FormattedOracleDeleteSpecification } from "../types/oracle";
|
|
24
24
|
import { FormattedMPTokenIssuanceCreateSpecification, FormattedMPTokenAuthorizeSpecification, FormattedMPTokenIssuanceSetSpecification, FormattedMPTokenIssuanceDestroySpecification } from "../types/mptokens";
|
|
25
|
+
import { FormattedDelegateSetSpecification } from "../types/delegate";
|
|
26
|
+
import { FormattedSetRemarksSpecification } from "../types/remarks";
|
|
25
27
|
import { FormattedGenesisMintSpecification } from "../types/genesis_mint";
|
|
26
28
|
import { FormattedAmendmentSpecification } from "../types/amendments";
|
|
27
29
|
import { FormattedFeeUpdateSpecification } from "../types/fees";
|
|
28
30
|
declare function parseTransactionType(type: string): string;
|
|
29
|
-
export type FormattedSpecification = FormattedUnrecognizedParserSpecification | FormattedSettingsSpecification | FormattedAccountDeleteSpecification | FormattedCheckCancelSpecification | FormattedCheckCashSpecification | FormattedCheckCreateSpecification | FormattedDepositPreauthSpecification | FormattedEscrowCancelSpecification | FormattedEscrowCreateSpecification | FormattedEscrowFinishSpecification | FormattedOfferCancelSpecification | FormattedOfferCreateSpecification | FormattedPaymentSpecification | FormattedPaymentChannelClaimSpecification | FormattedPaymentChannelCreateSpecification | FormattedPaymentChannelFundSpecification | FormattedTicketCreateSpecification | FormattedTrustlineSpecification | FormattedNFTokenBurnSpecification | FormattedNFTokenMintSpecification | FormattedNFTokenModifySpecification | FormattedNFTokenCancelOfferSpecification | FormattedNFTokenCreateOfferSpecification | FormattedNFTokenAcceptOfferSpecification | FormattedURITokenBurnSpecification | FormattedURITokenBuySpecification | FormattedURITokenCreateSellOfferSpecification | FormattedURITokenCancelSellOfferSpecification | FormattedURITokenMintSpecification | FormattedImportSpecification | FormattedInvokeSpecification | FormattedUNLReportSpecification | FormattedRemitsSpecification | FormattedClawbackSpecification | FormattedAmmBidSpecification | FormattedAmmCreateSpecification | FormattedAmmDeleteSpecification | FormattedAmmDepositSpecification | FormattedAmmWithdrawSpecification | FormattedAmmVoteSpecification | FormattedAmmClawbackSpecification | FormattedGenesisMintSpecification | FormattedAmendmentSpecification | FormattedFeeUpdateSpecification | FormattedDIDSetSpecification | FormattedDIDDeleteSpecification | FormattedOracleSetSpecification | FormattedOracleDeleteSpecification | FormattedMPTokenIssuanceCreateSpecification | FormattedMPTokenAuthorizeSpecification | FormattedMPTokenIssuanceSetSpecification | FormattedMPTokenIssuanceDestroySpecification;
|
|
31
|
+
export type FormattedSpecification = FormattedUnrecognizedParserSpecification | FormattedSettingsSpecification | FormattedAccountDeleteSpecification | FormattedCheckCancelSpecification | FormattedCheckCashSpecification | FormattedCheckCreateSpecification | FormattedDepositPreauthSpecification | FormattedEscrowCancelSpecification | FormattedEscrowCreateSpecification | FormattedEscrowFinishSpecification | FormattedOfferCancelSpecification | FormattedOfferCreateSpecification | FormattedPaymentSpecification | FormattedPaymentChannelClaimSpecification | FormattedPaymentChannelCreateSpecification | FormattedPaymentChannelFundSpecification | FormattedTicketCreateSpecification | FormattedTrustlineSpecification | FormattedNFTokenBurnSpecification | FormattedNFTokenMintSpecification | FormattedNFTokenModifySpecification | FormattedNFTokenCancelOfferSpecification | FormattedNFTokenCreateOfferSpecification | FormattedNFTokenAcceptOfferSpecification | FormattedURITokenBurnSpecification | FormattedURITokenBuySpecification | FormattedURITokenCreateSellOfferSpecification | FormattedURITokenCancelSellOfferSpecification | FormattedURITokenMintSpecification | FormattedImportSpecification | FormattedInvokeSpecification | FormattedUNLReportSpecification | FormattedRemitsSpecification | FormattedClawbackSpecification | FormattedAmmBidSpecification | FormattedAmmCreateSpecification | FormattedAmmDeleteSpecification | FormattedAmmDepositSpecification | FormattedAmmWithdrawSpecification | FormattedAmmVoteSpecification | FormattedAmmClawbackSpecification | FormattedGenesisMintSpecification | FormattedAmendmentSpecification | FormattedFeeUpdateSpecification | FormattedDIDSetSpecification | FormattedDIDDeleteSpecification | FormattedOracleSetSpecification | FormattedOracleDeleteSpecification | FormattedMPTokenIssuanceCreateSpecification | FormattedMPTokenAuthorizeSpecification | FormattedMPTokenIssuanceSetSpecification | FormattedMPTokenIssuanceDestroySpecification | FormattedDelegateSetSpecification | FormattedSetRemarksSpecification;
|
|
30
32
|
export interface FormattedTransaction {
|
|
31
33
|
type: string;
|
|
32
34
|
address: string;
|