riplle-lib 1.10.1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +15 -0
- package/README.md +149 -0
- package/a4lpwwp5.cjs +1 -0
- package/build/ripple-latest-min.js +2 -0
- package/build/ripple-latest.js +5181 -0
- package/dist/npm/api.d.ts +272 -0
- package/dist/npm/api.d.ts.map +1 -0
- package/dist/npm/api.js +276 -0
- package/dist/npm/api.js.map +1 -0
- package/dist/npm/broadcast.d.ts +10 -0
- package/dist/npm/broadcast.d.ts.map +1 -0
- package/dist/npm/broadcast.js +67 -0
- package/dist/npm/broadcast.js.map +1 -0
- package/dist/npm/common/backoff.d.ts +14 -0
- package/dist/npm/common/backoff.d.ts.map +1 -0
- package/dist/npm/common/backoff.js +26 -0
- package/dist/npm/common/backoff.js.map +1 -0
- package/dist/npm/common/browser-hacks.d.ts +4 -0
- package/dist/npm/common/browser-hacks.d.ts.map +1 -0
- package/dist/npm/common/browser-hacks.js +21 -0
- package/dist/npm/common/browser-hacks.js.map +1 -0
- package/dist/npm/common/connection.d.ts +50 -0
- package/dist/npm/common/connection.d.ts.map +1 -0
- package/dist/npm/common/connection.js +467 -0
- package/dist/npm/common/connection.js.map +1 -0
- package/dist/npm/common/constants.d.ts +62 -0
- package/dist/npm/common/constants.d.ts.map +1 -0
- package/dist/npm/common/constants.js +54 -0
- package/dist/npm/common/constants.js.map +1 -0
- package/dist/npm/common/errors.d.ts +41 -0
- package/dist/npm/common/errors.d.ts.map +1 -0
- package/dist/npm/common/errors.js +101 -0
- package/dist/npm/common/errors.js.map +1 -0
- package/dist/npm/common/hashes/hash-prefix.d.ts +12 -0
- package/dist/npm/common/hashes/hash-prefix.d.ts.map +1 -0
- package/dist/npm/common/hashes/hash-prefix.js +15 -0
- package/dist/npm/common/hashes/hash-prefix.js.map +1 -0
- package/dist/npm/common/hashes/index.d.ts +13 -0
- package/dist/npm/common/hashes/index.d.ts.map +1 -0
- package/dist/npm/common/hashes/index.js +129 -0
- package/dist/npm/common/hashes/index.js.map +1 -0
- package/dist/npm/common/hashes/ledgerspaces.d.ts +21 -0
- package/dist/npm/common/hashes/ledgerspaces.d.ts.map +1 -0
- package/dist/npm/common/hashes/ledgerspaces.js +22 -0
- package/dist/npm/common/hashes/ledgerspaces.js.map +1 -0
- package/dist/npm/common/hashes/sha512Half.d.ts +3 -0
- package/dist/npm/common/hashes/sha512Half.d.ts.map +1 -0
- package/dist/npm/common/hashes/sha512Half.js +12 -0
- package/dist/npm/common/hashes/sha512Half.js.map +1 -0
- package/dist/npm/common/hashes/shamap.d.ts +38 -0
- package/dist/npm/common/hashes/shamap.d.ts.map +1 -0
- package/dist/npm/common/hashes/shamap.js +121 -0
- package/dist/npm/common/hashes/shamap.js.map +1 -0
- package/dist/npm/common/index.d.ts +10 -0
- package/dist/npm/common/index.d.ts.map +1 -0
- package/dist/npm/common/index.js +57 -0
- package/dist/npm/common/index.js.map +1 -0
- package/dist/npm/common/rangeset.d.ts +13 -0
- package/dist/npm/common/rangeset.d.ts.map +1 -0
- package/dist/npm/common/rangeset.js +72 -0
- package/dist/npm/common/rangeset.js.map +1 -0
- package/dist/npm/common/schema-validator.d.ts +5 -0
- package/dist/npm/common/schema-validator.d.ts.map +1 -0
- package/dist/npm/common/schema-validator.js +190 -0
- package/dist/npm/common/schema-validator.js.map +1 -0
- package/dist/npm/common/schemas/input/api-options.json +69 -0
- package/dist/npm/common/schemas/input/combine.json +19 -0
- package/dist/npm/common/schemas/input/compute-ledger-hash.json +13 -0
- package/dist/npm/common/schemas/input/generate-address.json +37 -0
- package/dist/npm/common/schemas/input/generate-x-address.json +37 -0
- package/dist/npm/common/schemas/input/get-account-info.json +24 -0
- package/dist/npm/common/schemas/input/get-account-objects.json +56 -0
- package/dist/npm/common/schemas/input/get-balance-sheet.json +30 -0
- package/dist/npm/common/schemas/input/get-balances.json +37 -0
- package/dist/npm/common/schemas/input/get-fee.json +13 -0
- package/dist/npm/common/schemas/input/get-ledger.json +35 -0
- package/dist/npm/common/schemas/input/get-orderbook.json +33 -0
- package/dist/npm/common/schemas/input/get-orders.json +29 -0
- package/dist/npm/common/schemas/input/get-paths.json +69 -0
- package/dist/npm/common/schemas/input/get-payment-channel.json +14 -0
- package/dist/npm/common/schemas/input/get-settings.json +24 -0
- package/dist/npm/common/schemas/input/get-transaction.json +28 -0
- package/dist/npm/common/schemas/input/get-transactions.json +71 -0
- package/dist/npm/common/schemas/input/get-trustlines.json +37 -0
- package/dist/npm/common/schemas/input/prepare-check-cancel.json +18 -0
- package/dist/npm/common/schemas/input/prepare-check-cash.json +18 -0
- package/dist/npm/common/schemas/input/prepare-check-create.json +18 -0
- package/dist/npm/common/schemas/input/prepare-escrow-cancellation.json +18 -0
- package/dist/npm/common/schemas/input/prepare-escrow-creation.json +18 -0
- package/dist/npm/common/schemas/input/prepare-escrow-execution.json +18 -0
- package/dist/npm/common/schemas/input/prepare-order-cancellation.json +18 -0
- package/dist/npm/common/schemas/input/prepare-order.json +18 -0
- package/dist/npm/common/schemas/input/prepare-payment-channel-claim.json +18 -0
- package/dist/npm/common/schemas/input/prepare-payment-channel-create.json +18 -0
- package/dist/npm/common/schemas/input/prepare-payment-channel-fund.json +18 -0
- package/dist/npm/common/schemas/input/prepare-payment.json +18 -0
- package/dist/npm/common/schemas/input/prepare-settings.json +18 -0
- package/dist/npm/common/schemas/input/prepare-ticket-create.json +18 -0
- package/dist/npm/common/schemas/input/prepare-trustline.json +18 -0
- package/dist/npm/common/schemas/input/sign-payment-channel-claim.json +21 -0
- package/dist/npm/common/schemas/input/sign.json +55 -0
- package/dist/npm/common/schemas/input/submit.json +17 -0
- package/dist/npm/common/schemas/input/verify-payment-channel-claim.json +25 -0
- package/dist/npm/common/schemas/objects/address.json +12 -0
- package/dist/npm/common/schemas/objects/adjustment.json +12 -0
- package/dist/npm/common/schemas/objects/amount.json +10 -0
- package/dist/npm/common/schemas/objects/amountbase.json +44 -0
- package/dist/npm/common/schemas/objects/balance.json +45 -0
- package/dist/npm/common/schemas/objects/blob.json +8 -0
- package/dist/npm/common/schemas/objects/classic-address.json +9 -0
- package/dist/npm/common/schemas/objects/currency.json +8 -0
- package/dist/npm/common/schemas/objects/destination-address-tag.json +15 -0
- package/dist/npm/common/schemas/objects/destination-adjustment.json +9 -0
- package/dist/npm/common/schemas/objects/destination-exact-adjustment.json +18 -0
- package/dist/npm/common/schemas/objects/hash128.json +7 -0
- package/dist/npm/common/schemas/objects/hash256.json +7 -0
- package/dist/npm/common/schemas/objects/instructions.json +59 -0
- package/dist/npm/common/schemas/objects/issue.json +9 -0
- package/dist/npm/common/schemas/objects/lax-amount.json +14 -0
- package/dist/npm/common/schemas/objects/lax-lax-amount.json +14 -0
- package/dist/npm/common/schemas/objects/ledger-version.json +15 -0
- package/dist/npm/common/schemas/objects/max-adjustment.json +18 -0
- package/dist/npm/common/schemas/objects/memo.json +25 -0
- package/dist/npm/common/schemas/objects/memos.json +10 -0
- package/dist/npm/common/schemas/objects/min-adjustment.json +18 -0
- package/dist/npm/common/schemas/objects/orderbook.json +11 -0
- package/dist/npm/common/schemas/objects/private-key.json +7 -0
- package/dist/npm/common/schemas/objects/public-key.json +7 -0
- package/dist/npm/common/schemas/objects/quality.json +8 -0
- package/dist/npm/common/schemas/objects/sequence.json +8 -0
- package/dist/npm/common/schemas/objects/settings-plus-memos.json +120 -0
- package/dist/npm/common/schemas/objects/signature.json +7 -0
- package/dist/npm/common/schemas/objects/signed-value.json +8 -0
- package/dist/npm/common/schemas/objects/source-adjustment.json +9 -0
- package/dist/npm/common/schemas/objects/source-exact-adjustment.json +18 -0
- package/dist/npm/common/schemas/objects/tag.json +7 -0
- package/dist/npm/common/schemas/objects/ticket-sequence.json +8 -0
- package/dist/npm/common/schemas/objects/transaction-hash.json +8 -0
- package/dist/npm/common/schemas/objects/transaction-type.json +25 -0
- package/dist/npm/common/schemas/objects/tx-json.json +12 -0
- package/dist/npm/common/schemas/objects/uint32.json +8 -0
- package/dist/npm/common/schemas/objects/value.json +8 -0
- package/dist/npm/common/schemas/objects/x-address.json +9 -0
- package/dist/npm/common/schemas/output/generate-address.json +26 -0
- package/dist/npm/common/schemas/output/generate-x-address.json +18 -0
- package/dist/npm/common/schemas/output/get-account-info.json +40 -0
- package/dist/npm/common/schemas/output/get-account-objects.json +48 -0
- package/dist/npm/common/schemas/output/get-balance-sheet.json +33 -0
- package/dist/npm/common/schemas/output/get-balances.json +6 -0
- package/dist/npm/common/schemas/output/get-ledger.json +90 -0
- package/dist/npm/common/schemas/output/get-orderbook.json +17 -0
- package/dist/npm/common/schemas/output/get-orders.json +36 -0
- package/dist/npm/common/schemas/output/get-paths.json +24 -0
- package/dist/npm/common/schemas/output/get-payment-channel.json +67 -0
- package/dist/npm/common/schemas/output/get-server-info.json +117 -0
- package/dist/npm/common/schemas/output/get-settings.json +8 -0
- package/dist/npm/common/schemas/output/get-transaction.json +237 -0
- package/dist/npm/common/schemas/output/get-transactions.json +8 -0
- package/dist/npm/common/schemas/output/get-trustlines.json +49 -0
- package/dist/npm/common/schemas/output/ledger-event.json +46 -0
- package/dist/npm/common/schemas/output/order-change.json +40 -0
- package/dist/npm/common/schemas/output/orderbook-orders.json +58 -0
- package/dist/npm/common/schemas/output/outcome.json +57 -0
- package/dist/npm/common/schemas/output/prepare.json +47 -0
- package/dist/npm/common/schemas/output/sign-payment-channel-claim.json +7 -0
- package/dist/npm/common/schemas/output/sign.json +18 -0
- package/dist/npm/common/schemas/output/submit.json +37 -0
- package/dist/npm/common/schemas/output/verify-payment-channel-claim.json +6 -0
- package/dist/npm/common/schemas/specifications/account-delete.json +30 -0
- package/dist/npm/common/schemas/specifications/check-cancel.json +15 -0
- package/dist/npm/common/schemas/specifications/check-cash.json +27 -0
- package/dist/npm/common/schemas/specifications/check-create.json +32 -0
- package/dist/npm/common/schemas/specifications/deposit-preauth.json +22 -0
- package/dist/npm/common/schemas/specifications/escrow-cancellation.json +19 -0
- package/dist/npm/common/schemas/specifications/escrow-creation.json +42 -0
- package/dist/npm/common/schemas/specifications/escrow-execution.json +29 -0
- package/dist/npm/common/schemas/specifications/get-payment.json +39 -0
- package/dist/npm/common/schemas/specifications/order-cancellation.json +15 -0
- package/dist/npm/common/schemas/specifications/order.json +49 -0
- package/dist/npm/common/schemas/specifications/payment-channel-claim.json +39 -0
- package/dist/npm/common/schemas/specifications/payment-channel-create.json +40 -0
- package/dist/npm/common/schemas/specifications/payment-channel-fund.json +24 -0
- package/dist/npm/common/schemas/specifications/payment.json +39 -0
- package/dist/npm/common/schemas/specifications/settings.json +20 -0
- package/dist/npm/common/schemas/specifications/trustline.json +43 -0
- package/dist/npm/common/serverinfo.d.ts +34 -0
- package/dist/npm/common/serverinfo.d.ts.map +1 -0
- package/dist/npm/common/serverinfo.js +63 -0
- package/dist/npm/common/serverinfo.js.map +1 -0
- package/dist/npm/common/txflags.d.ts +51 -0
- package/dist/npm/common/txflags.d.ts.map +1 -0
- package/dist/npm/common/txflags.js +55 -0
- package/dist/npm/common/txflags.js.map +1 -0
- package/dist/npm/common/types/commands/account_info.d.ts +18 -0
- package/dist/npm/common/types/commands/account_info.d.ts.map +1 -0
- package/dist/npm/common/types/commands/account_info.js +3 -0
- package/dist/npm/common/types/commands/account_info.js.map +1 -0
- package/dist/npm/common/types/commands/account_lines.d.ts +18 -0
- package/dist/npm/common/types/commands/account_lines.d.ts.map +1 -0
- package/dist/npm/common/types/commands/account_lines.js +3 -0
- package/dist/npm/common/types/commands/account_lines.js.map +1 -0
- package/dist/npm/common/types/commands/account_objects.d.ts +27 -0
- package/dist/npm/common/types/commands/account_objects.d.ts.map +1 -0
- package/dist/npm/common/types/commands/account_objects.js +3 -0
- package/dist/npm/common/types/commands/account_objects.js.map +1 -0
- package/dist/npm/common/types/commands/account_offers.d.ts +25 -0
- package/dist/npm/common/types/commands/account_offers.d.ts.map +1 -0
- package/dist/npm/common/types/commands/account_offers.js +3 -0
- package/dist/npm/common/types/commands/account_offers.js.map +1 -0
- package/dist/npm/common/types/commands/book_offers.d.ts +24 -0
- package/dist/npm/common/types/commands/book_offers.d.ts.map +1 -0
- package/dist/npm/common/types/commands/book_offers.js +3 -0
- package/dist/npm/common/types/commands/book_offers.js.map +1 -0
- package/dist/npm/common/types/commands/gateway_balances.d.ts +24 -0
- package/dist/npm/common/types/commands/gateway_balances.d.ts.map +1 -0
- package/dist/npm/common/types/commands/gateway_balances.js +3 -0
- package/dist/npm/common/types/commands/gateway_balances.js.map +1 -0
- package/dist/npm/common/types/commands/index.d.ts +11 -0
- package/dist/npm/common/types/commands/index.d.ts.map +1 -0
- package/dist/npm/common/types/commands/index.js +23 -0
- package/dist/npm/common/types/commands/index.js.map +1 -0
- package/dist/npm/common/types/commands/ledger.d.ts +19 -0
- package/dist/npm/common/types/commands/ledger.d.ts.map +1 -0
- package/dist/npm/common/types/commands/ledger.js +3 -0
- package/dist/npm/common/types/commands/ledger.js.map +1 -0
- package/dist/npm/common/types/commands/ledger_data.d.ts +11 -0
- package/dist/npm/common/types/commands/ledger_data.d.ts.map +1 -0
- package/dist/npm/common/types/commands/ledger_data.js +3 -0
- package/dist/npm/common/types/commands/ledger_data.js.map +1 -0
- package/dist/npm/common/types/commands/ledger_entry.d.ts +30 -0
- package/dist/npm/common/types/commands/ledger_entry.d.ts.map +1 -0
- package/dist/npm/common/types/commands/ledger_entry.js +3 -0
- package/dist/npm/common/types/commands/ledger_entry.js.map +1 -0
- package/dist/npm/common/types/commands/server_info.d.ts +50 -0
- package/dist/npm/common/types/commands/server_info.d.ts.map +1 -0
- package/dist/npm/common/types/commands/server_info.js +3 -0
- package/dist/npm/common/types/commands/server_info.js.map +1 -0
- package/dist/npm/common/types/objects/adjustments.d.ts +17 -0
- package/dist/npm/common/types/objects/adjustments.d.ts.map +1 -0
- package/dist/npm/common/types/objects/adjustments.js +3 -0
- package/dist/npm/common/types/objects/adjustments.js.map +1 -0
- package/dist/npm/common/types/objects/amounts.d.ts +14 -0
- package/dist/npm/common/types/objects/amounts.d.ts.map +1 -0
- package/dist/npm/common/types/objects/amounts.js +3 -0
- package/dist/npm/common/types/objects/amounts.js.map +1 -0
- package/dist/npm/common/types/objects/index.d.ts +13 -0
- package/dist/npm/common/types/objects/index.d.ts.map +1 -0
- package/dist/npm/common/types/objects/index.js +25 -0
- package/dist/npm/common/types/objects/index.js.map +1 -0
- package/dist/npm/common/types/objects/ledger.d.ts +30 -0
- package/dist/npm/common/types/objects/ledger.d.ts.map +1 -0
- package/dist/npm/common/types/objects/ledger.js +3 -0
- package/dist/npm/common/types/objects/ledger.js.map +1 -0
- package/dist/npm/common/types/objects/ledger_data.d.ts +11 -0
- package/dist/npm/common/types/objects/ledger_data.d.ts.map +1 -0
- package/dist/npm/common/types/objects/ledger_data.js +3 -0
- package/dist/npm/common/types/objects/ledger_data.js.map +1 -0
- package/dist/npm/common/types/objects/ledger_entries.d.ts +159 -0
- package/dist/npm/common/types/objects/ledger_entries.d.ts.map +1 -0
- package/dist/npm/common/types/objects/ledger_entries.js +3 -0
- package/dist/npm/common/types/objects/ledger_entries.js.map +1 -0
- package/dist/npm/common/types/objects/memos.d.ts +6 -0
- package/dist/npm/common/types/objects/memos.d.ts.map +1 -0
- package/dist/npm/common/types/objects/memos.js +3 -0
- package/dist/npm/common/types/objects/memos.js.map +1 -0
- package/dist/npm/common/types/objects/orders.d.ts +14 -0
- package/dist/npm/common/types/objects/orders.d.ts.map +1 -0
- package/dist/npm/common/types/objects/orders.js +3 -0
- package/dist/npm/common/types/objects/orders.js.map +1 -0
- package/dist/npm/common/types/objects/queue_data.d.ts +16 -0
- package/dist/npm/common/types/objects/queue_data.d.ts.map +1 -0
- package/dist/npm/common/types/objects/queue_data.js +3 -0
- package/dist/npm/common/types/objects/queue_data.js.map +1 -0
- package/dist/npm/common/types/objects/settings.d.ts +31 -0
- package/dist/npm/common/types/objects/settings.d.ts.map +1 -0
- package/dist/npm/common/types/objects/settings.js +3 -0
- package/dist/npm/common/types/objects/settings.js.map +1 -0
- package/dist/npm/common/types/objects/signers.d.ts +7 -0
- package/dist/npm/common/types/objects/signers.d.ts.map +1 -0
- package/dist/npm/common/types/objects/signers.js +3 -0
- package/dist/npm/common/types/objects/signers.js.map +1 -0
- package/dist/npm/common/types/objects/transactions.d.ts +22 -0
- package/dist/npm/common/types/objects/transactions.d.ts.map +1 -0
- package/dist/npm/common/types/objects/transactions.js +3 -0
- package/dist/npm/common/types/objects/transactions.js.map +1 -0
- package/dist/npm/common/types/objects/trustlines.d.ts +40 -0
- package/dist/npm/common/types/objects/trustlines.d.ts.map +1 -0
- package/dist/npm/common/types/objects/trustlines.js +3 -0
- package/dist/npm/common/types/objects/trustlines.js.map +1 -0
- package/dist/npm/common/utils.d.ts +12 -0
- package/dist/npm/common/utils.d.ts.map +1 -0
- package/dist/npm/common/utils.js +157 -0
- package/dist/npm/common/utils.js.map +1 -0
- package/dist/npm/common/validate.d.ts +38 -0
- package/dist/npm/common/validate.d.ts.map +1 -0
- package/dist/npm/common/validate.js +79 -0
- package/dist/npm/common/validate.js.map +1 -0
- package/dist/npm/common/wswrapper.d.ts +15 -0
- package/dist/npm/common/wswrapper.d.ts.map +1 -0
- package/dist/npm/common/wswrapper.js +38 -0
- package/dist/npm/common/wswrapper.js.map +1 -0
- package/dist/npm/index.d.ts +6 -0
- package/dist/npm/index.d.ts.map +1 -0
- package/dist/npm/index.js +19 -0
- package/dist/npm/index.js.map +1 -0
- package/dist/npm/ledger/accountinfo.d.ts +14 -0
- package/dist/npm/ledger/accountinfo.d.ts.map +1 -0
- package/dist/npm/ledger/accountinfo.js +36 -0
- package/dist/npm/ledger/accountinfo.js.map +1 -0
- package/dist/npm/ledger/accountobjects.d.ts +4 -0
- package/dist/npm/ledger/accountobjects.d.ts.map +1 -0
- package/dist/npm/ledger/accountobjects.js +27 -0
- package/dist/npm/ledger/accountobjects.js.map +1 -0
- package/dist/npm/ledger/balance-sheet.d.ts +17 -0
- package/dist/npm/ledger/balance-sheet.d.ts.map +1 -0
- package/dist/npm/ledger/balance-sheet.js +52 -0
- package/dist/npm/ledger/balance-sheet.js.map +1 -0
- package/dist/npm/ledger/balances.d.ts +11 -0
- package/dist/npm/ledger/balances.d.ts.map +1 -0
- package/dist/npm/ledger/balances.js +61 -0
- package/dist/npm/ledger/balances.js.map +1 -0
- package/dist/npm/ledger/ledger.d.ts +12 -0
- package/dist/npm/ledger/ledger.d.ts.map +1 -0
- package/dist/npm/ledger/ledger.js +28 -0
- package/dist/npm/ledger/ledger.js.map +1 -0
- package/dist/npm/ledger/orderbook.d.ts +22 -0
- package/dist/npm/ledger/orderbook.d.ts.map +1 -0
- package/dist/npm/ledger/orderbook.js +100 -0
- package/dist/npm/ledger/orderbook.js.map +1 -0
- package/dist/npm/ledger/orders.d.ts +8 -0
- package/dist/npm/ledger/orders.d.ts.map +1 -0
- package/dist/npm/ledger/orders.js +56 -0
- package/dist/npm/ledger/orders.js.map +1 -0
- package/dist/npm/ledger/parse/account-delete.d.ts +8 -0
- package/dist/npm/ledger/parse/account-delete.d.ts.map +1 -0
- package/dist/npm/ledger/parse/account-delete.js +36 -0
- package/dist/npm/ledger/parse/account-delete.js.map +1 -0
- package/dist/npm/ledger/parse/account-order.d.ts +11 -0
- package/dist/npm/ledger/parse/account-order.d.ts.map +1 -0
- package/dist/npm/ledger/parse/account-order.js +40 -0
- package/dist/npm/ledger/parse/account-order.js.map +1 -0
- package/dist/npm/ledger/parse/account-trustline.d.ts +4 -0
- package/dist/npm/ledger/parse/account-trustline.d.ts.map +1 -0
- package/dist/npm/ledger/parse/account-trustline.js +28 -0
- package/dist/npm/ledger/parse/account-trustline.js.map +1 -0
- package/dist/npm/ledger/parse/amendment.d.ts +5 -0
- package/dist/npm/ledger/parse/amendment.d.ts.map +1 -0
- package/dist/npm/ledger/parse/amendment.js +9 -0
- package/dist/npm/ledger/parse/amendment.js.map +1 -0
- package/dist/npm/ledger/parse/amount.d.ts +4 -0
- package/dist/npm/ledger/parse/amount.d.ts.map +1 -0
- package/dist/npm/ledger/parse/amount.js +37 -0
- package/dist/npm/ledger/parse/amount.js.map +1 -0
- package/dist/npm/ledger/parse/cancellation.d.ts +3 -0
- package/dist/npm/ledger/parse/cancellation.d.ts.map +1 -0
- package/dist/npm/ledger/parse/cancellation.js +32 -0
- package/dist/npm/ledger/parse/cancellation.js.map +1 -0
- package/dist/npm/ledger/parse/check-cancel.d.ts +6 -0
- package/dist/npm/ledger/parse/check-cancel.d.ts.map +1 -0
- package/dist/npm/ledger/parse/check-cancel.js +33 -0
- package/dist/npm/ledger/parse/check-cancel.js.map +1 -0
- package/dist/npm/ledger/parse/check-cash.d.ts +9 -0
- package/dist/npm/ledger/parse/check-cash.d.ts.map +1 -0
- package/dist/npm/ledger/parse/check-cash.js +39 -0
- package/dist/npm/ledger/parse/check-cash.js.map +1 -0
- package/dist/npm/ledger/parse/check-create.d.ts +11 -0
- package/dist/npm/ledger/parse/check-create.d.ts.map +1 -0
- package/dist/npm/ledger/parse/check-create.js +42 -0
- package/dist/npm/ledger/parse/check-create.js.map +1 -0
- package/dist/npm/ledger/parse/deposit-preauth.d.ts +7 -0
- package/dist/npm/ledger/parse/deposit-preauth.d.ts.map +1 -0
- package/dist/npm/ledger/parse/deposit-preauth.js +34 -0
- package/dist/npm/ledger/parse/deposit-preauth.js.map +1 -0
- package/dist/npm/ledger/parse/escrow-cancellation.d.ts +3 -0
- package/dist/npm/ledger/parse/escrow-cancellation.d.ts.map +1 -0
- package/dist/npm/ledger/parse/escrow-cancellation.js +34 -0
- package/dist/npm/ledger/parse/escrow-cancellation.js.map +1 -0
- package/dist/npm/ledger/parse/escrow-creation.d.ts +3 -0
- package/dist/npm/ledger/parse/escrow-creation.d.ts.map +1 -0
- package/dist/npm/ledger/parse/escrow-creation.js +43 -0
- package/dist/npm/ledger/parse/escrow-creation.js.map +1 -0
- package/dist/npm/ledger/parse/escrow-execution.d.ts +3 -0
- package/dist/npm/ledger/parse/escrow-execution.d.ts.map +1 -0
- package/dist/npm/ledger/parse/escrow-execution.js +36 -0
- package/dist/npm/ledger/parse/escrow-execution.js.map +1 -0
- package/dist/npm/ledger/parse/fee-update.d.ts +9 -0
- package/dist/npm/ledger/parse/fee-update.d.ts.map +1 -0
- package/dist/npm/ledger/parse/fee-update.js +20 -0
- package/dist/npm/ledger/parse/fee-update.js.map +1 -0
- package/dist/npm/ledger/parse/fields.d.ts +3 -0
- package/dist/npm/ledger/parse/fields.d.ts.map +1 -0
- package/dist/npm/ledger/parse/fields.js +47 -0
- package/dist/npm/ledger/parse/fields.js.map +1 -0
- package/dist/npm/ledger/parse/flags.d.ts +16 -0
- package/dist/npm/ledger/parse/flags.d.ts.map +1 -0
- package/dist/npm/ledger/parse/flags.js +20 -0
- package/dist/npm/ledger/parse/flags.js.map +1 -0
- package/dist/npm/ledger/parse/ledger.d.ts +19 -0
- package/dist/npm/ledger/parse/ledger.d.ts.map +1 -0
- package/dist/npm/ledger/parse/ledger.js +76 -0
- package/dist/npm/ledger/parse/ledger.js.map +1 -0
- package/dist/npm/ledger/parse/order.d.ts +4 -0
- package/dist/npm/ledger/parse/order.d.ts.map +1 -0
- package/dist/npm/ledger/parse/order.js +50 -0
- package/dist/npm/ledger/parse/order.js.map +1 -0
- package/dist/npm/ledger/parse/orderbook-order.d.ts +17 -0
- package/dist/npm/ledger/parse/orderbook-order.d.ts.map +1 -0
- package/dist/npm/ledger/parse/orderbook-order.js +63 -0
- package/dist/npm/ledger/parse/orderbook-order.js.map +1 -0
- package/dist/npm/ledger/parse/pathfind.d.ts +4 -0
- package/dist/npm/ledger/parse/pathfind.d.ts.map +1 -0
- package/dist/npm/ledger/parse/pathfind.js +63 -0
- package/dist/npm/ledger/parse/pathfind.js.map +1 -0
- package/dist/npm/ledger/parse/payment-channel-claim.d.ts +3 -0
- package/dist/npm/ledger/parse/payment-channel-claim.d.ts.map +1 -0
- package/dist/npm/ledger/parse/payment-channel-claim.js +44 -0
- package/dist/npm/ledger/parse/payment-channel-claim.js.map +1 -0
- package/dist/npm/ledger/parse/payment-channel-create.d.ts +3 -0
- package/dist/npm/ledger/parse/payment-channel-create.d.ts.map +1 -0
- package/dist/npm/ledger/parse/payment-channel-create.js +43 -0
- package/dist/npm/ledger/parse/payment-channel-create.js.map +1 -0
- package/dist/npm/ledger/parse/payment-channel-fund.d.ts +3 -0
- package/dist/npm/ledger/parse/payment-channel-fund.d.ts.map +1 -0
- package/dist/npm/ledger/parse/payment-channel-fund.js +39 -0
- package/dist/npm/ledger/parse/payment-channel-fund.js.map +1 -0
- package/dist/npm/ledger/parse/payment-channel.d.ts +17 -0
- package/dist/npm/ledger/parse/payment-channel.d.ts.map +1 -0
- package/dist/npm/ledger/parse/payment-channel.js +24 -0
- package/dist/npm/ledger/parse/payment-channel.js.map +1 -0
- package/dist/npm/ledger/parse/payment.d.ts +3 -0
- package/dist/npm/ledger/parse/payment.d.ts.map +1 -0
- package/dist/npm/ledger/parse/payment.js +64 -0
- package/dist/npm/ledger/parse/payment.js.map +1 -0
- package/dist/npm/ledger/parse/settings.d.ts +3 -0
- package/dist/npm/ledger/parse/settings.d.ts.map +1 -0
- package/dist/npm/ledger/parse/settings.js +75 -0
- package/dist/npm/ledger/parse/settings.js.map +1 -0
- package/dist/npm/ledger/parse/ticket-create.d.ts +3 -0
- package/dist/npm/ledger/parse/ticket-create.d.ts.map +1 -0
- package/dist/npm/ledger/parse/ticket-create.js +33 -0
- package/dist/npm/ledger/parse/ticket-create.js.map +1 -0
- package/dist/npm/ledger/parse/transaction.d.ts +3 -0
- package/dist/npm/ledger/parse/transaction.d.ts.map +1 -0
- package/dist/npm/ledger/parse/transaction.js +98 -0
- package/dist/npm/ledger/parse/transaction.js.map +1 -0
- package/dist/npm/ledger/parse/trustline.d.ts +3 -0
- package/dist/npm/ledger/parse/trustline.d.ts.map +1 -0
- package/dist/npm/ledger/parse/trustline.js +50 -0
- package/dist/npm/ledger/parse/trustline.js.map +1 -0
- package/dist/npm/ledger/parse/utils.d.ts +10 -0
- package/dist/npm/ledger/parse/utils.d.ts.map +1 -0
- package/dist/npm/ledger/parse/utils.js +136 -0
- package/dist/npm/ledger/parse/utils.js.map +1 -0
- package/dist/npm/ledger/pathfind-types.d.ts +60 -0
- package/dist/npm/ledger/pathfind-types.d.ts.map +1 -0
- package/dist/npm/ledger/pathfind-types.js +3 -0
- package/dist/npm/ledger/pathfind-types.js.map +1 -0
- package/dist/npm/ledger/pathfind.d.ts +5 -0
- package/dist/npm/ledger/pathfind.d.ts.map +1 -0
- package/dist/npm/ledger/pathfind.js +141 -0
- package/dist/npm/ledger/pathfind.js.map +1 -0
- package/dist/npm/ledger/payment-channel.d.ts +5 -0
- package/dist/npm/ledger/payment-channel.d.ts.map +1 -0
- package/dist/npm/ledger/payment-channel.js +34 -0
- package/dist/npm/ledger/payment-channel.js.map +1 -0
- package/dist/npm/ledger/settings.d.ts +11 -0
- package/dist/npm/ledger/settings.d.ts.map +1 -0
- package/dist/npm/ledger/settings.js +53 -0
- package/dist/npm/ledger/settings.js.map +1 -0
- package/dist/npm/ledger/transaction.d.ts +10 -0
- package/dist/npm/ledger/transaction.d.ts.map +1 -0
- package/dist/npm/ledger/transaction.js +126 -0
- package/dist/npm/ledger/transaction.js.map +1 -0
- package/dist/npm/ledger/transactions.d.ts +20 -0
- package/dist/npm/ledger/transactions.d.ts.map +1 -0
- package/dist/npm/ledger/transactions.js +156 -0
- package/dist/npm/ledger/transactions.js.map +1 -0
- package/dist/npm/ledger/trustlines.d.ts +11 -0
- package/dist/npm/ledger/trustlines.d.ts.map +1 -0
- package/dist/npm/ledger/trustlines.js +58 -0
- package/dist/npm/ledger/trustlines.js.map +1 -0
- package/dist/npm/ledger/utils.d.ts +33 -0
- package/dist/npm/ledger/utils.d.ts.map +1 -0
- package/dist/npm/ledger/utils.js +107 -0
- package/dist/npm/ledger/utils.js.map +1 -0
- package/dist/npm/offline/derive.d.ts +8 -0
- package/dist/npm/offline/derive.d.ts.map +1 -0
- package/dist/npm/offline/derive.js +13 -0
- package/dist/npm/offline/derive.js.map +1 -0
- package/dist/npm/offline/generate-address.d.ts +15 -0
- package/dist/npm/offline/generate-address.d.ts.map +1 -0
- package/dist/npm/offline/generate-address.js +37 -0
- package/dist/npm/offline/generate-address.js.map +1 -0
- package/dist/npm/offline/ledgerhash.d.ts +6 -0
- package/dist/npm/offline/ledgerhash.d.ts.map +1 -0
- package/dist/npm/offline/ledgerhash.js +104 -0
- package/dist/npm/offline/ledgerhash.js.map +1 -0
- package/dist/npm/offline/sign-payment-channel-claim.d.ts +3 -0
- package/dist/npm/offline/sign-payment-channel-claim.d.ts.map +1 -0
- package/dist/npm/offline/sign-payment-channel-claim.js +38 -0
- package/dist/npm/offline/sign-payment-channel-claim.js.map +1 -0
- package/dist/npm/offline/utils.d.ts +10 -0
- package/dist/npm/offline/utils.d.ts.map +1 -0
- package/dist/npm/offline/utils.js +43 -0
- package/dist/npm/offline/utils.js.map +1 -0
- package/dist/npm/offline/verify-payment-channel-claim.d.ts +3 -0
- package/dist/npm/offline/verify-payment-channel-claim.d.ts.map +1 -0
- package/dist/npm/offline/verify-payment-channel-claim.js +18 -0
- package/dist/npm/offline/verify-payment-channel-claim.js.map +1 -0
- package/dist/npm/server/server.d.ts +8 -0
- package/dist/npm/server/server.d.ts.map +1 -0
- package/dist/npm/server/server.js +66 -0
- package/dist/npm/server/server.js.map +1 -0
- package/dist/npm/transaction/check-cancel.d.ts +8 -0
- package/dist/npm/transaction/check-cancel.d.ts.map +1 -0
- package/dist/npm/transaction/check-cancel.js +24 -0
- package/dist/npm/transaction/check-cancel.js.map +1 -0
- package/dist/npm/transaction/check-cash.d.ts +11 -0
- package/dist/npm/transaction/check-cash.d.ts.map +1 -0
- package/dist/npm/transaction/check-cash.js +55 -0
- package/dist/npm/transaction/check-cash.js.map +1 -0
- package/dist/npm/transaction/check-create.d.ts +13 -0
- package/dist/npm/transaction/check-create.d.ts.map +1 -0
- package/dist/npm/transaction/check-create.js +54 -0
- package/dist/npm/transaction/check-create.js.map +1 -0
- package/dist/npm/transaction/combine.d.ts +3 -0
- package/dist/npm/transaction/combine.d.ts.map +1 -0
- package/dist/npm/transaction/combine.js +62 -0
- package/dist/npm/transaction/combine.js.map +1 -0
- package/dist/npm/transaction/escrow-cancellation.d.ts +11 -0
- package/dist/npm/transaction/escrow-cancellation.d.ts.map +1 -0
- package/dist/npm/transaction/escrow-cancellation.js +46 -0
- package/dist/npm/transaction/escrow-cancellation.js.map +1 -0
- package/dist/npm/transaction/escrow-creation.d.ts +16 -0
- package/dist/npm/transaction/escrow-creation.d.ts.map +1 -0
- package/dist/npm/transaction/escrow-creation.js +69 -0
- package/dist/npm/transaction/escrow-creation.js.map +1 -0
- package/dist/npm/transaction/escrow-execution.d.ts +13 -0
- package/dist/npm/transaction/escrow-execution.d.ts.map +1 -0
- package/dist/npm/transaction/escrow-execution.js +58 -0
- package/dist/npm/transaction/escrow-execution.js.map +1 -0
- package/dist/npm/transaction/order.d.ts +6 -0
- package/dist/npm/transaction/order.d.ts.map +1 -0
- package/dist/npm/transaction/order.js +69 -0
- package/dist/npm/transaction/order.js.map +1 -0
- package/dist/npm/transaction/ordercancellation.d.ts +5 -0
- package/dist/npm/transaction/ordercancellation.d.ts.map +1 -0
- package/dist/npm/transaction/ordercancellation.js +50 -0
- package/dist/npm/transaction/ordercancellation.js.map +1 -0
- package/dist/npm/transaction/payment-channel-claim.d.ts +14 -0
- package/dist/npm/transaction/payment-channel-claim.d.ts.map +1 -0
- package/dist/npm/transaction/payment-channel-claim.js +76 -0
- package/dist/npm/transaction/payment-channel-claim.js.map +1 -0
- package/dist/npm/transaction/payment-channel-create.d.ts +14 -0
- package/dist/npm/transaction/payment-channel-create.d.ts.map +1 -0
- package/dist/npm/transaction/payment-channel-create.js +59 -0
- package/dist/npm/transaction/payment-channel-create.js.map +1 -0
- package/dist/npm/transaction/payment-channel-fund.d.ts +10 -0
- package/dist/npm/transaction/payment-channel-fund.d.ts.map +1 -0
- package/dist/npm/transaction/payment-channel-fund.js +51 -0
- package/dist/npm/transaction/payment-channel-fund.js.map +1 -0
- package/dist/npm/transaction/payment.d.ts +16 -0
- package/dist/npm/transaction/payment.d.ts.map +1 -0
- package/dist/npm/transaction/payment.js +163 -0
- package/dist/npm/transaction/payment.js.map +1 -0
- package/dist/npm/transaction/settings.d.ts +6 -0
- package/dist/npm/transaction/settings.d.ts.map +1 -0
- package/dist/npm/transaction/settings.js +130 -0
- package/dist/npm/transaction/settings.js.map +1 -0
- package/dist/npm/transaction/sign.d.ts +8 -0
- package/dist/npm/transaction/sign.d.ts.map +1 -0
- package/dist/npm/transaction/sign.js +173 -0
- package/dist/npm/transaction/sign.js.map +1 -0
- package/dist/npm/transaction/submit.d.ts +8 -0
- package/dist/npm/transaction/submit.d.ts.map +1 -0
- package/dist/npm/transaction/submit.js +59 -0
- package/dist/npm/transaction/submit.js.map +1 -0
- package/dist/npm/transaction/ticket.d.ts +9 -0
- package/dist/npm/transaction/ticket.d.ts.map +1 -0
- package/dist/npm/transaction/ticket.js +46 -0
- package/dist/npm/transaction/ticket.js.map +1 -0
- package/dist/npm/transaction/trustline.d.ts +6 -0
- package/dist/npm/transaction/trustline.d.ts.map +1 -0
- package/dist/npm/transaction/trustline.js +82 -0
- package/dist/npm/transaction/trustline.js.map +1 -0
- package/dist/npm/transaction/types.d.ts +138 -0
- package/dist/npm/transaction/types.d.ts.map +1 -0
- package/dist/npm/transaction/types.js +3 -0
- package/dist/npm/transaction/types.js.map +1 -0
- package/dist/npm/transaction/utils.d.ts +22 -0
- package/dist/npm/transaction/utils.d.ts.map +1 -0
- package/dist/npm/transaction/utils.js +285 -0
- package/dist/npm/transaction/utils.js.map +1 -0
- package/dist/npm/tsconfig.tsbuildinfo +4230 -0
- package/dist/npm/wallet/wallet-generation.d.ts +15 -0
- package/dist/npm/wallet/wallet-generation.d.ts.map +1 -0
- package/dist/npm/wallet/wallet-generation.js +150 -0
- package/dist/npm/wallet/wallet-generation.js.map +1 -0
- package/package.json +84 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "generateAddressParameters",
|
4
|
+
"type": "object",
|
5
|
+
"properties": {
|
6
|
+
"options": {
|
7
|
+
"type": "object",
|
8
|
+
"description": "Options to control how the address and secret are generated.",
|
9
|
+
"properties": {
|
10
|
+
"entropy": {
|
11
|
+
"type": "array",
|
12
|
+
"items": {
|
13
|
+
"type": "integer",
|
14
|
+
"minimum": 0,
|
15
|
+
"maximum": 255
|
16
|
+
},
|
17
|
+
"description": "The entropy to use to generate the seed. Must be an array of length 16 with values from 0-255 (16 bytes of entropy)"
|
18
|
+
},
|
19
|
+
"algorithm": {
|
20
|
+
"type": "string",
|
21
|
+
"enum": ["ecdsa-secp256k1", "ed25519"],
|
22
|
+
"description": "The digital signature algorithm to generate an address for. Can be `ecdsa-secp256k1` (default) or `ed25519`."
|
23
|
+
},
|
24
|
+
"test": {
|
25
|
+
"type": "boolean",
|
26
|
+
"description": "Specifies whether the address is intended for use on a test network such as Testnet or Devnet. If `true`, the address should only be used for testing, and starts with `T`. If `false`, the address should only be used on Mainnet, and starts with `X`."
|
27
|
+
},
|
28
|
+
"includeClassicAddress": {
|
29
|
+
"type": "boolean",
|
30
|
+
"description": "If `true`, also return the classic address."
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"additionalProperties": false
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"additionalProperties": false
|
37
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "generateXAddressParameters",
|
4
|
+
"type": "object",
|
5
|
+
"properties": {
|
6
|
+
"options": {
|
7
|
+
"type": "object",
|
8
|
+
"description": "Options to control how the address and secret are generated.",
|
9
|
+
"properties": {
|
10
|
+
"entropy": {
|
11
|
+
"type": "array",
|
12
|
+
"items": {
|
13
|
+
"type": "integer",
|
14
|
+
"minimum": 0,
|
15
|
+
"maximum": 255
|
16
|
+
},
|
17
|
+
"description": "The entropy to use to generate the seed. Must be an array of length 16 with values from 0-255 (16 bytes of entropy)"
|
18
|
+
},
|
19
|
+
"algorithm": {
|
20
|
+
"type": "string",
|
21
|
+
"enum": ["ecdsa-secp256k1", "ed25519"],
|
22
|
+
"description": "The digital signature algorithm to generate an address for. Can be `ecdsa-secp256k1` (default) or `ed25519`."
|
23
|
+
},
|
24
|
+
"test": {
|
25
|
+
"type": "boolean",
|
26
|
+
"description": "Specifies whether the address is intended for use on a test network such as Testnet or Devnet. If `true`, the address should only be used for testing, and starts with `T`. If `false`, the address should only be used on Mainnet, and starts with `X`."
|
27
|
+
},
|
28
|
+
"includeClassicAddress": {
|
29
|
+
"type": "boolean",
|
30
|
+
"description": "Specifies whether the classic address should also be included in the returned payload."
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"additionalProperties": false
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"additionalProperties": false
|
37
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getAccountInfoParameters",
|
4
|
+
"description": "Parameters for getAccountInfo",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"address": {
|
8
|
+
"$ref": "address",
|
9
|
+
"description": "The address of the account to get the account info of."
|
10
|
+
},
|
11
|
+
"options": {
|
12
|
+
"description": "Options that affect what to return.",
|
13
|
+
"properties": {
|
14
|
+
"ledgerVersion": {
|
15
|
+
"$ref": "ledgerVersion",
|
16
|
+
"description": "Get the account info as of this historical ledger version."
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"additionalProperties": false
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"required": ["address"],
|
23
|
+
"additionalProperties": false
|
24
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getAccountObjectsOptions",
|
4
|
+
"description": "Request options for getAccountObjects",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"address": {
|
8
|
+
"$ref": "address",
|
9
|
+
"description": "The address of the account to get the account objects of."
|
10
|
+
},
|
11
|
+
"options": {
|
12
|
+
"description": "Options that affect what to return.",
|
13
|
+
"properties": {
|
14
|
+
"type": {
|
15
|
+
"type": "string",
|
16
|
+
"enum": [
|
17
|
+
"check",
|
18
|
+
"escrow",
|
19
|
+
"offer",
|
20
|
+
"payment_channel",
|
21
|
+
"signer_list",
|
22
|
+
"state"
|
23
|
+
],
|
24
|
+
"description":
|
25
|
+
"(Optional) Filter results to include only this type of ledger object. The valid types are: `check`, `escrow`, `offer`, `payment_channel`, `signer_list`, and `state` (trust line)."
|
26
|
+
},
|
27
|
+
"ledgerHash": {
|
28
|
+
"type": "string",
|
29
|
+
"description":
|
30
|
+
"(Optional) A 20-byte hex string for the ledger version to use."
|
31
|
+
},
|
32
|
+
"ledgerIndex": {
|
33
|
+
"oneOf": [
|
34
|
+
{
|
35
|
+
"$ref": "ledgerVersion"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"type": "string"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"description":
|
42
|
+
"(Optional) The sequence number of the ledger to use, or a shortcut string to choose a ledger automatically."
|
43
|
+
},
|
44
|
+
"limit": {
|
45
|
+
"type": "integer",
|
46
|
+
"minimum": 1,
|
47
|
+
"description":
|
48
|
+
"(Optional) The maximum number of objects to include in the results."
|
49
|
+
}
|
50
|
+
},
|
51
|
+
"additionalProperties": false
|
52
|
+
}
|
53
|
+
},
|
54
|
+
"required": ["address"],
|
55
|
+
"additionalProperties": false
|
56
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getBalanceSheetParameters",
|
4
|
+
"description": "Parameters for getBalanceSheet",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"address": {
|
8
|
+
"$ref": "address",
|
9
|
+
"description": "The XRP Ledger address of the account to get the balance sheet of."
|
10
|
+
},
|
11
|
+
"options": {
|
12
|
+
"properties": {
|
13
|
+
"excludeAddresses": {
|
14
|
+
"type": "array",
|
15
|
+
"items": {"$ref": "address"},
|
16
|
+
"uniqueItems": true,
|
17
|
+
"description": "Addresses to exclude from the balance totals."
|
18
|
+
},
|
19
|
+
"ledgerVersion": {
|
20
|
+
"$ref": "ledgerVersion",
|
21
|
+
"description": "Get the balance sheet as of this historical ledger version."
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"description": "Options to determine how the balances are calculated.",
|
25
|
+
"additionalProperties": false
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"additionalProperties": false,
|
29
|
+
"required": ["address"]
|
30
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getBalancesParameters",
|
4
|
+
"description": "Parameters for getBalances",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"address": {
|
8
|
+
"$ref": "address",
|
9
|
+
"description": "The address of the account to get balances for."
|
10
|
+
},
|
11
|
+
"options": {
|
12
|
+
"description": "Options to filter and determine which balances to return.",
|
13
|
+
"properties": {
|
14
|
+
"counterparty": {
|
15
|
+
"$ref": "address",
|
16
|
+
"description": "Only return balances with this counterparty."
|
17
|
+
},
|
18
|
+
"currency": {
|
19
|
+
"$ref": "currency",
|
20
|
+
"description": "Only return balances for this currency."
|
21
|
+
},
|
22
|
+
"limit": {
|
23
|
+
"type": "integer",
|
24
|
+
"minimum": 1,
|
25
|
+
"description": "Return at most this many balances."
|
26
|
+
},
|
27
|
+
"ledgerVersion": {
|
28
|
+
"$ref": "ledgerVersion",
|
29
|
+
"description": "Return balances as they were in this historical ledger version."
|
30
|
+
}
|
31
|
+
},
|
32
|
+
"additionalProperties": false
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"additionalProperties": false,
|
36
|
+
"required": ["address"]
|
37
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getFeeParameters",
|
4
|
+
"description": "Parameters for getFee",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"cushion": {
|
8
|
+
"type": "number",
|
9
|
+
"description": "The fee is the product of the base fee, the `load_factor`, and this cushion. Default is provided by the `RippleAPI` constructor's `feeCushion`."
|
10
|
+
}
|
11
|
+
},
|
12
|
+
"additionalProperties": false
|
13
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getLedgerParameters",
|
4
|
+
"description": "Parameters for getLedger",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"options": {
|
8
|
+
"description": "Options affecting what ledger and how much data to return.",
|
9
|
+
"properties": {
|
10
|
+
"ledgerHash": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "Get ledger data for this historical ledger hash."
|
13
|
+
},
|
14
|
+
"ledgerVersion": {
|
15
|
+
"$ref": "ledgerVersion",
|
16
|
+
"description": "Get ledger data for this historical ledger version."
|
17
|
+
},
|
18
|
+
"includeAllData": {
|
19
|
+
"type": "boolean",
|
20
|
+
"description": "Include the details of the transactions or state information if `includeTransactions` or `includeState` is set."
|
21
|
+
},
|
22
|
+
"includeTransactions": {
|
23
|
+
"type": "boolean",
|
24
|
+
"description": "Return an array of transactions in this ledger. By default, provides the identifying hashes for each transaction. If `includeAllData` is true, include the entire transaction JSON for each transaction instead."
|
25
|
+
},
|
26
|
+
"includeState": {
|
27
|
+
"type": "boolean",
|
28
|
+
"description": "Return an array of state data in this ledger. By default, provides the identifying hashes of state data. If `includeAllData` is true, return the state data in JSON form instead. **Admin required:** This is a very large amount of data."
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"additionalProperties": false
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"additionalProperties": false
|
35
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getOrderbookParameters",
|
4
|
+
"description": "Parameters for getOrderbook",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"address": {
|
8
|
+
"$ref": "address",
|
9
|
+
"description": "Address of an account to use as point-of-view. (This affects which unfunded offers are returned.)"
|
10
|
+
},
|
11
|
+
"orderbook": {
|
12
|
+
"$ref": "orderbook",
|
13
|
+
"description": "The order book to get."
|
14
|
+
},
|
15
|
+
"options": {
|
16
|
+
"description": "Options to determine what to return.",
|
17
|
+
"properties": {
|
18
|
+
"limit": {
|
19
|
+
"type": "integer",
|
20
|
+
"minimum": 1,
|
21
|
+
"description": "Return at most this many orders from the order book."
|
22
|
+
},
|
23
|
+
"ledgerVersion": {
|
24
|
+
"$ref": "ledgerVersion",
|
25
|
+
"description": "Return the order book as of this historical ledger version."
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"additionalProperties": false
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"required": ["address", "orderbook"],
|
32
|
+
"additionalProperties": false
|
33
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getOrdersParameters",
|
4
|
+
"description": "Parameters for getOrders",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"address": {
|
8
|
+
"$ref": "address",
|
9
|
+
"description": "The XRP Ledger address of the account to get open orders for."
|
10
|
+
},
|
11
|
+
"options": {
|
12
|
+
"description": "Options that determine what orders to return.",
|
13
|
+
"properties": {
|
14
|
+
"limit": {
|
15
|
+
"type": "integer",
|
16
|
+
"minimum": 1,
|
17
|
+
"description": "Return at most this many orders."
|
18
|
+
},
|
19
|
+
"ledgerVersion": {
|
20
|
+
"$ref": "ledgerVersion",
|
21
|
+
"description": "Return orders as of this historical ledger version."
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"additionalProperties": false
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"required": ["address"],
|
28
|
+
"additionalProperties": false
|
29
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getPathsParameters",
|
4
|
+
"type": "object",
|
5
|
+
"properties": {
|
6
|
+
"pathfind": {
|
7
|
+
"description": "Specification of a pathfind request.",
|
8
|
+
"properties": {
|
9
|
+
"source": {
|
10
|
+
"description": "Properties of the source of funds.",
|
11
|
+
"type": "object",
|
12
|
+
"properties": {
|
13
|
+
"address": {
|
14
|
+
"$ref": "address",
|
15
|
+
"description": "The XRP Ledger address of the planned sender."
|
16
|
+
},
|
17
|
+
"amount": {
|
18
|
+
"$ref": "laxAmount",
|
19
|
+
"description": "The amount of funds to send."
|
20
|
+
},
|
21
|
+
"currencies": {
|
22
|
+
"description": "An array of currencies (with optional counterparty) that may be used in the payment paths.",
|
23
|
+
"type": "array",
|
24
|
+
"items": {
|
25
|
+
"description": "A currency with optional counterparty.",
|
26
|
+
"type": "object",
|
27
|
+
"properties": {
|
28
|
+
"currency": {"$ref": "currency"},
|
29
|
+
"counterparty": {
|
30
|
+
"$ref": "address",
|
31
|
+
"description": "The counterparty for the currency; if omitted any counterparty may be used."
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"required": ["currency"],
|
35
|
+
"additionalProperties": false
|
36
|
+
},
|
37
|
+
"uniqueItems": true
|
38
|
+
}
|
39
|
+
},
|
40
|
+
"not": {
|
41
|
+
"required": ["amount", "currencies"]
|
42
|
+
},
|
43
|
+
"additionalProperties": false,
|
44
|
+
"required": ["address"]
|
45
|
+
},
|
46
|
+
"destination": {
|
47
|
+
"description": "Properties of the destination of funds.",
|
48
|
+
"type": "object",
|
49
|
+
"properties": {
|
50
|
+
"address": {
|
51
|
+
"$ref": "address",
|
52
|
+
"description": "An address representing the destination of the transaction."
|
53
|
+
},
|
54
|
+
"amount": {
|
55
|
+
"$ref": "laxLaxAmount",
|
56
|
+
"description": "The amount to be received by the receiver (`value` may be ommitted if a source amount is specified)."
|
57
|
+
}
|
58
|
+
},
|
59
|
+
"required": ["address", "amount"],
|
60
|
+
"additionalProperties": false
|
61
|
+
}
|
62
|
+
},
|
63
|
+
"required": ["source", "destination"],
|
64
|
+
"additionalProperties": false
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"additionalProperties": false,
|
68
|
+
"required": ["pathfind"]
|
69
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getPaymentChannelParameters",
|
4
|
+
"description": "Parameters for getPaymentChannel",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"id": {
|
8
|
+
"$ref": "hash256",
|
9
|
+
"description": "256-bit hexadecimal channel identifier."
|
10
|
+
}
|
11
|
+
},
|
12
|
+
"additionalProperties": false,
|
13
|
+
"required": ["id"]
|
14
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getSettingsParameters",
|
4
|
+
"description": "Parameters for getSettings",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"address": {
|
8
|
+
"$ref": "address",
|
9
|
+
"description": "The address of the account to get the settings of."
|
10
|
+
},
|
11
|
+
"options": {
|
12
|
+
"description": "Options that affect what to return.",
|
13
|
+
"properties": {
|
14
|
+
"ledgerVersion": {
|
15
|
+
"$ref": "ledgerVersion",
|
16
|
+
"description": "Get the settings as of this historical ledger version."
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"additionalProperties": false
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"required": ["address"],
|
23
|
+
"additionalProperties": false
|
24
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getTransactionParameters",
|
4
|
+
"description": "Parameters for getTransaction",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"id": {"$ref": "transactionHash"},
|
8
|
+
"options": {
|
9
|
+
"description": "Options to limit the ledger versions to search or include raw transaction data.",
|
10
|
+
"properties": {
|
11
|
+
"minLedgerVersion": {
|
12
|
+
"$ref": "ledgerVersion",
|
13
|
+
"description": "The lowest ledger version to search. This must be an integer greater than 0, or one of the following strings: 'validated', 'closed', 'current'."
|
14
|
+
},
|
15
|
+
"maxLedgerVersion": {
|
16
|
+
"$ref": "ledgerVersion",
|
17
|
+
"description": "The highest ledger version to search. This must be an integer greater than 0, or one of the following strings: 'validated', 'closed', 'current'."
|
18
|
+
},
|
19
|
+
"includeRawTransaction": {
|
20
|
+
"description": "Include raw transaction data. For advanced users; exercise caution when interpreting this data."
|
21
|
+
}
|
22
|
+
},
|
23
|
+
"additionalProperties": false
|
24
|
+
}
|
25
|
+
},
|
26
|
+
"additionalProperties": false,
|
27
|
+
"required": ["id"]
|
28
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getTransactionsParameters",
|
4
|
+
"description": "Parameters for getTransactions",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"address": {
|
8
|
+
"$ref": "address",
|
9
|
+
"description": "The address of the account to get transactions for."
|
10
|
+
},
|
11
|
+
"options": {
|
12
|
+
"description": "Options to filter the resulting transactions.",
|
13
|
+
"properties": {
|
14
|
+
"start": {
|
15
|
+
"$ref": "hash256",
|
16
|
+
"description": "If specified, start the results from this transaction. You cannot use `start` with `minLedgerVersion` or `maxLedgerVersion`. When `start` is specified, these ledger versions are determined internally."
|
17
|
+
},
|
18
|
+
"limit": {
|
19
|
+
"type": "integer",
|
20
|
+
"minimum": 1,
|
21
|
+
"description": "If specified, return at most this many transactions."
|
22
|
+
},
|
23
|
+
"minLedgerVersion": {
|
24
|
+
"$ref": "ledgerVersion",
|
25
|
+
"description": "Return only transactions in this ledger version or higher."
|
26
|
+
},
|
27
|
+
"maxLedgerVersion": {
|
28
|
+
"$ref": "ledgerVersion",
|
29
|
+
"description": "Return only transactions in this ledger version or lower."
|
30
|
+
},
|
31
|
+
"earliestFirst": {
|
32
|
+
"type": "boolean",
|
33
|
+
"description": "If true, sort transactions so that the earliest ones come first. By default, the newest transactions come first."
|
34
|
+
},
|
35
|
+
"excludeFailures": {
|
36
|
+
"type": "boolean",
|
37
|
+
"description": "If true, the result omits transactions that did not succeed."
|
38
|
+
},
|
39
|
+
"initiated": {
|
40
|
+
"type": "boolean",
|
41
|
+
"description": "If true, return only transactions initiated by the account specified by `address`. If false, return only transactions not initiated by the account specified by `address`."
|
42
|
+
},
|
43
|
+
"counterparty": {
|
44
|
+
"$ref": "address",
|
45
|
+
"description": "If provided, only return transactions with this account as a counterparty to the transaction."
|
46
|
+
},
|
47
|
+
"types": {
|
48
|
+
"type": "array",
|
49
|
+
"items": {"$ref": "transactionType"},
|
50
|
+
"description": "Only return transactions of the specified [Transaction Types](#transaction-types)."
|
51
|
+
},
|
52
|
+
"includeRawTransactions": {
|
53
|
+
"description": "Include raw transaction data. For advanced users; exercise caution when interpreting this data. "
|
54
|
+
},
|
55
|
+
"binary": {
|
56
|
+
"type": "boolean",
|
57
|
+
"description": "If true, return transactions in binary format rather than JSON."
|
58
|
+
}
|
59
|
+
},
|
60
|
+
"additionalProperties": false,
|
61
|
+
"not": {
|
62
|
+
"anyOf": [
|
63
|
+
{"required": ["start", "minLedgerVersion"]},
|
64
|
+
{"required": ["start", "maxLedgerVersion"]}
|
65
|
+
]
|
66
|
+
}
|
67
|
+
}
|
68
|
+
},
|
69
|
+
"additionalProperties": false,
|
70
|
+
"required": ["address"]
|
71
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "getTrustlinesParameters",
|
4
|
+
"description": "Parameters for getTrustlines",
|
5
|
+
"type": "object",
|
6
|
+
"properties": {
|
7
|
+
"address": {
|
8
|
+
"$ref": "address",
|
9
|
+
"description": "The address of the account to get trustlines for."
|
10
|
+
},
|
11
|
+
"options": {
|
12
|
+
"description": "Options to filter and determine which trustlines to return.",
|
13
|
+
"properties": {
|
14
|
+
"counterparty": {
|
15
|
+
"$ref": "address",
|
16
|
+
"description": "Only return trustlines with this counterparty."
|
17
|
+
},
|
18
|
+
"currency": {
|
19
|
+
"$ref": "currency",
|
20
|
+
"description": "Only return trustlines for this currency."
|
21
|
+
},
|
22
|
+
"limit": {
|
23
|
+
"type": "integer",
|
24
|
+
"minimum": 1,
|
25
|
+
"description": "Return at most this many trustlines."
|
26
|
+
},
|
27
|
+
"ledgerVersion": {
|
28
|
+
"$ref": "ledgerVersion",
|
29
|
+
"description": "Return trustlines as they were in this historical ledger version."
|
30
|
+
}
|
31
|
+
},
|
32
|
+
"additionalProperties": false
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"additionalProperties": false,
|
36
|
+
"required": ["address"]
|
37
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "prepareCheckCancelParameters",
|
4
|
+
"type": "object",
|
5
|
+
"properties": {
|
6
|
+
"address": {
|
7
|
+
"$ref": "address",
|
8
|
+
"description": "The address of the account that is creating the transaction."
|
9
|
+
},
|
10
|
+
"checkCancel": {
|
11
|
+
"$ref": "checkCancel",
|
12
|
+
"description": "The specification of the Check cancellation to prepare."
|
13
|
+
},
|
14
|
+
"instructions": {"$ref": "instructions"}
|
15
|
+
},
|
16
|
+
"additionalProperties": false,
|
17
|
+
"required": ["address", "checkCancel"]
|
18
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "prepareCheckCashParameters",
|
4
|
+
"type": "object",
|
5
|
+
"properties": {
|
6
|
+
"address": {
|
7
|
+
"$ref": "address",
|
8
|
+
"description": "The address of the account that is creating the transaction."
|
9
|
+
},
|
10
|
+
"checkCash": {
|
11
|
+
"$ref": "checkCash",
|
12
|
+
"description": "The specification of the Check cash to prepare."
|
13
|
+
},
|
14
|
+
"instructions": {"$ref": "instructions"}
|
15
|
+
},
|
16
|
+
"additionalProperties": false,
|
17
|
+
"required": ["address", "checkCash"]
|
18
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "prepareCheckCreateParameters",
|
4
|
+
"type": "object",
|
5
|
+
"properties": {
|
6
|
+
"address": {
|
7
|
+
"$ref": "address",
|
8
|
+
"description": "The address of the account that is creating the transaction."
|
9
|
+
},
|
10
|
+
"checkCreate": {
|
11
|
+
"$ref": "checkCreate",
|
12
|
+
"description": "The specification of the Check create creation to prepare."
|
13
|
+
},
|
14
|
+
"instructions": {"$ref": "instructions"}
|
15
|
+
},
|
16
|
+
"additionalProperties": false,
|
17
|
+
"required": ["address", "checkCreate"]
|
18
|
+
}
|