@digitalworld/digital-world-sdk 16.0.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/LICENSE +228 -0
- package/README.md +479 -0
- package/bin/digital-world-js +5 -0
- package/dist/digital-world-sdk-axios.js +50568 -0
- package/dist/digital-world-sdk-axios.js.map +1 -0
- package/dist/digital-world-sdk-axios.min.js +199 -0
- package/dist/digital-world-sdk-axios.min.js.map +1 -0
- package/dist/digital-world-sdk.js +27737 -0
- package/dist/digital-world-sdk.js.map +1 -0
- package/dist/digital-world-sdk.min.js +200 -0
- package/dist/digital-world-sdk.min.js.map +1 -0
- package/lib/axios/cjs/base/account.js +60 -0
- package/lib/axios/cjs/base/account.js.map +1 -0
- package/lib/axios/cjs/base/address.js +195 -0
- package/lib/axios/cjs/base/address.js.map +1 -0
- package/lib/axios/cjs/base/asset.js +261 -0
- package/lib/axios/cjs/base/asset.js.map +1 -0
- package/lib/axios/cjs/base/auth.js +244 -0
- package/lib/axios/cjs/base/auth.js.map +1 -0
- package/lib/axios/cjs/base/claimant.js +147 -0
- package/lib/axios/cjs/base/claimant.js.map +1 -0
- package/lib/axios/cjs/base/contract.js +72 -0
- package/lib/axios/cjs/base/contract.js.map +1 -0
- package/lib/axios/cjs/base/events.js +27 -0
- package/lib/axios/cjs/base/events.js.map +1 -0
- package/lib/axios/cjs/base/fee_bump_transaction.js +94 -0
- package/lib/axios/cjs/base/fee_bump_transaction.js.map +1 -0
- package/lib/axios/cjs/base/generated/curr_generated.js +3792 -0
- package/lib/axios/cjs/base/generated/curr_generated.js.map +1 -0
- package/lib/axios/cjs/base/get_liquidity_pool_id.js +37 -0
- package/lib/axios/cjs/base/get_liquidity_pool_id.js.map +1 -0
- package/lib/axios/cjs/base/hashing.js +12 -0
- package/lib/axios/cjs/base/hashing.js.map +1 -0
- package/lib/axios/cjs/base/invocation.js +94 -0
- package/lib/axios/cjs/base/invocation.js.map +1 -0
- package/lib/axios/cjs/base/jsxdr.js +19 -0
- package/lib/axios/cjs/base/jsxdr.js.map +1 -0
- package/lib/axios/cjs/base/keypair.js +270 -0
- package/lib/axios/cjs/base/keypair.js.map +1 -0
- package/lib/axios/cjs/base/liquidity_pool_asset.js +107 -0
- package/lib/axios/cjs/base/liquidity_pool_asset.js.map +1 -0
- package/lib/axios/cjs/base/liquidity_pool_id.js +77 -0
- package/lib/axios/cjs/base/liquidity_pool_id.js.map +1 -0
- package/lib/axios/cjs/base/memo.js +237 -0
- package/lib/axios/cjs/base/memo.js.map +1 -0
- package/lib/axios/cjs/base/muxed_account.js +123 -0
- package/lib/axios/cjs/base/muxed_account.js.map +1 -0
- package/lib/axios/cjs/base/network.js +10 -0
- package/lib/axios/cjs/base/network.js.map +1 -0
- package/lib/axios/cjs/base/numbers/index.js +66 -0
- package/lib/axios/cjs/base/numbers/index.js.map +1 -0
- package/lib/axios/cjs/base/numbers/int128.js +31 -0
- package/lib/axios/cjs/base/numbers/int128.js.map +1 -0
- package/lib/axios/cjs/base/numbers/int256.js +31 -0
- package/lib/axios/cjs/base/numbers/int256.js.map +1 -0
- package/lib/axios/cjs/base/numbers/sc_int.js +54 -0
- package/lib/axios/cjs/base/numbers/sc_int.js.map +1 -0
- package/lib/axios/cjs/base/numbers/uint128.js +31 -0
- package/lib/axios/cjs/base/numbers/uint128.js.map +1 -0
- package/lib/axios/cjs/base/numbers/uint256.js +31 -0
- package/lib/axios/cjs/base/numbers/uint256.js.map +1 -0
- package/lib/axios/cjs/base/numbers/xdr_large_int.js +273 -0
- package/lib/axios/cjs/base/numbers/xdr_large_int.js.map +1 -0
- package/lib/axios/cjs/base/operation.js +455 -0
- package/lib/axios/cjs/base/operation.js.map +1 -0
- package/lib/axios/cjs/base/operations/account_merge.js +25 -0
- package/lib/axios/cjs/base/operations/account_merge.js.map +1 -0
- package/lib/axios/cjs/base/operations/allow_trust.js +50 -0
- package/lib/axios/cjs/base/operations/allow_trust.js.map +1 -0
- package/lib/axios/cjs/base/operations/begin_sponsoring_future_reserves.js +24 -0
- package/lib/axios/cjs/base/operations/begin_sponsoring_future_reserves.js.map +1 -0
- package/lib/axios/cjs/base/operations/bump_sequence.js +27 -0
- package/lib/axios/cjs/base/operations/bump_sequence.js.map +1 -0
- package/lib/axios/cjs/base/operations/change_trust.js +33 -0
- package/lib/axios/cjs/base/operations/change_trust.js.map +1 -0
- package/lib/axios/cjs/base/operations/claim_claimable_balance.js +30 -0
- package/lib/axios/cjs/base/operations/claim_claimable_balance.js.map +1 -0
- package/lib/axios/cjs/base/operations/clawback.js +31 -0
- package/lib/axios/cjs/base/operations/clawback.js.map +1 -0
- package/lib/axios/cjs/base/operations/clawback_claimable_balance.js +24 -0
- package/lib/axios/cjs/base/operations/clawback_claimable_balance.js.map +1 -0
- package/lib/axios/cjs/base/operations/create_account.js +28 -0
- package/lib/axios/cjs/base/operations/create_account.js.map +1 -0
- package/lib/axios/cjs/base/operations/create_claimable_balance.js +36 -0
- package/lib/axios/cjs/base/operations/create_claimable_balance.js.map +1 -0
- package/lib/axios/cjs/base/operations/create_passive_sell_offer.js +32 -0
- package/lib/axios/cjs/base/operations/create_passive_sell_offer.js.map +1 -0
- package/lib/axios/cjs/base/operations/end_sponsoring_future_reserves.js +16 -0
- package/lib/axios/cjs/base/operations/end_sponsoring_future_reserves.js.map +1 -0
- package/lib/axios/cjs/base/operations/extend_footprint_ttl.js +23 -0
- package/lib/axios/cjs/base/operations/extend_footprint_ttl.js.map +1 -0
- package/lib/axios/cjs/base/operations/inflation.js +16 -0
- package/lib/axios/cjs/base/operations/inflation.js.map +1 -0
- package/lib/axios/cjs/base/operations/invoke_host_function.js +143 -0
- package/lib/axios/cjs/base/operations/invoke_host_function.js.map +1 -0
- package/lib/axios/cjs/base/operations/liquidity_pool_deposit.js +48 -0
- package/lib/axios/cjs/base/operations/liquidity_pool_deposit.js.map +1 -0
- package/lib/axios/cjs/base/operations/liquidity_pool_withdraw.js +42 -0
- package/lib/axios/cjs/base/operations/liquidity_pool_withdraw.js.map +1 -0
- package/lib/axios/cjs/base/operations/manage_buy_offer.js +35 -0
- package/lib/axios/cjs/base/operations/manage_buy_offer.js.map +1 -0
- package/lib/axios/cjs/base/operations/manage_data.js +38 -0
- package/lib/axios/cjs/base/operations/manage_data.js.map +1 -0
- package/lib/axios/cjs/base/operations/manage_sell_offer.js +35 -0
- package/lib/axios/cjs/base/operations/manage_sell_offer.js.map +1 -0
- package/lib/axios/cjs/base/operations/path_payment_strict_receive.js +44 -0
- package/lib/axios/cjs/base/operations/path_payment_strict_receive.js.map +1 -0
- package/lib/axios/cjs/base/operations/path_payment_strict_send.js +48 -0
- package/lib/axios/cjs/base/operations/path_payment_strict_send.js.map +1 -0
- package/lib/axios/cjs/base/operations/payment.js +34 -0
- package/lib/axios/cjs/base/operations/payment.js.map +1 -0
- package/lib/axios/cjs/base/operations/restore_footprint.js +19 -0
- package/lib/axios/cjs/base/operations/restore_footprint.js.map +1 -0
- package/lib/axios/cjs/base/operations/revoke_sponsorship.js +198 -0
- package/lib/axios/cjs/base/operations/revoke_sponsorship.js.map +1 -0
- package/lib/axios/cjs/base/operations/set_options.js +138 -0
- package/lib/axios/cjs/base/operations/set_options.js.map +1 -0
- package/lib/axios/cjs/base/operations/set_trustline_flags.js +56 -0
- package/lib/axios/cjs/base/operations/set_trustline_flags.js.map +1 -0
- package/lib/axios/cjs/base/scval.js +253 -0
- package/lib/axios/cjs/base/scval.js.map +1 -0
- package/lib/axios/cjs/base/signerkey.js +72 -0
- package/lib/axios/cjs/base/signerkey.js.map +1 -0
- package/lib/axios/cjs/base/signing.js +48 -0
- package/lib/axios/cjs/base/signing.js.map +1 -0
- package/lib/axios/cjs/base/soroban.js +91 -0
- package/lib/axios/cjs/base/soroban.js.map +1 -0
- package/lib/axios/cjs/base/sorobandata_builder.js +148 -0
- package/lib/axios/cjs/base/sorobandata_builder.js.map +1 -0
- package/lib/axios/cjs/base/strkey.js +660 -0
- package/lib/axios/cjs/base/strkey.js.map +1 -0
- package/lib/axios/cjs/base/transaction.js +291 -0
- package/lib/axios/cjs/base/transaction.js.map +1 -0
- package/lib/axios/cjs/base/transaction_base.js +205 -0
- package/lib/axios/cjs/base/transaction_base.js.map +1 -0
- package/lib/axios/cjs/base/transaction_builder.js +887 -0
- package/lib/axios/cjs/base/transaction_builder.js.map +1 -0
- package/lib/axios/cjs/base/util/bignumber.js +14 -0
- package/lib/axios/cjs/base/util/bignumber.js.map +1 -0
- package/lib/axios/cjs/base/util/checksum.js +19 -0
- package/lib/axios/cjs/base/util/checksum.js.map +1 -0
- package/lib/axios/cjs/base/util/continued_fraction.js +83 -0
- package/lib/axios/cjs/base/util/continued_fraction.js.map +1 -0
- package/lib/axios/cjs/base/util/decode_encode_muxed_account.js +68 -0
- package/lib/axios/cjs/base/util/decode_encode_muxed_account.js.map +1 -0
- package/lib/axios/cjs/base/util/operations.js +101 -0
- package/lib/axios/cjs/base/util/operations.js.map +1 -0
- package/lib/axios/cjs/base/util/util.js +13 -0
- package/lib/axios/cjs/base/util/util.js.map +1 -0
- package/lib/axios/cjs/base/xdr.js +10 -0
- package/lib/axios/cjs/base/xdr.js.map +1 -0
- package/lib/axios/cjs/bindings/client.js +140 -0
- package/lib/axios/cjs/bindings/client.js.map +1 -0
- package/lib/axios/cjs/bindings/config.js +139 -0
- package/lib/axios/cjs/bindings/config.js.map +1 -0
- package/lib/axios/cjs/bindings/generator.js +204 -0
- package/lib/axios/cjs/bindings/generator.js.map +1 -0
- package/lib/axios/cjs/bindings/sac-spec.js +6 -0
- package/lib/axios/cjs/bindings/sac-spec.js.map +1 -0
- package/lib/axios/cjs/bindings/types.js +209 -0
- package/lib/axios/cjs/bindings/types.js.map +1 -0
- package/lib/axios/cjs/bindings/utils.js +322 -0
- package/lib/axios/cjs/bindings/utils.js.map +1 -0
- package/lib/axios/cjs/bindings/wasm_fetcher.js +125 -0
- package/lib/axios/cjs/bindings/wasm_fetcher.js.map +1 -0
- package/lib/axios/cjs/cli/index.js +187 -0
- package/lib/axios/cjs/cli/index.js.map +1 -0
- package/lib/axios/cjs/cli/util.js +182 -0
- package/lib/axios/cjs/cli/util.js.map +1 -0
- package/lib/axios/cjs/config.js +49 -0
- package/lib/axios/cjs/config.js.map +1 -0
- package/lib/axios/cjs/contract/assembled_transaction.js +711 -0
- package/lib/axios/cjs/contract/assembled_transaction.js.map +1 -0
- package/lib/axios/cjs/contract/basic_node_signer.js +48 -0
- package/lib/axios/cjs/contract/basic_node_signer.js.map +1 -0
- package/lib/axios/cjs/contract/client.js +174 -0
- package/lib/axios/cjs/contract/client.js.map +1 -0
- package/lib/axios/cjs/contract/errors.js +43 -0
- package/lib/axios/cjs/contract/errors.js.map +1 -0
- package/lib/axios/cjs/contract/index.js +23 -0
- package/lib/axios/cjs/contract/index.js.map +1 -0
- package/lib/axios/cjs/contract/rust_result.js +42 -0
- package/lib/axios/cjs/contract/rust_result.js.map +1 -0
- package/lib/axios/cjs/contract/sent_transaction.js +144 -0
- package/lib/axios/cjs/contract/sent_transaction.js.map +1 -0
- package/lib/axios/cjs/contract/spec.js +1118 -0
- package/lib/axios/cjs/contract/spec.js.map +1 -0
- package/lib/axios/cjs/contract/types.js +8 -0
- package/lib/axios/cjs/contract/types.js.map +1 -0
- package/lib/axios/cjs/contract/utils.js +138 -0
- package/lib/axios/cjs/contract/utils.js.map +1 -0
- package/lib/axios/cjs/contract/wasm_spec_parser.js +16 -0
- package/lib/axios/cjs/contract/wasm_spec_parser.js.map +1 -0
- package/lib/axios/cjs/dwtoml/index.js +70 -0
- package/lib/axios/cjs/dwtoml/index.js.map +1 -0
- package/lib/axios/cjs/errors/account_requires_memo.js +14 -0
- package/lib/axios/cjs/errors/account_requires_memo.js.map +1 -0
- package/lib/axios/cjs/errors/bad_request.js +9 -0
- package/lib/axios/cjs/errors/bad_request.js.map +1 -0
- package/lib/axios/cjs/errors/bad_response.js +9 -0
- package/lib/axios/cjs/errors/bad_response.js.map +1 -0
- package/lib/axios/cjs/errors/network.js +20 -0
- package/lib/axios/cjs/errors/network.js.map +1 -0
- package/lib/axios/cjs/errors/not_found.js +9 -0
- package/lib/axios/cjs/errors/not_found.js.map +1 -0
- package/lib/axios/cjs/faucet/index.js +3 -0
- package/lib/axios/cjs/faucet/index.js.map +1 -0
- package/lib/axios/cjs/federation/index.js +9 -0
- package/lib/axios/cjs/federation/index.js.map +1 -0
- package/lib/axios/cjs/federation/server.js +229 -0
- package/lib/axios/cjs/federation/server.js.map +1 -0
- package/lib/axios/cjs/federation/utils.js +14 -0
- package/lib/axios/cjs/federation/utils.js.map +1 -0
- package/lib/axios/cjs/gateway/account_call_builder.js +70 -0
- package/lib/axios/cjs/gateway/account_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/account_response.js +106 -0
- package/lib/axios/cjs/gateway/account_response.js.map +1 -0
- package/lib/axios/cjs/gateway/assets_call_builder.js +31 -0
- package/lib/axios/cjs/gateway/assets_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/call_builder.js +356 -0
- package/lib/axios/cjs/gateway/call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/claimable_balances_call_builder.js +61 -0
- package/lib/axios/cjs/gateway/claimable_balances_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/effect_call_builder.js +60 -0
- package/lib/axios/cjs/gateway/effect_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/faucet.js +14 -0
- package/lib/axios/cjs/gateway/faucet.js.map +1 -0
- package/lib/axios/cjs/gateway/gateway_api.js +84 -0
- package/lib/axios/cjs/gateway/gateway_api.js.map +1 -0
- package/lib/axios/cjs/gateway/gateway_axios_client.js +66 -0
- package/lib/axios/cjs/gateway/gateway_axios_client.js.map +1 -0
- package/lib/axios/cjs/gateway/index.js +23 -0
- package/lib/axios/cjs/gateway/index.js.map +1 -0
- package/lib/axios/cjs/gateway/ledger_call_builder.js +22 -0
- package/lib/axios/cjs/gateway/ledger_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/liquidity_pool_call_builder.js +51 -0
- package/lib/axios/cjs/gateway/liquidity_pool_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/offer_call_builder.js +95 -0
- package/lib/axios/cjs/gateway/offer_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/operation_call_builder.js +85 -0
- package/lib/axios/cjs/gateway/operation_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/orderbook_call_builder.js +29 -0
- package/lib/axios/cjs/gateway/orderbook_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/payment_call_builder.js +51 -0
- package/lib/axios/cjs/gateway/payment_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/server.js +746 -0
- package/lib/axios/cjs/gateway/server.js.map +1 -0
- package/lib/axios/cjs/gateway/server_api.js +17 -0
- package/lib/axios/cjs/gateway/server_api.js.map +1 -0
- package/lib/axios/cjs/gateway/strict_receive_path_call_builder.js +39 -0
- package/lib/axios/cjs/gateway/strict_receive_path_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/strict_send_path_call_builder.js +36 -0
- package/lib/axios/cjs/gateway/strict_send_path_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/trade_aggregation_call_builder.js +72 -0
- package/lib/axios/cjs/gateway/trade_aggregation_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/trades_call_builder.js +74 -0
- package/lib/axios/cjs/gateway/trades_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/transaction_call_builder.js +73 -0
- package/lib/axios/cjs/gateway/transaction_call_builder.js.map +1 -0
- package/lib/axios/cjs/gateway/types/effects.js +61 -0
- package/lib/axios/cjs/gateway/types/effects.js.map +1 -0
- package/lib/axios/cjs/http-client/axios-client.js +14 -0
- package/lib/axios/cjs/http-client/axios-client.js.map +1 -0
- package/lib/axios/cjs/http-client/axios.js +11 -0
- package/lib/axios/cjs/http-client/axios.js.map +1 -0
- package/lib/axios/cjs/http-client/fetch-client.js +474 -0
- package/lib/axios/cjs/http-client/fetch-client.js.map +1 -0
- package/lib/axios/cjs/http-client/index.js +11 -0
- package/lib/axios/cjs/http-client/index.js.map +1 -0
- package/lib/axios/cjs/http-client/types.js +24 -0
- package/lib/axios/cjs/http-client/types.js.map +1 -0
- package/lib/axios/cjs/index.js +141 -0
- package/lib/axios/cjs/index.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/array.js +68 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/array.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bigint-encoder.js +179 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bigint-encoder.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bool.js +41 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bool.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/config.js +262 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/config.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/double.js +32 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/double.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/enum.js +99 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/enum.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/errors.js +33 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/errors.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/float.js +32 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/float.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/hyper.js +43 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/hyper.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/int.js +44 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/int.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/large-int.js +144 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/large-int.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/opaque.js +41 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/opaque.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/option.js +49 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/option.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/quadruple.js +21 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/quadruple.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/reference.js +16 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/reference.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-reader.js +171 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-reader.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-writer.js +186 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-writer.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/string.js +64 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/string.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/struct.js +96 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/struct.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/union.js +184 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/union.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-hyper.js +43 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-hyper.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-int.js +47 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-int.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-array.js +77 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-array.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-opaque.js +49 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-opaque.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/void.js +24 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/void.js.map +1 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/xdr-type.js +262 -0
- package/lib/axios/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/xdr-type.js.map +1 -0
- package/lib/axios/cjs/package.json +3 -0
- package/lib/axios/cjs/rpc/api.js +27 -0
- package/lib/axios/cjs/rpc/api.js.map +1 -0
- package/lib/axios/cjs/rpc/axios.js +18 -0
- package/lib/axios/cjs/rpc/axios.js.map +1 -0
- package/lib/axios/cjs/rpc/index.js +21 -0
- package/lib/axios/cjs/rpc/index.js.map +1 -0
- package/lib/axios/cjs/rpc/jsonrpc.js +22 -0
- package/lib/axios/cjs/rpc/jsonrpc.js.map +1 -0
- package/lib/axios/cjs/rpc/parsers.js +245 -0
- package/lib/axios/cjs/rpc/parsers.js.map +1 -0
- package/lib/axios/cjs/rpc/server.js +1304 -0
- package/lib/axios/cjs/rpc/server.js.map +1 -0
- package/lib/axios/cjs/rpc/transaction.js +99 -0
- package/lib/axios/cjs/rpc/transaction.js.map +1 -0
- package/lib/axios/cjs/utils/url.js +33 -0
- package/lib/axios/cjs/utils/url.js.map +1 -0
- package/lib/axios/cjs/utils.js +27 -0
- package/lib/axios/cjs/utils.js.map +1 -0
- package/lib/axios/cjs/webauth/challenge_transaction.js +334 -0
- package/lib/axios/cjs/webauth/challenge_transaction.js.map +1 -0
- package/lib/axios/cjs/webauth/errors.js +7 -0
- package/lib/axios/cjs/webauth/errors.js.map +1 -0
- package/lib/axios/cjs/webauth/index.js +16 -0
- package/lib/axios/cjs/webauth/index.js.map +1 -0
- package/lib/axios/cjs/webauth/utils.js +61 -0
- package/lib/axios/cjs/webauth/utils.js.map +1 -0
- package/lib/axios/esm/base/account.d.ts +35 -0
- package/lib/axios/esm/base/account.js +58 -0
- package/lib/axios/esm/base/account.js.map +1 -0
- package/lib/axios/esm/base/address.d.ts +87 -0
- package/lib/axios/esm/base/address.js +193 -0
- package/lib/axios/esm/base/address.js.map +1 -0
- package/lib/axios/esm/base/asset.d.ts +118 -0
- package/lib/axios/esm/base/asset.js +258 -0
- package/lib/axios/esm/base/asset.js.map +1 -0
- package/lib/axios/esm/base/auth.d.ts +273 -0
- package/lib/axios/esm/base/auth.js +238 -0
- package/lib/axios/esm/base/auth.js.map +1 -0
- package/lib/axios/esm/base/claimant.d.ts +75 -0
- package/lib/axios/esm/base/claimant.js +145 -0
- package/lib/axios/esm/base/claimant.js.map +1 -0
- package/lib/axios/esm/base/contract.d.ts +47 -0
- package/lib/axios/esm/base/contract.js +70 -0
- package/lib/axios/esm/base/contract.js.map +1 -0
- package/lib/axios/esm/base/events.d.ts +22 -0
- package/lib/axios/esm/base/events.js +25 -0
- package/lib/axios/esm/base/events.js.map +1 -0
- package/lib/axios/esm/base/fee_bump_transaction.d.ts +47 -0
- package/lib/axios/esm/base/fee_bump_transaction.js +92 -0
- package/lib/axios/esm/base/fee_bump_transaction.js.map +1 -0
- package/lib/axios/esm/base/generated/curr.d.ts +16280 -0
- package/lib/axios/esm/base/generated/curr_generated.d.ts +4 -0
- package/lib/axios/esm/base/generated/curr_generated.js +3788 -0
- package/lib/axios/esm/base/generated/curr_generated.js.map +1 -0
- package/lib/axios/esm/base/generated/next.d.ts +16280 -0
- package/lib/axios/esm/base/generated/next_generated.d.ts +4 -0
- package/lib/axios/esm/base/get_liquidity_pool_id.d.ts +29 -0
- package/lib/axios/esm/base/get_liquidity_pool_id.js +34 -0
- package/lib/axios/esm/base/get_liquidity_pool_id.js.map +1 -0
- package/lib/axios/esm/base/hashing.d.ts +6 -0
- package/lib/axios/esm/base/hashing.js +10 -0
- package/lib/axios/esm/base/hashing.js.map +1 -0
- package/lib/axios/esm/base/index.d.ts +39 -0
- package/lib/axios/esm/base/invocation.d.ts +116 -0
- package/lib/axios/esm/base/invocation.js +91 -0
- package/lib/axios/esm/base/invocation.js.map +1 -0
- package/lib/axios/esm/base/jsxdr.d.ts +7 -0
- package/lib/axios/esm/base/jsxdr.js +13 -0
- package/lib/axios/esm/base/jsxdr.js.map +1 -0
- package/lib/axios/esm/base/keypair.d.ts +139 -0
- package/lib/axios/esm/base/keypair.js +248 -0
- package/lib/axios/esm/base/keypair.js.map +1 -0
- package/lib/axios/esm/base/liquidity_pool_asset.d.ts +50 -0
- package/lib/axios/esm/base/liquidity_pool_asset.js +105 -0
- package/lib/axios/esm/base/liquidity_pool_asset.js.map +1 -0
- package/lib/axios/esm/base/liquidity_pool_id.d.ts +45 -0
- package/lib/axios/esm/base/liquidity_pool_id.js +75 -0
- package/lib/axios/esm/base/liquidity_pool_id.js.map +1 -0
- package/lib/axios/esm/base/memo.d.ts +112 -0
- package/lib/axios/esm/base/memo.js +230 -0
- package/lib/axios/esm/base/memo.js.map +1 -0
- package/lib/axios/esm/base/muxed_account.d.ts +94 -0
- package/lib/axios/esm/base/muxed_account.js +121 -0
- package/lib/axios/esm/base/muxed_account.js.map +1 -0
- package/lib/axios/esm/base/network.d.ts +9 -0
- package/lib/axios/esm/base/network.js +8 -0
- package/lib/axios/esm/base/network.js.map +1 -0
- package/lib/axios/esm/base/numbers/index.d.ts +29 -0
- package/lib/axios/esm/base/numbers/index.js +59 -0
- package/lib/axios/esm/base/numbers/index.js.map +1 -0
- package/lib/axios/esm/base/numbers/int128.d.ts +12 -0
- package/lib/axios/esm/base/numbers/int128.js +29 -0
- package/lib/axios/esm/base/numbers/int128.js.map +1 -0
- package/lib/axios/esm/base/numbers/int256.d.ts +12 -0
- package/lib/axios/esm/base/numbers/int256.js +29 -0
- package/lib/axios/esm/base/numbers/int256.js.map +1 -0
- package/lib/axios/esm/base/numbers/sc_int.d.ts +79 -0
- package/lib/axios/esm/base/numbers/sc_int.js +52 -0
- package/lib/axios/esm/base/numbers/sc_int.js.map +1 -0
- package/lib/axios/esm/base/numbers/uint128.d.ts +12 -0
- package/lib/axios/esm/base/numbers/uint128.js +29 -0
- package/lib/axios/esm/base/numbers/uint128.js.map +1 -0
- package/lib/axios/esm/base/numbers/uint256.d.ts +12 -0
- package/lib/axios/esm/base/numbers/uint256.js +29 -0
- package/lib/axios/esm/base/numbers/uint256.js.map +1 -0
- package/lib/axios/esm/base/numbers/xdr_large_int.d.ts +93 -0
- package/lib/axios/esm/base/numbers/xdr_large_int.js +271 -0
- package/lib/axios/esm/base/numbers/xdr_large_int.js.map +1 -0
- package/lib/axios/esm/base/operation.d.ts +161 -0
- package/lib/axios/esm/base/operation.js +449 -0
- package/lib/axios/esm/base/operation.js.map +1 -0
- package/lib/axios/esm/base/operations/account_merge.d.ts +11 -0
- package/lib/axios/esm/base/operations/account_merge.js +23 -0
- package/lib/axios/esm/base/operations/account_merge.js.map +1 -0
- package/lib/axios/esm/base/operations/allow_trust.d.ts +15 -0
- package/lib/axios/esm/base/operations/allow_trust.js +48 -0
- package/lib/axios/esm/base/operations/allow_trust.js.map +1 -0
- package/lib/axios/esm/base/operations/begin_sponsoring_future_reserves.d.ts +17 -0
- package/lib/axios/esm/base/operations/begin_sponsoring_future_reserves.js +22 -0
- package/lib/axios/esm/base/operations/begin_sponsoring_future_reserves.js.map +1 -0
- package/lib/axios/esm/base/operations/bump_sequence.d.ts +9 -0
- package/lib/axios/esm/base/operations/bump_sequence.js +25 -0
- package/lib/axios/esm/base/operations/bump_sequence.js.map +1 -0
- package/lib/axios/esm/base/operations/change_trust.d.ts +13 -0
- package/lib/axios/esm/base/operations/change_trust.js +31 -0
- package/lib/axios/esm/base/operations/change_trust.js.map +1 -0
- package/lib/axios/esm/base/operations/claim_claimable_balance.d.ts +22 -0
- package/lib/axios/esm/base/operations/claim_claimable_balance.js +27 -0
- package/lib/axios/esm/base/operations/claim_claimable_balance.js.map +1 -0
- package/lib/axios/esm/base/operations/clawback.d.ts +17 -0
- package/lib/axios/esm/base/operations/clawback.js +29 -0
- package/lib/axios/esm/base/operations/clawback.js.map +1 -0
- package/lib/axios/esm/base/operations/clawback_claimable_balance.d.ts +19 -0
- package/lib/axios/esm/base/operations/clawback_claimable_balance.js +22 -0
- package/lib/axios/esm/base/operations/clawback_claimable_balance.js.map +1 -0
- package/lib/axios/esm/base/operations/create_account.d.ts +12 -0
- package/lib/axios/esm/base/operations/create_account.js +26 -0
- package/lib/axios/esm/base/operations/create_account.js.map +1 -0
- package/lib/axios/esm/base/operations/create_claimable_balance.d.ts +34 -0
- package/lib/axios/esm/base/operations/create_claimable_balance.js +34 -0
- package/lib/axios/esm/base/operations/create_claimable_balance.js.map +1 -0
- package/lib/axios/esm/base/operations/create_passive_sell_offer.d.ts +18 -0
- package/lib/axios/esm/base/operations/create_passive_sell_offer.js +30 -0
- package/lib/axios/esm/base/operations/create_passive_sell_offer.js.map +1 -0
- package/lib/axios/esm/base/operations/end_sponsoring_future_reserves.d.ts +14 -0
- package/lib/axios/esm/base/operations/end_sponsoring_future_reserves.js +14 -0
- package/lib/axios/esm/base/operations/end_sponsoring_future_reserves.js.map +1 -0
- package/lib/axios/esm/base/operations/extend_footprint_ttl.d.ts +28 -0
- package/lib/axios/esm/base/operations/extend_footprint_ttl.js +21 -0
- package/lib/axios/esm/base/operations/extend_footprint_ttl.js.map +1 -0
- package/lib/axios/esm/base/operations/index.d.ts +28 -0
- package/lib/axios/esm/base/operations/inflation.d.ts +8 -0
- package/lib/axios/esm/base/operations/inflation.js +14 -0
- package/lib/axios/esm/base/operations/inflation.js.map +1 -0
- package/lib/axios/esm/base/operations/invoke_host_function.d.ts +78 -0
- package/lib/axios/esm/base/operations/invoke_host_function.js +137 -0
- package/lib/axios/esm/base/operations/invoke_host_function.js.map +1 -0
- package/lib/axios/esm/base/operations/liquidity_pool_deposit.d.ts +20 -0
- package/lib/axios/esm/base/operations/liquidity_pool_deposit.js +46 -0
- package/lib/axios/esm/base/operations/liquidity_pool_deposit.js.map +1 -0
- package/lib/axios/esm/base/operations/liquidity_pool_withdraw.d.ts +15 -0
- package/lib/axios/esm/base/operations/liquidity_pool_withdraw.js +40 -0
- package/lib/axios/esm/base/operations/liquidity_pool_withdraw.js.map +1 -0
- package/lib/axios/esm/base/operations/manage_buy_offer.d.ts +17 -0
- package/lib/axios/esm/base/operations/manage_buy_offer.js +33 -0
- package/lib/axios/esm/base/operations/manage_buy_offer.js.map +1 -0
- package/lib/axios/esm/base/operations/manage_data.d.ts +10 -0
- package/lib/axios/esm/base/operations/manage_data.js +36 -0
- package/lib/axios/esm/base/operations/manage_data.js.map +1 -0
- package/lib/axios/esm/base/operations/manage_sell_offer.d.ts +17 -0
- package/lib/axios/esm/base/operations/manage_sell_offer.js +33 -0
- package/lib/axios/esm/base/operations/manage_sell_offer.js.map +1 -0
- package/lib/axios/esm/base/operations/path_payment_strict_receive.d.ts +24 -0
- package/lib/axios/esm/base/operations/path_payment_strict_receive.js +42 -0
- package/lib/axios/esm/base/operations/path_payment_strict_receive.js.map +1 -0
- package/lib/axios/esm/base/operations/path_payment_strict_send.d.ts +22 -0
- package/lib/axios/esm/base/operations/path_payment_strict_send.js +46 -0
- package/lib/axios/esm/base/operations/path_payment_strict_send.js.map +1 -0
- package/lib/axios/esm/base/operations/payment.d.ts +15 -0
- package/lib/axios/esm/base/operations/payment.js +32 -0
- package/lib/axios/esm/base/operations/payment.js.map +1 -0
- package/lib/axios/esm/base/operations/restore_footprint.d.ts +20 -0
- package/lib/axios/esm/base/operations/restore_footprint.js +17 -0
- package/lib/axios/esm/base/operations/restore_footprint.js.map +1 -0
- package/lib/axios/esm/base/operations/revoke_sponsorship.d.ts +124 -0
- package/lib/axios/esm/base/operations/revoke_sponsorship.js +190 -0
- package/lib/axios/esm/base/operations/revoke_sponsorship.js.map +1 -0
- package/lib/axios/esm/base/operations/set_options.d.ts +34 -0
- package/lib/axios/esm/base/operations/set_options.js +136 -0
- package/lib/axios/esm/base/operations/set_options.js.map +1 -0
- package/lib/axios/esm/base/operations/set_trustline_flags.d.ts +31 -0
- package/lib/axios/esm/base/operations/set_trustline_flags.js +54 -0
- package/lib/axios/esm/base/operations/set_trustline_flags.js.map +1 -0
- package/lib/axios/esm/base/operations/types.d.ts +508 -0
- package/lib/axios/esm/base/scval.d.ts +184 -0
- package/lib/axios/esm/base/scval.js +249 -0
- package/lib/axios/esm/base/scval.js.map +1 -0
- package/lib/axios/esm/base/signerkey.d.ts +27 -0
- package/lib/axios/esm/base/signerkey.js +70 -0
- package/lib/axios/esm/base/signerkey.js.map +1 -0
- package/lib/axios/esm/base/signing.d.ts +21 -0
- package/lib/axios/esm/base/signing.js +24 -0
- package/lib/axios/esm/base/signing.js.map +1 -0
- package/lib/axios/esm/base/soroban.d.ts +45 -0
- package/lib/axios/esm/base/soroban.js +89 -0
- package/lib/axios/esm/base/soroban.js.map +1 -0
- package/lib/axios/esm/base/sorobandata_builder.d.ts +103 -0
- package/lib/axios/esm/base/sorobandata_builder.js +146 -0
- package/lib/axios/esm/base/sorobandata_builder.js.map +1 -0
- package/lib/axios/esm/base/strkey.d.ts +186 -0
- package/lib/axios/esm/base/strkey.js +652 -0
- package/lib/axios/esm/base/strkey.js.map +1 -0
- package/lib/axios/esm/base/transaction.d.ts +110 -0
- package/lib/axios/esm/base/transaction.js +289 -0
- package/lib/axios/esm/base/transaction.js.map +1 -0
- package/lib/axios/esm/base/transaction_base.d.ts +110 -0
- package/lib/axios/esm/base/transaction_base.js +203 -0
- package/lib/axios/esm/base/transaction_base.js.map +1 -0
- package/lib/axios/esm/base/transaction_builder.d.ts +394 -0
- package/lib/axios/esm/base/transaction_builder.js +882 -0
- package/lib/axios/esm/base/transaction_builder.js.map +1 -0
- package/lib/axios/esm/base/transaction_source.d.ts +31 -0
- package/lib/axios/esm/base/util/bignumber.d.ts +5 -0
- package/lib/axios/esm/base/util/bignumber.js +6 -0
- package/lib/axios/esm/base/util/bignumber.js.map +1 -0
- package/lib/axios/esm/base/util/checksum.d.ts +7 -0
- package/lib/axios/esm/base/util/checksum.js +17 -0
- package/lib/axios/esm/base/util/checksum.js.map +1 -0
- package/lib/axios/esm/base/util/continued_fraction.d.ts +9 -0
- package/lib/axios/esm/base/util/continued_fraction.js +81 -0
- package/lib/axios/esm/base/util/continued_fraction.js.map +1 -0
- package/lib/axios/esm/base/util/decode_encode_muxed_account.d.ts +34 -0
- package/lib/axios/esm/base/util/decode_encode_muxed_account.js +63 -0
- package/lib/axios/esm/base/util/decode_encode_muxed_account.js.map +1 -0
- package/lib/axios/esm/base/util/operations.d.ts +61 -0
- package/lib/axios/esm/base/util/operations.js +91 -0
- package/lib/axios/esm/base/util/operations.js.map +1 -0
- package/lib/axios/esm/base/util/util.d.ts +7 -0
- package/lib/axios/esm/base/util/util.js +11 -0
- package/lib/axios/esm/base/util/util.js.map +1 -0
- package/lib/axios/esm/base/xdr.d.ts +2 -0
- package/lib/axios/esm/base/xdr.js +6 -0
- package/lib/axios/esm/base/xdr.js.map +1 -0
- package/lib/axios/esm/bindings/client.d.ts +30 -0
- package/lib/axios/esm/bindings/client.js +138 -0
- package/lib/axios/esm/bindings/client.js.map +1 -0
- package/lib/axios/esm/bindings/config.d.ts +34 -0
- package/lib/axios/esm/bindings/config.js +137 -0
- package/lib/axios/esm/bindings/config.js.map +1 -0
- package/lib/axios/esm/bindings/generator.d.ts +192 -0
- package/lib/axios/esm/bindings/generator.js +202 -0
- package/lib/axios/esm/bindings/generator.js.map +1 -0
- package/lib/axios/esm/bindings/index.d.ts +6 -0
- package/lib/axios/esm/bindings/sac-spec.d.ts +1 -0
- package/lib/axios/esm/bindings/sac-spec.js +4 -0
- package/lib/axios/esm/bindings/sac-spec.js.map +1 -0
- package/lib/axios/esm/bindings/types.d.ts +66 -0
- package/lib/axios/esm/bindings/types.js +207 -0
- package/lib/axios/esm/bindings/types.js.map +1 -0
- package/lib/axios/esm/bindings/utils.d.ts +53 -0
- package/lib/axios/esm/bindings/utils.js +313 -0
- package/lib/axios/esm/bindings/utils.js.map +1 -0
- package/lib/axios/esm/bindings/wasm_fetcher.d.ts +25 -0
- package/lib/axios/esm/bindings/wasm_fetcher.js +121 -0
- package/lib/axios/esm/bindings/wasm_fetcher.js.map +1 -0
- package/lib/axios/esm/browser-axios.d.ts +4 -0
- package/lib/axios/esm/browser.d.ts +4 -0
- package/lib/axios/esm/cli/index.d.ts +2 -0
- package/lib/axios/esm/cli/index.js +165 -0
- package/lib/axios/esm/cli/index.js.map +1 -0
- package/lib/axios/esm/cli/util.d.ts +55 -0
- package/lib/axios/esm/cli/util.js +155 -0
- package/lib/axios/esm/cli/util.js.map +1 -0
- package/lib/axios/esm/config.d.ts +60 -0
- package/lib/axios/esm/config.js +47 -0
- package/lib/axios/esm/config.js.map +1 -0
- package/lib/axios/esm/contract/assembled_transaction.d.ts +533 -0
- package/lib/axios/esm/contract/assembled_transaction.js +709 -0
- package/lib/axios/esm/contract/assembled_transaction.js.map +1 -0
- package/lib/axios/esm/contract/basic_node_signer.d.ts +17 -0
- package/lib/axios/esm/contract/basic_node_signer.js +46 -0
- package/lib/axios/esm/contract/basic_node_signer.js.map +1 -0
- package/lib/axios/esm/contract/client.d.ts +64 -0
- package/lib/axios/esm/contract/client.js +172 -0
- package/lib/axios/esm/contract/client.js.map +1 -0
- package/lib/axios/esm/contract/errors.d.ts +26 -0
- package/lib/axios/esm/contract/errors.js +29 -0
- package/lib/axios/esm/contract/errors.js.map +1 -0
- package/lib/axios/esm/contract/index.d.ts +7 -0
- package/lib/axios/esm/contract/index.js +8 -0
- package/lib/axios/esm/contract/index.js.map +1 -0
- package/lib/axios/esm/contract/rust_result.d.ts +79 -0
- package/lib/axios/esm/contract/rust_result.js +39 -0
- package/lib/axios/esm/contract/rust_result.js.map +1 -0
- package/lib/axios/esm/contract/sent_transaction.d.ts +118 -0
- package/lib/axios/esm/contract/sent_transaction.js +141 -0
- package/lib/axios/esm/contract/sent_transaction.js.map +1 -0
- package/lib/axios/esm/contract/spec.d.ts +176 -0
- package/lib/axios/esm/contract/spec.js +1116 -0
- package/lib/axios/esm/contract/spec.js.map +1 -0
- package/lib/axios/esm/contract/types.d.ts +272 -0
- package/lib/axios/esm/contract/types.js +5 -0
- package/lib/axios/esm/contract/types.js.map +1 -0
- package/lib/axios/esm/contract/utils.d.ts +45 -0
- package/lib/axios/esm/contract/utils.js +131 -0
- package/lib/axios/esm/contract/utils.js.map +1 -0
- package/lib/axios/esm/contract/wasm_spec_parser.d.ts +7 -0
- package/lib/axios/esm/contract/wasm_spec_parser.js +14 -0
- package/lib/axios/esm/contract/wasm_spec_parser.js.map +1 -0
- package/lib/axios/esm/dwtoml/index.d.ts +133 -0
- package/lib/axios/esm/dwtoml/index.js +67 -0
- package/lib/axios/esm/dwtoml/index.js.map +1 -0
- package/lib/axios/esm/errors/account_requires_memo.d.ts +24 -0
- package/lib/axios/esm/errors/account_requires_memo.js +12 -0
- package/lib/axios/esm/errors/account_requires_memo.js.map +1 -0
- package/lib/axios/esm/errors/bad_request.d.ts +10 -0
- package/lib/axios/esm/errors/bad_request.js +7 -0
- package/lib/axios/esm/errors/bad_request.js.map +1 -0
- package/lib/axios/esm/errors/bad_response.d.ts +13 -0
- package/lib/axios/esm/errors/bad_response.js +7 -0
- package/lib/axios/esm/errors/bad_response.js.map +1 -0
- package/lib/axios/esm/errors/index.d.ts +5 -0
- package/lib/axios/esm/errors/network.d.ts +40 -0
- package/lib/axios/esm/errors/network.js +18 -0
- package/lib/axios/esm/errors/network.js.map +1 -0
- package/lib/axios/esm/errors/not_found.d.ts +10 -0
- package/lib/axios/esm/errors/not_found.js +7 -0
- package/lib/axios/esm/errors/not_found.js.map +1 -0
- package/lib/axios/esm/faucet/index.d.ts +6 -0
- package/lib/axios/esm/faucet/index.js +2 -0
- package/lib/axios/esm/faucet/index.js.map +1 -0
- package/lib/axios/esm/federation/api.d.ts +32 -0
- package/lib/axios/esm/federation/index.d.ts +2 -0
- package/lib/axios/esm/federation/index.js +2 -0
- package/lib/axios/esm/federation/index.js.map +1 -0
- package/lib/axios/esm/federation/server.d.ts +116 -0
- package/lib/axios/esm/federation/server.js +226 -0
- package/lib/axios/esm/federation/server.js.map +1 -0
- package/lib/axios/esm/federation/utils.d.ts +1 -0
- package/lib/axios/esm/federation/utils.js +12 -0
- package/lib/axios/esm/federation/utils.js.map +1 -0
- package/lib/axios/esm/gateway/account_call_builder.d.ts +54 -0
- package/lib/axios/esm/gateway/account_call_builder.js +68 -0
- package/lib/axios/esm/gateway/account_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/account_response.d.ts +62 -0
- package/lib/axios/esm/gateway/account_response.js +104 -0
- package/lib/axios/esm/gateway/account_response.js.map +1 -0
- package/lib/axios/esm/gateway/assets_call_builder.d.ts +25 -0
- package/lib/axios/esm/gateway/assets_call_builder.js +29 -0
- package/lib/axios/esm/gateway/assets_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/call_builder.d.ts +128 -0
- package/lib/axios/esm/gateway/call_builder.js +354 -0
- package/lib/axios/esm/gateway/call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/claimable_balances_call_builder.d.ts +48 -0
- package/lib/axios/esm/gateway/claimable_balances_call_builder.js +59 -0
- package/lib/axios/esm/gateway/claimable_balances_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/effect_call_builder.d.ts +51 -0
- package/lib/axios/esm/gateway/effect_call_builder.js +58 -0
- package/lib/axios/esm/gateway/effect_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/faucet.d.ts +5 -0
- package/lib/axios/esm/gateway/faucet.js +12 -0
- package/lib/axios/esm/gateway/faucet.js.map +1 -0
- package/lib/axios/esm/gateway/gateway_api.d.ts +543 -0
- package/lib/axios/esm/gateway/gateway_api.js +84 -0
- package/lib/axios/esm/gateway/gateway_api.js.map +1 -0
- package/lib/axios/esm/gateway/gateway_axios_client.d.ts +36 -0
- package/lib/axios/esm/gateway/gateway_axios_client.js +61 -0
- package/lib/axios/esm/gateway/gateway_axios_client.js.map +1 -0
- package/lib/axios/esm/gateway/index.d.ts +5 -0
- package/lib/axios/esm/gateway/index.js +6 -0
- package/lib/axios/esm/gateway/index.js.map +1 -0
- package/lib/axios/esm/gateway/ledger_call_builder.d.ts +21 -0
- package/lib/axios/esm/gateway/ledger_call_builder.js +20 -0
- package/lib/axios/esm/gateway/ledger_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/liquidity_pool_call_builder.d.ts +35 -0
- package/lib/axios/esm/gateway/liquidity_pool_call_builder.js +49 -0
- package/lib/axios/esm/gateway/liquidity_pool_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/offer_call_builder.d.ts +63 -0
- package/lib/axios/esm/gateway/offer_call_builder.js +93 -0
- package/lib/axios/esm/gateway/offer_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/operation_call_builder.d.ts +67 -0
- package/lib/axios/esm/gateway/operation_call_builder.js +83 -0
- package/lib/axios/esm/gateway/operation_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/orderbook_call_builder.d.ts +18 -0
- package/lib/axios/esm/gateway/orderbook_call_builder.js +27 -0
- package/lib/axios/esm/gateway/orderbook_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/path_call_builder.d.ts +32 -0
- package/lib/axios/esm/gateway/payment_call_builder.d.ts +44 -0
- package/lib/axios/esm/gateway/payment_call_builder.js +49 -0
- package/lib/axios/esm/gateway/payment_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/server.d.ts +408 -0
- package/lib/axios/esm/gateway/server.js +743 -0
- package/lib/axios/esm/gateway/server.js.map +1 -0
- package/lib/axios/esm/gateway/server_api.d.ts +265 -0
- package/lib/axios/esm/gateway/server_api.js +17 -0
- package/lib/axios/esm/gateway/server_api.js.map +1 -0
- package/lib/axios/esm/gateway/strict_receive_path_call_builder.d.ts +35 -0
- package/lib/axios/esm/gateway/strict_receive_path_call_builder.js +37 -0
- package/lib/axios/esm/gateway/strict_receive_path_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/strict_send_path_call_builder.d.ts +35 -0
- package/lib/axios/esm/gateway/strict_send_path_call_builder.js +34 -0
- package/lib/axios/esm/gateway/strict_send_path_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/trade_aggregation_call_builder.d.ts +46 -0
- package/lib/axios/esm/gateway/trade_aggregation_call_builder.js +70 -0
- package/lib/axios/esm/gateway/trade_aggregation_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/trades_call_builder.d.ts +49 -0
- package/lib/axios/esm/gateway/trades_call_builder.js +72 -0
- package/lib/axios/esm/gateway/trades_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/transaction_call_builder.d.ts +57 -0
- package/lib/axios/esm/gateway/transaction_call_builder.js +71 -0
- package/lib/axios/esm/gateway/transaction_call_builder.js.map +1 -0
- package/lib/axios/esm/gateway/types/account.d.ts +5 -0
- package/lib/axios/esm/gateway/types/assets.d.ts +17 -0
- package/lib/axios/esm/gateway/types/effects.d.ts +285 -0
- package/lib/axios/esm/gateway/types/effects.js +59 -0
- package/lib/axios/esm/gateway/types/effects.js.map +1 -0
- package/lib/axios/esm/gateway/types/offer.d.ts +20 -0
- package/lib/axios/esm/gateway/types/trade.d.ts +14 -0
- package/lib/axios/esm/http-client/axios-client.d.ts +2 -0
- package/lib/axios/esm/http-client/axios-client.js +7 -0
- package/lib/axios/esm/http-client/axios-client.js.map +1 -0
- package/lib/axios/esm/http-client/axios.d.ts +2 -0
- package/lib/axios/esm/http-client/axios.js +3 -0
- package/lib/axios/esm/http-client/axios.js.map +1 -0
- package/lib/axios/esm/http-client/fetch-client.d.ts +11 -0
- package/lib/axios/esm/http-client/fetch-client.js +467 -0
- package/lib/axios/esm/http-client/fetch-client.js.map +1 -0
- package/lib/axios/esm/http-client/index.d.ts +2 -0
- package/lib/axios/esm/http-client/index.js +3 -0
- package/lib/axios/esm/http-client/index.js.map +1 -0
- package/lib/axios/esm/http-client/types.d.ts +70 -0
- package/lib/axios/esm/http-client/types.js +22 -0
- package/lib/axios/esm/http-client/types.js.map +1 -0
- package/lib/axios/esm/index.d.ts +32 -0
- package/lib/axios/esm/index.js +66 -0
- package/lib/axios/esm/index.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/package.json +3 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/array.js +66 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/array.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bigint-encoder.js +174 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bigint-encoder.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bool.js +39 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bool.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/config.js +259 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/config.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/double.js +30 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/double.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/enum.js +97 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/enum.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/errors.js +28 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/errors.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/float.js +30 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/float.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/hyper.js +41 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/hyper.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/int.js +42 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/int.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/large-int.js +142 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/large-int.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/opaque.js +39 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/opaque.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/option.js +47 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/option.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/quadruple.js +19 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/quadruple.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/reference.js +14 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/reference.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-reader.js +169 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-reader.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-writer.js +184 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-writer.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/string.js +62 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/string.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/struct.js +94 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/struct.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/union.js +182 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/union.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-hyper.js +41 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-hyper.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-int.js +45 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-int.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-array.js +75 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-array.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-opaque.js +47 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-opaque.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/void.js +22 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/void.js.map +1 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/xdr-type.js +256 -0
- package/lib/axios/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/xdr-type.js.map +1 -0
- package/lib/axios/esm/rpc/api.d.ts +580 -0
- package/lib/axios/esm/rpc/api.js +27 -0
- package/lib/axios/esm/rpc/api.js.map +1 -0
- package/lib/axios/esm/rpc/axios.d.ts +3 -0
- package/lib/axios/esm/rpc/axios.js +15 -0
- package/lib/axios/esm/rpc/axios.js.map +1 -0
- package/lib/axios/esm/rpc/browser.d.ts +2 -0
- package/lib/axios/esm/rpc/index.d.ts +4 -0
- package/lib/axios/esm/rpc/index.js +5 -0
- package/lib/axios/esm/rpc/index.js.map +1 -0
- package/lib/axios/esm/rpc/jsonrpc.d.ts +37 -0
- package/lib/axios/esm/rpc/jsonrpc.js +20 -0
- package/lib/axios/esm/rpc/jsonrpc.js.map +1 -0
- package/lib/axios/esm/rpc/parsers.d.ts +44 -0
- package/lib/axios/esm/rpc/parsers.js +236 -0
- package/lib/axios/esm/rpc/parsers.js.map +1 -0
- package/lib/axios/esm/rpc/server.d.ts +855 -0
- package/lib/axios/esm/rpc/server.js +1299 -0
- package/lib/axios/esm/rpc/server.js.map +1 -0
- package/lib/axios/esm/rpc/transaction.d.ts +20 -0
- package/lib/axios/esm/rpc/transaction.js +97 -0
- package/lib/axios/esm/rpc/transaction.js.map +1 -0
- package/lib/axios/esm/rpc/utils.d.ts +1 -0
- package/lib/axios/esm/utils/url.d.ts +2 -0
- package/lib/axios/esm/utils/url.js +31 -0
- package/lib/axios/esm/utils/url.js.map +1 -0
- package/lib/axios/esm/utils.d.ts +18 -0
- package/lib/axios/esm/utils.js +25 -0
- package/lib/axios/esm/utils.js.map +1 -0
- package/lib/axios/esm/webauth/challenge_transaction.d.ts +241 -0
- package/lib/axios/esm/webauth/challenge_transaction.js +329 -0
- package/lib/axios/esm/webauth/challenge_transaction.js.map +1 -0
- package/lib/axios/esm/webauth/errors.d.ts +9 -0
- package/lib/axios/esm/webauth/errors.js +5 -0
- package/lib/axios/esm/webauth/errors.js.map +1 -0
- package/lib/axios/esm/webauth/index.d.ts +3 -0
- package/lib/axios/esm/webauth/index.js +4 -0
- package/lib/axios/esm/webauth/index.js.map +1 -0
- package/lib/axios/esm/webauth/utils.d.ts +65 -0
- package/lib/axios/esm/webauth/utils.js +58 -0
- package/lib/axios/esm/webauth/utils.js.map +1 -0
- package/lib/cjs/base/account.js +60 -0
- package/lib/cjs/base/account.js.map +1 -0
- package/lib/cjs/base/address.js +195 -0
- package/lib/cjs/base/address.js.map +1 -0
- package/lib/cjs/base/asset.js +261 -0
- package/lib/cjs/base/asset.js.map +1 -0
- package/lib/cjs/base/auth.js +244 -0
- package/lib/cjs/base/auth.js.map +1 -0
- package/lib/cjs/base/claimant.js +147 -0
- package/lib/cjs/base/claimant.js.map +1 -0
- package/lib/cjs/base/contract.js +72 -0
- package/lib/cjs/base/contract.js.map +1 -0
- package/lib/cjs/base/events.js +27 -0
- package/lib/cjs/base/events.js.map +1 -0
- package/lib/cjs/base/fee_bump_transaction.js +94 -0
- package/lib/cjs/base/fee_bump_transaction.js.map +1 -0
- package/lib/cjs/base/generated/curr_generated.js +3792 -0
- package/lib/cjs/base/generated/curr_generated.js.map +1 -0
- package/lib/cjs/base/get_liquidity_pool_id.js +37 -0
- package/lib/cjs/base/get_liquidity_pool_id.js.map +1 -0
- package/lib/cjs/base/hashing.js +12 -0
- package/lib/cjs/base/hashing.js.map +1 -0
- package/lib/cjs/base/invocation.js +94 -0
- package/lib/cjs/base/invocation.js.map +1 -0
- package/lib/cjs/base/jsxdr.js +19 -0
- package/lib/cjs/base/jsxdr.js.map +1 -0
- package/lib/cjs/base/keypair.js +270 -0
- package/lib/cjs/base/keypair.js.map +1 -0
- package/lib/cjs/base/liquidity_pool_asset.js +107 -0
- package/lib/cjs/base/liquidity_pool_asset.js.map +1 -0
- package/lib/cjs/base/liquidity_pool_id.js +77 -0
- package/lib/cjs/base/liquidity_pool_id.js.map +1 -0
- package/lib/cjs/base/memo.js +237 -0
- package/lib/cjs/base/memo.js.map +1 -0
- package/lib/cjs/base/muxed_account.js +123 -0
- package/lib/cjs/base/muxed_account.js.map +1 -0
- package/lib/cjs/base/network.js +10 -0
- package/lib/cjs/base/network.js.map +1 -0
- package/lib/cjs/base/numbers/index.js +66 -0
- package/lib/cjs/base/numbers/index.js.map +1 -0
- package/lib/cjs/base/numbers/int128.js +31 -0
- package/lib/cjs/base/numbers/int128.js.map +1 -0
- package/lib/cjs/base/numbers/int256.js +31 -0
- package/lib/cjs/base/numbers/int256.js.map +1 -0
- package/lib/cjs/base/numbers/sc_int.js +54 -0
- package/lib/cjs/base/numbers/sc_int.js.map +1 -0
- package/lib/cjs/base/numbers/uint128.js +31 -0
- package/lib/cjs/base/numbers/uint128.js.map +1 -0
- package/lib/cjs/base/numbers/uint256.js +31 -0
- package/lib/cjs/base/numbers/uint256.js.map +1 -0
- package/lib/cjs/base/numbers/xdr_large_int.js +273 -0
- package/lib/cjs/base/numbers/xdr_large_int.js.map +1 -0
- package/lib/cjs/base/operation.js +455 -0
- package/lib/cjs/base/operation.js.map +1 -0
- package/lib/cjs/base/operations/account_merge.js +25 -0
- package/lib/cjs/base/operations/account_merge.js.map +1 -0
- package/lib/cjs/base/operations/allow_trust.js +50 -0
- package/lib/cjs/base/operations/allow_trust.js.map +1 -0
- package/lib/cjs/base/operations/begin_sponsoring_future_reserves.js +24 -0
- package/lib/cjs/base/operations/begin_sponsoring_future_reserves.js.map +1 -0
- package/lib/cjs/base/operations/bump_sequence.js +27 -0
- package/lib/cjs/base/operations/bump_sequence.js.map +1 -0
- package/lib/cjs/base/operations/change_trust.js +33 -0
- package/lib/cjs/base/operations/change_trust.js.map +1 -0
- package/lib/cjs/base/operations/claim_claimable_balance.js +30 -0
- package/lib/cjs/base/operations/claim_claimable_balance.js.map +1 -0
- package/lib/cjs/base/operations/clawback.js +31 -0
- package/lib/cjs/base/operations/clawback.js.map +1 -0
- package/lib/cjs/base/operations/clawback_claimable_balance.js +24 -0
- package/lib/cjs/base/operations/clawback_claimable_balance.js.map +1 -0
- package/lib/cjs/base/operations/create_account.js +28 -0
- package/lib/cjs/base/operations/create_account.js.map +1 -0
- package/lib/cjs/base/operations/create_claimable_balance.js +36 -0
- package/lib/cjs/base/operations/create_claimable_balance.js.map +1 -0
- package/lib/cjs/base/operations/create_passive_sell_offer.js +32 -0
- package/lib/cjs/base/operations/create_passive_sell_offer.js.map +1 -0
- package/lib/cjs/base/operations/end_sponsoring_future_reserves.js +16 -0
- package/lib/cjs/base/operations/end_sponsoring_future_reserves.js.map +1 -0
- package/lib/cjs/base/operations/extend_footprint_ttl.js +23 -0
- package/lib/cjs/base/operations/extend_footprint_ttl.js.map +1 -0
- package/lib/cjs/base/operations/inflation.js +16 -0
- package/lib/cjs/base/operations/inflation.js.map +1 -0
- package/lib/cjs/base/operations/invoke_host_function.js +143 -0
- package/lib/cjs/base/operations/invoke_host_function.js.map +1 -0
- package/lib/cjs/base/operations/liquidity_pool_deposit.js +48 -0
- package/lib/cjs/base/operations/liquidity_pool_deposit.js.map +1 -0
- package/lib/cjs/base/operations/liquidity_pool_withdraw.js +42 -0
- package/lib/cjs/base/operations/liquidity_pool_withdraw.js.map +1 -0
- package/lib/cjs/base/operations/manage_buy_offer.js +35 -0
- package/lib/cjs/base/operations/manage_buy_offer.js.map +1 -0
- package/lib/cjs/base/operations/manage_data.js +38 -0
- package/lib/cjs/base/operations/manage_data.js.map +1 -0
- package/lib/cjs/base/operations/manage_sell_offer.js +35 -0
- package/lib/cjs/base/operations/manage_sell_offer.js.map +1 -0
- package/lib/cjs/base/operations/path_payment_strict_receive.js +44 -0
- package/lib/cjs/base/operations/path_payment_strict_receive.js.map +1 -0
- package/lib/cjs/base/operations/path_payment_strict_send.js +48 -0
- package/lib/cjs/base/operations/path_payment_strict_send.js.map +1 -0
- package/lib/cjs/base/operations/payment.js +34 -0
- package/lib/cjs/base/operations/payment.js.map +1 -0
- package/lib/cjs/base/operations/restore_footprint.js +19 -0
- package/lib/cjs/base/operations/restore_footprint.js.map +1 -0
- package/lib/cjs/base/operations/revoke_sponsorship.js +198 -0
- package/lib/cjs/base/operations/revoke_sponsorship.js.map +1 -0
- package/lib/cjs/base/operations/set_options.js +138 -0
- package/lib/cjs/base/operations/set_options.js.map +1 -0
- package/lib/cjs/base/operations/set_trustline_flags.js +56 -0
- package/lib/cjs/base/operations/set_trustline_flags.js.map +1 -0
- package/lib/cjs/base/scval.js +253 -0
- package/lib/cjs/base/scval.js.map +1 -0
- package/lib/cjs/base/signerkey.js +72 -0
- package/lib/cjs/base/signerkey.js.map +1 -0
- package/lib/cjs/base/signing.js +48 -0
- package/lib/cjs/base/signing.js.map +1 -0
- package/lib/cjs/base/soroban.js +91 -0
- package/lib/cjs/base/soroban.js.map +1 -0
- package/lib/cjs/base/sorobandata_builder.js +148 -0
- package/lib/cjs/base/sorobandata_builder.js.map +1 -0
- package/lib/cjs/base/strkey.js +660 -0
- package/lib/cjs/base/strkey.js.map +1 -0
- package/lib/cjs/base/transaction.js +291 -0
- package/lib/cjs/base/transaction.js.map +1 -0
- package/lib/cjs/base/transaction_base.js +205 -0
- package/lib/cjs/base/transaction_base.js.map +1 -0
- package/lib/cjs/base/transaction_builder.js +887 -0
- package/lib/cjs/base/transaction_builder.js.map +1 -0
- package/lib/cjs/base/util/bignumber.js +14 -0
- package/lib/cjs/base/util/bignumber.js.map +1 -0
- package/lib/cjs/base/util/checksum.js +19 -0
- package/lib/cjs/base/util/checksum.js.map +1 -0
- package/lib/cjs/base/util/continued_fraction.js +83 -0
- package/lib/cjs/base/util/continued_fraction.js.map +1 -0
- package/lib/cjs/base/util/decode_encode_muxed_account.js +68 -0
- package/lib/cjs/base/util/decode_encode_muxed_account.js.map +1 -0
- package/lib/cjs/base/util/operations.js +101 -0
- package/lib/cjs/base/util/operations.js.map +1 -0
- package/lib/cjs/base/util/util.js +13 -0
- package/lib/cjs/base/util/util.js.map +1 -0
- package/lib/cjs/base/xdr.js +10 -0
- package/lib/cjs/base/xdr.js.map +1 -0
- package/lib/cjs/bindings/client.js +140 -0
- package/lib/cjs/bindings/client.js.map +1 -0
- package/lib/cjs/bindings/config.js +139 -0
- package/lib/cjs/bindings/config.js.map +1 -0
- package/lib/cjs/bindings/generator.js +204 -0
- package/lib/cjs/bindings/generator.js.map +1 -0
- package/lib/cjs/bindings/sac-spec.js +6 -0
- package/lib/cjs/bindings/sac-spec.js.map +1 -0
- package/lib/cjs/bindings/types.js +209 -0
- package/lib/cjs/bindings/types.js.map +1 -0
- package/lib/cjs/bindings/utils.js +322 -0
- package/lib/cjs/bindings/utils.js.map +1 -0
- package/lib/cjs/bindings/wasm_fetcher.js +125 -0
- package/lib/cjs/bindings/wasm_fetcher.js.map +1 -0
- package/lib/cjs/cli/index.js +187 -0
- package/lib/cjs/cli/index.js.map +1 -0
- package/lib/cjs/cli/util.js +182 -0
- package/lib/cjs/cli/util.js.map +1 -0
- package/lib/cjs/config.js +49 -0
- package/lib/cjs/config.js.map +1 -0
- package/lib/cjs/contract/assembled_transaction.js +711 -0
- package/lib/cjs/contract/assembled_transaction.js.map +1 -0
- package/lib/cjs/contract/basic_node_signer.js +48 -0
- package/lib/cjs/contract/basic_node_signer.js.map +1 -0
- package/lib/cjs/contract/client.js +174 -0
- package/lib/cjs/contract/client.js.map +1 -0
- package/lib/cjs/contract/errors.js +43 -0
- package/lib/cjs/contract/errors.js.map +1 -0
- package/lib/cjs/contract/index.js +23 -0
- package/lib/cjs/contract/index.js.map +1 -0
- package/lib/cjs/contract/rust_result.js +42 -0
- package/lib/cjs/contract/rust_result.js.map +1 -0
- package/lib/cjs/contract/sent_transaction.js +144 -0
- package/lib/cjs/contract/sent_transaction.js.map +1 -0
- package/lib/cjs/contract/spec.js +1118 -0
- package/lib/cjs/contract/spec.js.map +1 -0
- package/lib/cjs/contract/types.js +8 -0
- package/lib/cjs/contract/types.js.map +1 -0
- package/lib/cjs/contract/utils.js +138 -0
- package/lib/cjs/contract/utils.js.map +1 -0
- package/lib/cjs/contract/wasm_spec_parser.js +16 -0
- package/lib/cjs/contract/wasm_spec_parser.js.map +1 -0
- package/lib/cjs/dwtoml/index.js +70 -0
- package/lib/cjs/dwtoml/index.js.map +1 -0
- package/lib/cjs/errors/account_requires_memo.js +14 -0
- package/lib/cjs/errors/account_requires_memo.js.map +1 -0
- package/lib/cjs/errors/bad_request.js +9 -0
- package/lib/cjs/errors/bad_request.js.map +1 -0
- package/lib/cjs/errors/bad_response.js +9 -0
- package/lib/cjs/errors/bad_response.js.map +1 -0
- package/lib/cjs/errors/network.js +20 -0
- package/lib/cjs/errors/network.js.map +1 -0
- package/lib/cjs/errors/not_found.js +9 -0
- package/lib/cjs/errors/not_found.js.map +1 -0
- package/lib/cjs/faucet/index.js +3 -0
- package/lib/cjs/faucet/index.js.map +1 -0
- package/lib/cjs/federation/index.js +9 -0
- package/lib/cjs/federation/index.js.map +1 -0
- package/lib/cjs/federation/server.js +229 -0
- package/lib/cjs/federation/server.js.map +1 -0
- package/lib/cjs/federation/utils.js +14 -0
- package/lib/cjs/federation/utils.js.map +1 -0
- package/lib/cjs/gateway/account_call_builder.js +70 -0
- package/lib/cjs/gateway/account_call_builder.js.map +1 -0
- package/lib/cjs/gateway/account_response.js +106 -0
- package/lib/cjs/gateway/account_response.js.map +1 -0
- package/lib/cjs/gateway/assets_call_builder.js +31 -0
- package/lib/cjs/gateway/assets_call_builder.js.map +1 -0
- package/lib/cjs/gateway/call_builder.js +356 -0
- package/lib/cjs/gateway/call_builder.js.map +1 -0
- package/lib/cjs/gateway/claimable_balances_call_builder.js +61 -0
- package/lib/cjs/gateway/claimable_balances_call_builder.js.map +1 -0
- package/lib/cjs/gateway/effect_call_builder.js +60 -0
- package/lib/cjs/gateway/effect_call_builder.js.map +1 -0
- package/lib/cjs/gateway/faucet.js +14 -0
- package/lib/cjs/gateway/faucet.js.map +1 -0
- package/lib/cjs/gateway/gateway_api.js +84 -0
- package/lib/cjs/gateway/gateway_api.js.map +1 -0
- package/lib/cjs/gateway/gateway_axios_client.js +66 -0
- package/lib/cjs/gateway/gateway_axios_client.js.map +1 -0
- package/lib/cjs/gateway/index.js +23 -0
- package/lib/cjs/gateway/index.js.map +1 -0
- package/lib/cjs/gateway/ledger_call_builder.js +22 -0
- package/lib/cjs/gateway/ledger_call_builder.js.map +1 -0
- package/lib/cjs/gateway/liquidity_pool_call_builder.js +51 -0
- package/lib/cjs/gateway/liquidity_pool_call_builder.js.map +1 -0
- package/lib/cjs/gateway/offer_call_builder.js +95 -0
- package/lib/cjs/gateway/offer_call_builder.js.map +1 -0
- package/lib/cjs/gateway/operation_call_builder.js +85 -0
- package/lib/cjs/gateway/operation_call_builder.js.map +1 -0
- package/lib/cjs/gateway/orderbook_call_builder.js +29 -0
- package/lib/cjs/gateway/orderbook_call_builder.js.map +1 -0
- package/lib/cjs/gateway/payment_call_builder.js +51 -0
- package/lib/cjs/gateway/payment_call_builder.js.map +1 -0
- package/lib/cjs/gateway/server.js +746 -0
- package/lib/cjs/gateway/server.js.map +1 -0
- package/lib/cjs/gateway/server_api.js +17 -0
- package/lib/cjs/gateway/server_api.js.map +1 -0
- package/lib/cjs/gateway/strict_receive_path_call_builder.js +39 -0
- package/lib/cjs/gateway/strict_receive_path_call_builder.js.map +1 -0
- package/lib/cjs/gateway/strict_send_path_call_builder.js +36 -0
- package/lib/cjs/gateway/strict_send_path_call_builder.js.map +1 -0
- package/lib/cjs/gateway/trade_aggregation_call_builder.js +72 -0
- package/lib/cjs/gateway/trade_aggregation_call_builder.js.map +1 -0
- package/lib/cjs/gateway/trades_call_builder.js +74 -0
- package/lib/cjs/gateway/trades_call_builder.js.map +1 -0
- package/lib/cjs/gateway/transaction_call_builder.js +73 -0
- package/lib/cjs/gateway/transaction_call_builder.js.map +1 -0
- package/lib/cjs/gateway/types/effects.js +61 -0
- package/lib/cjs/gateway/types/effects.js.map +1 -0
- package/lib/cjs/http-client/axios-client.js +14 -0
- package/lib/cjs/http-client/axios-client.js.map +1 -0
- package/lib/cjs/http-client/axios.js +11 -0
- package/lib/cjs/http-client/axios.js.map +1 -0
- package/lib/cjs/http-client/fetch-client.js +474 -0
- package/lib/cjs/http-client/fetch-client.js.map +1 -0
- package/lib/cjs/http-client/index.js +11 -0
- package/lib/cjs/http-client/index.js.map +1 -0
- package/lib/cjs/http-client/types.js +24 -0
- package/lib/cjs/http-client/types.js.map +1 -0
- package/lib/cjs/index.js +141 -0
- package/lib/cjs/index.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/array.js +68 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/array.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bigint-encoder.js +179 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bigint-encoder.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bool.js +41 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bool.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/config.js +262 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/config.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/double.js +32 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/double.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/enum.js +99 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/enum.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/errors.js +33 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/errors.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/float.js +32 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/float.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/hyper.js +43 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/hyper.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/int.js +44 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/int.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/large-int.js +144 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/large-int.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/opaque.js +41 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/opaque.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/option.js +49 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/option.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/quadruple.js +21 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/quadruple.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/reference.js +16 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/reference.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-reader.js +171 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-reader.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-writer.js +186 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-writer.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/string.js +64 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/string.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/struct.js +96 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/struct.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/union.js +184 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/union.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-hyper.js +43 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-hyper.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-int.js +47 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-int.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-array.js +77 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-array.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-opaque.js +49 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-opaque.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/void.js +24 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/void.js.map +1 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/xdr-type.js +262 -0
- package/lib/cjs/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/xdr-type.js.map +1 -0
- package/lib/cjs/package.json +3 -0
- package/lib/cjs/rpc/api.js +27 -0
- package/lib/cjs/rpc/api.js.map +1 -0
- package/lib/cjs/rpc/axios.js +18 -0
- package/lib/cjs/rpc/axios.js.map +1 -0
- package/lib/cjs/rpc/index.js +21 -0
- package/lib/cjs/rpc/index.js.map +1 -0
- package/lib/cjs/rpc/jsonrpc.js +22 -0
- package/lib/cjs/rpc/jsonrpc.js.map +1 -0
- package/lib/cjs/rpc/parsers.js +245 -0
- package/lib/cjs/rpc/parsers.js.map +1 -0
- package/lib/cjs/rpc/server.js +1304 -0
- package/lib/cjs/rpc/server.js.map +1 -0
- package/lib/cjs/rpc/transaction.js +99 -0
- package/lib/cjs/rpc/transaction.js.map +1 -0
- package/lib/cjs/utils/url.js +33 -0
- package/lib/cjs/utils/url.js.map +1 -0
- package/lib/cjs/utils.js +27 -0
- package/lib/cjs/utils.js.map +1 -0
- package/lib/cjs/webauth/challenge_transaction.js +334 -0
- package/lib/cjs/webauth/challenge_transaction.js.map +1 -0
- package/lib/cjs/webauth/errors.js +7 -0
- package/lib/cjs/webauth/errors.js.map +1 -0
- package/lib/cjs/webauth/index.js +16 -0
- package/lib/cjs/webauth/index.js.map +1 -0
- package/lib/cjs/webauth/utils.js +61 -0
- package/lib/cjs/webauth/utils.js.map +1 -0
- package/lib/esm/base/account.d.ts +35 -0
- package/lib/esm/base/account.js +58 -0
- package/lib/esm/base/account.js.map +1 -0
- package/lib/esm/base/address.d.ts +87 -0
- package/lib/esm/base/address.js +193 -0
- package/lib/esm/base/address.js.map +1 -0
- package/lib/esm/base/asset.d.ts +118 -0
- package/lib/esm/base/asset.js +258 -0
- package/lib/esm/base/asset.js.map +1 -0
- package/lib/esm/base/auth.d.ts +273 -0
- package/lib/esm/base/auth.js +238 -0
- package/lib/esm/base/auth.js.map +1 -0
- package/lib/esm/base/claimant.d.ts +75 -0
- package/lib/esm/base/claimant.js +145 -0
- package/lib/esm/base/claimant.js.map +1 -0
- package/lib/esm/base/contract.d.ts +47 -0
- package/lib/esm/base/contract.js +70 -0
- package/lib/esm/base/contract.js.map +1 -0
- package/lib/esm/base/events.d.ts +22 -0
- package/lib/esm/base/events.js +25 -0
- package/lib/esm/base/events.js.map +1 -0
- package/lib/esm/base/fee_bump_transaction.d.ts +47 -0
- package/lib/esm/base/fee_bump_transaction.js +92 -0
- package/lib/esm/base/fee_bump_transaction.js.map +1 -0
- package/lib/esm/base/generated/curr.d.ts +16280 -0
- package/lib/esm/base/generated/curr_generated.d.ts +4 -0
- package/lib/esm/base/generated/curr_generated.js +3788 -0
- package/lib/esm/base/generated/curr_generated.js.map +1 -0
- package/lib/esm/base/generated/next.d.ts +16280 -0
- package/lib/esm/base/generated/next_generated.d.ts +4 -0
- package/lib/esm/base/get_liquidity_pool_id.d.ts +29 -0
- package/lib/esm/base/get_liquidity_pool_id.js +34 -0
- package/lib/esm/base/get_liquidity_pool_id.js.map +1 -0
- package/lib/esm/base/hashing.d.ts +6 -0
- package/lib/esm/base/hashing.js +10 -0
- package/lib/esm/base/hashing.js.map +1 -0
- package/lib/esm/base/index.d.ts +39 -0
- package/lib/esm/base/invocation.d.ts +116 -0
- package/lib/esm/base/invocation.js +91 -0
- package/lib/esm/base/invocation.js.map +1 -0
- package/lib/esm/base/jsxdr.d.ts +7 -0
- package/lib/esm/base/jsxdr.js +13 -0
- package/lib/esm/base/jsxdr.js.map +1 -0
- package/lib/esm/base/keypair.d.ts +139 -0
- package/lib/esm/base/keypair.js +248 -0
- package/lib/esm/base/keypair.js.map +1 -0
- package/lib/esm/base/liquidity_pool_asset.d.ts +50 -0
- package/lib/esm/base/liquidity_pool_asset.js +105 -0
- package/lib/esm/base/liquidity_pool_asset.js.map +1 -0
- package/lib/esm/base/liquidity_pool_id.d.ts +45 -0
- package/lib/esm/base/liquidity_pool_id.js +75 -0
- package/lib/esm/base/liquidity_pool_id.js.map +1 -0
- package/lib/esm/base/memo.d.ts +112 -0
- package/lib/esm/base/memo.js +230 -0
- package/lib/esm/base/memo.js.map +1 -0
- package/lib/esm/base/muxed_account.d.ts +94 -0
- package/lib/esm/base/muxed_account.js +121 -0
- package/lib/esm/base/muxed_account.js.map +1 -0
- package/lib/esm/base/network.d.ts +9 -0
- package/lib/esm/base/network.js +8 -0
- package/lib/esm/base/network.js.map +1 -0
- package/lib/esm/base/numbers/index.d.ts +29 -0
- package/lib/esm/base/numbers/index.js +59 -0
- package/lib/esm/base/numbers/index.js.map +1 -0
- package/lib/esm/base/numbers/int128.d.ts +12 -0
- package/lib/esm/base/numbers/int128.js +29 -0
- package/lib/esm/base/numbers/int128.js.map +1 -0
- package/lib/esm/base/numbers/int256.d.ts +12 -0
- package/lib/esm/base/numbers/int256.js +29 -0
- package/lib/esm/base/numbers/int256.js.map +1 -0
- package/lib/esm/base/numbers/sc_int.d.ts +79 -0
- package/lib/esm/base/numbers/sc_int.js +52 -0
- package/lib/esm/base/numbers/sc_int.js.map +1 -0
- package/lib/esm/base/numbers/uint128.d.ts +12 -0
- package/lib/esm/base/numbers/uint128.js +29 -0
- package/lib/esm/base/numbers/uint128.js.map +1 -0
- package/lib/esm/base/numbers/uint256.d.ts +12 -0
- package/lib/esm/base/numbers/uint256.js +29 -0
- package/lib/esm/base/numbers/uint256.js.map +1 -0
- package/lib/esm/base/numbers/xdr_large_int.d.ts +93 -0
- package/lib/esm/base/numbers/xdr_large_int.js +271 -0
- package/lib/esm/base/numbers/xdr_large_int.js.map +1 -0
- package/lib/esm/base/operation.d.ts +161 -0
- package/lib/esm/base/operation.js +449 -0
- package/lib/esm/base/operation.js.map +1 -0
- package/lib/esm/base/operations/account_merge.d.ts +11 -0
- package/lib/esm/base/operations/account_merge.js +23 -0
- package/lib/esm/base/operations/account_merge.js.map +1 -0
- package/lib/esm/base/operations/allow_trust.d.ts +15 -0
- package/lib/esm/base/operations/allow_trust.js +48 -0
- package/lib/esm/base/operations/allow_trust.js.map +1 -0
- package/lib/esm/base/operations/begin_sponsoring_future_reserves.d.ts +17 -0
- package/lib/esm/base/operations/begin_sponsoring_future_reserves.js +22 -0
- package/lib/esm/base/operations/begin_sponsoring_future_reserves.js.map +1 -0
- package/lib/esm/base/operations/bump_sequence.d.ts +9 -0
- package/lib/esm/base/operations/bump_sequence.js +25 -0
- package/lib/esm/base/operations/bump_sequence.js.map +1 -0
- package/lib/esm/base/operations/change_trust.d.ts +13 -0
- package/lib/esm/base/operations/change_trust.js +31 -0
- package/lib/esm/base/operations/change_trust.js.map +1 -0
- package/lib/esm/base/operations/claim_claimable_balance.d.ts +22 -0
- package/lib/esm/base/operations/claim_claimable_balance.js +27 -0
- package/lib/esm/base/operations/claim_claimable_balance.js.map +1 -0
- package/lib/esm/base/operations/clawback.d.ts +17 -0
- package/lib/esm/base/operations/clawback.js +29 -0
- package/lib/esm/base/operations/clawback.js.map +1 -0
- package/lib/esm/base/operations/clawback_claimable_balance.d.ts +19 -0
- package/lib/esm/base/operations/clawback_claimable_balance.js +22 -0
- package/lib/esm/base/operations/clawback_claimable_balance.js.map +1 -0
- package/lib/esm/base/operations/create_account.d.ts +12 -0
- package/lib/esm/base/operations/create_account.js +26 -0
- package/lib/esm/base/operations/create_account.js.map +1 -0
- package/lib/esm/base/operations/create_claimable_balance.d.ts +34 -0
- package/lib/esm/base/operations/create_claimable_balance.js +34 -0
- package/lib/esm/base/operations/create_claimable_balance.js.map +1 -0
- package/lib/esm/base/operations/create_passive_sell_offer.d.ts +18 -0
- package/lib/esm/base/operations/create_passive_sell_offer.js +30 -0
- package/lib/esm/base/operations/create_passive_sell_offer.js.map +1 -0
- package/lib/esm/base/operations/end_sponsoring_future_reserves.d.ts +14 -0
- package/lib/esm/base/operations/end_sponsoring_future_reserves.js +14 -0
- package/lib/esm/base/operations/end_sponsoring_future_reserves.js.map +1 -0
- package/lib/esm/base/operations/extend_footprint_ttl.d.ts +28 -0
- package/lib/esm/base/operations/extend_footprint_ttl.js +21 -0
- package/lib/esm/base/operations/extend_footprint_ttl.js.map +1 -0
- package/lib/esm/base/operations/index.d.ts +28 -0
- package/lib/esm/base/operations/inflation.d.ts +8 -0
- package/lib/esm/base/operations/inflation.js +14 -0
- package/lib/esm/base/operations/inflation.js.map +1 -0
- package/lib/esm/base/operations/invoke_host_function.d.ts +78 -0
- package/lib/esm/base/operations/invoke_host_function.js +137 -0
- package/lib/esm/base/operations/invoke_host_function.js.map +1 -0
- package/lib/esm/base/operations/liquidity_pool_deposit.d.ts +20 -0
- package/lib/esm/base/operations/liquidity_pool_deposit.js +46 -0
- package/lib/esm/base/operations/liquidity_pool_deposit.js.map +1 -0
- package/lib/esm/base/operations/liquidity_pool_withdraw.d.ts +15 -0
- package/lib/esm/base/operations/liquidity_pool_withdraw.js +40 -0
- package/lib/esm/base/operations/liquidity_pool_withdraw.js.map +1 -0
- package/lib/esm/base/operations/manage_buy_offer.d.ts +17 -0
- package/lib/esm/base/operations/manage_buy_offer.js +33 -0
- package/lib/esm/base/operations/manage_buy_offer.js.map +1 -0
- package/lib/esm/base/operations/manage_data.d.ts +10 -0
- package/lib/esm/base/operations/manage_data.js +36 -0
- package/lib/esm/base/operations/manage_data.js.map +1 -0
- package/lib/esm/base/operations/manage_sell_offer.d.ts +17 -0
- package/lib/esm/base/operations/manage_sell_offer.js +33 -0
- package/lib/esm/base/operations/manage_sell_offer.js.map +1 -0
- package/lib/esm/base/operations/path_payment_strict_receive.d.ts +24 -0
- package/lib/esm/base/operations/path_payment_strict_receive.js +42 -0
- package/lib/esm/base/operations/path_payment_strict_receive.js.map +1 -0
- package/lib/esm/base/operations/path_payment_strict_send.d.ts +22 -0
- package/lib/esm/base/operations/path_payment_strict_send.js +46 -0
- package/lib/esm/base/operations/path_payment_strict_send.js.map +1 -0
- package/lib/esm/base/operations/payment.d.ts +15 -0
- package/lib/esm/base/operations/payment.js +32 -0
- package/lib/esm/base/operations/payment.js.map +1 -0
- package/lib/esm/base/operations/restore_footprint.d.ts +20 -0
- package/lib/esm/base/operations/restore_footprint.js +17 -0
- package/lib/esm/base/operations/restore_footprint.js.map +1 -0
- package/lib/esm/base/operations/revoke_sponsorship.d.ts +124 -0
- package/lib/esm/base/operations/revoke_sponsorship.js +190 -0
- package/lib/esm/base/operations/revoke_sponsorship.js.map +1 -0
- package/lib/esm/base/operations/set_options.d.ts +34 -0
- package/lib/esm/base/operations/set_options.js +136 -0
- package/lib/esm/base/operations/set_options.js.map +1 -0
- package/lib/esm/base/operations/set_trustline_flags.d.ts +31 -0
- package/lib/esm/base/operations/set_trustline_flags.js +54 -0
- package/lib/esm/base/operations/set_trustline_flags.js.map +1 -0
- package/lib/esm/base/operations/types.d.ts +508 -0
- package/lib/esm/base/scval.d.ts +184 -0
- package/lib/esm/base/scval.js +249 -0
- package/lib/esm/base/scval.js.map +1 -0
- package/lib/esm/base/signerkey.d.ts +27 -0
- package/lib/esm/base/signerkey.js +70 -0
- package/lib/esm/base/signerkey.js.map +1 -0
- package/lib/esm/base/signing.d.ts +21 -0
- package/lib/esm/base/signing.js +24 -0
- package/lib/esm/base/signing.js.map +1 -0
- package/lib/esm/base/soroban.d.ts +45 -0
- package/lib/esm/base/soroban.js +89 -0
- package/lib/esm/base/soroban.js.map +1 -0
- package/lib/esm/base/sorobandata_builder.d.ts +103 -0
- package/lib/esm/base/sorobandata_builder.js +146 -0
- package/lib/esm/base/sorobandata_builder.js.map +1 -0
- package/lib/esm/base/strkey.d.ts +186 -0
- package/lib/esm/base/strkey.js +652 -0
- package/lib/esm/base/strkey.js.map +1 -0
- package/lib/esm/base/transaction.d.ts +110 -0
- package/lib/esm/base/transaction.js +289 -0
- package/lib/esm/base/transaction.js.map +1 -0
- package/lib/esm/base/transaction_base.d.ts +110 -0
- package/lib/esm/base/transaction_base.js +203 -0
- package/lib/esm/base/transaction_base.js.map +1 -0
- package/lib/esm/base/transaction_builder.d.ts +394 -0
- package/lib/esm/base/transaction_builder.js +882 -0
- package/lib/esm/base/transaction_builder.js.map +1 -0
- package/lib/esm/base/transaction_source.d.ts +31 -0
- package/lib/esm/base/util/bignumber.d.ts +5 -0
- package/lib/esm/base/util/bignumber.js +6 -0
- package/lib/esm/base/util/bignumber.js.map +1 -0
- package/lib/esm/base/util/checksum.d.ts +7 -0
- package/lib/esm/base/util/checksum.js +17 -0
- package/lib/esm/base/util/checksum.js.map +1 -0
- package/lib/esm/base/util/continued_fraction.d.ts +9 -0
- package/lib/esm/base/util/continued_fraction.js +81 -0
- package/lib/esm/base/util/continued_fraction.js.map +1 -0
- package/lib/esm/base/util/decode_encode_muxed_account.d.ts +34 -0
- package/lib/esm/base/util/decode_encode_muxed_account.js +63 -0
- package/lib/esm/base/util/decode_encode_muxed_account.js.map +1 -0
- package/lib/esm/base/util/operations.d.ts +61 -0
- package/lib/esm/base/util/operations.js +91 -0
- package/lib/esm/base/util/operations.js.map +1 -0
- package/lib/esm/base/util/util.d.ts +7 -0
- package/lib/esm/base/util/util.js +11 -0
- package/lib/esm/base/util/util.js.map +1 -0
- package/lib/esm/base/xdr.d.ts +2 -0
- package/lib/esm/base/xdr.js +6 -0
- package/lib/esm/base/xdr.js.map +1 -0
- package/lib/esm/bindings/client.d.ts +30 -0
- package/lib/esm/bindings/client.js +138 -0
- package/lib/esm/bindings/client.js.map +1 -0
- package/lib/esm/bindings/config.d.ts +34 -0
- package/lib/esm/bindings/config.js +137 -0
- package/lib/esm/bindings/config.js.map +1 -0
- package/lib/esm/bindings/generator.d.ts +192 -0
- package/lib/esm/bindings/generator.js +202 -0
- package/lib/esm/bindings/generator.js.map +1 -0
- package/lib/esm/bindings/index.d.ts +6 -0
- package/lib/esm/bindings/sac-spec.d.ts +1 -0
- package/lib/esm/bindings/sac-spec.js +4 -0
- package/lib/esm/bindings/sac-spec.js.map +1 -0
- package/lib/esm/bindings/types.d.ts +66 -0
- package/lib/esm/bindings/types.js +207 -0
- package/lib/esm/bindings/types.js.map +1 -0
- package/lib/esm/bindings/utils.d.ts +53 -0
- package/lib/esm/bindings/utils.js +313 -0
- package/lib/esm/bindings/utils.js.map +1 -0
- package/lib/esm/bindings/wasm_fetcher.d.ts +25 -0
- package/lib/esm/bindings/wasm_fetcher.js +121 -0
- package/lib/esm/bindings/wasm_fetcher.js.map +1 -0
- package/lib/esm/browser-axios.d.ts +4 -0
- package/lib/esm/browser.d.ts +4 -0
- package/lib/esm/cli/index.d.ts +2 -0
- package/lib/esm/cli/index.js +165 -0
- package/lib/esm/cli/index.js.map +1 -0
- package/lib/esm/cli/util.d.ts +55 -0
- package/lib/esm/cli/util.js +155 -0
- package/lib/esm/cli/util.js.map +1 -0
- package/lib/esm/config.d.ts +60 -0
- package/lib/esm/config.js +47 -0
- package/lib/esm/config.js.map +1 -0
- package/lib/esm/contract/assembled_transaction.d.ts +533 -0
- package/lib/esm/contract/assembled_transaction.js +709 -0
- package/lib/esm/contract/assembled_transaction.js.map +1 -0
- package/lib/esm/contract/basic_node_signer.d.ts +17 -0
- package/lib/esm/contract/basic_node_signer.js +46 -0
- package/lib/esm/contract/basic_node_signer.js.map +1 -0
- package/lib/esm/contract/client.d.ts +64 -0
- package/lib/esm/contract/client.js +172 -0
- package/lib/esm/contract/client.js.map +1 -0
- package/lib/esm/contract/errors.d.ts +26 -0
- package/lib/esm/contract/errors.js +29 -0
- package/lib/esm/contract/errors.js.map +1 -0
- package/lib/esm/contract/index.d.ts +7 -0
- package/lib/esm/contract/index.js +8 -0
- package/lib/esm/contract/index.js.map +1 -0
- package/lib/esm/contract/rust_result.d.ts +79 -0
- package/lib/esm/contract/rust_result.js +39 -0
- package/lib/esm/contract/rust_result.js.map +1 -0
- package/lib/esm/contract/sent_transaction.d.ts +118 -0
- package/lib/esm/contract/sent_transaction.js +141 -0
- package/lib/esm/contract/sent_transaction.js.map +1 -0
- package/lib/esm/contract/spec.d.ts +176 -0
- package/lib/esm/contract/spec.js +1116 -0
- package/lib/esm/contract/spec.js.map +1 -0
- package/lib/esm/contract/types.d.ts +272 -0
- package/lib/esm/contract/types.js +5 -0
- package/lib/esm/contract/types.js.map +1 -0
- package/lib/esm/contract/utils.d.ts +45 -0
- package/lib/esm/contract/utils.js +131 -0
- package/lib/esm/contract/utils.js.map +1 -0
- package/lib/esm/contract/wasm_spec_parser.d.ts +7 -0
- package/lib/esm/contract/wasm_spec_parser.js +14 -0
- package/lib/esm/contract/wasm_spec_parser.js.map +1 -0
- package/lib/esm/dwtoml/index.d.ts +133 -0
- package/lib/esm/dwtoml/index.js +67 -0
- package/lib/esm/dwtoml/index.js.map +1 -0
- package/lib/esm/errors/account_requires_memo.d.ts +24 -0
- package/lib/esm/errors/account_requires_memo.js +12 -0
- package/lib/esm/errors/account_requires_memo.js.map +1 -0
- package/lib/esm/errors/bad_request.d.ts +10 -0
- package/lib/esm/errors/bad_request.js +7 -0
- package/lib/esm/errors/bad_request.js.map +1 -0
- package/lib/esm/errors/bad_response.d.ts +13 -0
- package/lib/esm/errors/bad_response.js +7 -0
- package/lib/esm/errors/bad_response.js.map +1 -0
- package/lib/esm/errors/index.d.ts +5 -0
- package/lib/esm/errors/network.d.ts +40 -0
- package/lib/esm/errors/network.js +18 -0
- package/lib/esm/errors/network.js.map +1 -0
- package/lib/esm/errors/not_found.d.ts +10 -0
- package/lib/esm/errors/not_found.js +7 -0
- package/lib/esm/errors/not_found.js.map +1 -0
- package/lib/esm/faucet/index.d.ts +6 -0
- package/lib/esm/faucet/index.js +2 -0
- package/lib/esm/faucet/index.js.map +1 -0
- package/lib/esm/federation/api.d.ts +32 -0
- package/lib/esm/federation/index.d.ts +2 -0
- package/lib/esm/federation/index.js +2 -0
- package/lib/esm/federation/index.js.map +1 -0
- package/lib/esm/federation/server.d.ts +116 -0
- package/lib/esm/federation/server.js +226 -0
- package/lib/esm/federation/server.js.map +1 -0
- package/lib/esm/federation/utils.d.ts +1 -0
- package/lib/esm/federation/utils.js +12 -0
- package/lib/esm/federation/utils.js.map +1 -0
- package/lib/esm/gateway/account_call_builder.d.ts +54 -0
- package/lib/esm/gateway/account_call_builder.js +68 -0
- package/lib/esm/gateway/account_call_builder.js.map +1 -0
- package/lib/esm/gateway/account_response.d.ts +62 -0
- package/lib/esm/gateway/account_response.js +104 -0
- package/lib/esm/gateway/account_response.js.map +1 -0
- package/lib/esm/gateway/assets_call_builder.d.ts +25 -0
- package/lib/esm/gateway/assets_call_builder.js +29 -0
- package/lib/esm/gateway/assets_call_builder.js.map +1 -0
- package/lib/esm/gateway/call_builder.d.ts +128 -0
- package/lib/esm/gateway/call_builder.js +354 -0
- package/lib/esm/gateway/call_builder.js.map +1 -0
- package/lib/esm/gateway/claimable_balances_call_builder.d.ts +48 -0
- package/lib/esm/gateway/claimable_balances_call_builder.js +59 -0
- package/lib/esm/gateway/claimable_balances_call_builder.js.map +1 -0
- package/lib/esm/gateway/effect_call_builder.d.ts +51 -0
- package/lib/esm/gateway/effect_call_builder.js +58 -0
- package/lib/esm/gateway/effect_call_builder.js.map +1 -0
- package/lib/esm/gateway/faucet.d.ts +5 -0
- package/lib/esm/gateway/faucet.js +12 -0
- package/lib/esm/gateway/faucet.js.map +1 -0
- package/lib/esm/gateway/gateway_api.d.ts +543 -0
- package/lib/esm/gateway/gateway_api.js +84 -0
- package/lib/esm/gateway/gateway_api.js.map +1 -0
- package/lib/esm/gateway/gateway_axios_client.d.ts +36 -0
- package/lib/esm/gateway/gateway_axios_client.js +61 -0
- package/lib/esm/gateway/gateway_axios_client.js.map +1 -0
- package/lib/esm/gateway/index.d.ts +5 -0
- package/lib/esm/gateway/index.js +6 -0
- package/lib/esm/gateway/index.js.map +1 -0
- package/lib/esm/gateway/ledger_call_builder.d.ts +21 -0
- package/lib/esm/gateway/ledger_call_builder.js +20 -0
- package/lib/esm/gateway/ledger_call_builder.js.map +1 -0
- package/lib/esm/gateway/liquidity_pool_call_builder.d.ts +35 -0
- package/lib/esm/gateway/liquidity_pool_call_builder.js +49 -0
- package/lib/esm/gateway/liquidity_pool_call_builder.js.map +1 -0
- package/lib/esm/gateway/offer_call_builder.d.ts +63 -0
- package/lib/esm/gateway/offer_call_builder.js +93 -0
- package/lib/esm/gateway/offer_call_builder.js.map +1 -0
- package/lib/esm/gateway/operation_call_builder.d.ts +67 -0
- package/lib/esm/gateway/operation_call_builder.js +83 -0
- package/lib/esm/gateway/operation_call_builder.js.map +1 -0
- package/lib/esm/gateway/orderbook_call_builder.d.ts +18 -0
- package/lib/esm/gateway/orderbook_call_builder.js +27 -0
- package/lib/esm/gateway/orderbook_call_builder.js.map +1 -0
- package/lib/esm/gateway/path_call_builder.d.ts +32 -0
- package/lib/esm/gateway/payment_call_builder.d.ts +44 -0
- package/lib/esm/gateway/payment_call_builder.js +49 -0
- package/lib/esm/gateway/payment_call_builder.js.map +1 -0
- package/lib/esm/gateway/server.d.ts +408 -0
- package/lib/esm/gateway/server.js +743 -0
- package/lib/esm/gateway/server.js.map +1 -0
- package/lib/esm/gateway/server_api.d.ts +265 -0
- package/lib/esm/gateway/server_api.js +17 -0
- package/lib/esm/gateway/server_api.js.map +1 -0
- package/lib/esm/gateway/strict_receive_path_call_builder.d.ts +35 -0
- package/lib/esm/gateway/strict_receive_path_call_builder.js +37 -0
- package/lib/esm/gateway/strict_receive_path_call_builder.js.map +1 -0
- package/lib/esm/gateway/strict_send_path_call_builder.d.ts +35 -0
- package/lib/esm/gateway/strict_send_path_call_builder.js +34 -0
- package/lib/esm/gateway/strict_send_path_call_builder.js.map +1 -0
- package/lib/esm/gateway/trade_aggregation_call_builder.d.ts +46 -0
- package/lib/esm/gateway/trade_aggregation_call_builder.js +70 -0
- package/lib/esm/gateway/trade_aggregation_call_builder.js.map +1 -0
- package/lib/esm/gateway/trades_call_builder.d.ts +49 -0
- package/lib/esm/gateway/trades_call_builder.js +72 -0
- package/lib/esm/gateway/trades_call_builder.js.map +1 -0
- package/lib/esm/gateway/transaction_call_builder.d.ts +57 -0
- package/lib/esm/gateway/transaction_call_builder.js +71 -0
- package/lib/esm/gateway/transaction_call_builder.js.map +1 -0
- package/lib/esm/gateway/types/account.d.ts +5 -0
- package/lib/esm/gateway/types/assets.d.ts +17 -0
- package/lib/esm/gateway/types/effects.d.ts +285 -0
- package/lib/esm/gateway/types/effects.js +59 -0
- package/lib/esm/gateway/types/effects.js.map +1 -0
- package/lib/esm/gateway/types/offer.d.ts +20 -0
- package/lib/esm/gateway/types/trade.d.ts +14 -0
- package/lib/esm/http-client/axios-client.d.ts +2 -0
- package/lib/esm/http-client/axios-client.js +7 -0
- package/lib/esm/http-client/axios-client.js.map +1 -0
- package/lib/esm/http-client/axios.d.ts +2 -0
- package/lib/esm/http-client/axios.js +3 -0
- package/lib/esm/http-client/axios.js.map +1 -0
- package/lib/esm/http-client/fetch-client.d.ts +11 -0
- package/lib/esm/http-client/fetch-client.js +467 -0
- package/lib/esm/http-client/fetch-client.js.map +1 -0
- package/lib/esm/http-client/index.d.ts +2 -0
- package/lib/esm/http-client/index.js +3 -0
- package/lib/esm/http-client/index.js.map +1 -0
- package/lib/esm/http-client/types.d.ts +70 -0
- package/lib/esm/http-client/types.js +22 -0
- package/lib/esm/http-client/types.js.map +1 -0
- package/lib/esm/index.d.ts +32 -0
- package/lib/esm/index.js +66 -0
- package/lib/esm/index.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/package.json +3 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/array.js +66 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/array.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bigint-encoder.js +174 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bigint-encoder.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bool.js +39 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/bool.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/config.js +259 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/config.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/double.js +30 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/double.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/enum.js +97 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/enum.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/errors.js +28 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/errors.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/float.js +30 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/float.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/hyper.js +41 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/hyper.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/int.js +42 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/int.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/large-int.js +142 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/large-int.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/opaque.js +39 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/opaque.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/option.js +47 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/option.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/quadruple.js +19 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/quadruple.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/reference.js +14 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/reference.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-reader.js +169 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-reader.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-writer.js +184 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/serialization/xdr-writer.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/string.js +62 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/string.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/struct.js +94 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/struct.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/union.js +182 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/union.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-hyper.js +41 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-hyper.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-int.js +45 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-int.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-array.js +75 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-array.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-opaque.js +47 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/var-opaque.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/void.js +22 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/void.js.map +1 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/xdr-type.js +256 -0
- package/lib/esm/node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/xdr-type.js.map +1 -0
- package/lib/esm/rpc/api.d.ts +580 -0
- package/lib/esm/rpc/api.js +27 -0
- package/lib/esm/rpc/api.js.map +1 -0
- package/lib/esm/rpc/axios.d.ts +3 -0
- package/lib/esm/rpc/axios.js +15 -0
- package/lib/esm/rpc/axios.js.map +1 -0
- package/lib/esm/rpc/browser.d.ts +2 -0
- package/lib/esm/rpc/index.d.ts +4 -0
- package/lib/esm/rpc/index.js +5 -0
- package/lib/esm/rpc/index.js.map +1 -0
- package/lib/esm/rpc/jsonrpc.d.ts +37 -0
- package/lib/esm/rpc/jsonrpc.js +20 -0
- package/lib/esm/rpc/jsonrpc.js.map +1 -0
- package/lib/esm/rpc/parsers.d.ts +44 -0
- package/lib/esm/rpc/parsers.js +236 -0
- package/lib/esm/rpc/parsers.js.map +1 -0
- package/lib/esm/rpc/server.d.ts +855 -0
- package/lib/esm/rpc/server.js +1299 -0
- package/lib/esm/rpc/server.js.map +1 -0
- package/lib/esm/rpc/transaction.d.ts +20 -0
- package/lib/esm/rpc/transaction.js +97 -0
- package/lib/esm/rpc/transaction.js.map +1 -0
- package/lib/esm/rpc/utils.d.ts +1 -0
- package/lib/esm/utils/url.d.ts +2 -0
- package/lib/esm/utils/url.js +31 -0
- package/lib/esm/utils/url.js.map +1 -0
- package/lib/esm/utils.d.ts +18 -0
- package/lib/esm/utils.js +25 -0
- package/lib/esm/utils.js.map +1 -0
- package/lib/esm/webauth/challenge_transaction.d.ts +241 -0
- package/lib/esm/webauth/challenge_transaction.js +329 -0
- package/lib/esm/webauth/challenge_transaction.js.map +1 -0
- package/lib/esm/webauth/errors.d.ts +9 -0
- package/lib/esm/webauth/errors.js +5 -0
- package/lib/esm/webauth/errors.js.map +1 -0
- package/lib/esm/webauth/index.d.ts +3 -0
- package/lib/esm/webauth/index.js +4 -0
- package/lib/esm/webauth/index.js.map +1 -0
- package/lib/esm/webauth/utils.d.ts +65 -0
- package/lib/esm/webauth/utils.js +58 -0
- package/lib/esm/webauth/utils.js.map +1 -0
- package/package.json +196 -0
- package/types/base32.js/index.d.ts +9 -0
- package/types/stellar__js-xdr/index.d.ts +66 -0
|
@@ -0,0 +1,855 @@
|
|
|
1
|
+
import { Account, Address, Asset, Contract, FeeBumpTransaction, Transaction, xdr } from "../base/index.js";
|
|
2
|
+
import { Api } from "./api.js";
|
|
3
|
+
import type { HttpClient } from "../http-client/index.js";
|
|
4
|
+
/**
|
|
5
|
+
* Default transaction submission timeout for RPC requests, in milliseconds
|
|
6
|
+
* @defaultValue 60000
|
|
7
|
+
*/
|
|
8
|
+
export declare const SUBMIT_TRANSACTION_TIMEOUT: number;
|
|
9
|
+
/**
|
|
10
|
+
* Specifies the durability namespace of contract-related ledger entries.
|
|
11
|
+
*
|
|
12
|
+
* @see {@link https://developers.stellar.org/docs/learn/smart-contract-internals/state-archival | State Archival docs}
|
|
13
|
+
* @see {@link https://docs.rs/soroban-sdk/latest/soroban_sdk/storage/struct.Storage.html | Rust SDK Storage docs}
|
|
14
|
+
*/
|
|
15
|
+
export declare enum Durability {
|
|
16
|
+
Temporary = "temporary",
|
|
17
|
+
Persistent = "persistent"
|
|
18
|
+
}
|
|
19
|
+
export declare namespace RpcServer {
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Use `Api.GetEventsRequest` instead.
|
|
22
|
+
* @see {@link Api.GetEventsRequest}
|
|
23
|
+
*/
|
|
24
|
+
type GetEventsRequest = Api.GetEventsRequest;
|
|
25
|
+
interface PollingOptions {
|
|
26
|
+
attempts?: number;
|
|
27
|
+
sleepStrategy?: SleepStrategy;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Describes additional resource leeways for transaction simulation.
|
|
31
|
+
*/
|
|
32
|
+
interface ResourceLeeway {
|
|
33
|
+
/** Simulate the transaction with more CPU instructions available. */
|
|
34
|
+
cpuInstructions: number;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Options for configuring connections to RPC servers.
|
|
38
|
+
*/
|
|
39
|
+
interface Options {
|
|
40
|
+
/** Allow connecting to http servers, default: `false`. This must be set to false in production deployments! */
|
|
41
|
+
allowHttp?: boolean;
|
|
42
|
+
/** Allow a timeout, default: 0. Allows user to avoid nasty lag. */
|
|
43
|
+
timeout?: number;
|
|
44
|
+
/** Additional headers that should be added to any requests to the RPC server. */
|
|
45
|
+
headers?: Record<string, string>;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export declare const BasicSleepStrategy: SleepStrategy;
|
|
49
|
+
export declare const LinearSleepStrategy: SleepStrategy;
|
|
50
|
+
/**
|
|
51
|
+
* A function that returns the number of *milliseconds* to sleep
|
|
52
|
+
* on a given `iter`ation.
|
|
53
|
+
*/
|
|
54
|
+
export type SleepStrategy = (iter: number) => number;
|
|
55
|
+
/**
|
|
56
|
+
* Handles the network connection to a Soroban RPC instance, exposing an
|
|
57
|
+
* interface for requests to that instance.
|
|
58
|
+
*
|
|
59
|
+
*
|
|
60
|
+
* @param serverURL - Soroban-RPC Server URL (ex. `http://localhost:8000/soroban/rpc`).
|
|
61
|
+
* @param opts - (optional) Options object
|
|
62
|
+
* - `allowHttp` (optional): Allows connecting to insecure http servers
|
|
63
|
+
* (default: `false`). This must be set to false in production deployments!
|
|
64
|
+
* You can also use {@link Config} class to set this globally.
|
|
65
|
+
* - `headers` (optional): Allows setting custom headers
|
|
66
|
+
*
|
|
67
|
+
* @see {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods | API reference docs}
|
|
68
|
+
*/
|
|
69
|
+
export declare class RpcServer {
|
|
70
|
+
readonly serverURL: URL;
|
|
71
|
+
/**
|
|
72
|
+
* HTTP client instance for making requests to Horizon.
|
|
73
|
+
* Exposes interceptors, defaults, and other configuration options.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```ts
|
|
77
|
+
* // Add authentication header
|
|
78
|
+
* server.httpClient.defaults.headers['Authorization'] = 'Bearer token';
|
|
79
|
+
*
|
|
80
|
+
* // Add request interceptor
|
|
81
|
+
* server.httpClient.interceptors.request.use((config) => {
|
|
82
|
+
* console.log('Request:', config.url);
|
|
83
|
+
* return config;
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
readonly httpClient: HttpClient;
|
|
88
|
+
constructor(serverURL: string, opts?: RpcServer.Options);
|
|
89
|
+
/**
|
|
90
|
+
* Fetch a minimal set of current info about a Stellar account.
|
|
91
|
+
*
|
|
92
|
+
* Needed to get the current sequence number for the account so you can build
|
|
93
|
+
* a successful transaction with {@link TransactionBuilder}.
|
|
94
|
+
*
|
|
95
|
+
* @param address - The public address of the account to load.
|
|
96
|
+
* @returns A promise which resolves to the {@link Account}
|
|
97
|
+
* object with a populated sequence number
|
|
98
|
+
*
|
|
99
|
+
* @see {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/getLedgerEntries | getLedgerEntries docs}
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* ```ts
|
|
103
|
+
* const accountId = "GBZC6Y2Y7Q3ZQ2Y4QZJ2XZ3Z5YXZ6Z7Z2Y4QZJ2XZ3Z5YXZ6Z7Z2Y4";
|
|
104
|
+
* server.getAccount(accountId).then((account) => {
|
|
105
|
+
* console.log("sequence:", account.sequence);
|
|
106
|
+
* });
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
getAccount(address: string): Promise<Account>;
|
|
110
|
+
/**
|
|
111
|
+
* Fetch the full account entry for a Stellar account.
|
|
112
|
+
*
|
|
113
|
+
* @param address - The public address of the account to load.
|
|
114
|
+
* @returns Resolves to the full on-chain account
|
|
115
|
+
* entry
|
|
116
|
+
*
|
|
117
|
+
* @see
|
|
118
|
+
* {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/getLedgerEntries | getLedgerEntries docs}
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* ```ts
|
|
122
|
+
* const accountId = "GBZC6Y2Y7Q3ZQ2Y4QZJ2XZ3Z5YXZ6Z7Z2Y4QZJ2XZ3Z5YXZ6Z7Z2Y4";
|
|
123
|
+
* server.getAccountEntry(accountId).then((account) => {
|
|
124
|
+
* console.log("sequence:", account.balance().toString());
|
|
125
|
+
* });
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
getAccountEntry(address: string): Promise<xdr.AccountEntry>;
|
|
129
|
+
/**
|
|
130
|
+
* Fetch the full trustline entry for a Stellar account.
|
|
131
|
+
*
|
|
132
|
+
* @param account - The public address of the account whose trustline it is
|
|
133
|
+
* @param asset - The trustline's asset
|
|
134
|
+
* @returns Resolves to the full on-chain trustline
|
|
135
|
+
* entry
|
|
136
|
+
*
|
|
137
|
+
* @see
|
|
138
|
+
* {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/getLedgerEntries | getLedgerEntries docs}
|
|
139
|
+
*
|
|
140
|
+
* @deprecated Use {@link getAssetBalance}, instead
|
|
141
|
+
* @example
|
|
142
|
+
* ```ts
|
|
143
|
+
* const accountId = "GBZC6Y2Y7Q3ZQ2Y4QZJ2XZ3Z5YXZ6Z7Z2Y4QZJ2XZ3Z5YXZ6Z7Z2Y4";
|
|
144
|
+
* const asset = new Asset(
|
|
145
|
+
* "USDC",
|
|
146
|
+
* "GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5"
|
|
147
|
+
* );
|
|
148
|
+
* server.getTrustline(accountId, asset).then((entry) => {
|
|
149
|
+
* console.log(`{asset.toString()} balance for ${accountId}:", entry.balance().toString());
|
|
150
|
+
* });
|
|
151
|
+
* ```
|
|
152
|
+
*/
|
|
153
|
+
getTrustline(account: string, asset: Asset): Promise<xdr.TrustLineEntry>;
|
|
154
|
+
/**
|
|
155
|
+
* Fetch the full claimable balance entry for a Stellar account.
|
|
156
|
+
*
|
|
157
|
+
* @param id - The strkey (`B...`) or hex (`00000000abcde...`) (both
|
|
158
|
+
* IDs with and without the 000... version prefix are accepted) of the
|
|
159
|
+
* claimable balance to load
|
|
160
|
+
* @returns Resolves to the full on-chain
|
|
161
|
+
* claimable balance entry
|
|
162
|
+
*
|
|
163
|
+
* @see
|
|
164
|
+
* {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/getLedgerEntries | getLedgerEntries docs}
|
|
165
|
+
*
|
|
166
|
+
* @example
|
|
167
|
+
* ```ts
|
|
168
|
+
* const id = "00000000178826fbfe339e1f5c53417c6fedfe2c05e8bec14303143ec46b38981b09c3f9";
|
|
169
|
+
* server.getClaimableBalance(id).then((entry) => {
|
|
170
|
+
* console.log(`Claimable balance {id.substr(0, 12)} has:`);
|
|
171
|
+
* console.log(` asset: ${Asset.fromXDRObject(entry.asset()).toString()}`;
|
|
172
|
+
* console.log(` amount: ${entry.amount().toString()}`;
|
|
173
|
+
* });
|
|
174
|
+
* ```
|
|
175
|
+
*/
|
|
176
|
+
getClaimableBalance(id: string): Promise<xdr.ClaimableBalanceEntry>;
|
|
177
|
+
/**
|
|
178
|
+
* Fetch the balance of an asset held by an account or contract.
|
|
179
|
+
*
|
|
180
|
+
* The `address` argument may be provided as a string (as a {@link StrKey}),
|
|
181
|
+
* {@link Address}, or {@link Contract}.
|
|
182
|
+
*
|
|
183
|
+
* @param address - The account or contract whose
|
|
184
|
+
* balance should be fetched.
|
|
185
|
+
* @param asset - The asset whose balance you want to inspect.
|
|
186
|
+
* @param networkPassphrase - (optional) optionally, when requesting the
|
|
187
|
+
* balance of a contract, the network passphrase to which this token
|
|
188
|
+
* applies. If omitted and necessary, a request about network information
|
|
189
|
+
* will be made (see {@link getNetwork}), since contract IDs for assets are
|
|
190
|
+
* specific to a network. You can refer to {@link Networks} for a list of
|
|
191
|
+
* built-in passphrases, e.g., `Networks.TESTNET`.
|
|
192
|
+
* @returns Resolves with balance entry details
|
|
193
|
+
* when available.
|
|
194
|
+
*
|
|
195
|
+
* @throws If the supplied `address` is not a valid account or
|
|
196
|
+
* contract strkey.
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* ```ts
|
|
200
|
+
* const usdc = new Asset(
|
|
201
|
+
* "USDC",
|
|
202
|
+
* "GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5"
|
|
203
|
+
* );
|
|
204
|
+
* const balance = await server.getAssetBalance("GD...", usdc);
|
|
205
|
+
* console.log(balance.balanceEntry?.amount);
|
|
206
|
+
* ```
|
|
207
|
+
*/
|
|
208
|
+
getAssetBalance(address: string | Address | Contract, asset: Asset, networkPassphrase?: string): Promise<Api.BalanceResponse>;
|
|
209
|
+
/**
|
|
210
|
+
* General node health check.
|
|
211
|
+
*
|
|
212
|
+
* @returns A promise which resolves to the
|
|
213
|
+
* {@link Api.GetHealthResponse} object with the status of the
|
|
214
|
+
* server (e.g. "healthy").
|
|
215
|
+
*
|
|
216
|
+
* @see {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/getHealth | getLedgerEntries docs}
|
|
217
|
+
*
|
|
218
|
+
* @example
|
|
219
|
+
* ```ts
|
|
220
|
+
* server.getHealth().then((health) => {
|
|
221
|
+
* console.log("status:", health.status);
|
|
222
|
+
* });
|
|
223
|
+
* ```
|
|
224
|
+
*/
|
|
225
|
+
getHealth(): Promise<Api.GetHealthResponse>;
|
|
226
|
+
/**
|
|
227
|
+
* Reads the current value of contract data ledger entries directly.
|
|
228
|
+
*
|
|
229
|
+
* Allows you to directly inspect the current state of a contract. This is a
|
|
230
|
+
* backup way to access your contract data which may not be available via
|
|
231
|
+
* events or {@link rpc.Server.simulateTransaction}.
|
|
232
|
+
*
|
|
233
|
+
* @param contract - The contract ID containing the
|
|
234
|
+
* data to load as a strkey (`C...` form), a {@link Contract}, or an
|
|
235
|
+
* {@link Address} instance
|
|
236
|
+
* @param key - The key of the contract data to load
|
|
237
|
+
* @param durability - (optional) The "durability
|
|
238
|
+
* keyspace" that this ledger key belongs to, which is either 'temporary'
|
|
239
|
+
* or 'persistent' (the default), see {@link rpc.Durability}.
|
|
240
|
+
* @returns The current data value
|
|
241
|
+
*
|
|
242
|
+
* **Warning:** If the data entry in question is a 'temporary' entry, it's
|
|
243
|
+
* entirely possible that it has expired out of existence.
|
|
244
|
+
*
|
|
245
|
+
* @see {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/getLedgerEntries | getLedgerEntries docs}
|
|
246
|
+
*
|
|
247
|
+
* @example
|
|
248
|
+
* ```ts
|
|
249
|
+
* const contractId = "CCJZ5DGASBWQXR5MPFCJXMBI333XE5U3FSJTNQU7RIKE3P5GN2K2WYD5";
|
|
250
|
+
* const key = xdr.ScVal.scvSymbol("counter");
|
|
251
|
+
* server.getContractData(contractId, key, Durability.Temporary).then(data => {
|
|
252
|
+
* console.log("value:", data.val);
|
|
253
|
+
* console.log("liveUntilLedgerSeq:", data.liveUntilLedgerSeq);
|
|
254
|
+
* console.log("lastModified:", data.lastModifiedLedgerSeq);
|
|
255
|
+
* console.log("latestLedger:", data.latestLedger);
|
|
256
|
+
* });
|
|
257
|
+
* ```
|
|
258
|
+
*/
|
|
259
|
+
getContractData(contract: string | Address | Contract, key: xdr.ScVal, durability?: Durability): Promise<Api.LedgerEntryResult>;
|
|
260
|
+
/**
|
|
261
|
+
* Retrieves the WASM bytecode for a given contract.
|
|
262
|
+
*
|
|
263
|
+
* This method allows you to fetch the WASM bytecode associated with a contract
|
|
264
|
+
* deployed on the Soroban network. The WASM bytecode represents the executable
|
|
265
|
+
* code of the contract.
|
|
266
|
+
*
|
|
267
|
+
* @param contractId - The contract ID containing the WASM bytecode to retrieve
|
|
268
|
+
* @returns A Buffer containing the WASM bytecode
|
|
269
|
+
* @throws If the contract or its associated WASM bytecode cannot be
|
|
270
|
+
* found on the network.
|
|
271
|
+
*
|
|
272
|
+
* @example
|
|
273
|
+
* ```ts
|
|
274
|
+
* const contractId = "CCJZ5DGASBWQXR5MPFCJXMBI333XE5U3FSJTNQU7RIKE3P5GN2K2WYD5";
|
|
275
|
+
* server.getContractWasmByContractId(contractId).then(wasmBuffer => {
|
|
276
|
+
* console.log("WASM bytecode length:", wasmBuffer.length);
|
|
277
|
+
* // ... do something with the WASM bytecode ...
|
|
278
|
+
* }).catch(err => {
|
|
279
|
+
* console.error("Error fetching WASM bytecode:", err);
|
|
280
|
+
* });
|
|
281
|
+
* ```
|
|
282
|
+
*/
|
|
283
|
+
getContractWasmByContractId(contractId: string): Promise<Buffer>;
|
|
284
|
+
/**
|
|
285
|
+
* Retrieves the WASM bytecode for a given contract hash.
|
|
286
|
+
*
|
|
287
|
+
* This method allows you to fetch the WASM bytecode associated with a contract
|
|
288
|
+
* deployed on the Soroban network using the contract's WASM hash. The WASM bytecode
|
|
289
|
+
* represents the executable code of the contract.
|
|
290
|
+
*
|
|
291
|
+
* @param wasmHash - The WASM hash of the contract
|
|
292
|
+
* @returns A Buffer containing the WASM bytecode
|
|
293
|
+
* @throws If the contract or its associated WASM bytecode cannot be
|
|
294
|
+
* found on the network.
|
|
295
|
+
*
|
|
296
|
+
* @example
|
|
297
|
+
* ```ts
|
|
298
|
+
* const wasmHash = Buffer.from("...");
|
|
299
|
+
* server.getContractWasmByHash(wasmHash).then(wasmBuffer => {
|
|
300
|
+
* console.log("WASM bytecode length:", wasmBuffer.length);
|
|
301
|
+
* // ... do something with the WASM bytecode ...
|
|
302
|
+
* }).catch(err => {
|
|
303
|
+
* console.error("Error fetching WASM bytecode:", err);
|
|
304
|
+
* });
|
|
305
|
+
* ```
|
|
306
|
+
*/
|
|
307
|
+
getContractWasmByHash(wasmHash: Buffer | string, format?: undefined | "hex" | "base64"): Promise<Buffer>;
|
|
308
|
+
/**
|
|
309
|
+
* Reads the current value of arbitrary ledger entries directly.
|
|
310
|
+
*
|
|
311
|
+
* Allows you to directly inspect the current state of contracts, contract's
|
|
312
|
+
* code, accounts, or any other ledger entries.
|
|
313
|
+
*
|
|
314
|
+
* To fetch a contract's WASM byte-code, built the appropriate
|
|
315
|
+
* {@link xdr.LedgerKeyContractCode} ledger entry key (or see
|
|
316
|
+
* {@link Contract.getFootprint}).
|
|
317
|
+
*
|
|
318
|
+
* @param keys - One or more ledger entry keys to load
|
|
319
|
+
* @returns The current on-chain
|
|
320
|
+
* values for the given ledger keys
|
|
321
|
+
*
|
|
322
|
+
* @see {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/getLedgerEntries | getLedgerEntries docs}
|
|
323
|
+
* @see RpcServer._getLedgerEntries
|
|
324
|
+
* @example
|
|
325
|
+
* ```ts
|
|
326
|
+
* const contractId = "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM";
|
|
327
|
+
* const key = xdr.LedgerKey.contractData(new xdr.LedgerKeyContractData({
|
|
328
|
+
* contractId: StrKey.decodeContract(contractId),
|
|
329
|
+
* key: xdr.ScVal.scvSymbol("counter"),
|
|
330
|
+
* }));
|
|
331
|
+
*
|
|
332
|
+
* server.getLedgerEntries([key]).then(response => {
|
|
333
|
+
* const ledgerData = response.entries[0];
|
|
334
|
+
* console.log("key:", ledgerData.key);
|
|
335
|
+
* console.log("value:", ledgerData.val);
|
|
336
|
+
* console.log("liveUntilLedgerSeq:", ledgerData.liveUntilLedgerSeq);
|
|
337
|
+
* console.log("lastModified:", ledgerData.lastModifiedLedgerSeq);
|
|
338
|
+
* console.log("latestLedger:", response.latestLedger);
|
|
339
|
+
* });
|
|
340
|
+
* ```
|
|
341
|
+
*/
|
|
342
|
+
getLedgerEntries(...keys: xdr.LedgerKey[]): Promise<Api.GetLedgerEntriesResponse>;
|
|
343
|
+
_getLedgerEntries(...keys: xdr.LedgerKey[]): Promise<Api.RawGetLedgerEntriesResponse>;
|
|
344
|
+
getLedgerEntry(key: xdr.LedgerKey): Promise<Api.LedgerEntryResult>;
|
|
345
|
+
/**
|
|
346
|
+
* Poll for a particular transaction with certain parameters.
|
|
347
|
+
*
|
|
348
|
+
* After submitting a transaction, clients can use this to poll for
|
|
349
|
+
* transaction completion and return a definitive state of success or failure.
|
|
350
|
+
*
|
|
351
|
+
* @param hash - the transaction you're polling for
|
|
352
|
+
* @param opts - (optional) polling options
|
|
353
|
+
* - `attempts` (optional): (optional) the number of attempts to make
|
|
354
|
+
* before returning the last-seen status. By default or on invalid inputs,
|
|
355
|
+
* try 5 times.
|
|
356
|
+
* - `sleepStrategy` (optional): (optional) the amount of time
|
|
357
|
+
* to wait for between each attempt. By default, sleep for 1 second between
|
|
358
|
+
* each attempt.
|
|
359
|
+
*
|
|
360
|
+
* @returns the response after a "found"
|
|
361
|
+
* response (which may be success or failure) or the last response obtained
|
|
362
|
+
* after polling the maximum number of specified attempts.
|
|
363
|
+
*
|
|
364
|
+
* @example
|
|
365
|
+
* ```ts
|
|
366
|
+
* const h = "c4515e3bdc0897f21cc5dbec8c82cf0a936d4741cb74a8e158eb51b9fb00411a";
|
|
367
|
+
* const txStatus = await server.pollTransaction(h, {
|
|
368
|
+
* attempts: 100, // I'm a maniac
|
|
369
|
+
* sleepStrategy: rpc.LinearSleepStrategy
|
|
370
|
+
* }); // this will take 5,050 seconds to complete
|
|
371
|
+
* ```
|
|
372
|
+
*/
|
|
373
|
+
pollTransaction(hash: string, opts?: RpcServer.PollingOptions): Promise<Api.GetTransactionResponse>;
|
|
374
|
+
/**
|
|
375
|
+
* Fetch the details of a submitted transaction.
|
|
376
|
+
*
|
|
377
|
+
* After submitting a transaction, clients should poll this to tell when the
|
|
378
|
+
* transaction has completed.
|
|
379
|
+
*
|
|
380
|
+
* @param hash - Hex-encoded hash of the transaction to check
|
|
381
|
+
* @returns The status, result, and
|
|
382
|
+
* other details about the transaction
|
|
383
|
+
*
|
|
384
|
+
* @see
|
|
385
|
+
* {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/getTransaction | getTransaction docs}
|
|
386
|
+
*
|
|
387
|
+
* @example
|
|
388
|
+
* ```ts
|
|
389
|
+
* const transactionHash = "c4515e3bdc0897f21cc5dbec8c82cf0a936d4741cb74a8e158eb51b9fb00411a";
|
|
390
|
+
* server.getTransaction(transactionHash).then((tx) => {
|
|
391
|
+
* console.log("status:", tx.status);
|
|
392
|
+
* console.log("envelopeXdr:", tx.envelopeXdr);
|
|
393
|
+
* console.log("resultMetaXdr:", tx.resultMetaXdr);
|
|
394
|
+
* console.log("resultXdr:", tx.resultXdr);
|
|
395
|
+
* });
|
|
396
|
+
* ```
|
|
397
|
+
*/
|
|
398
|
+
getTransaction(hash: string): Promise<Api.GetTransactionResponse>;
|
|
399
|
+
_getTransaction(hash: string): Promise<Api.RawGetTransactionResponse>;
|
|
400
|
+
/**
|
|
401
|
+
* Fetch transactions starting from a given start ledger or a cursor. The end ledger is the latest ledger
|
|
402
|
+
* in that RPC instance.
|
|
403
|
+
*
|
|
404
|
+
* @param request - The request parameters.
|
|
405
|
+
* @returns - A promise that resolves to the transactions response.
|
|
406
|
+
*
|
|
407
|
+
* @see https://developers.stellar.org/docs/data/rpc/api-reference/methods/getTransactions
|
|
408
|
+
* @example
|
|
409
|
+
* ```ts
|
|
410
|
+
* server.getTransactions({
|
|
411
|
+
* startLedger: 10000,
|
|
412
|
+
* limit: 10,
|
|
413
|
+
* }).then((response) => {
|
|
414
|
+
* console.log("Transactions:", response.transactions);
|
|
415
|
+
* console.log("Latest Ledger:", response.latestLedger);
|
|
416
|
+
* console.log("Cursor:", response.cursor);
|
|
417
|
+
* });
|
|
418
|
+
* ```
|
|
419
|
+
*/
|
|
420
|
+
getTransactions(request: Api.GetTransactionsRequest): Promise<Api.GetTransactionsResponse>;
|
|
421
|
+
_getTransactions(request: Api.GetTransactionsRequest): Promise<Api.RawGetTransactionsResponse>;
|
|
422
|
+
/**
|
|
423
|
+
* Fetch all events that match a given set of filters.
|
|
424
|
+
*
|
|
425
|
+
* The given filters (see {@link Api.EventFilter}
|
|
426
|
+
* for detailed fields) are combined only in a logical OR fashion, and all of
|
|
427
|
+
* the fields in each filter are optional.
|
|
428
|
+
*
|
|
429
|
+
* To page through events, use the `pagingToken` field on the relevant
|
|
430
|
+
* {@link Api.EventResponse} object to set the `cursor` parameter.
|
|
431
|
+
*
|
|
432
|
+
* @param request - Event filters {@link Api.GetEventsRequest},
|
|
433
|
+
* @returns A paginatable set of the events
|
|
434
|
+
* matching the given event filters
|
|
435
|
+
*
|
|
436
|
+
* @see {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/getEvents | getEvents docs}
|
|
437
|
+
*
|
|
438
|
+
* @example
|
|
439
|
+
* ```ts
|
|
440
|
+
*
|
|
441
|
+
* server.getEvents({
|
|
442
|
+
* startLedger: 1000,
|
|
443
|
+
* endLedger: 2000,
|
|
444
|
+
* filters: [
|
|
445
|
+
* {
|
|
446
|
+
* type: "contract",
|
|
447
|
+
* contractIds: [ "deadb33f..." ],
|
|
448
|
+
* topics: [[ "AAAABQAAAAh0cmFuc2Zlcg==", "AAAAAQB6Mcc=", "*" ]]
|
|
449
|
+
* }, {
|
|
450
|
+
* type: "system",
|
|
451
|
+
* contractIds: [ "...c4f3b4b3..." ],
|
|
452
|
+
* topics: [[ "*" ], [ "*", "AAAAAQB6Mcc=" ]]
|
|
453
|
+
* }, {
|
|
454
|
+
* contractIds: [ "...c4f3b4b3..." ],
|
|
455
|
+
* topics: [[ "AAAABQAAAAh0cmFuc2Zlcg==" ]]
|
|
456
|
+
* }, {
|
|
457
|
+
* type: "diagnostic",
|
|
458
|
+
* topics: [[ "AAAAAQB6Mcc=" ]]
|
|
459
|
+
* }
|
|
460
|
+
* ],
|
|
461
|
+
* limit: 10,
|
|
462
|
+
* });
|
|
463
|
+
* ```
|
|
464
|
+
*/
|
|
465
|
+
getEvents(request: Api.GetEventsRequest): Promise<Api.GetEventsResponse>;
|
|
466
|
+
_getEvents(request: Api.GetEventsRequest): Promise<Api.RawGetEventsResponse>;
|
|
467
|
+
/**
|
|
468
|
+
* Fetch metadata about the network this Soroban RPC server is connected to.
|
|
469
|
+
*
|
|
470
|
+
* @returns Metadata about the current
|
|
471
|
+
* network this RPC server is connected to
|
|
472
|
+
*
|
|
473
|
+
* @see {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/getNetwork | getNetwork docs}
|
|
474
|
+
*
|
|
475
|
+
* @example
|
|
476
|
+
* ```ts
|
|
477
|
+
* server.getNetwork().then((network) => {
|
|
478
|
+
* console.log("faucetUrl:", network.friendbotUrl);
|
|
479
|
+
* console.log("passphrase:", network.passphrase);
|
|
480
|
+
* console.log("protocolVersion:", network.protocolVersion);
|
|
481
|
+
* });
|
|
482
|
+
* ```
|
|
483
|
+
*/
|
|
484
|
+
getNetwork(): Promise<Api.GetNetworkResponse>;
|
|
485
|
+
/**
|
|
486
|
+
* Fetch the latest ledger meta info from network which this Soroban RPC
|
|
487
|
+
* server is connected to.
|
|
488
|
+
*
|
|
489
|
+
* @returns metadata about the
|
|
490
|
+
* latest ledger on the network that this RPC server is connected to
|
|
491
|
+
*
|
|
492
|
+
* @see {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/getLatestLedger | getLatestLedger docs}
|
|
493
|
+
*
|
|
494
|
+
* @example
|
|
495
|
+
* ```ts
|
|
496
|
+
* server.getLatestLedger().then((response) => {
|
|
497
|
+
* console.log("hash:", response.id);
|
|
498
|
+
* console.log("sequence:", response.sequence);
|
|
499
|
+
* console.log("protocolVersion:", response.protocolVersion);
|
|
500
|
+
* });
|
|
501
|
+
* ```
|
|
502
|
+
*/
|
|
503
|
+
getLatestLedger(): Promise<Api.GetLatestLedgerResponse>;
|
|
504
|
+
_getLatestLedger(): Promise<Api.RawGetLatestLedgerResponse>;
|
|
505
|
+
/**
|
|
506
|
+
* Submit a trial contract invocation to get back return values, expected
|
|
507
|
+
* ledger footprint, expected authorizations, and expected costs.
|
|
508
|
+
*
|
|
509
|
+
* @param tx - the transaction to simulate,
|
|
510
|
+
* which should include exactly one operation (one of
|
|
511
|
+
* {@link xdr.InvokeHostFunctionOp}, {@link xdr.ExtendFootprintTtlOp}, or
|
|
512
|
+
* {@link xdr.RestoreFootprintOp}). Any provided footprint or auth
|
|
513
|
+
* information will be ignored.
|
|
514
|
+
* @param addlResources - (optional) any additional resources
|
|
515
|
+
* to add to the simulation-provided ones, for example if you know you will
|
|
516
|
+
* need extra CPU instructions
|
|
517
|
+
* @param authMode - (optional) optionally, specify the type of
|
|
518
|
+
* auth mode to use for simulation: `enforce` for enforcement mode,
|
|
519
|
+
* `record` for recording mode, or `record_allow_nonroot` for recording
|
|
520
|
+
* mode that allows non-root authorization
|
|
521
|
+
*
|
|
522
|
+
* @returns An object with the
|
|
523
|
+
* cost, footprint, result/auth requirements (if applicable), and error of
|
|
524
|
+
* the transaction
|
|
525
|
+
*
|
|
526
|
+
* @see
|
|
527
|
+
* {@link https://developers.stellar.org/docs/learn/fundamentals/stellar-data-structures/operations-and-transactions | transaction docs}
|
|
528
|
+
* @see
|
|
529
|
+
* {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/simulateTransaction | simulateTransaction docs}
|
|
530
|
+
* @see
|
|
531
|
+
* {@link https://developers.stellar.org/docs/learn/fundamentals/contract-development/contract-interactions/transaction-simulation#authorization | authorization modes}
|
|
532
|
+
* @see module:rpc.Server#prepareTransaction
|
|
533
|
+
* @see module:rpc.assembleTransaction
|
|
534
|
+
*
|
|
535
|
+
* @example
|
|
536
|
+
* ```ts
|
|
537
|
+
* const contractId = 'CA3D5KRYM6CB7OWQ6TWYRR3Z4T7GNZLKERYNZGGA5SOAOPIFY6YQGAXE';
|
|
538
|
+
* const contract = new StellarSdk.Contract(contractId);
|
|
539
|
+
*
|
|
540
|
+
* // Right now, this is just the default fee for this example.
|
|
541
|
+
* const fee = StellarSdk.BASE_FEE;
|
|
542
|
+
* const transaction = new StellarSdk.TransactionBuilder(account, { fee })
|
|
543
|
+
* // Uncomment the following line to build transactions for the live network. Be
|
|
544
|
+
* // sure to also change the horizon hostname.
|
|
545
|
+
* //.setNetworkPassphrase(StellarSdk.Networks.PUBLIC)
|
|
546
|
+
* .setNetworkPassphrase(StellarSdk.Networks.FUTURENET)
|
|
547
|
+
* .setTimeout(30) // valid for the next 30s
|
|
548
|
+
* // Add an operation to call increment() on the contract
|
|
549
|
+
* .addOperation(contract.call("increment"))
|
|
550
|
+
* .build();
|
|
551
|
+
*
|
|
552
|
+
* server.simulateTransaction(transaction).then((sim) => {
|
|
553
|
+
* console.log("cost:", sim.cost);
|
|
554
|
+
* console.log("result:", sim.result);
|
|
555
|
+
* console.log("error:", sim.error);
|
|
556
|
+
* console.log("latestLedger:", sim.latestLedger);
|
|
557
|
+
* });
|
|
558
|
+
* ```
|
|
559
|
+
*/
|
|
560
|
+
simulateTransaction(tx: Transaction | FeeBumpTransaction, addlResources?: RpcServer.ResourceLeeway, authMode?: Api.SimulationAuthMode): Promise<Api.SimulateTransactionResponse>;
|
|
561
|
+
_simulateTransaction(transaction: Transaction | FeeBumpTransaction, addlResources?: RpcServer.ResourceLeeway, authMode?: Api.SimulationAuthMode): Promise<Api.RawSimulateTransactionResponse>;
|
|
562
|
+
/**
|
|
563
|
+
* Submit a trial contract invocation, first run a simulation of the contract
|
|
564
|
+
* invocation as defined on the incoming transaction, and apply the results to
|
|
565
|
+
* a new copy of the transaction which is then returned. Setting the ledger
|
|
566
|
+
* footprint and authorization, so the resulting transaction is ready for
|
|
567
|
+
* signing & sending.
|
|
568
|
+
*
|
|
569
|
+
* The returned transaction will also have an updated fee that is the sum of
|
|
570
|
+
* fee set on incoming transaction with the contract resource fees estimated
|
|
571
|
+
* from simulation. It is advisable to check the fee on returned transaction
|
|
572
|
+
* and validate or take appropriate measures for interaction with user to
|
|
573
|
+
* confirm it is acceptable.
|
|
574
|
+
*
|
|
575
|
+
* You can call the {@link rpc.Server.simulateTransaction} method
|
|
576
|
+
* directly first if you want to inspect estimated fees for a given
|
|
577
|
+
* transaction in detail first, then re-assemble it manually or via
|
|
578
|
+
* {@link rpc.assembleTransaction}.
|
|
579
|
+
*
|
|
580
|
+
* @param tx - the transaction to
|
|
581
|
+
* prepare. It should include exactly one operation, which must be one of
|
|
582
|
+
* {@link xdr.InvokeHostFunctionOp}, {@link xdr.ExtendFootprintTtlOp},
|
|
583
|
+
* or {@link xdr.RestoreFootprintOp}.
|
|
584
|
+
*
|
|
585
|
+
* Any provided footprint will be overwritten. However, if your operation
|
|
586
|
+
* has existing auth entries, they will be preferred over ALL auth entries
|
|
587
|
+
* from the simulation. In other words, if you include auth entries, you
|
|
588
|
+
* don't care about the auth returned from the simulation. Other fields
|
|
589
|
+
* (footprint, etc.) will be filled as normal.
|
|
590
|
+
* @returns A copy of the
|
|
591
|
+
* transaction with the expected authorizations (in the case of
|
|
592
|
+
* invocation), resources, and ledger footprints added. The transaction fee
|
|
593
|
+
* will also automatically be padded with the contract's minimum resource
|
|
594
|
+
* fees discovered from the simulation.
|
|
595
|
+
* @throws * If simulation fails
|
|
596
|
+
*
|
|
597
|
+
* @see module:rpc.assembleTransaction
|
|
598
|
+
* @see {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/simulateTransaction | simulateTransaction docs}
|
|
599
|
+
*
|
|
600
|
+
* @example
|
|
601
|
+
* ```ts
|
|
602
|
+
* const contractId = 'CA3D5KRYM6CB7OWQ6TWYRR3Z4T7GNZLKERYNZGGA5SOAOPIFY6YQGAXE';
|
|
603
|
+
* const contract = new StellarSdk.Contract(contractId);
|
|
604
|
+
*
|
|
605
|
+
* // Right now, this is just the default fee for this example.
|
|
606
|
+
* const fee = StellarSdk.BASE_FEE;
|
|
607
|
+
* const transaction = new StellarSdk.TransactionBuilder(account, { fee })
|
|
608
|
+
* // Uncomment the following line to build transactions for the live network. Be
|
|
609
|
+
* // sure to also change the horizon hostname.
|
|
610
|
+
* //.setNetworkPassphrase(StellarSdk.Networks.PUBLIC)
|
|
611
|
+
* .setNetworkPassphrase(StellarSdk.Networks.FUTURENET)
|
|
612
|
+
* .setTimeout(30) // valid for the next 30s
|
|
613
|
+
* // Add an operation to call increment() on the contract
|
|
614
|
+
* .addOperation(contract.call("increment"))
|
|
615
|
+
* .build();
|
|
616
|
+
*
|
|
617
|
+
* const preparedTransaction = await server.prepareTransaction(transaction);
|
|
618
|
+
*
|
|
619
|
+
* // Sign this transaction with the secret key
|
|
620
|
+
* // NOTE: signing is transaction is network specific. Test network transactions
|
|
621
|
+
* // won't work in the public network. To switch networks, use the Network object
|
|
622
|
+
* // as explained above (look for StellarSdk.Network).
|
|
623
|
+
* const sourceKeypair = StellarSdk.Keypair.fromSecret(sourceSecretKey);
|
|
624
|
+
* preparedTransaction.sign(sourceKeypair);
|
|
625
|
+
*
|
|
626
|
+
* server.sendTransaction(transaction).then(result => {
|
|
627
|
+
* console.log("hash:", result.hash);
|
|
628
|
+
* console.log("status:", result.status);
|
|
629
|
+
* console.log("errorResultXdr:", result.errorResultXdr);
|
|
630
|
+
* });
|
|
631
|
+
* ```
|
|
632
|
+
*/
|
|
633
|
+
prepareTransaction(tx: Transaction | FeeBumpTransaction): Promise<Transaction>;
|
|
634
|
+
/**
|
|
635
|
+
* Submit a real transaction to the Stellar network.
|
|
636
|
+
*
|
|
637
|
+
* Unlike Horizon, RPC does not wait for transaction completion. It
|
|
638
|
+
* simply validates the transaction and enqueues it. Clients should call
|
|
639
|
+
* {@link rpc.Server.getTransaction} to learn about transaction
|
|
640
|
+
* success/failure.
|
|
641
|
+
*
|
|
642
|
+
* @param transaction - to submit
|
|
643
|
+
* @returns the
|
|
644
|
+
* transaction id, status, and any error if available
|
|
645
|
+
*
|
|
646
|
+
* @see {@link https://developers.stellar.org/docs/learn/fundamentals/stellar-data-structures/operations-and-transactions | transaction docs}
|
|
647
|
+
* @see {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/sendTransaction | sendTransaction docs}
|
|
648
|
+
*
|
|
649
|
+
* @example
|
|
650
|
+
* ```ts
|
|
651
|
+
* const contractId = 'CA3D5KRYM6CB7OWQ6TWYRR3Z4T7GNZLKERYNZGGA5SOAOPIFY6YQGAXE';
|
|
652
|
+
* const contract = new StellarSdk.Contract(contractId);
|
|
653
|
+
*
|
|
654
|
+
* // Right now, this is just the default fee for this example.
|
|
655
|
+
* const fee = StellarSdk.BASE_FEE;
|
|
656
|
+
* const transaction = new StellarSdk.TransactionBuilder(account, { fee })
|
|
657
|
+
* // Uncomment the following line to build transactions for the live network. Be
|
|
658
|
+
* // sure to also change the horizon hostname.
|
|
659
|
+
* //.setNetworkPassphrase(StellarSdk.Networks.PUBLIC)
|
|
660
|
+
* .setNetworkPassphrase(StellarSdk.Networks.FUTURENET)
|
|
661
|
+
* .setTimeout(30) // valid for the next 30s
|
|
662
|
+
* // Add an operation to call increment() on the contract
|
|
663
|
+
* .addOperation(contract.call("increment"))
|
|
664
|
+
* .build();
|
|
665
|
+
*
|
|
666
|
+
* // Sign this transaction with the secret key
|
|
667
|
+
* // NOTE: signing is transaction is network specific. Test network transactions
|
|
668
|
+
* // won't work in the public network. To switch networks, use the Network object
|
|
669
|
+
* // as explained above (look for StellarSdk.Network).
|
|
670
|
+
* const sourceKeypair = StellarSdk.Keypair.fromSecret(sourceSecretKey);
|
|
671
|
+
* transaction.sign(sourceKeypair);
|
|
672
|
+
*
|
|
673
|
+
* server.sendTransaction(transaction).then((result) => {
|
|
674
|
+
* console.log("hash:", result.hash);
|
|
675
|
+
* console.log("status:", result.status);
|
|
676
|
+
* console.log("errorResultXdr:", result.errorResultXdr);
|
|
677
|
+
* });
|
|
678
|
+
* ```
|
|
679
|
+
*/
|
|
680
|
+
sendTransaction(transaction: Transaction | FeeBumpTransaction): Promise<Api.SendTransactionResponse>;
|
|
681
|
+
_sendTransaction(transaction: Transaction | FeeBumpTransaction): Promise<Api.RawSendTransactionResponse>;
|
|
682
|
+
/**
|
|
683
|
+
* Fund a new account using the network's Faucet, if any.
|
|
684
|
+
*
|
|
685
|
+
* @param address - The address or account instance that we
|
|
686
|
+
* want to create and fund with the Faucet
|
|
687
|
+
* @param faucetUrl - (optional) Optionally, an explicit address for
|
|
688
|
+
* the faucet (by default: this calls the Soroban RPC
|
|
689
|
+
* {@link rpc.Server.getNetwork | getNetwork} method to try to
|
|
690
|
+
* discover this network's faucet url).
|
|
691
|
+
* @returns An {@link Account} object for the created
|
|
692
|
+
* account, or the existing account if it's already funded with the
|
|
693
|
+
* populated sequence number (note that the account will not be "topped
|
|
694
|
+
* off" if it already exists)
|
|
695
|
+
* @throws If the faucet is not configured on this network or request failure
|
|
696
|
+
*
|
|
697
|
+
* @see {@link Faucet.Api.Response}
|
|
698
|
+
*
|
|
699
|
+
* @deprecated Use {@link Server.fundAddress} instead, which supports both
|
|
700
|
+
* account (G...) and contract (C...) addresses.
|
|
701
|
+
*
|
|
702
|
+
* @example
|
|
703
|
+
* ```ts
|
|
704
|
+
* server
|
|
705
|
+
* .requestAirdrop("GBZC6Y2Y7Q3ZQ2Y4QZJ2XZ3Z5YXZ6Z7Z2Y4QZJ2XZ3Z5YXZ6Z7Z2Y4")
|
|
706
|
+
* .then((accountCreated) => {
|
|
707
|
+
* console.log("accountCreated:", accountCreated);
|
|
708
|
+
* }).catch((error) => {
|
|
709
|
+
* console.error("error:", error);
|
|
710
|
+
* });
|
|
711
|
+
* ```
|
|
712
|
+
*/
|
|
713
|
+
requestAirdrop(address: string | Pick<Account, "accountId">, faucetUrl?: string): Promise<Account>;
|
|
714
|
+
/**
|
|
715
|
+
* Fund an address using the network's Faucet, if any.
|
|
716
|
+
*
|
|
717
|
+
* This method supports both account (G...) and contract (C...) addresses.
|
|
718
|
+
*
|
|
719
|
+
* @param address - The address to fund. Can be either a Stellar
|
|
720
|
+
* account (G...) or contract (C...) address.
|
|
721
|
+
* @param faucetUrl - (optional) Optionally, an explicit faucet URL
|
|
722
|
+
* (by default: this calls the Stellar RPC
|
|
723
|
+
* {@link rpc.Server.getNetwork | getNetwork} method to try to
|
|
724
|
+
* discover this network's faucet url).
|
|
725
|
+
* @returns The transaction
|
|
726
|
+
* response from the faucet funding transaction.
|
|
727
|
+
* @throws If the faucet is not configured on this network or the
|
|
728
|
+
* funding transaction fails.
|
|
729
|
+
*
|
|
730
|
+
* @example
|
|
731
|
+
* ```ts
|
|
732
|
+
* // Funding an account (G... address)
|
|
733
|
+
* const tx = await server.fundAddress("GBZC6Y2Y7...");
|
|
734
|
+
* console.log("Funded! Hash:", tx.txHash);
|
|
735
|
+
* // If you need the Account object:
|
|
736
|
+
* const account = await server.getAccount("GBZC6Y2Y7...");
|
|
737
|
+
* ```
|
|
738
|
+
*
|
|
739
|
+
* @example
|
|
740
|
+
* ```ts
|
|
741
|
+
* // Funding a contract (C... address)
|
|
742
|
+
* const tx = await server.fundAddress("CBZC6Y2Y7...");
|
|
743
|
+
* console.log("Contract funded! Hash:", tx.txHash);
|
|
744
|
+
* ```
|
|
745
|
+
*/
|
|
746
|
+
fundAddress(address: string, faucetUrl?: string): Promise<Api.GetSuccessfulTransactionResponse>;
|
|
747
|
+
/**
|
|
748
|
+
* Provides an analysis of the recent fee stats for regular and smart
|
|
749
|
+
* contract operations.
|
|
750
|
+
*
|
|
751
|
+
* @returns the fee stats
|
|
752
|
+
* @see https://developers.stellar.org/docs/data/rpc/api-reference/methods/getFeeStats
|
|
753
|
+
*/
|
|
754
|
+
getFeeStats(): Promise<Api.GetFeeStatsResponse>;
|
|
755
|
+
/**
|
|
756
|
+
* Provides information about the current version details of the Soroban RPC and captive-core
|
|
757
|
+
*
|
|
758
|
+
* @returns the version info
|
|
759
|
+
* @see https://developers.stellar.org/docs/data/rpc/api-reference/methods/getVersionInfo
|
|
760
|
+
*/
|
|
761
|
+
getVersionInfo(): Promise<Api.GetVersionInfoResponse>;
|
|
762
|
+
/**
|
|
763
|
+
* Returns a contract's balance of a particular SAC asset, if any.
|
|
764
|
+
*
|
|
765
|
+
* This is a convenience wrapper around {@link Server.getLedgerEntries}.
|
|
766
|
+
*
|
|
767
|
+
* @param address - the contract (string `C...`) whose balance of
|
|
768
|
+
* `sac` you want to know
|
|
769
|
+
* @param sac - the built-in SAC token (e.g. `USDC:GABC...`) that
|
|
770
|
+
* you are querying from the given `contract`.
|
|
771
|
+
* @param networkPassphrase - (optional) optionally, the network passphrase to
|
|
772
|
+
* which this token applies. If omitted, a request about network
|
|
773
|
+
* information will be made (see {@link getNetwork}), since contract IDs
|
|
774
|
+
* for assets are specific to a network. You can refer to {@link Networks}
|
|
775
|
+
* for a list of built-in passphrases, e.g., `Networks.TESTNET`.
|
|
776
|
+
*
|
|
777
|
+
* @returns , which will contain the balance
|
|
778
|
+
* entry details if and only if the request returned a valid balance ledger
|
|
779
|
+
* entry. If it doesn't, the `balanceEntry` field will not exist.
|
|
780
|
+
*
|
|
781
|
+
* @throws If `address` is not a valid contract ID (C...).
|
|
782
|
+
*
|
|
783
|
+
* @see getLedgerEntries
|
|
784
|
+
* @see https://developers.stellar.org/docs/tokens/stellar-asset-contract
|
|
785
|
+
*
|
|
786
|
+
* @deprecated Use {@link getAssetBalance}, instead
|
|
787
|
+
* @example
|
|
788
|
+
* ```ts
|
|
789
|
+
* // assume `address` is some contract or account with an XLM balance
|
|
790
|
+
* // assume server is an instantiated `Server` instance.
|
|
791
|
+
* const entry = (await server.getSACBalance(
|
|
792
|
+
* new Address(address),
|
|
793
|
+
* Asset.native(),
|
|
794
|
+
* Networks.PUBLIC
|
|
795
|
+
* ));
|
|
796
|
+
*
|
|
797
|
+
* // assumes BigInt support:
|
|
798
|
+
* console.log(
|
|
799
|
+
* entry.balanceEntry ?
|
|
800
|
+
* BigInt(entry.balanceEntry.amount) :
|
|
801
|
+
* "Address has no XLM");
|
|
802
|
+
* ```
|
|
803
|
+
*/
|
|
804
|
+
getSACBalance(address: string | Address, sac: Asset, networkPassphrase?: string): Promise<Api.BalanceResponse>;
|
|
805
|
+
/**
|
|
806
|
+
* Fetch a detailed list of ledgers starting from a specified point.
|
|
807
|
+
*
|
|
808
|
+
* Returns ledger data with support for pagination as long as the requested
|
|
809
|
+
* pages fall within the history retention of the RPC provider.
|
|
810
|
+
*
|
|
811
|
+
* @param request - The request parameters for fetching ledgers. {@link Api.GetLedgersRequest}
|
|
812
|
+
* @returns A promise that resolves to the
|
|
813
|
+
* ledgers response containing an array of ledger data and pagination info. {@link Api.GetLedgersResponse}
|
|
814
|
+
*
|
|
815
|
+
* @throws If startLedger is less than the oldest ledger stored in this
|
|
816
|
+
* node, or greater than the latest ledger seen by this node.
|
|
817
|
+
*
|
|
818
|
+
* @see {@link https://developers.stellar.org/docs/data/rpc/api-reference/methods/getLedgers | getLedgers docs}
|
|
819
|
+
*
|
|
820
|
+
* @example
|
|
821
|
+
* ```ts
|
|
822
|
+
* // Fetch ledgers starting from a specific sequence number
|
|
823
|
+
* server.getLedgers({
|
|
824
|
+
* startLedger: 36233,
|
|
825
|
+
* pagination: {
|
|
826
|
+
* limit: 10
|
|
827
|
+
* }
|
|
828
|
+
* }).then((response) => {
|
|
829
|
+
* console.log("Ledgers:", response.ledgers);
|
|
830
|
+
* console.log("Latest Ledger:", response.latestLedger);
|
|
831
|
+
* console.log("Cursor:", response.cursor);
|
|
832
|
+
* });
|
|
833
|
+
* ```
|
|
834
|
+
*
|
|
835
|
+
* @example
|
|
836
|
+
* ```ts
|
|
837
|
+
* // Paginate through ledgers using cursor
|
|
838
|
+
* const firstPage = await server.getLedgers({
|
|
839
|
+
* startLedger: 36233,
|
|
840
|
+
* pagination: {
|
|
841
|
+
* limit: 5
|
|
842
|
+
* }
|
|
843
|
+
* });
|
|
844
|
+
*
|
|
845
|
+
* const nextPage = await server.getLedgers({
|
|
846
|
+
* pagination: {
|
|
847
|
+
* cursor: firstPage.cursor,
|
|
848
|
+
* limit: 5
|
|
849
|
+
* }
|
|
850
|
+
* });
|
|
851
|
+
* ```
|
|
852
|
+
*/
|
|
853
|
+
getLedgers(request: Api.GetLedgersRequest): Promise<Api.GetLedgersResponse>;
|
|
854
|
+
_getLedgers(request: Api.GetLedgersRequest): Promise<Api.RawGetLedgersResponse>;
|
|
855
|
+
}
|