xrpl 2.9.1 → 2.11.0
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/build/xrpl-latest-min.js +1 -1
- package/build/xrpl-latest-min.js.map +1 -1
- package/build/xrpl-latest.js +2680 -481
- package/build/xrpl-latest.js.map +1 -1
- package/dist/npm/Wallet/walletFromSecretNumbers.d.ts +7 -0
- package/dist/npm/Wallet/walletFromSecretNumbers.d.ts.map +1 -0
- package/dist/npm/Wallet/walletFromSecretNumbers.js +27 -0
- package/dist/npm/Wallet/walletFromSecretNumbers.js.map +1 -0
- package/dist/npm/client/index.d.ts +2 -1
- package/dist/npm/client/index.d.ts.map +1 -1
- package/dist/npm/client/index.js.map +1 -1
- package/dist/npm/index.d.ts +1 -0
- package/dist/npm/index.d.ts.map +1 -1
- package/dist/npm/index.js +3 -1
- package/dist/npm/index.js.map +1 -1
- package/dist/npm/models/common/index.d.ts +5 -0
- package/dist/npm/models/common/index.d.ts.map +1 -1
- package/dist/npm/models/ledger/AMM.d.ts +27 -0
- package/dist/npm/models/ledger/AMM.d.ts.map +1 -0
- package/dist/npm/models/ledger/AMM.js +3 -0
- package/dist/npm/models/ledger/AMM.js.map +1 -0
- package/dist/npm/models/ledger/AccountRoot.d.ts +5 -1
- package/dist/npm/models/ledger/AccountRoot.d.ts.map +1 -1
- package/dist/npm/models/ledger/AccountRoot.js +2 -0
- package/dist/npm/models/ledger/AccountRoot.js.map +1 -1
- package/dist/npm/models/ledger/LedgerEntry.d.ts +2 -1
- package/dist/npm/models/ledger/LedgerEntry.d.ts.map +1 -1
- package/dist/npm/models/methods/accountInfo.d.ts +1 -0
- package/dist/npm/models/methods/accountInfo.d.ts.map +1 -1
- package/dist/npm/models/methods/ammInfo.d.ts +39 -0
- package/dist/npm/models/methods/ammInfo.d.ts.map +1 -0
- package/dist/npm/models/methods/ammInfo.js +3 -0
- package/dist/npm/models/methods/ammInfo.js.map +1 -0
- package/dist/npm/models/methods/index.d.ts +4 -3
- package/dist/npm/models/methods/index.d.ts.map +1 -1
- package/dist/npm/models/methods/ledgerEntry.d.ts +10 -0
- package/dist/npm/models/methods/ledgerEntry.d.ts.map +1 -1
- package/dist/npm/models/transactions/AMMBid.d.ts +12 -0
- package/dist/npm/models/transactions/AMMBid.d.ts.map +1 -0
- package/dist/npm/models/transactions/AMMBid.js +56 -0
- package/dist/npm/models/transactions/AMMBid.js.map +1 -0
- package/dist/npm/models/transactions/AMMCreate.d.ts +11 -0
- package/dist/npm/models/transactions/AMMCreate.d.ts.map +1 -0
- package/dist/npm/models/transactions/AMMCreate.js +32 -0
- package/dist/npm/models/transactions/AMMCreate.js.map +1 -0
- package/dist/npm/models/transactions/AMMDelete.d.ts +9 -0
- package/dist/npm/models/transactions/AMMDelete.d.ts.map +1 -0
- package/dist/npm/models/transactions/AMMDelete.js +22 -0
- package/dist/npm/models/transactions/AMMDelete.js.map +1 -0
- package/dist/npm/models/transactions/AMMDeposit.d.ts +27 -0
- package/dist/npm/models/transactions/AMMDeposit.d.ts.map +1 -0
- package/dist/npm/models/transactions/AMMDeposit.js +51 -0
- package/dist/npm/models/transactions/AMMDeposit.js.map +1 -0
- package/dist/npm/models/transactions/AMMVote.d.ts +10 -0
- package/dist/npm/models/transactions/AMMVote.d.ts.map +1 -0
- package/dist/npm/models/transactions/AMMVote.js +32 -0
- package/dist/npm/models/transactions/AMMVote.js.map +1 -0
- package/dist/npm/models/transactions/AMMWithdraw.d.ts +31 -0
- package/dist/npm/models/transactions/AMMWithdraw.d.ts.map +1 -0
- package/dist/npm/models/transactions/AMMWithdraw.js +50 -0
- package/dist/npm/models/transactions/AMMWithdraw.js.map +1 -0
- package/dist/npm/models/transactions/accountSet.d.ts +2 -1
- package/dist/npm/models/transactions/accountSet.d.ts.map +1 -1
- package/dist/npm/models/transactions/accountSet.js +1 -0
- package/dist/npm/models/transactions/accountSet.js.map +1 -1
- package/dist/npm/models/transactions/clawback.d.ts +9 -0
- package/dist/npm/models/transactions/clawback.d.ts.map +1 -0
- package/dist/npm/models/transactions/clawback.js +19 -0
- package/dist/npm/models/transactions/clawback.js.map +1 -0
- package/dist/npm/models/transactions/common.d.ts +2 -1
- package/dist/npm/models/transactions/common.d.ts.map +1 -1
- package/dist/npm/models/transactions/common.js +12 -1
- package/dist/npm/models/transactions/common.js.map +1 -1
- package/dist/npm/models/transactions/index.d.ts +7 -0
- package/dist/npm/models/transactions/index.d.ts.map +1 -1
- package/dist/npm/models/transactions/index.js +5 -1
- package/dist/npm/models/transactions/index.js.map +1 -1
- package/dist/npm/models/transactions/transaction.d.ts +8 -1
- package/dist/npm/models/transactions/transaction.d.ts.map +1 -1
- package/dist/npm/models/transactions/transaction.js +28 -0
- package/dist/npm/models/transactions/transaction.js.map +1 -1
- package/dist/npm/models/utils/flags.d.ts.map +1 -1
- package/dist/npm/models/utils/flags.js +17 -23
- package/dist/npm/models/utils/flags.js.map +1 -1
- package/dist/npm/models/utils/index.js +1 -1
- package/dist/npm/models/utils/index.js.map +1 -1
- package/dist/npm/snippets/tsconfig.tsbuildinfo +1 -1
- package/dist/npm/src/Wallet/walletFromSecretNumbers.d.ts +7 -0
- package/dist/npm/src/Wallet/walletFromSecretNumbers.d.ts.map +1 -0
- package/dist/npm/src/Wallet/walletFromSecretNumbers.js +27 -0
- package/dist/npm/src/Wallet/walletFromSecretNumbers.js.map +1 -0
- package/dist/npm/src/client/index.d.ts +2 -1
- package/dist/npm/src/client/index.d.ts.map +1 -1
- package/dist/npm/src/client/index.js.map +1 -1
- package/dist/npm/src/index.d.ts +1 -0
- package/dist/npm/src/index.d.ts.map +1 -1
- package/dist/npm/src/index.js +3 -1
- package/dist/npm/src/index.js.map +1 -1
- package/dist/npm/src/models/common/index.d.ts +5 -0
- package/dist/npm/src/models/common/index.d.ts.map +1 -1
- package/dist/npm/src/models/ledger/AMM.d.ts +27 -0
- package/dist/npm/src/models/ledger/AMM.d.ts.map +1 -0
- package/dist/npm/src/models/ledger/AMM.js +3 -0
- package/dist/npm/src/models/ledger/AMM.js.map +1 -0
- package/dist/npm/src/models/ledger/AccountRoot.d.ts +5 -1
- package/dist/npm/src/models/ledger/AccountRoot.d.ts.map +1 -1
- package/dist/npm/src/models/ledger/AccountRoot.js +2 -0
- package/dist/npm/src/models/ledger/AccountRoot.js.map +1 -1
- package/dist/npm/src/models/ledger/LedgerEntry.d.ts +2 -1
- package/dist/npm/src/models/ledger/LedgerEntry.d.ts.map +1 -1
- package/dist/npm/src/models/methods/accountInfo.d.ts +1 -0
- package/dist/npm/src/models/methods/accountInfo.d.ts.map +1 -1
- package/dist/npm/src/models/methods/ammInfo.d.ts +39 -0
- package/dist/npm/src/models/methods/ammInfo.d.ts.map +1 -0
- package/dist/npm/src/models/methods/ammInfo.js +3 -0
- package/dist/npm/src/models/methods/ammInfo.js.map +1 -0
- package/dist/npm/src/models/methods/index.d.ts +4 -3
- package/dist/npm/src/models/methods/index.d.ts.map +1 -1
- package/dist/npm/src/models/methods/ledgerEntry.d.ts +10 -0
- package/dist/npm/src/models/methods/ledgerEntry.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/AMMBid.d.ts +12 -0
- package/dist/npm/src/models/transactions/AMMBid.d.ts.map +1 -0
- package/dist/npm/src/models/transactions/AMMBid.js +56 -0
- package/dist/npm/src/models/transactions/AMMBid.js.map +1 -0
- package/dist/npm/src/models/transactions/AMMCreate.d.ts +11 -0
- package/dist/npm/src/models/transactions/AMMCreate.d.ts.map +1 -0
- package/dist/npm/src/models/transactions/AMMCreate.js +32 -0
- package/dist/npm/src/models/transactions/AMMCreate.js.map +1 -0
- package/dist/npm/src/models/transactions/AMMDelete.d.ts +9 -0
- package/dist/npm/src/models/transactions/AMMDelete.d.ts.map +1 -0
- package/dist/npm/src/models/transactions/AMMDelete.js +22 -0
- package/dist/npm/src/models/transactions/AMMDelete.js.map +1 -0
- package/dist/npm/src/models/transactions/AMMDeposit.d.ts +27 -0
- package/dist/npm/src/models/transactions/AMMDeposit.d.ts.map +1 -0
- package/dist/npm/src/models/transactions/AMMDeposit.js +51 -0
- package/dist/npm/src/models/transactions/AMMDeposit.js.map +1 -0
- package/dist/npm/src/models/transactions/AMMVote.d.ts +10 -0
- package/dist/npm/src/models/transactions/AMMVote.d.ts.map +1 -0
- package/dist/npm/src/models/transactions/AMMVote.js +32 -0
- package/dist/npm/src/models/transactions/AMMVote.js.map +1 -0
- package/dist/npm/src/models/transactions/AMMWithdraw.d.ts +31 -0
- package/dist/npm/src/models/transactions/AMMWithdraw.d.ts.map +1 -0
- package/dist/npm/src/models/transactions/AMMWithdraw.js +50 -0
- package/dist/npm/src/models/transactions/AMMWithdraw.js.map +1 -0
- package/dist/npm/src/models/transactions/accountSet.d.ts +2 -1
- package/dist/npm/src/models/transactions/accountSet.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/accountSet.js +1 -0
- package/dist/npm/src/models/transactions/accountSet.js.map +1 -1
- package/dist/npm/src/models/transactions/clawback.d.ts +9 -0
- package/dist/npm/src/models/transactions/clawback.d.ts.map +1 -0
- package/dist/npm/src/models/transactions/clawback.js +19 -0
- package/dist/npm/src/models/transactions/clawback.js.map +1 -0
- package/dist/npm/src/models/transactions/common.d.ts +2 -1
- package/dist/npm/src/models/transactions/common.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/common.js +12 -1
- package/dist/npm/src/models/transactions/common.js.map +1 -1
- package/dist/npm/src/models/transactions/index.d.ts +7 -0
- package/dist/npm/src/models/transactions/index.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/index.js +5 -1
- package/dist/npm/src/models/transactions/index.js.map +1 -1
- package/dist/npm/src/models/transactions/transaction.d.ts +8 -1
- package/dist/npm/src/models/transactions/transaction.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/transaction.js +28 -0
- package/dist/npm/src/models/transactions/transaction.js.map +1 -1
- package/dist/npm/src/models/utils/flags.d.ts.map +1 -1
- package/dist/npm/src/models/utils/flags.js +17 -23
- package/dist/npm/src/models/utils/flags.js.map +1 -1
- package/dist/npm/src/models/utils/index.js +1 -1
- package/dist/npm/src/models/utils/index.js.map +1 -1
- package/dist/npm/src/sugar/autofill.d.ts.map +1 -1
- package/dist/npm/src/sugar/autofill.js +4 -3
- package/dist/npm/src/sugar/autofill.js.map +1 -1
- package/dist/npm/sugar/autofill.d.ts.map +1 -1
- package/dist/npm/sugar/autofill.js +4 -3
- package/dist/npm/sugar/autofill.js.map +1 -1
- package/package.json +8 -6
- package/src/ECDSA.ts +6 -0
- package/src/Wallet/defaultFaucets.ts +82 -0
- package/src/Wallet/fundWallet.ts +344 -0
- package/src/Wallet/index.ts +504 -0
- package/src/Wallet/rfc1751.ts +190 -0
- package/src/Wallet/rfc1751Words.json +243 -0
- package/src/Wallet/signer.ts +173 -0
- package/src/Wallet/walletFromSecretNumbers.ts +37 -0
- package/src/client/BroadcastClient.ts +84 -0
- package/src/client/ConnectionManager.ts +40 -0
- package/src/client/ExponentialBackoff.ts +71 -0
- package/src/client/RequestManager.ts +194 -0
- package/src/client/WSWrapper.ts +106 -0
- package/src/client/connection.ts +593 -0
- package/src/client/index.ts +712 -0
- package/src/client/partialPayment.ts +153 -0
- package/src/errors.ts +161 -0
- package/src/index.ts +20 -0
- package/src/models/common/index.ts +149 -0
- package/src/models/index.ts +16 -0
- package/src/models/ledger/AMM.ts +78 -0
- package/src/models/ledger/AccountRoot.ts +217 -0
- package/src/models/ledger/Amendments.ts +45 -0
- package/src/models/ledger/BaseLedgerEntry.ts +3 -0
- package/src/models/ledger/Check.ts +70 -0
- package/src/models/ledger/DepositPreauth.ts +35 -0
- package/src/models/ledger/DirectoryNode.ts +46 -0
- package/src/models/ledger/Escrow.ts +74 -0
- package/src/models/ledger/FeeSettings.ts +52 -0
- package/src/models/ledger/Ledger.ts +65 -0
- package/src/models/ledger/LedgerEntry.ts +34 -0
- package/src/models/ledger/LedgerHashes.ts +24 -0
- package/src/models/ledger/NFTokenOffer.ts +16 -0
- package/src/models/ledger/NFTokenPage.ts +20 -0
- package/src/models/ledger/NegativeUNL.ts +34 -0
- package/src/models/ledger/Offer.ts +52 -0
- package/src/models/ledger/PayChannel.ts +107 -0
- package/src/models/ledger/RippleState.ts +88 -0
- package/src/models/ledger/SignerList.ts +56 -0
- package/src/models/ledger/Ticket.ts +36 -0
- package/src/models/ledger/index.ts +58 -0
- package/src/models/methods/accountChannels.ts +93 -0
- package/src/models/methods/accountCurrencies.ts +45 -0
- package/src/models/methods/accountInfo.ts +182 -0
- package/src/models/methods/accountLines.ts +137 -0
- package/src/models/methods/accountNFTs.ts +72 -0
- package/src/models/methods/accountObjects.ts +120 -0
- package/src/models/methods/accountOffers.ts +100 -0
- package/src/models/methods/accountTx.ts +109 -0
- package/src/models/methods/ammInfo.ts +145 -0
- package/src/models/methods/baseMethod.ts +58 -0
- package/src/models/methods/bookOffers.ts +96 -0
- package/src/models/methods/channelVerify.ts +41 -0
- package/src/models/methods/depositAuthorized.ts +56 -0
- package/src/models/methods/fee.ts +91 -0
- package/src/models/methods/gatewayBalances.ts +85 -0
- package/src/models/methods/index.ts +391 -0
- package/src/models/methods/ledger.ts +125 -0
- package/src/models/methods/ledgerClosed.ts +32 -0
- package/src/models/methods/ledgerCurrent.ts +31 -0
- package/src/models/methods/ledgerData.ts +78 -0
- package/src/models/methods/ledgerEntry.ts +177 -0
- package/src/models/methods/manifest.ts +54 -0
- package/src/models/methods/nftBuyOffers.ts +37 -0
- package/src/models/methods/nftHistory.ts +113 -0
- package/src/models/methods/nftInfo.ts +25 -0
- package/src/models/methods/nftSellOffers.ts +37 -0
- package/src/models/methods/norippleCheck.ts +82 -0
- package/src/models/methods/pathFind.ts +116 -0
- package/src/models/methods/ping.ts +21 -0
- package/src/models/methods/random.ts +23 -0
- package/src/models/methods/ripplePathFind.ts +81 -0
- package/src/models/methods/serverInfo.ts +257 -0
- package/src/models/methods/serverState.ts +77 -0
- package/src/models/methods/submit.ts +94 -0
- package/src/models/methods/submitMultisigned.ts +51 -0
- package/src/models/methods/subscribe.ts +435 -0
- package/src/models/methods/transactionEntry.ts +47 -0
- package/src/models/methods/tx.ts +69 -0
- package/src/models/methods/unsubscribe.ts +49 -0
- package/src/models/transactions/AMMBid.ts +140 -0
- package/src/models/transactions/AMMCreate.ts +80 -0
- package/src/models/transactions/AMMDelete.ts +55 -0
- package/src/models/transactions/AMMDeposit.ts +130 -0
- package/src/models/transactions/AMMVote.ts +71 -0
- package/src/models/transactions/AMMWithdraw.ts +126 -0
- package/src/models/transactions/NFTokenAcceptOffer.ts +104 -0
- package/src/models/transactions/NFTokenBurn.ts +48 -0
- package/src/models/transactions/NFTokenCancelOffer.ts +45 -0
- package/src/models/transactions/NFTokenCreateOffer.ts +145 -0
- package/src/models/transactions/NFTokenMint.ts +123 -0
- package/src/models/transactions/UNLModify.ts +20 -0
- package/src/models/transactions/accountDelete.ts +50 -0
- package/src/models/transactions/accountSet.ts +228 -0
- package/src/models/transactions/checkCancel.ts +34 -0
- package/src/models/transactions/checkCash.ts +73 -0
- package/src/models/transactions/checkCreate.ts +90 -0
- package/src/models/transactions/clawback.ts +49 -0
- package/src/models/transactions/common.ts +295 -0
- package/src/models/transactions/depositPreauth.ts +68 -0
- package/src/models/transactions/enableAmendment.ts +26 -0
- package/src/models/transactions/escrowCancel.ts +45 -0
- package/src/models/transactions/escrowCreate.ts +100 -0
- package/src/models/transactions/escrowFinish.ts +63 -0
- package/src/models/transactions/index.ts +66 -0
- package/src/models/transactions/metadata.ts +69 -0
- package/src/models/transactions/offerCancel.ts +37 -0
- package/src/models/transactions/offerCreate.ts +144 -0
- package/src/models/transactions/payment.ts +278 -0
- package/src/models/transactions/paymentChannelClaim.ts +165 -0
- package/src/models/transactions/paymentChannelCreate.ts +116 -0
- package/src/models/transactions/paymentChannelFund.ts +65 -0
- package/src/models/transactions/setFee.ts +48 -0
- package/src/models/transactions/setRegularKey.ts +33 -0
- package/src/models/transactions/signerListSet.ts +89 -0
- package/src/models/transactions/ticketCreate.ts +50 -0
- package/src/models/transactions/transaction.ts +303 -0
- package/src/models/transactions/trustSet.ts +146 -0
- package/src/models/utils/flags.ts +98 -0
- package/src/models/utils/index.ts +37 -0
- package/src/sugar/autofill.ts +373 -0
- package/src/sugar/balances.ts +123 -0
- package/src/sugar/getFeeXrp.ts +45 -0
- package/src/sugar/getLedgerIndex.ts +15 -0
- package/src/sugar/getOrderbook.ts +152 -0
- package/src/sugar/index.ts +11 -0
- package/src/sugar/submit.ts +305 -0
- package/src/sugar/utils.ts +29 -0
- package/src/utils/derive.ts +23 -0
- package/src/utils/getBalanceChanges.ts +186 -0
- package/src/utils/getNFTokenID.ts +97 -0
- package/src/utils/hashes/HashPrefix.ts +40 -0
- package/src/utils/hashes/README.md +65 -0
- package/src/utils/hashes/SHAMap/InnerNode.ts +124 -0
- package/src/utils/hashes/SHAMap/LeafNode.ts +69 -0
- package/src/utils/hashes/SHAMap/index.ts +41 -0
- package/src/utils/hashes/SHAMap/node.ts +14 -0
- package/src/utils/hashes/hashLedger.ts +236 -0
- package/src/utils/hashes/index.ts +187 -0
- package/src/utils/hashes/ledgerSpaces.ts +34 -0
- package/src/utils/hashes/sha512Half.ts +19 -0
- package/src/utils/index.ts +223 -0
- package/src/utils/parseNFTokenID.ts +84 -0
- package/src/utils/quality.ts +169 -0
- package/src/utils/signPaymentChannelClaim.ts +27 -0
- package/src/utils/stringConversion.ts +27 -0
- package/src/utils/timeConversion.ts +53 -0
- package/src/utils/verifyPaymentChannelClaim.ts +30 -0
- package/src/utils/xrpConversion.ts +104 -0
@@ -0,0 +1,20 @@
|
|
1
|
+
import BaseLedgerEntry from './BaseLedgerEntry'
|
2
|
+
|
3
|
+
export interface NFToken {
|
4
|
+
NFToken: {
|
5
|
+
Flags: number
|
6
|
+
Issuer: string
|
7
|
+
NFTokenID: string
|
8
|
+
NFTokenTaxon: number
|
9
|
+
URI?: string
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
export interface NFTokenPage extends BaseLedgerEntry {
|
14
|
+
LedgerEntryType: 'NFTokenPage'
|
15
|
+
NextPageMin?: string
|
16
|
+
NFTokens: NFToken[]
|
17
|
+
PreviousPageMin?: string
|
18
|
+
PreviousTxnID?: string
|
19
|
+
PreviousTxnLgrSeq?: number
|
20
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import BaseLedgerEntry from './BaseLedgerEntry'
|
2
|
+
|
3
|
+
/**
|
4
|
+
* The unique id for the nUNL object https://xrpl.org/negativeunl.html#negativeunl-id-format
|
5
|
+
*/
|
6
|
+
export const NEGATIVE_UNL_ID =
|
7
|
+
'2E8A59AA9D3B5B186B0B9E0F62E6C02587CA74A4D778938E957B6357D364B244'
|
8
|
+
|
9
|
+
/**
|
10
|
+
* The NegativeUNL object type contains the current status of the Negative UNL,
|
11
|
+
* a list of trusted validators currently believed to be offline.
|
12
|
+
*
|
13
|
+
* @category Ledger Entries
|
14
|
+
*/
|
15
|
+
export default interface NegativeUNL extends BaseLedgerEntry {
|
16
|
+
LedgerEntryType: 'NegativeUNL'
|
17
|
+
/**
|
18
|
+
* A list of trusted validators that are currently disabled.
|
19
|
+
*/
|
20
|
+
DisabledValidators?: Array<{
|
21
|
+
FirstLedgerSequence: number
|
22
|
+
PublicKey: string
|
23
|
+
}>
|
24
|
+
/**
|
25
|
+
* The public key of a trusted validator that is scheduled to be disabled in
|
26
|
+
* the next flag ledger.
|
27
|
+
*/
|
28
|
+
ValidatorToDisable?: string
|
29
|
+
/**
|
30
|
+
* The public key of a trusted validator in the Negative UNL that is
|
31
|
+
* scheduled to be re-enabled in the next flag ledger.
|
32
|
+
*/
|
33
|
+
ValidatorToReEnable?: string
|
34
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { Amount } from '../common'
|
2
|
+
|
3
|
+
import BaseLedgerEntry from './BaseLedgerEntry'
|
4
|
+
|
5
|
+
export default interface Offer extends BaseLedgerEntry {
|
6
|
+
LedgerEntryType: 'Offer'
|
7
|
+
/** A bit-map of boolean flags enabled for this Offer. */
|
8
|
+
Flags: number
|
9
|
+
/** The address of the account that placed this Offer. */
|
10
|
+
Account: string
|
11
|
+
/**
|
12
|
+
* The Sequence value of the OfferCreate transaction that created this Offer
|
13
|
+
* object. Used in combination with the Account to identify this Offer.
|
14
|
+
*/
|
15
|
+
Sequence: number
|
16
|
+
/** The remaining amount and type of currency requested by the Offer creator. */
|
17
|
+
TakerPays: Amount
|
18
|
+
/**
|
19
|
+
* The remaining amount and type of currency being provided by the Offer
|
20
|
+
* creator.
|
21
|
+
*/
|
22
|
+
TakerGets: Amount
|
23
|
+
/** The ID of the Offer Directory that links to this Offer. */
|
24
|
+
BookDirectory: string
|
25
|
+
/**
|
26
|
+
* A hint indicating which page of the Offer Directory links to this object,
|
27
|
+
* in case the directory consists of multiple pages.
|
28
|
+
*/
|
29
|
+
BookNode: string
|
30
|
+
/**
|
31
|
+
* A hint indicating which page of the Owner Directory links to this object,
|
32
|
+
* in case the directory consists of multiple pages.
|
33
|
+
*/
|
34
|
+
OwnerNode: string
|
35
|
+
/**
|
36
|
+
* The identifying hash of the transaction that most recently modified this
|
37
|
+
* object.
|
38
|
+
*/
|
39
|
+
PreviousTxnID: string
|
40
|
+
/**
|
41
|
+
* The index of the ledger that contains the transaction that most recently
|
42
|
+
* modified this object.
|
43
|
+
*/
|
44
|
+
PreviousTxnLgrSeq: number
|
45
|
+
/** The time this Offer expires, in seconds since the Ripple Epoch. */
|
46
|
+
Expiration?: number
|
47
|
+
}
|
48
|
+
|
49
|
+
export enum OfferFlags {
|
50
|
+
lsfPassive = 0x00010000,
|
51
|
+
lsfSell = 0x00020000,
|
52
|
+
}
|
@@ -0,0 +1,107 @@
|
|
1
|
+
import BaseLedgerEntry from './BaseLedgerEntry'
|
2
|
+
|
3
|
+
/**
|
4
|
+
* The PayChannel object type represents a payment channel. Payment channels
|
5
|
+
* enable small, rapid off-ledger payments of XRP that can be later reconciled
|
6
|
+
* with the consensus ledger. A payment channel holds a balance of XRP that can
|
7
|
+
* only be paid out to a specific destination address until the channel is
|
8
|
+
* closed.
|
9
|
+
*
|
10
|
+
* @category Ledger Entries
|
11
|
+
*/
|
12
|
+
export default interface PayChannel extends BaseLedgerEntry {
|
13
|
+
LedgerEntryType: 'PayChannel'
|
14
|
+
/**
|
15
|
+
* The source address that owns this payment channel. This comes from the
|
16
|
+
* sending address of the transaction that created the channel.
|
17
|
+
*/
|
18
|
+
Account: string
|
19
|
+
/**
|
20
|
+
* The destination address for this payment channel. While the payment
|
21
|
+
* channel is open, this address is the only one that can receive XRP from the
|
22
|
+
* channel. This comes from the Destination field of the transaction that
|
23
|
+
* created the channel.
|
24
|
+
*/
|
25
|
+
Destination: string
|
26
|
+
/**
|
27
|
+
* Total XRP, in drops, that has been allocated to this channel. This
|
28
|
+
* includes XRP that has been paid to the destination address. This is
|
29
|
+
* initially set by the transaction that created the channel and can be
|
30
|
+
* increased if the source address sends a PaymentChannelFund transaction.
|
31
|
+
*/
|
32
|
+
Amount: string
|
33
|
+
/**
|
34
|
+
* Total XRP, in drops, already paid out by the channel. The difference
|
35
|
+
* between this value and the Amount field is how much XRP can still be paid
|
36
|
+
* to the destination address with PaymentChannelClaim transactions. If the
|
37
|
+
* channel closes, the remaining difference is returned to the source address.
|
38
|
+
*/
|
39
|
+
Balance: string
|
40
|
+
/**
|
41
|
+
* Public key, in hexadecimal, of the key pair that can be used to sign
|
42
|
+
* claims against this channel. This can be any valid secp256k1 or Ed25519
|
43
|
+
* public key. This is set by the transaction that created the channel and
|
44
|
+
* must match the public key used in claims against the channel. The channel
|
45
|
+
* source address can also send XRP from this channel to the destination
|
46
|
+
* without signed claims.
|
47
|
+
*/
|
48
|
+
PublicKey: string
|
49
|
+
/**
|
50
|
+
* Number of seconds the source address must wait to close the channel if
|
51
|
+
* it still has any XRP in it. Smaller values mean that the destination
|
52
|
+
* address has less time to redeem any outstanding claims after the source
|
53
|
+
* address requests to close the channel. Can be any value that fits in a
|
54
|
+
* 32-bit unsigned integer (0 to 2^32-1). This is set by the transaction that
|
55
|
+
* creates the channel.
|
56
|
+
*/
|
57
|
+
SettleDelay: number
|
58
|
+
/**
|
59
|
+
* A hint indicating which page of the source address's owner directory links
|
60
|
+
* to this object, in case the directory consists of multiple pages.
|
61
|
+
*/
|
62
|
+
OwnerNode: string
|
63
|
+
/**
|
64
|
+
* The identifying hash of the transaction that most recently modified this
|
65
|
+
* object.
|
66
|
+
*/
|
67
|
+
PreviousTxnID: string
|
68
|
+
/**
|
69
|
+
* The index of the ledger that contains the transaction that most recently
|
70
|
+
* modified this object.
|
71
|
+
*/
|
72
|
+
PreviousTxnLgrSeq: number
|
73
|
+
/**
|
74
|
+
* A bit-map of boolean flags enabled for this payment channel. Currently,
|
75
|
+
* the protocol defines no flags for PayChannel objects.
|
76
|
+
*/
|
77
|
+
Flags: number
|
78
|
+
/**
|
79
|
+
* The mutable expiration time for this payment channel, in seconds since the
|
80
|
+
* Ripple Epoch. The channel is expired if this value is present and smaller
|
81
|
+
* than the previous ledger's close_time field. See Setting Channel Expiration
|
82
|
+
* for more details.
|
83
|
+
*/
|
84
|
+
Expiration?: number
|
85
|
+
/**
|
86
|
+
* The immutable expiration time for this payment channel, in seconds since
|
87
|
+
* the Ripple Epoch. This channel is expired if this value is present and
|
88
|
+
* smaller than the previous ledger's close_time field. This is optionally
|
89
|
+
* set by the transaction that created the channel, and cannot be changed.
|
90
|
+
*/
|
91
|
+
CancelAfter?: number
|
92
|
+
/**
|
93
|
+
* An arbitrary tag to further specify the source for this payment channel
|
94
|
+
* useful for specifying a hosted recipient at the owner's address.
|
95
|
+
*/
|
96
|
+
SourceTag?: number
|
97
|
+
/**
|
98
|
+
* An arbitrary tag to further specify the destination for this payment
|
99
|
+
* channel, such as a hosted recipient at the destination address.
|
100
|
+
*/
|
101
|
+
DestinationTag?: number
|
102
|
+
/**
|
103
|
+
* A hint indicating which page of the destination's owner directory links to
|
104
|
+
* this object, in case the directory consists of multiple pages.
|
105
|
+
*/
|
106
|
+
DestinationNode?: string
|
107
|
+
}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
import { IssuedCurrencyAmount } from '../common'
|
2
|
+
|
3
|
+
import BaseLedgerEntry from './BaseLedgerEntry'
|
4
|
+
|
5
|
+
/**
|
6
|
+
* The RippleState object type connects two accounts in a single currency.
|
7
|
+
*
|
8
|
+
* @category Ledger Entries
|
9
|
+
*/
|
10
|
+
export default interface RippleState extends BaseLedgerEntry {
|
11
|
+
LedgerEntryType: 'RippleState'
|
12
|
+
/** A bit-map of boolean options enabled for this object. */
|
13
|
+
Flags: number
|
14
|
+
/**
|
15
|
+
* The balance of the trust line, from the perspective of the low account. A
|
16
|
+
* negative balance indicates that the low account has issued currency to the
|
17
|
+
* high account. The issuer is always the neutral value ACCOUNT_ONE.
|
18
|
+
*/
|
19
|
+
Balance: IssuedCurrencyAmount
|
20
|
+
/**
|
21
|
+
* The limit that the low account has set on the trust line. The issuer is
|
22
|
+
* the address of the low account that set this limit.
|
23
|
+
*/
|
24
|
+
LowLimit: IssuedCurrencyAmount
|
25
|
+
/**
|
26
|
+
* The limit that the high account has set on the trust line. The issuer is
|
27
|
+
* the address of the high account that set this limit.
|
28
|
+
*/
|
29
|
+
HighLimit: IssuedCurrencyAmount
|
30
|
+
/**
|
31
|
+
* The identifying hash of the transaction that most recently modified this
|
32
|
+
* object.
|
33
|
+
*/
|
34
|
+
PreviousTxnID: string
|
35
|
+
/**
|
36
|
+
* The index of the ledger that contains the transaction that most recently
|
37
|
+
* modified this object.
|
38
|
+
*/
|
39
|
+
PreviousTxnLgrSeq: number
|
40
|
+
/**
|
41
|
+
* A hint indicating which page of the low account's owner directory links to
|
42
|
+
* this object, in case the directory consists of multiple pages.
|
43
|
+
*/
|
44
|
+
LowNode?: string
|
45
|
+
/**
|
46
|
+
* A hint indicating which page of the high account's owner directory links
|
47
|
+
* to this object, in case the directory consists of multiple pages.
|
48
|
+
*/
|
49
|
+
HighNode?: string
|
50
|
+
/**
|
51
|
+
* The inbound quality set by the low account, as an integer in the implied
|
52
|
+
* ratio LowQualityIn:1,000,000,000. As a special case, the value 0 is
|
53
|
+
* equivalent to 1 billion, or face value.
|
54
|
+
*/
|
55
|
+
LowQualityIn?: number
|
56
|
+
/**
|
57
|
+
* The outbound quality set by the low account, as an integer in the implied
|
58
|
+
* ratio LowQualityOut:1,000,000,000. As a special case, the value 0 is
|
59
|
+
* equivalent to 1 billion, or face value.
|
60
|
+
*/
|
61
|
+
LowQualityOut?: number
|
62
|
+
/**
|
63
|
+
* The inbound quality set by the high account, as an integer in the implied
|
64
|
+
* ratio HighQualityIn:1,000,000,000. As a special case, the value 0 is
|
65
|
+
* equivalent to 1 billion, or face value.
|
66
|
+
*/
|
67
|
+
HighQualityIn?: number
|
68
|
+
/**
|
69
|
+
* The outbound quality set by the high account, as an integer in the implied
|
70
|
+
* ratio HighQualityOut:1,000,000,000. As a special case, the value 0 is
|
71
|
+
* equivalent to 1 billion, or face value.
|
72
|
+
*/
|
73
|
+
HighQualityOut?: number
|
74
|
+
}
|
75
|
+
|
76
|
+
export enum RippleStateFlags {
|
77
|
+
// True, if entry counts toward reserve.
|
78
|
+
lsfLowReserve = 0x00010000,
|
79
|
+
lsfHighReserve = 0x00020000,
|
80
|
+
lsfLowAuth = 0x00040000,
|
81
|
+
lsfHighAuth = 0x00080000,
|
82
|
+
lsfLowNoRipple = 0x00100000,
|
83
|
+
lsfHighNoRipple = 0x00200000,
|
84
|
+
// True, low side has set freeze flag
|
85
|
+
lsfLowFreeze = 0x00400000,
|
86
|
+
// True, high side has set freeze flag
|
87
|
+
lsfHighFreeze = 0x00800000,
|
88
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { SignerEntry } from '../common'
|
2
|
+
|
3
|
+
import BaseLedgerEntry from './BaseLedgerEntry'
|
4
|
+
|
5
|
+
/**
|
6
|
+
* The SignerList object type represents a list of parties that, as a group,
|
7
|
+
* are authorized to sign a transaction in place of an individual account. You
|
8
|
+
* can create, replace, or remove a signer list using a SignerListSet
|
9
|
+
* transaction.
|
10
|
+
*
|
11
|
+
* @category Ledger Entries
|
12
|
+
*/
|
13
|
+
export default interface SignerList extends BaseLedgerEntry {
|
14
|
+
LedgerEntryType: 'SignerList'
|
15
|
+
/**
|
16
|
+
* A bit-map of Boolean flags enabled for this signer list. For more
|
17
|
+
* information, see SignerList Flags.
|
18
|
+
*/
|
19
|
+
Flags: number
|
20
|
+
/**
|
21
|
+
* The identifying hash of the transaction that most recently modified this
|
22
|
+
* object.
|
23
|
+
*/
|
24
|
+
PreviousTxnID: string
|
25
|
+
/**
|
26
|
+
* The index of the ledger that contains the transaction that most recently
|
27
|
+
* modified this object.
|
28
|
+
*/
|
29
|
+
PreviousTxnLgrSeq: number
|
30
|
+
/**
|
31
|
+
* A hint indicating which page of the owner directory links to this object,
|
32
|
+
* in case the directory consists of multiple pages.
|
33
|
+
*/
|
34
|
+
OwnerNode: string
|
35
|
+
/**
|
36
|
+
* An array of Signer Entry objects representing the parties who are part of
|
37
|
+
* this signer list.
|
38
|
+
*/
|
39
|
+
SignerEntries: SignerEntry[]
|
40
|
+
/**
|
41
|
+
* An ID for this signer list. Currently always set to 0. If a future
|
42
|
+
* amendment allows multiple signer lists for an account, this may change.
|
43
|
+
*/
|
44
|
+
SignerListID: number
|
45
|
+
/**
|
46
|
+
* A target number for signer weights. To produce a valid signature for the
|
47
|
+
* owner of this SignerList, the signers must provide valid signatures whose
|
48
|
+
* weights sum to this value or more.
|
49
|
+
*/
|
50
|
+
SignerQuorum: number
|
51
|
+
}
|
52
|
+
|
53
|
+
export enum SignerListFlags {
|
54
|
+
// True, uses only one OwnerCount
|
55
|
+
lsfOneOwnerCount = 0x00010000,
|
56
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import BaseLedgerEntry from './BaseLedgerEntry'
|
2
|
+
|
3
|
+
/**
|
4
|
+
* The Ticket object type represents a Ticket, which tracks an account sequence
|
5
|
+
* number that has been set aside for future use. You can create new tickets
|
6
|
+
* with a TicketCreate transaction.
|
7
|
+
*
|
8
|
+
* @category Ledger Entries
|
9
|
+
*/
|
10
|
+
export default interface Ticket extends BaseLedgerEntry {
|
11
|
+
LedgerEntryType: 'Ticket'
|
12
|
+
/** The account that owns this Ticket. */
|
13
|
+
Account: string
|
14
|
+
/**
|
15
|
+
* A bit-map of Boolean flags enabled for this Ticket. Currently, there are
|
16
|
+
* no flags defined for Tickets.
|
17
|
+
*/
|
18
|
+
Flags: number
|
19
|
+
/**
|
20
|
+
* A hint indicating which page of the owner directory links to this object,
|
21
|
+
* in case the directory consists of multiple pages.
|
22
|
+
*/
|
23
|
+
OwnerNode: string
|
24
|
+
/**
|
25
|
+
* The identifying hash of the transaction that most recently modified this
|
26
|
+
* object.
|
27
|
+
*/
|
28
|
+
PreviousTxnID: string
|
29
|
+
/**
|
30
|
+
* The index of the ledger that contains the transaction that most recently
|
31
|
+
* modified this object.
|
32
|
+
*/
|
33
|
+
PreviousTxnLgrSeq: number
|
34
|
+
/** The Sequence Number this Ticket sets aside. */
|
35
|
+
TicketSequence: number
|
36
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import AccountRoot, {
|
2
|
+
AccountRootFlags,
|
3
|
+
AccountRootFlagsInterface,
|
4
|
+
} from './AccountRoot'
|
5
|
+
import Amendments, { Majority, AMENDMENTS_ID } from './Amendments'
|
6
|
+
import Check from './Check'
|
7
|
+
import DepositPreauth from './DepositPreauth'
|
8
|
+
import DirectoryNode from './DirectoryNode'
|
9
|
+
import Escrow from './Escrow'
|
10
|
+
import FeeSettings, {
|
11
|
+
FeeSettingsPreAmendmentFields,
|
12
|
+
FeeSettingsPostAmendmentFields,
|
13
|
+
FEE_SETTINGS_ID,
|
14
|
+
} from './FeeSettings'
|
15
|
+
import Ledger from './Ledger'
|
16
|
+
import LedgerEntry from './LedgerEntry'
|
17
|
+
import LedgerHashes from './LedgerHashes'
|
18
|
+
import NegativeUNL, { NEGATIVE_UNL_ID } from './NegativeUNL'
|
19
|
+
import { NFTokenOffer } from './NFTokenOffer'
|
20
|
+
import { NFToken, NFTokenPage } from './NFTokenPage'
|
21
|
+
import Offer, { OfferFlags } from './Offer'
|
22
|
+
import PayChannel from './PayChannel'
|
23
|
+
import RippleState, { RippleStateFlags } from './RippleState'
|
24
|
+
import SignerList, { SignerListFlags } from './SignerList'
|
25
|
+
import Ticket from './Ticket'
|
26
|
+
|
27
|
+
export {
|
28
|
+
AccountRoot,
|
29
|
+
AccountRootFlags,
|
30
|
+
AccountRootFlagsInterface,
|
31
|
+
AMENDMENTS_ID,
|
32
|
+
Amendments,
|
33
|
+
Check,
|
34
|
+
DepositPreauth,
|
35
|
+
DirectoryNode,
|
36
|
+
Escrow,
|
37
|
+
FEE_SETTINGS_ID,
|
38
|
+
FeeSettings,
|
39
|
+
FeeSettingsPreAmendmentFields,
|
40
|
+
FeeSettingsPostAmendmentFields,
|
41
|
+
Ledger,
|
42
|
+
LedgerEntry,
|
43
|
+
LedgerHashes,
|
44
|
+
Majority,
|
45
|
+
NEGATIVE_UNL_ID,
|
46
|
+
NegativeUNL,
|
47
|
+
NFTokenOffer,
|
48
|
+
NFTokenPage,
|
49
|
+
NFToken,
|
50
|
+
Offer,
|
51
|
+
OfferFlags,
|
52
|
+
PayChannel,
|
53
|
+
RippleState,
|
54
|
+
RippleStateFlags,
|
55
|
+
SignerList,
|
56
|
+
SignerListFlags,
|
57
|
+
Ticket,
|
58
|
+
}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
import { BaseRequest, BaseResponse, LookupByLedgerRequest } from './baseMethod'
|
2
|
+
|
3
|
+
export interface Channel {
|
4
|
+
account: string
|
5
|
+
amount: string
|
6
|
+
balance: string
|
7
|
+
channel_id: string
|
8
|
+
destination_account: string
|
9
|
+
settle_delay: number
|
10
|
+
public_key?: string
|
11
|
+
public_key_hex?: string
|
12
|
+
expiration?: number
|
13
|
+
cancel_after?: number
|
14
|
+
source_tab?: number
|
15
|
+
destination_tag?: number
|
16
|
+
}
|
17
|
+
|
18
|
+
/**
|
19
|
+
* The account_channels method returns information about an account's Payment
|
20
|
+
* Channels. This includes only channels where the specified account is the
|
21
|
+
* channel's source, not the destination. (A channel's "source" and "owner" are
|
22
|
+
* the same.) All information retrieved is relative to a particular version of
|
23
|
+
* the ledger. Returns an {@link AccountChannelsResponse}.
|
24
|
+
*
|
25
|
+
* @category Requests
|
26
|
+
*/
|
27
|
+
export interface AccountChannelsRequest
|
28
|
+
extends BaseRequest,
|
29
|
+
LookupByLedgerRequest {
|
30
|
+
command: 'account_channels'
|
31
|
+
/**
|
32
|
+
* The unique identifier of an account, typically the account's address. The
|
33
|
+
* request returns channels where this account is the channel's owner/source.
|
34
|
+
*
|
35
|
+
*/
|
36
|
+
account: string
|
37
|
+
/**
|
38
|
+
* The unique identifier of an account, typically the account's address. If
|
39
|
+
* provided, filter results to payment channels whose destination is this
|
40
|
+
* account.
|
41
|
+
*/
|
42
|
+
destination_account?: string
|
43
|
+
/**
|
44
|
+
* Limit the number of transactions to retrieve. Cannot be less than 10 or
|
45
|
+
* more than 400. The default is 200.
|
46
|
+
*/
|
47
|
+
limit?: number
|
48
|
+
/**
|
49
|
+
* Value from a previous paginated response. Resume retrieving data where
|
50
|
+
* that response left off.
|
51
|
+
*/
|
52
|
+
marker?: unknown
|
53
|
+
}
|
54
|
+
|
55
|
+
/**
|
56
|
+
* The expected response from an {@link AccountChannelsRequest}.
|
57
|
+
*
|
58
|
+
* @category Responses
|
59
|
+
*/
|
60
|
+
export interface AccountChannelsResponse extends BaseResponse {
|
61
|
+
result: {
|
62
|
+
/**
|
63
|
+
* The address of the source/owner of the payment channels. This
|
64
|
+
* corresponds to the account field of the request.
|
65
|
+
*/
|
66
|
+
account: string
|
67
|
+
/** Payment channels owned by this account. */
|
68
|
+
channels: Channel[]
|
69
|
+
/**
|
70
|
+
* The identifying hash of the ledger version used to generate this
|
71
|
+
* response.
|
72
|
+
*/
|
73
|
+
ledger_hash: string
|
74
|
+
/** The ledger index of the ledger version used to generate this response. */
|
75
|
+
ledger_index: number
|
76
|
+
/**
|
77
|
+
* If true, the information in this response comes from a validated ledger
|
78
|
+
* version. Otherwise, the information is subject to change.
|
79
|
+
*/
|
80
|
+
validated?: boolean
|
81
|
+
/**
|
82
|
+
* The limit to how many channel objects were actually returned by this
|
83
|
+
* request.
|
84
|
+
*/
|
85
|
+
limit?: number
|
86
|
+
/**
|
87
|
+
* Server-defined value for pagination. Pass this to the next call to
|
88
|
+
* resume getting results where this call left off. Omitted when there are
|
89
|
+
* no additional pages after this one.
|
90
|
+
*/
|
91
|
+
marker?: unknown
|
92
|
+
}
|
93
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { BaseRequest, BaseResponse, LookupByLedgerRequest } from './baseMethod'
|
2
|
+
|
3
|
+
/**
|
4
|
+
* The `account_currencies` command retrieves a list of currencies that an
|
5
|
+
* account can send or receive, based on its trust lines. Expects an
|
6
|
+
* {@link AccountCurrenciesResponse}.
|
7
|
+
*
|
8
|
+
* @category Requests
|
9
|
+
*/
|
10
|
+
export interface AccountCurrenciesRequest
|
11
|
+
extends BaseRequest,
|
12
|
+
LookupByLedgerRequest {
|
13
|
+
command: 'account_currencies'
|
14
|
+
/** A unique identifier for the account, most commonly the account's address. */
|
15
|
+
account: string
|
16
|
+
/**
|
17
|
+
* If true, then the account field only accepts a public key or XRP Ledger
|
18
|
+
* address. Otherwise, account can be a secret or passphrase (not
|
19
|
+
* recommended). The default is false.
|
20
|
+
*/
|
21
|
+
strict?: boolean
|
22
|
+
}
|
23
|
+
|
24
|
+
/**
|
25
|
+
* The expected response from an {@link AccountCurrenciesRequest}.
|
26
|
+
*
|
27
|
+
* @category Responses
|
28
|
+
*/
|
29
|
+
export interface AccountCurrenciesResponse extends BaseResponse {
|
30
|
+
result: {
|
31
|
+
/**
|
32
|
+
* The identifying hash of the ledger version used to retrieve this data,
|
33
|
+
* as hex.
|
34
|
+
*/
|
35
|
+
ledger_hash?: string
|
36
|
+
/** The ledger index of the ledger version used to retrieve this data. */
|
37
|
+
ledger_index: number
|
38
|
+
/** Array of Currency Codes for currencies that this account can receive. */
|
39
|
+
receive_currencies: string[]
|
40
|
+
/** Array of Currency Codes for currencies that this account can send. */
|
41
|
+
send_currencies: string[]
|
42
|
+
/** If true, this data comes from a validated ledger. */
|
43
|
+
validated: boolean
|
44
|
+
}
|
45
|
+
}
|