@aptos-labs/ts-sdk 6.3.0 → 7.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/README.md +125 -24
- package/dist/account/AbstractKeylessAccount.d.ts +326 -0
- package/dist/account/AbstractKeylessAccount.d.ts.map +1 -0
- package/dist/account/AbstractKeylessAccount.js +440 -0
- package/dist/account/AbstractKeylessAccount.js.map +1 -0
- package/dist/account/AbstractedAccount.d.ts +61 -0
- package/dist/account/AbstractedAccount.d.ts.map +1 -0
- package/dist/account/AbstractedAccount.js +71 -0
- package/dist/account/AbstractedAccount.js.map +1 -0
- package/dist/account/Account.d.ts +302 -0
- package/dist/account/Account.d.ts.map +1 -0
- package/dist/account/Account.js +104 -0
- package/dist/account/Account.js.map +1 -0
- package/dist/account/AccountUtils.d.ts +25 -0
- package/dist/account/AccountUtils.d.ts.map +1 -0
- package/dist/account/AccountUtils.js +202 -0
- package/dist/account/AccountUtils.js.map +1 -0
- package/dist/account/DerivableAbstractedAccount.d.ts +51 -0
- package/dist/account/DerivableAbstractedAccount.d.ts.map +1 -0
- package/dist/account/DerivableAbstractedAccount.js +61 -0
- package/dist/account/DerivableAbstractedAccount.js.map +1 -0
- package/dist/account/Ed25519Account.d.ts +161 -0
- package/dist/account/Ed25519Account.d.ts.map +1 -0
- package/dist/account/Ed25519Account.js +149 -0
- package/dist/account/Ed25519Account.js.map +1 -0
- package/dist/account/EphemeralKeyPair.d.ts +159 -0
- package/dist/account/EphemeralKeyPair.d.ts.map +1 -0
- package/dist/account/EphemeralKeyPair.js +246 -0
- package/dist/account/EphemeralKeyPair.js.map +1 -0
- package/dist/account/FederatedKeylessAccount.d.ts +107 -0
- package/dist/account/FederatedKeylessAccount.d.ts.map +1 -0
- package/dist/account/FederatedKeylessAccount.js +129 -0
- package/dist/account/FederatedKeylessAccount.js.map +1 -0
- package/dist/account/KeylessAccount.d.ts +112 -0
- package/dist/account/KeylessAccount.d.ts.map +1 -0
- package/dist/account/KeylessAccount.js +133 -0
- package/dist/account/KeylessAccount.js.map +1 -0
- package/dist/account/MultiEd25519Account.d.ts +100 -0
- package/dist/account/MultiEd25519Account.d.ts.map +1 -0
- package/dist/account/MultiEd25519Account.js +134 -0
- package/dist/account/MultiEd25519Account.js.map +1 -0
- package/dist/account/MultiKeyAccount.d.ts +197 -0
- package/dist/account/MultiKeyAccount.d.ts.map +1 -0
- package/dist/account/MultiKeyAccount.js +233 -0
- package/dist/account/MultiKeyAccount.js.map +1 -0
- package/dist/account/SingleKeyAccount.d.ts +189 -0
- package/dist/account/SingleKeyAccount.d.ts.map +1 -0
- package/dist/account/SingleKeyAccount.js +182 -0
- package/dist/account/SingleKeyAccount.js.map +1 -0
- package/dist/account/index.d.ts +9 -0
- package/dist/account/index.d.ts.map +1 -0
- package/dist/account/index.js +17 -0
- package/dist/account/index.js.map +1 -0
- package/dist/account/keylessSigner.d.ts +22 -0
- package/dist/account/keylessSigner.d.ts.map +1 -0
- package/dist/account/keylessSigner.js +9 -0
- package/dist/account/keylessSigner.js.map +1 -0
- package/dist/account/utils.d.ts +8 -0
- package/dist/account/utils.d.ts.map +1 -0
- package/dist/account/utils.js +12 -0
- package/dist/account/utils.js.map +1 -0
- package/dist/api/account/abstraction.d.ts +176 -0
- package/dist/api/account/abstraction.d.ts.map +1 -0
- package/dist/api/account/abstraction.js +203 -0
- package/dist/api/account/abstraction.js.map +1 -0
- package/dist/api/account.d.ts +845 -0
- package/dist/api/account.d.ts.map +1 -0
- package/dist/api/account.js +965 -0
- package/dist/api/account.js.map +1 -0
- package/dist/api/ans.d.ts +565 -0
- package/dist/api/ans.d.ts.map +1 -0
- package/dist/api/ans.js +537 -0
- package/dist/api/ans.js.map +1 -0
- package/dist/api/aptos.d.ts +73 -0
- package/dist/api/aptos.d.ts.map +1 -0
- package/dist/api/aptos.js +162 -0
- package/dist/api/aptos.js.map +1 -0
- package/dist/api/aptosConfig.d.ts +215 -0
- package/dist/api/aptosConfig.d.ts.map +1 -0
- package/dist/api/aptosConfig.js +316 -0
- package/dist/api/aptosConfig.js.map +1 -0
- package/dist/api/coin.d.ts +77 -0
- package/dist/api/coin.d.ts.map +1 -0
- package/dist/api/coin.js +73 -0
- package/dist/api/coin.js.map +1 -0
- package/dist/api/digitalAsset.d.ts +1026 -0
- package/dist/api/digitalAsset.d.ts.map +1 -0
- package/dist/api/digitalAsset.js +987 -0
- package/dist/api/digitalAsset.js.map +1 -0
- package/dist/api/faucet.d.ts +74 -0
- package/dist/api/faucet.d.ts.map +1 -0
- package/dist/api/faucet.js +86 -0
- package/dist/api/faucet.js.map +1 -0
- package/dist/api/fungibleAsset.d.ts +285 -0
- package/dist/api/fungibleAsset.d.ts.map +1 -0
- package/dist/api/fungibleAsset.js +314 -0
- package/dist/api/fungibleAsset.js.map +1 -0
- package/dist/api/general.d.ts +298 -0
- package/dist/api/general.d.ts.map +1 -0
- package/dist/api/general.js +311 -0
- package/dist/api/general.js.map +1 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +5 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/keyless.d.ts +160 -0
- package/dist/api/keyless.d.ts.map +1 -0
- package/dist/api/keyless.js +176 -0
- package/dist/api/keyless.js.map +1 -0
- package/dist/api/object.d.ts +74 -0
- package/dist/api/object.d.ts.map +1 -0
- package/dist/api/object.js +84 -0
- package/dist/api/object.js.map +1 -0
- package/dist/api/staking.d.ts +128 -0
- package/dist/api/staking.d.ts.map +1 -0
- package/dist/api/staking.js +143 -0
- package/dist/api/staking.js.map +1 -0
- package/dist/api/table.d.ts +163 -0
- package/dist/api/table.d.ts.map +1 -0
- package/dist/api/table.js +171 -0
- package/dist/api/table.js.map +1 -0
- package/dist/api/transaction.d.ts +672 -0
- package/dist/api/transaction.d.ts.map +1 -0
- package/dist/api/transaction.js +694 -0
- package/dist/api/transaction.js.map +1 -0
- package/dist/api/transactionSubmission/build.d.ts +137 -0
- package/dist/api/transactionSubmission/build.d.ts.map +1 -0
- package/dist/api/transactionSubmission/build.js +130 -0
- package/dist/api/transactionSubmission/build.js.map +1 -0
- package/dist/api/transactionSubmission/helpers.d.ts +91 -0
- package/dist/api/transactionSubmission/helpers.d.ts.map +1 -0
- package/dist/api/transactionSubmission/helpers.js +99 -0
- package/dist/api/transactionSubmission/helpers.js.map +1 -0
- package/dist/api/transactionSubmission/management.d.ts +159 -0
- package/dist/api/transactionSubmission/management.d.ts.map +1 -0
- package/dist/api/transactionSubmission/management.js +192 -0
- package/dist/api/transactionSubmission/management.js.map +1 -0
- package/dist/api/transactionSubmission/sign.d.ts +117 -0
- package/dist/api/transactionSubmission/sign.d.ts.map +1 -0
- package/dist/api/transactionSubmission/sign.js +130 -0
- package/dist/api/transactionSubmission/sign.js.map +1 -0
- package/dist/api/transactionSubmission/simulate.d.ts +176 -0
- package/dist/api/transactionSubmission/simulate.d.ts.map +1 -0
- package/dist/api/transactionSubmission/simulate.js +183 -0
- package/dist/api/transactionSubmission/simulate.js.map +1 -0
- package/dist/api/transactionSubmission/submit.d.ts +136 -0
- package/dist/api/transactionSubmission/submit.d.ts.map +1 -0
- package/dist/api/transactionSubmission/submit.js +136 -0
- package/dist/api/transactionSubmission/submit.js.map +1 -0
- package/dist/api/utils.d.ts +39 -0
- package/dist/api/utils.d.ts.map +1 -0
- package/dist/api/utils.js +41 -0
- package/dist/api/utils.js.map +1 -0
- package/dist/bcs/consts.d.ts +20 -0
- package/dist/bcs/consts.d.ts.map +1 -0
- package/dist/bcs/consts.js +24 -0
- package/dist/bcs/consts.js.map +1 -0
- package/dist/bcs/deserializer.d.ts +365 -0
- package/dist/bcs/deserializer.d.ts.map +1 -0
- package/dist/bcs/deserializer.js +470 -0
- package/dist/bcs/deserializer.js.map +1 -0
- package/dist/bcs/index.d.ts +7 -0
- package/dist/bcs/index.d.ts.map +1 -0
- package/dist/bcs/index.js +9 -0
- package/dist/bcs/index.js.map +1 -0
- package/dist/bcs/serializable/entryFunctionBytes.d.ts +60 -0
- package/dist/bcs/serializable/entryFunctionBytes.d.ts.map +1 -0
- package/dist/bcs/serializable/entryFunctionBytes.js +82 -0
- package/dist/bcs/serializable/entryFunctionBytes.js.map +1 -0
- package/dist/bcs/serializable/fixedBytes.d.ts +86 -0
- package/dist/bcs/serializable/fixedBytes.d.ts.map +1 -0
- package/dist/bcs/serializable/fixedBytes.js +98 -0
- package/dist/bcs/serializable/fixedBytes.js.map +1 -0
- package/dist/bcs/serializable/movePrimitives.d.ts +267 -0
- package/dist/bcs/serializable/movePrimitives.d.ts.map +1 -0
- package/dist/bcs/serializable/movePrimitives.js +448 -0
- package/dist/bcs/serializable/movePrimitives.js.map +1 -0
- package/dist/bcs/serializable/moveStructs.d.ts +596 -0
- package/dist/bcs/serializable/moveStructs.d.ts.map +1 -0
- package/dist/bcs/serializable/moveStructs.js +748 -0
- package/dist/bcs/serializable/moveStructs.js.map +1 -0
- package/dist/bcs/serializer.d.ts +442 -0
- package/dist/bcs/serializer.d.ts.map +1 -0
- package/dist/bcs/serializer.js +747 -0
- package/dist/bcs/serializer.js.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +3 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/localNode.d.ts +65 -0
- package/dist/cli/localNode.d.ts.map +1 -0
- package/dist/cli/localNode.js +149 -0
- package/dist/cli/localNode.js.map +1 -0
- package/dist/cli/move.d.ts +250 -0
- package/dist/cli/move.d.ts.map +1 -0
- package/dist/cli/move.js +364 -0
- package/dist/cli/move.js.map +1 -0
- package/dist/client/core.d.ts +37 -0
- package/dist/client/core.d.ts.map +1 -0
- package/dist/client/core.js +116 -0
- package/dist/client/core.js.map +1 -0
- package/dist/client/get.d.ts +119 -0
- package/dist/client/get.d.ts.map +1 -0
- package/dist/client/get.js +165 -0
- package/dist/client/get.js.map +1 -0
- package/dist/client/index.d.ts +4 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +6 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/post.d.ts +155 -0
- package/dist/client/post.d.ts.map +1 -0
- package/dist/client/post.js +151 -0
- package/dist/client/post.js.map +1 -0
- package/dist/core/account/index.d.ts +2 -0
- package/dist/core/account/index.d.ts.map +1 -0
- package/dist/core/account/index.js +2 -0
- package/dist/core/account/index.js.map +1 -0
- package/dist/core/account/utils/address.d.ts +47 -0
- package/dist/core/account/utils/address.d.ts.map +1 -0
- package/dist/core/account/utils/address.js +68 -0
- package/dist/core/account/utils/address.js.map +1 -0
- package/dist/core/account/utils/index.d.ts +2 -0
- package/dist/core/account/utils/index.d.ts.map +1 -0
- package/dist/core/account/utils/index.js +2 -0
- package/dist/core/account/utils/index.js.map +1 -0
- package/dist/core/accountAddress.d.ts +327 -0
- package/dist/core/accountAddress.d.ts.map +1 -0
- package/dist/core/accountAddress.js +457 -0
- package/dist/core/accountAddress.js.map +1 -0
- package/dist/core/authenticationKey.d.ts +129 -0
- package/dist/core/authenticationKey.d.ts.map +1 -0
- package/dist/core/authenticationKey.js +155 -0
- package/dist/core/authenticationKey.js.map +1 -0
- package/dist/core/common.d.ts +51 -0
- package/dist/core/common.d.ts.map +1 -0
- package/dist/core/common.js +30 -0
- package/dist/core/common.js.map +1 -0
- package/dist/core/crypto/abstraction.d.ts +21 -0
- package/dist/core/crypto/abstraction.d.ts.map +1 -0
- package/dist/core/crypto/abstraction.js +37 -0
- package/dist/core/crypto/abstraction.js.map +1 -0
- package/dist/core/crypto/anyKeyRegistry.d.ts +45 -0
- package/dist/core/crypto/anyKeyRegistry.d.ts.map +1 -0
- package/dist/core/crypto/anyKeyRegistry.js +59 -0
- package/dist/core/crypto/anyKeyRegistry.js.map +1 -0
- package/dist/core/crypto/deserializationUtils.d.ts +22 -0
- package/dist/core/crypto/deserializationUtils.d.ts.map +1 -0
- package/dist/core/crypto/deserializationUtils.js +89 -0
- package/dist/core/crypto/deserializationUtils.js.map +1 -0
- package/dist/core/crypto/ed25519.d.ts +330 -0
- package/dist/core/crypto/ed25519.d.ts.map +1 -0
- package/dist/core/crypto/ed25519.js +502 -0
- package/dist/core/crypto/ed25519.js.map +1 -0
- package/dist/core/crypto/encryption/ciphertext.d.ts +49 -0
- package/dist/core/crypto/encryption/ciphertext.d.ts.map +1 -0
- package/dist/core/crypto/encryption/ciphertext.js +166 -0
- package/dist/core/crypto/encryption/ciphertext.js.map +1 -0
- package/dist/core/crypto/encryption/curveSerialization.d.ts +17 -0
- package/dist/core/crypto/encryption/curveSerialization.d.ts.map +1 -0
- package/dist/core/crypto/encryption/curveSerialization.js +38 -0
- package/dist/core/crypto/encryption/curveSerialization.js.map +1 -0
- package/dist/core/crypto/encryption/fieldSerialization.d.ts +12 -0
- package/dist/core/crypto/encryption/fieldSerialization.d.ts.map +1 -0
- package/dist/core/crypto/encryption/fieldSerialization.js +70 -0
- package/dist/core/crypto/encryption/fieldSerialization.js.map +1 -0
- package/dist/core/crypto/encryption/index.d.ts +11 -0
- package/dist/core/crypto/encryption/index.d.ts.map +1 -0
- package/dist/core/crypto/encryption/index.js +13 -0
- package/dist/core/crypto/encryption/index.js.map +1 -0
- package/dist/core/crypto/encryption/symmetric.d.ts +38 -0
- package/dist/core/crypto/encryption/symmetric.d.ts.map +1 -0
- package/dist/core/crypto/encryption/symmetric.js +124 -0
- package/dist/core/crypto/encryption/symmetric.js.map +1 -0
- package/dist/core/crypto/ephemeral.d.ts +112 -0
- package/dist/core/crypto/ephemeral.d.ts.map +1 -0
- package/dist/core/crypto/ephemeral.js +170 -0
- package/dist/core/crypto/ephemeral.js.map +1 -0
- package/dist/core/crypto/federatedKeyless.d.ts +106 -0
- package/dist/core/crypto/federatedKeyless.d.ts.map +1 -0
- package/dist/core/crypto/federatedKeyless.js +125 -0
- package/dist/core/crypto/federatedKeyless.js.map +1 -0
- package/dist/core/crypto/hdKey.d.ts +90 -0
- package/dist/core/crypto/hdKey.d.ts.map +1 -0
- package/dist/core/crypto/hdKey.js +118 -0
- package/dist/core/crypto/hdKey.js.map +1 -0
- package/dist/core/crypto/index.d.ts +13 -0
- package/dist/core/crypto/index.d.ts.map +1 -0
- package/dist/core/crypto/index.js +26 -0
- package/dist/core/crypto/index.js.map +1 -0
- package/dist/core/crypto/keyless.d.ts +788 -0
- package/dist/core/crypto/keyless.d.ts.map +1 -0
- package/dist/core/crypto/keyless.js +1482 -0
- package/dist/core/crypto/keyless.js.map +1 -0
- package/dist/core/crypto/keylessRegistration.d.ts +2 -0
- package/dist/core/crypto/keylessRegistration.d.ts.map +1 -0
- package/dist/core/crypto/keylessRegistration.js +16 -0
- package/dist/core/crypto/keylessRegistration.js.map +1 -0
- package/dist/core/crypto/multiEd25519.d.ts +228 -0
- package/dist/core/crypto/multiEd25519.d.ts.map +1 -0
- package/dist/core/crypto/multiEd25519.js +361 -0
- package/dist/core/crypto/multiEd25519.js.map +1 -0
- package/dist/core/crypto/multiKey.d.ts +248 -0
- package/dist/core/crypto/multiKey.d.ts.map +1 -0
- package/dist/core/crypto/multiKey.js +417 -0
- package/dist/core/crypto/multiKey.js.map +1 -0
- package/dist/core/crypto/poseidon.d.ts +58 -0
- package/dist/core/crypto/poseidon.d.ts.map +1 -0
- package/dist/core/crypto/poseidon.js +196 -0
- package/dist/core/crypto/poseidon.js.map +1 -0
- package/dist/core/crypto/privateKey.d.ts +64 -0
- package/dist/core/crypto/privateKey.d.ts.map +1 -0
- package/dist/core/crypto/privateKey.js +74 -0
- package/dist/core/crypto/privateKey.js.map +1 -0
- package/dist/core/crypto/proof.d.ts +10 -0
- package/dist/core/crypto/proof.d.ts.map +1 -0
- package/dist/core/crypto/proof.js +10 -0
- package/dist/core/crypto/proof.js.map +1 -0
- package/dist/core/crypto/publicKey.d.ts +92 -0
- package/dist/core/crypto/publicKey.d.ts.map +1 -0
- package/dist/core/crypto/publicKey.js +54 -0
- package/dist/core/crypto/publicKey.js.map +1 -0
- package/dist/core/crypto/secp256k1.d.ts +303 -0
- package/dist/core/crypto/secp256k1.d.ts.map +1 -0
- package/dist/core/crypto/secp256k1.js +455 -0
- package/dist/core/crypto/secp256k1.js.map +1 -0
- package/dist/core/crypto/secp256r1.d.ts +304 -0
- package/dist/core/crypto/secp256r1.d.ts.map +1 -0
- package/dist/core/crypto/secp256r1.js +444 -0
- package/dist/core/crypto/secp256r1.js.map +1 -0
- package/dist/core/crypto/signature.d.ts +35 -0
- package/dist/core/crypto/signature.d.ts.map +1 -0
- package/dist/core/crypto/signature.js +55 -0
- package/dist/core/crypto/signature.js.map +1 -0
- package/dist/core/crypto/singleKey.d.ts +175 -0
- package/dist/core/crypto/singleKey.d.ts.map +1 -0
- package/dist/core/crypto/singleKey.js +324 -0
- package/dist/core/crypto/singleKey.js.map +1 -0
- package/dist/core/crypto/types.d.ts +6 -0
- package/dist/core/crypto/types.d.ts.map +1 -0
- package/dist/core/crypto/types.js +2 -0
- package/dist/core/crypto/types.js.map +1 -0
- package/dist/core/crypto/utils.d.ts +16 -0
- package/dist/core/crypto/utils.d.ts.map +1 -0
- package/dist/core/crypto/utils.js +64 -0
- package/dist/core/crypto/utils.js.map +1 -0
- package/dist/core/hex.d.ts +154 -0
- package/dist/core/hex.d.ts.map +1 -0
- package/dist/core/hex.js +219 -0
- package/dist/core/hex.js.map +1 -0
- package/dist/core/index.d.ts +7 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +9 -0
- package/dist/core/index.js.map +1 -0
- package/dist/errors/index.d.ts +125 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +367 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/functions/abstraction.d.ts +4 -0
- package/dist/functions/abstraction.d.ts.map +1 -0
- package/dist/functions/abstraction.js +6 -0
- package/dist/functions/abstraction.js.map +1 -0
- package/dist/functions/account.d.ts +8 -0
- package/dist/functions/account.d.ts.map +1 -0
- package/dist/functions/account.js +10 -0
- package/dist/functions/account.js.map +1 -0
- package/dist/functions/ans.d.ts +4 -0
- package/dist/functions/ans.d.ts.map +1 -0
- package/dist/functions/ans.js +6 -0
- package/dist/functions/ans.js.map +1 -0
- package/dist/functions/coin.d.ts +4 -0
- package/dist/functions/coin.d.ts.map +1 -0
- package/dist/functions/coin.js +6 -0
- package/dist/functions/coin.js.map +1 -0
- package/dist/functions/digitalAsset.d.ts +4 -0
- package/dist/functions/digitalAsset.d.ts.map +1 -0
- package/dist/functions/digitalAsset.js +6 -0
- package/dist/functions/digitalAsset.js.map +1 -0
- package/dist/functions/faucet.d.ts +4 -0
- package/dist/functions/faucet.d.ts.map +1 -0
- package/dist/functions/faucet.js +6 -0
- package/dist/functions/faucet.js.map +1 -0
- package/dist/functions/fungibleAsset.d.ts +4 -0
- package/dist/functions/fungibleAsset.d.ts.map +1 -0
- package/dist/functions/fungibleAsset.js +6 -0
- package/dist/functions/fungibleAsset.js.map +1 -0
- package/dist/functions/general.d.ts +4 -0
- package/dist/functions/general.d.ts.map +1 -0
- package/dist/functions/general.js +6 -0
- package/dist/functions/general.js.map +1 -0
- package/dist/functions/index.d.ts +18 -0
- package/dist/functions/index.d.ts.map +1 -0
- package/dist/functions/index.js +20 -0
- package/dist/functions/index.js.map +1 -0
- package/dist/functions/keyless.d.ts +16 -0
- package/dist/functions/keyless.d.ts.map +1 -0
- package/dist/functions/keyless.js +23 -0
- package/dist/functions/keyless.js.map +1 -0
- package/dist/functions/object.d.ts +4 -0
- package/dist/functions/object.d.ts.map +1 -0
- package/dist/functions/object.js +6 -0
- package/dist/functions/object.js.map +1 -0
- package/dist/functions/staking.d.ts +4 -0
- package/dist/functions/staking.d.ts.map +1 -0
- package/dist/functions/staking.js +6 -0
- package/dist/functions/staking.js.map +1 -0
- package/dist/functions/table.d.ts +4 -0
- package/dist/functions/table.d.ts.map +1 -0
- package/dist/functions/table.js +6 -0
- package/dist/functions/table.js.map +1 -0
- package/dist/functions/transaction.d.ts +5 -0
- package/dist/functions/transaction.d.ts.map +1 -0
- package/dist/functions/transaction.js +7 -0
- package/dist/functions/transaction.js.map +1 -0
- package/dist/functions/view.d.ts +3 -0
- package/dist/functions/view.d.ts.map +1 -0
- package/dist/functions/view.js +5 -0
- package/dist/functions/view.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/abstraction.d.ts +22 -0
- package/dist/internal/abstraction.d.ts.map +1 -0
- package/dist/internal/abstraction.js +54 -0
- package/dist/internal/abstraction.js.map +1 -0
- package/dist/internal/account.d.ts +457 -0
- package/dist/internal/account.d.ts.map +1 -0
- package/dist/internal/account.js +1164 -0
- package/dist/internal/account.js.map +1 -0
- package/dist/internal/ans.d.ts +414 -0
- package/dist/internal/ans.d.ts.map +1 -0
- package/dist/internal/ans.js +769 -0
- package/dist/internal/ans.js.map +1 -0
- package/dist/internal/coin.d.ts +27 -0
- package/dist/internal/coin.d.ts.map +1 -0
- package/dist/internal/coin.js +36 -0
- package/dist/internal/coin.js.map +1 -0
- package/dist/internal/digitalAsset.d.ts +577 -0
- package/dist/internal/digitalAsset.d.ts.map +1 -0
- package/dist/internal/digitalAsset.js +900 -0
- package/dist/internal/digitalAsset.js.map +1 -0
- package/dist/internal/encryptionKey.d.ts +20 -0
- package/dist/internal/encryptionKey.d.ts.map +1 -0
- package/dist/internal/encryptionKey.js +33 -0
- package/dist/internal/encryptionKey.js.map +1 -0
- package/dist/internal/faucet.d.ts +35 -0
- package/dist/internal/faucet.d.ts.map +1 -0
- package/dist/internal/faucet.js +53 -0
- package/dist/internal/faucet.js.map +1 -0
- package/dist/internal/fungibleAsset.d.ts +108 -0
- package/dist/internal/fungibleAsset.d.ts.map +1 -0
- package/dist/internal/fungibleAsset.js +155 -0
- package/dist/internal/fungibleAsset.js.map +1 -0
- package/dist/internal/general.d.ts +87 -0
- package/dist/internal/general.d.ts.map +1 -0
- package/dist/internal/general.js +136 -0
- package/dist/internal/general.js.map +1 -0
- package/dist/internal/keyless.d.ts +101 -0
- package/dist/internal/keyless.d.ts.map +1 -0
- package/dist/internal/keyless.js +191 -0
- package/dist/internal/keyless.js.map +1 -0
- package/dist/internal/object.d.ts +37 -0
- package/dist/internal/object.d.ts.map +1 -0
- package/dist/internal/object.js +53 -0
- package/dist/internal/object.js.map +1 -0
- package/dist/internal/staking.d.ts +53 -0
- package/dist/internal/staking.d.ts.map +1 -0
- package/dist/internal/staking.js +71 -0
- package/dist/internal/staking.js.map +1 -0
- package/dist/internal/table.d.ts +60 -0
- package/dist/internal/table.d.ts.map +1 -0
- package/dist/internal/table.js +86 -0
- package/dist/internal/table.js.map +1 -0
- package/dist/internal/transaction.d.ts +192 -0
- package/dist/internal/transaction.d.ts.map +1 -0
- package/dist/internal/transaction.js +399 -0
- package/dist/internal/transaction.js.map +1 -0
- package/dist/internal/transactionSubmission.d.ts +177 -0
- package/dist/internal/transactionSubmission.d.ts.map +1 -0
- package/dist/internal/transactionSubmission.js +411 -0
- package/dist/internal/transactionSubmission.js.map +1 -0
- package/dist/internal/utils/index.d.ts +2 -0
- package/dist/internal/utils/index.d.ts.map +1 -0
- package/dist/internal/utils/index.js +4 -0
- package/dist/internal/utils/index.js.map +1 -0
- package/dist/internal/utils/utils.d.ts +35 -0
- package/dist/internal/utils/utils.d.ts.map +1 -0
- package/dist/internal/utils/utils.js +63 -0
- package/dist/internal/utils/utils.js.map +1 -0
- package/dist/internal/view.d.ts +14 -0
- package/dist/internal/view.d.ts.map +1 -0
- package/dist/internal/view.js +41 -0
- package/dist/internal/view.js.map +1 -0
- package/dist/transactions/authenticator/account.d.ts +193 -0
- package/dist/transactions/authenticator/account.d.ts.map +1 -0
- package/dist/transactions/authenticator/account.js +346 -0
- package/dist/transactions/authenticator/account.js.map +1 -0
- package/dist/transactions/authenticator/index.d.ts +3 -0
- package/dist/transactions/authenticator/index.d.ts.map +1 -0
- package/dist/transactions/authenticator/index.js +5 -0
- package/dist/transactions/authenticator/index.js.map +1 -0
- package/dist/transactions/authenticator/transaction.d.ts +148 -0
- package/dist/transactions/authenticator/transaction.d.ts.map +1 -0
- package/dist/transactions/authenticator/transaction.js +239 -0
- package/dist/transactions/authenticator/transaction.js.map +1 -0
- package/dist/transactions/index.d.ts +7 -0
- package/dist/transactions/index.d.ts.map +1 -0
- package/dist/transactions/index.js +9 -0
- package/dist/transactions/index.js.map +1 -0
- package/dist/transactions/instances/chainId.d.ts +39 -0
- package/dist/transactions/instances/chainId.d.ts.map +1 -0
- package/dist/transactions/instances/chainId.js +48 -0
- package/dist/transactions/instances/chainId.js.map +1 -0
- package/dist/transactions/instances/encryptedPayload.d.ts +65 -0
- package/dist/transactions/instances/encryptedPayload.d.ts.map +1 -0
- package/dist/transactions/instances/encryptedPayload.js +122 -0
- package/dist/transactions/instances/encryptedPayload.js.map +1 -0
- package/dist/transactions/instances/identifier.d.ts +40 -0
- package/dist/transactions/instances/identifier.d.ts.map +1 -0
- package/dist/transactions/instances/identifier.js +49 -0
- package/dist/transactions/instances/identifier.js.map +1 -0
- package/dist/transactions/instances/index.d.ts +12 -0
- package/dist/transactions/instances/index.d.ts.map +1 -0
- package/dist/transactions/instances/index.js +14 -0
- package/dist/transactions/instances/index.js.map +1 -0
- package/dist/transactions/instances/moduleId.d.ts +52 -0
- package/dist/transactions/instances/moduleId.d.ts.map +1 -0
- package/dist/transactions/instances/moduleId.js +69 -0
- package/dist/transactions/instances/moduleId.js.map +1 -0
- package/dist/transactions/instances/multiAgentTransaction.d.ts +50 -0
- package/dist/transactions/instances/multiAgentTransaction.d.ts.map +1 -0
- package/dist/transactions/instances/multiAgentTransaction.js +75 -0
- package/dist/transactions/instances/multiAgentTransaction.js.map +1 -0
- package/dist/transactions/instances/rawTransaction.d.ts +142 -0
- package/dist/transactions/instances/rawTransaction.d.ts.map +1 -0
- package/dist/transactions/instances/rawTransaction.js +202 -0
- package/dist/transactions/instances/rawTransaction.js.map +1 -0
- package/dist/transactions/instances/rotationProofChallenge.d.ts +54 -0
- package/dist/transactions/instances/rotationProofChallenge.d.ts.map +1 -0
- package/dist/transactions/instances/rotationProofChallenge.js +70 -0
- package/dist/transactions/instances/rotationProofChallenge.js.map +1 -0
- package/dist/transactions/instances/signedTransaction.d.ts +53 -0
- package/dist/transactions/instances/signedTransaction.d.ts.map +1 -0
- package/dist/transactions/instances/signedTransaction.js +65 -0
- package/dist/transactions/instances/signedTransaction.js.map +1 -0
- package/dist/transactions/instances/simpleTransaction.d.ts +49 -0
- package/dist/transactions/instances/simpleTransaction.d.ts.map +1 -0
- package/dist/transactions/instances/simpleTransaction.js +73 -0
- package/dist/transactions/instances/simpleTransaction.js.map +1 -0
- package/dist/transactions/instances/transactionArgument.d.ts +71 -0
- package/dist/transactions/instances/transactionArgument.d.ts.map +1 -0
- package/dist/transactions/instances/transactionArgument.js +4 -0
- package/dist/transactions/instances/transactionArgument.js.map +1 -0
- package/dist/transactions/instances/transactionPayload.d.ts +369 -0
- package/dist/transactions/instances/transactionPayload.d.ts.map +1 -0
- package/dist/transactions/instances/transactionPayload.js +668 -0
- package/dist/transactions/instances/transactionPayload.js.map +1 -0
- package/dist/transactions/management/accountSequenceNumber.d.ts +114 -0
- package/dist/transactions/management/accountSequenceNumber.d.ts.map +1 -0
- package/dist/transactions/management/accountSequenceNumber.js +197 -0
- package/dist/transactions/management/accountSequenceNumber.js.map +1 -0
- package/dist/transactions/management/asyncQueue.d.ts +76 -0
- package/dist/transactions/management/asyncQueue.d.ts.map +1 -0
- package/dist/transactions/management/asyncQueue.js +105 -0
- package/dist/transactions/management/asyncQueue.js.map +1 -0
- package/dist/transactions/management/index.d.ts +3 -0
- package/dist/transactions/management/index.d.ts.map +1 -0
- package/dist/transactions/management/index.js +3 -0
- package/dist/transactions/management/index.js.map +1 -0
- package/dist/transactions/management/transactionWorker.d.ts +213 -0
- package/dist/transactions/management/transactionWorker.d.ts.map +1 -0
- package/dist/transactions/management/transactionWorker.js +347 -0
- package/dist/transactions/management/transactionWorker.js.map +1 -0
- package/dist/transactions/transactionBuilder/encryptPayload.d.ts +21 -0
- package/dist/transactions/transactionBuilder/encryptPayload.d.ts.map +1 -0
- package/dist/transactions/transactionBuilder/encryptPayload.js +157 -0
- package/dist/transactions/transactionBuilder/encryptPayload.js.map +1 -0
- package/dist/transactions/transactionBuilder/helpers.d.ts +184 -0
- package/dist/transactions/transactionBuilder/helpers.d.ts.map +1 -0
- package/dist/transactions/transactionBuilder/helpers.js +344 -0
- package/dist/transactions/transactionBuilder/helpers.js.map +1 -0
- package/dist/transactions/transactionBuilder/index.d.ts +6 -0
- package/dist/transactions/transactionBuilder/index.d.ts.map +1 -0
- package/dist/transactions/transactionBuilder/index.js +8 -0
- package/dist/transactions/transactionBuilder/index.js.map +1 -0
- package/dist/transactions/transactionBuilder/remoteAbi.d.ts +167 -0
- package/dist/transactions/transactionBuilder/remoteAbi.d.ts.map +1 -0
- package/dist/transactions/transactionBuilder/remoteAbi.js +1088 -0
- package/dist/transactions/transactionBuilder/remoteAbi.js.map +1 -0
- package/dist/transactions/transactionBuilder/signingMessage.d.ts +55 -0
- package/dist/transactions/transactionBuilder/signingMessage.d.ts.map +1 -0
- package/dist/transactions/transactionBuilder/signingMessage.js +94 -0
- package/dist/transactions/transactionBuilder/signingMessage.js.map +1 -0
- package/dist/transactions/transactionBuilder/structEnumParser.d.ts +225 -0
- package/dist/transactions/transactionBuilder/structEnumParser.d.ts.map +1 -0
- package/dist/transactions/transactionBuilder/structEnumParser.js +690 -0
- package/dist/transactions/transactionBuilder/structEnumParser.js.map +1 -0
- package/dist/transactions/transactionBuilder/transactionBuilder.d.ts +198 -0
- package/dist/transactions/transactionBuilder/transactionBuilder.d.ts.map +1 -0
- package/dist/transactions/transactionBuilder/transactionBuilder.js +586 -0
- package/dist/transactions/transactionBuilder/transactionBuilder.js.map +1 -0
- package/dist/transactions/typeTag/index.d.ts +544 -0
- package/dist/transactions/typeTag/index.d.ts.map +1 -0
- package/dist/transactions/typeTag/index.js +826 -0
- package/dist/transactions/typeTag/index.js.map +1 -0
- package/dist/transactions/typeTag/parser.d.ts +73 -0
- package/dist/transactions/typeTag/parser.d.ts.map +1 -0
- package/dist/transactions/typeTag/parser.js +368 -0
- package/dist/transactions/typeTag/parser.js.map +1 -0
- package/dist/transactions/types.d.ts +477 -0
- package/dist/transactions/types.d.ts.map +1 -0
- package/dist/transactions/types.js +4 -0
- package/dist/transactions/types.js.map +1 -0
- package/dist/types/abstraction.d.ts +14 -0
- package/dist/types/abstraction.d.ts.map +1 -0
- package/dist/types/abstraction.js +16 -0
- package/dist/types/abstraction.js.map +1 -0
- package/dist/types/ans.d.ts +113 -0
- package/dist/types/ans.d.ts.map +1 -0
- package/dist/types/ans.js +36 -0
- package/dist/types/ans.js.map +1 -0
- package/dist/types/generated/operations.d.ts +702 -0
- package/dist/types/generated/operations.d.ts.map +1 -0
- package/dist/types/generated/operations.js +2 -0
- package/dist/types/generated/operations.js.map +1 -0
- package/dist/types/generated/queries.d.ts +64 -0
- package/dist/types/generated/queries.d.ts.map +1 -0
- package/dist/types/generated/queries.js +729 -0
- package/dist/types/generated/queries.js.map +1 -0
- package/dist/types/generated/types.d.ts +9678 -0
- package/dist/types/generated/types.d.ts.map +1 -0
- package/dist/types/generated/types.js +1265 -0
- package/dist/types/generated/types.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/indexer.d.ts +182 -0
- package/dist/types/indexer.d.ts.map +1 -0
- package/dist/types/indexer.js +4 -0
- package/dist/types/indexer.js.map +1 -0
- package/dist/types/keyless.d.ts +101 -0
- package/dist/types/keyless.d.ts.map +1 -0
- package/dist/types/keyless.js +2 -0
- package/dist/types/keyless.js.map +1 -0
- package/dist/types/types.d.ts +1572 -0
- package/dist/types/types.d.ts.map +1 -0
- package/dist/types/types.js +464 -0
- package/dist/types/types.js.map +1 -0
- package/dist/utils/apiEndpoints.d.ts +50 -0
- package/dist/utils/apiEndpoints.d.ts.map +1 -0
- package/dist/utils/apiEndpoints.js +100 -0
- package/dist/utils/apiEndpoints.js.map +1 -0
- package/dist/utils/const.d.ts +117 -0
- package/dist/utils/const.d.ts.map +1 -0
- package/dist/utils/const.js +121 -0
- package/dist/utils/const.js.map +1 -0
- package/dist/utils/helpers.d.ts +203 -0
- package/dist/utils/helpers.d.ts.map +1 -0
- package/dist/utils/helpers.js +330 -0
- package/dist/utils/helpers.js.map +1 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +5 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/memoize.d.ts +47 -0
- package/dist/utils/memoize.d.ts.map +1 -0
- package/dist/utils/memoize.js +195 -0
- package/dist/utils/memoize.js.map +1 -0
- package/dist/utils/normalizeBundle.d.ts +27 -0
- package/dist/utils/normalizeBundle.d.ts.map +1 -0
- package/dist/utils/normalizeBundle.js +18 -0
- package/dist/utils/normalizeBundle.js.map +1 -0
- package/dist/utils/runtime.d.ts +44 -0
- package/dist/utils/runtime.d.ts.map +1 -0
- package/dist/utils/runtime.js +71 -0
- package/dist/utils/runtime.js.map +1 -0
- package/dist/version.d.ts +7 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +9 -0
- package/dist/version.js.map +1 -0
- package/package.json +107 -47
- package/src/account/AbstractKeylessAccount.ts +24 -30
- package/src/account/AbstractedAccount.ts +18 -16
- package/src/account/Account.ts +12 -9
- package/src/account/AccountUtils.ts +17 -20
- package/src/account/DerivableAbstractedAccount.ts +12 -10
- package/src/account/Ed25519Account.ts +8 -8
- package/src/account/EphemeralKeyPair.ts +9 -14
- package/src/account/FederatedKeylessAccount.ts +7 -7
- package/src/account/KeylessAccount.ts +12 -7
- package/src/account/MultiEd25519Account.ts +9 -9
- package/src/account/MultiKeyAccount.ts +15 -16
- package/src/account/SingleKeyAccount.ts +10 -13
- package/src/account/index.ts +17 -12
- package/src/account/keylessSigner.ts +34 -0
- package/src/account/utils.ts +3 -3
- package/src/api/account/abstraction.ts +12 -12
- package/src/api/account.ts +12 -12
- package/src/api/ans.ts +6 -6
- package/src/api/aptos.ts +115 -88
- package/src/api/aptosConfig.ts +6 -4
- package/src/api/coin.ts +6 -6
- package/src/api/digitalAsset.ts +9 -9
- package/src/api/faucet.ts +6 -6
- package/src/api/fungibleAsset.ts +10 -10
- package/src/api/general.ts +7 -7
- package/src/api/index.ts +2 -2
- package/src/api/keyless.ts +11 -7
- package/src/api/object.ts +6 -6
- package/src/api/staking.ts +11 -6
- package/src/api/table.ts +6 -6
- package/src/api/transaction.ts +13 -13
- package/src/api/transactionSubmission/build.ts +6 -6
- package/src/api/transactionSubmission/helpers.ts +2 -2
- package/src/api/transactionSubmission/management.ts +9 -5
- package/src/api/transactionSubmission/sign.ts +4 -4
- package/src/api/transactionSubmission/simulate.ts +6 -6
- package/src/api/transactionSubmission/submit.ts +5 -5
- package/src/api/utils.ts +4 -4
- package/src/bcs/consts.ts +14 -1
- package/src/bcs/deserializer.ts +3 -3
- package/src/bcs/index.ts +6 -6
- package/src/bcs/serializable/entryFunctionBytes.ts +5 -5
- package/src/bcs/serializable/fixedBytes.ts +5 -5
- package/src/bcs/serializable/movePrimitives.ts +34 -19
- package/src/bcs/serializable/moveStructs.ts +12 -12
- package/src/bcs/serializer.ts +24 -5
- package/src/cli/index.ts +2 -2
- package/src/cli/localNode.ts +1 -1
- package/src/cli/move.ts +6 -10
- package/src/client/core.ts +30 -15
- package/src/client/get.ts +6 -8
- package/src/client/index.ts +3 -3
- package/src/client/post.ts +4 -4
- package/src/core/account/index.ts +1 -1
- package/src/core/account/utils/address.ts +4 -4
- package/src/core/account/utils/index.ts +1 -1
- package/src/core/accountAddress.ts +8 -8
- package/src/core/authenticationKey.ts +22 -10
- package/src/core/crypto/abstraction.ts +7 -7
- package/src/core/crypto/anyKeyRegistry.ts +90 -0
- package/src/core/crypto/deserializationUtils.ts +11 -19
- package/src/core/crypto/ed25519.ts +22 -13
- package/src/core/crypto/encryption/ciphertext.ts +210 -0
- package/src/core/crypto/encryption/curveSerialization.ts +46 -0
- package/src/core/crypto/encryption/fieldSerialization.ts +82 -0
- package/src/core/crypto/encryption/index.ts +14 -0
- package/src/core/crypto/encryption/symmetric.ts +148 -0
- package/src/core/crypto/ephemeral.ts +7 -7
- package/src/core/crypto/federatedKeyless.ts +8 -8
- package/src/core/crypto/hdKey.ts +7 -3
- package/src/core/crypto/index.ts +24 -17
- package/src/core/crypto/keyless.ts +33 -33
- package/src/core/crypto/keylessRegistration.ts +34 -0
- package/src/core/crypto/multiEd25519.ts +7 -7
- package/src/core/crypto/multiKey.ts +8 -8
- package/src/core/crypto/poseidon.ts +2 -2
- package/src/core/crypto/privateKey.ts +5 -5
- package/src/core/crypto/proof.ts +1 -1
- package/src/core/crypto/publicKey.ts +6 -6
- package/src/core/crypto/secp256k1.ts +26 -19
- package/src/core/crypto/secp256r1.ts +26 -19
- package/src/core/crypto/signature.ts +2 -2
- package/src/core/crypto/singleKey.ts +58 -39
- package/src/core/crypto/types.ts +4 -4
- package/src/core/crypto/utils.ts +16 -12
- package/src/core/hex.ts +3 -3
- package/src/core/index.ts +6 -6
- package/src/errors/index.ts +3 -3
- package/src/functions/abstraction.ts +11 -0
- package/src/functions/account.ts +38 -0
- package/src/functions/ans.ts +26 -0
- package/src/functions/coin.ts +7 -0
- package/src/functions/digitalAsset.ts +32 -0
- package/src/functions/faucet.ts +7 -0
- package/src/functions/fungibleAsset.ts +13 -0
- package/src/functions/general.ts +14 -0
- package/src/functions/index.ts +21 -0
- package/src/functions/keyless.ts +42 -0
- package/src/functions/object.ts +10 -0
- package/src/functions/staking.ts +11 -0
- package/src/functions/table.ts +11 -0
- package/src/functions/transaction.ts +32 -0
- package/src/functions/view.ts +6 -0
- package/src/index.ts +36 -10
- package/src/internal/abstraction.ts +10 -10
- package/src/internal/account.ts +79 -51
- package/src/internal/ans.ts +31 -24
- package/src/internal/coin.ts +8 -8
- package/src/internal/digitalAsset.ts +14 -15
- package/src/internal/encryptionKey.ts +53 -0
- package/src/internal/faucet.ts +6 -6
- package/src/internal/fungibleAsset.ts +11 -11
- package/src/internal/general.ts +12 -7
- package/src/internal/keyless.ts +21 -18
- package/src/internal/object.ts +7 -7
- package/src/internal/staking.ts +6 -6
- package/src/internal/table.ts +7 -7
- package/src/internal/transaction.ts +11 -10
- package/src/internal/transactionSubmission.ts +92 -32
- package/src/internal/utils/index.ts +1 -1
- package/src/internal/utils/utils.ts +5 -5
- package/src/internal/view.ts +5 -5
- package/src/transactions/authenticator/account.ts +12 -12
- package/src/transactions/authenticator/index.ts +2 -2
- package/src/transactions/authenticator/transaction.ts +6 -6
- package/src/transactions/index.ts +6 -6
- package/src/transactions/instances/chainId.ts +2 -2
- package/src/transactions/instances/encryptedPayload.ts +149 -0
- package/src/transactions/instances/identifier.ts +2 -2
- package/src/transactions/instances/index.ts +11 -10
- package/src/transactions/instances/moduleId.ts +5 -5
- package/src/transactions/instances/multiAgentTransaction.ts +4 -4
- package/src/transactions/instances/rawTransaction.ts +6 -6
- package/src/transactions/instances/rotationProofChallenge.ts +5 -5
- package/src/transactions/instances/signedTransaction.ts +4 -4
- package/src/transactions/instances/simpleTransaction.ts +4 -4
- package/src/transactions/instances/transactionArgument.ts +2 -2
- package/src/transactions/instances/transactionPayload.ts +127 -28
- package/src/transactions/management/accountSequenceNumber.ts +13 -14
- package/src/transactions/management/index.ts +2 -2
- package/src/transactions/management/transactionWorker.ts +10 -10
- package/src/transactions/transactionBuilder/encryptPayload.ts +235 -0
- package/src/transactions/transactionBuilder/helpers.ts +8 -5
- package/src/transactions/transactionBuilder/index.ts +5 -4
- package/src/transactions/transactionBuilder/remoteAbi.ts +664 -25
- package/src/transactions/transactionBuilder/signingMessage.ts +6 -6
- package/src/transactions/transactionBuilder/structEnumParser.ts +848 -0
- package/src/transactions/transactionBuilder/transactionBuilder.ts +130 -72
- package/src/transactions/typeTag/index.ts +5 -5
- package/src/transactions/typeTag/parser.ts +3 -3
- package/src/transactions/types.ts +103 -19
- package/src/types/ans.ts +13 -5
- package/src/types/generated/operations.ts +4 -3
- package/src/types/generated/queries.ts +1 -1
- package/src/types/index.ts +3 -3
- package/src/types/indexer.ts +1 -1
- package/src/types/types.ts +74 -6
- package/src/utils/const.ts +14 -1
- package/src/utils/helpers.ts +58 -18
- package/src/utils/index.ts +4 -4
- package/src/utils/normalizeBundle.ts +1 -1
- package/src/utils/runtime.ts +86 -0
- package/src/version.ts +1 -1
- package/dist/common/account-DGpxrkAn.d.ts +0 -8156
- package/dist/common/chunk-2VR6ONNW.js +0 -4
- package/dist/common/chunk-2VR6ONNW.js.map +0 -1
- package/dist/common/cli/index.d.ts +0 -316
- package/dist/common/cli/index.js +0 -2
- package/dist/common/cli/index.js.map +0 -1
- package/dist/common/index.d.ts +0 -10912
- package/dist/common/index.js +0 -476
- package/dist/common/index.js.map +0 -1
- package/dist/esm/Ed25519Account-BCt2cu_M.d.mts +0 -628
- package/dist/esm/account/AbstractKeylessAccount.d.mts +0 -336
- package/dist/esm/account/AbstractKeylessAccount.mjs +0 -2
- package/dist/esm/account/AbstractKeylessAccount.mjs.map +0 -1
- package/dist/esm/account/AbstractedAccount.d.mts +0 -64
- package/dist/esm/account/AbstractedAccount.mjs +0 -2
- package/dist/esm/account/AbstractedAccount.mjs.map +0 -1
- package/dist/esm/account/Account.d.mts +0 -8
- package/dist/esm/account/Account.mjs +0 -2
- package/dist/esm/account/Account.mjs.map +0 -1
- package/dist/esm/account/AccountUtils.d.mts +0 -38
- package/dist/esm/account/AccountUtils.mjs +0 -2
- package/dist/esm/account/AccountUtils.mjs.map +0 -1
- package/dist/esm/account/DerivableAbstractedAccount.d.mts +0 -59
- package/dist/esm/account/DerivableAbstractedAccount.mjs +0 -2
- package/dist/esm/account/DerivableAbstractedAccount.mjs.map +0 -1
- package/dist/esm/account/Ed25519Account.d.mts +0 -8
- package/dist/esm/account/Ed25519Account.mjs +0 -2
- package/dist/esm/account/Ed25519Account.mjs.map +0 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +0 -165
- package/dist/esm/account/EphemeralKeyPair.mjs +0 -2
- package/dist/esm/account/EphemeralKeyPair.mjs.map +0 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +0 -118
- package/dist/esm/account/FederatedKeylessAccount.mjs +0 -2
- package/dist/esm/account/FederatedKeylessAccount.mjs.map +0 -1
- package/dist/esm/account/KeylessAccount.d.mts +0 -124
- package/dist/esm/account/KeylessAccount.mjs +0 -2
- package/dist/esm/account/KeylessAccount.mjs.map +0 -1
- package/dist/esm/account/MultiEd25519Account.d.mts +0 -102
- package/dist/esm/account/MultiEd25519Account.mjs +0 -2
- package/dist/esm/account/MultiEd25519Account.mjs.map +0 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +0 -206
- package/dist/esm/account/MultiKeyAccount.mjs +0 -2
- package/dist/esm/account/MultiKeyAccount.mjs.map +0 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +0 -8
- package/dist/esm/account/SingleKeyAccount.mjs +0 -2
- package/dist/esm/account/SingleKeyAccount.mjs.map +0 -1
- package/dist/esm/account/index.d.mts +0 -24
- package/dist/esm/account/index.mjs +0 -2
- package/dist/esm/account/index.mjs.map +0 -1
- package/dist/esm/account/utils.d.mts +0 -14
- package/dist/esm/account/utils.mjs +0 -2
- package/dist/esm/account/utils.mjs.map +0 -1
- package/dist/esm/account-Dg0ejXHy.d.mts +0 -7358
- package/dist/esm/api/account/abstraction.d.mts +0 -181
- package/dist/esm/api/account/abstraction.mjs +0 -2
- package/dist/esm/api/account/abstraction.mjs.map +0 -1
- package/dist/esm/api/account.d.mts +0 -852
- package/dist/esm/api/account.mjs +0 -2
- package/dist/esm/api/account.mjs.map +0 -1
- package/dist/esm/api/ans.d.mts +0 -570
- package/dist/esm/api/ans.mjs +0 -2
- package/dist/esm/api/ans.mjs.map +0 -1
- package/dist/esm/api/aptos.d.mts +0 -114
- package/dist/esm/api/aptos.mjs +0 -2
- package/dist/esm/api/aptos.mjs.map +0 -1
- package/dist/esm/api/aptosConfig.d.mts +0 -7
- package/dist/esm/api/aptosConfig.mjs +0 -2
- package/dist/esm/api/aptosConfig.mjs.map +0 -1
- package/dist/esm/api/coin.d.mts +0 -81
- package/dist/esm/api/coin.mjs +0 -2
- package/dist/esm/api/coin.mjs.map +0 -1
- package/dist/esm/api/digitalAsset.d.mts +0 -1030
- package/dist/esm/api/digitalAsset.mjs +0 -2
- package/dist/esm/api/digitalAsset.mjs.map +0 -1
- package/dist/esm/api/faucet.d.mts +0 -80
- package/dist/esm/api/faucet.mjs +0 -2
- package/dist/esm/api/faucet.mjs.map +0 -1
- package/dist/esm/api/fungibleAsset.d.mts +0 -288
- package/dist/esm/api/fungibleAsset.mjs +0 -2
- package/dist/esm/api/fungibleAsset.mjs.map +0 -1
- package/dist/esm/api/general.d.mts +0 -303
- package/dist/esm/api/general.mjs +0 -2
- package/dist/esm/api/general.mjs.map +0 -1
- package/dist/esm/api/index.d.mts +0 -47
- package/dist/esm/api/index.mjs +0 -2
- package/dist/esm/api/index.mjs.map +0 -1
- package/dist/esm/api/keyless.d.mts +0 -170
- package/dist/esm/api/keyless.mjs +0 -2
- package/dist/esm/api/keyless.mjs.map +0 -1
- package/dist/esm/api/object.d.mts +0 -80
- package/dist/esm/api/object.mjs +0 -2
- package/dist/esm/api/object.mjs.map +0 -1
- package/dist/esm/api/staking.d.mts +0 -134
- package/dist/esm/api/staking.mjs +0 -2
- package/dist/esm/api/staking.mjs.map +0 -1
- package/dist/esm/api/table.d.mts +0 -169
- package/dist/esm/api/table.mjs +0 -2
- package/dist/esm/api/table.mjs.map +0 -1
- package/dist/esm/api/transaction.d.mts +0 -681
- package/dist/esm/api/transaction.mjs +0 -2
- package/dist/esm/api/transaction.mjs.map +0 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +0 -141
- package/dist/esm/api/transactionSubmission/build.mjs +0 -2
- package/dist/esm/api/transactionSubmission/build.mjs.map +0 -1
- package/dist/esm/api/transactionSubmission/helpers.d.mts +0 -98
- package/dist/esm/api/transactionSubmission/helpers.mjs +0 -2
- package/dist/esm/api/transactionSubmission/helpers.mjs.map +0 -1
- package/dist/esm/api/transactionSubmission/management.d.mts +0 -168
- package/dist/esm/api/transactionSubmission/management.mjs +0 -2
- package/dist/esm/api/transactionSubmission/management.mjs.map +0 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +0 -124
- package/dist/esm/api/transactionSubmission/sign.mjs +0 -2
- package/dist/esm/api/transactionSubmission/sign.mjs.map +0 -1
- package/dist/esm/api/transactionSubmission/simulate.d.mts +0 -181
- package/dist/esm/api/transactionSubmission/simulate.mjs +0 -2
- package/dist/esm/api/transactionSubmission/simulate.mjs.map +0 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +0 -142
- package/dist/esm/api/transactionSubmission/submit.mjs +0 -2
- package/dist/esm/api/transactionSubmission/submit.mjs.map +0 -1
- package/dist/esm/api/utils.d.mts +0 -45
- package/dist/esm/api/utils.mjs +0 -2
- package/dist/esm/api/utils.mjs.map +0 -1
- package/dist/esm/bcs/consts.d.mts +0 -28
- package/dist/esm/bcs/consts.mjs +0 -2
- package/dist/esm/bcs/consts.mjs.map +0 -1
- package/dist/esm/bcs/deserializer.d.mts +0 -7
- package/dist/esm/bcs/deserializer.mjs +0 -2
- package/dist/esm/bcs/deserializer.mjs.map +0 -1
- package/dist/esm/bcs/index.d.mts +0 -8
- package/dist/esm/bcs/index.mjs +0 -2
- package/dist/esm/bcs/index.mjs.map +0 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +0 -65
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +0 -2
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs.map +0 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +0 -7
- package/dist/esm/bcs/serializable/fixedBytes.mjs +0 -2
- package/dist/esm/bcs/serializable/fixedBytes.mjs.map +0 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +0 -7
- package/dist/esm/bcs/serializable/movePrimitives.mjs +0 -2
- package/dist/esm/bcs/serializable/movePrimitives.mjs.map +0 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +0 -7
- package/dist/esm/bcs/serializable/moveStructs.mjs +0 -2
- package/dist/esm/bcs/serializable/moveStructs.mjs.map +0 -1
- package/dist/esm/bcs/serializer.d.mts +0 -7
- package/dist/esm/bcs/serializer.mjs +0 -2
- package/dist/esm/bcs/serializer.mjs.map +0 -1
- package/dist/esm/chunk-2CH5QB7U.mjs +0 -4
- package/dist/esm/chunk-2CH5QB7U.mjs.map +0 -1
- package/dist/esm/chunk-2VBY2V4Z.mjs +0 -2
- package/dist/esm/chunk-2VBY2V4Z.mjs.map +0 -1
- package/dist/esm/chunk-44MMFX5F.mjs +0 -2
- package/dist/esm/chunk-44MMFX5F.mjs.map +0 -1
- package/dist/esm/chunk-4QMXOWHP.mjs +0 -1
- package/dist/esm/chunk-4QMXOWHP.mjs.map +0 -1
- package/dist/esm/chunk-4WPQQPUF.mjs +0 -1
- package/dist/esm/chunk-4WPQQPUF.mjs.map +0 -1
- package/dist/esm/chunk-5HHC2YG4.mjs +0 -2
- package/dist/esm/chunk-5HHC2YG4.mjs.map +0 -1
- package/dist/esm/chunk-5HXLZHDW.mjs +0 -1
- package/dist/esm/chunk-5HXLZHDW.mjs.map +0 -1
- package/dist/esm/chunk-5LMLIRGK.mjs +0 -2
- package/dist/esm/chunk-5LMLIRGK.mjs.map +0 -1
- package/dist/esm/chunk-66F7RP7K.mjs +0 -2
- package/dist/esm/chunk-66F7RP7K.mjs.map +0 -1
- package/dist/esm/chunk-7ECCT6PK.mjs +0 -1
- package/dist/esm/chunk-7ECCT6PK.mjs.map +0 -1
- package/dist/esm/chunk-A5L76YP7.mjs +0 -2
- package/dist/esm/chunk-A5L76YP7.mjs.map +0 -1
- package/dist/esm/chunk-A7SQEK23.mjs +0 -2
- package/dist/esm/chunk-A7SQEK23.mjs.map +0 -1
- package/dist/esm/chunk-ASFFADWS.mjs +0 -7
- package/dist/esm/chunk-ASFFADWS.mjs.map +0 -1
- package/dist/esm/chunk-BT742BFQ.mjs +0 -2
- package/dist/esm/chunk-BT742BFQ.mjs.map +0 -1
- package/dist/esm/chunk-C2KVLMPH.mjs +0 -2
- package/dist/esm/chunk-C2KVLMPH.mjs.map +0 -1
- package/dist/esm/chunk-C3Q23D22.mjs +0 -2
- package/dist/esm/chunk-C3Q23D22.mjs.map +0 -1
- package/dist/esm/chunk-CD3EZCI5.mjs +0 -2
- package/dist/esm/chunk-CD3EZCI5.mjs.map +0 -1
- package/dist/esm/chunk-DE5K76I2.mjs +0 -1
- package/dist/esm/chunk-DE5K76I2.mjs.map +0 -1
- package/dist/esm/chunk-E3DHFXN4.mjs +0 -2
- package/dist/esm/chunk-E3DHFXN4.mjs.map +0 -1
- package/dist/esm/chunk-EIWPAECI.mjs +0 -2
- package/dist/esm/chunk-EIWPAECI.mjs.map +0 -1
- package/dist/esm/chunk-F45HI7LU.mjs +0 -2
- package/dist/esm/chunk-F45HI7LU.mjs.map +0 -1
- package/dist/esm/chunk-F4LHBGG2.mjs +0 -2
- package/dist/esm/chunk-F4LHBGG2.mjs.map +0 -1
- package/dist/esm/chunk-F5KAWYF5.mjs +0 -2
- package/dist/esm/chunk-F5KAWYF5.mjs.map +0 -1
- package/dist/esm/chunk-FDHHQUS3.mjs +0 -4
- package/dist/esm/chunk-FDHHQUS3.mjs.map +0 -1
- package/dist/esm/chunk-FZY4PMEE.mjs +0 -1
- package/dist/esm/chunk-FZY4PMEE.mjs.map +0 -1
- package/dist/esm/chunk-G3MHXDYA.mjs +0 -1
- package/dist/esm/chunk-G3MHXDYA.mjs.map +0 -1
- package/dist/esm/chunk-G5OONGWS.mjs +0 -488
- package/dist/esm/chunk-G5OONGWS.mjs.map +0 -1
- package/dist/esm/chunk-HGLO5LDS.mjs +0 -1
- package/dist/esm/chunk-HGLO5LDS.mjs.map +0 -1
- package/dist/esm/chunk-IF4UU2MT.mjs +0 -2
- package/dist/esm/chunk-IF4UU2MT.mjs.map +0 -1
- package/dist/esm/chunk-ITZN23GU.mjs +0 -2
- package/dist/esm/chunk-ITZN23GU.mjs.map +0 -1
- package/dist/esm/chunk-J73MMLF7.mjs +0 -2
- package/dist/esm/chunk-J73MMLF7.mjs.map +0 -1
- package/dist/esm/chunk-KDMSOCZY.mjs +0 -2
- package/dist/esm/chunk-KDMSOCZY.mjs.map +0 -1
- package/dist/esm/chunk-LTZRUAGD.mjs +0 -2
- package/dist/esm/chunk-LTZRUAGD.mjs.map +0 -1
- package/dist/esm/chunk-M65PXVDO.mjs +0 -2
- package/dist/esm/chunk-M65PXVDO.mjs.map +0 -1
- package/dist/esm/chunk-NECL5FCQ.mjs +0 -1
- package/dist/esm/chunk-NECL5FCQ.mjs.map +0 -1
- package/dist/esm/chunk-NP2IAUME.mjs +0 -2
- package/dist/esm/chunk-NP2IAUME.mjs.map +0 -1
- package/dist/esm/chunk-NTREJSOS.mjs +0 -2
- package/dist/esm/chunk-NTREJSOS.mjs.map +0 -1
- package/dist/esm/chunk-OAK2V35A.mjs +0 -2
- package/dist/esm/chunk-OAK2V35A.mjs.map +0 -1
- package/dist/esm/chunk-ODNZJSOC.mjs +0 -2
- package/dist/esm/chunk-ODNZJSOC.mjs.map +0 -1
- package/dist/esm/chunk-P5HCJN3A.mjs +0 -2
- package/dist/esm/chunk-P5HCJN3A.mjs.map +0 -1
- package/dist/esm/chunk-POQ4FT4E.mjs +0 -2
- package/dist/esm/chunk-POQ4FT4E.mjs.map +0 -1
- package/dist/esm/chunk-Q5ESW36C.mjs +0 -2
- package/dist/esm/chunk-Q5ESW36C.mjs.map +0 -1
- package/dist/esm/chunk-QFUXOL34.mjs +0 -2
- package/dist/esm/chunk-QFUXOL34.mjs.map +0 -1
- package/dist/esm/chunk-QRW7MQDA.mjs +0 -2
- package/dist/esm/chunk-QRW7MQDA.mjs.map +0 -1
- package/dist/esm/chunk-R7PCBRRT.mjs +0 -2
- package/dist/esm/chunk-R7PCBRRT.mjs.map +0 -1
- package/dist/esm/chunk-STY74NUA.mjs +0 -2
- package/dist/esm/chunk-STY74NUA.mjs.map +0 -1
- package/dist/esm/chunk-TAHLOBRG.mjs +0 -2
- package/dist/esm/chunk-TAHLOBRG.mjs.map +0 -1
- package/dist/esm/chunk-TEI33TO7.mjs +0 -2
- package/dist/esm/chunk-TEI33TO7.mjs.map +0 -1
- package/dist/esm/chunk-TSPG5VED.mjs +0 -2
- package/dist/esm/chunk-TSPG5VED.mjs.map +0 -1
- package/dist/esm/chunk-UBPX6GOS.mjs +0 -2
- package/dist/esm/chunk-UBPX6GOS.mjs.map +0 -1
- package/dist/esm/chunk-UPHD2B4I.mjs +0 -2
- package/dist/esm/chunk-UPHD2B4I.mjs.map +0 -1
- package/dist/esm/chunk-UVJW4DPP.mjs +0 -2
- package/dist/esm/chunk-UVJW4DPP.mjs.map +0 -1
- package/dist/esm/chunk-UYG4XVVO.mjs +0 -2
- package/dist/esm/chunk-UYG4XVVO.mjs.map +0 -1
- package/dist/esm/chunk-UYVPNUH3.mjs +0 -1
- package/dist/esm/chunk-UYVPNUH3.mjs.map +0 -1
- package/dist/esm/chunk-V3MBJJTL.mjs +0 -1
- package/dist/esm/chunk-V3MBJJTL.mjs.map +0 -1
- package/dist/esm/chunk-WD3SPNH7.mjs +0 -2
- package/dist/esm/chunk-WD3SPNH7.mjs.map +0 -1
- package/dist/esm/chunk-WFZFTRRS.mjs +0 -2
- package/dist/esm/chunk-WFZFTRRS.mjs.map +0 -1
- package/dist/esm/chunk-WVKZFOPV.mjs +0 -2
- package/dist/esm/chunk-WVKZFOPV.mjs.map +0 -1
- package/dist/esm/chunk-X2TPNKLV.mjs +0 -2
- package/dist/esm/chunk-X2TPNKLV.mjs.map +0 -1
- package/dist/esm/chunk-YJVBGKWM.mjs +0 -2
- package/dist/esm/chunk-YJVBGKWM.mjs.map +0 -1
- package/dist/esm/chunk-ZP4DWSQA.mjs +0 -2
- package/dist/esm/chunk-ZP4DWSQA.mjs.map +0 -1
- package/dist/esm/cli/index.d.mts +0 -10
- package/dist/esm/cli/index.mjs +0 -2
- package/dist/esm/cli/index.mjs.map +0 -1
- package/dist/esm/cli/localNode.d.mts +0 -67
- package/dist/esm/cli/localNode.mjs +0 -2
- package/dist/esm/cli/localNode.mjs.map +0 -1
- package/dist/esm/cli/move.d.mts +0 -257
- package/dist/esm/cli/move.mjs +0 -2
- package/dist/esm/cli/move.mjs.map +0 -1
- package/dist/esm/client/core.d.mts +0 -43
- package/dist/esm/client/core.mjs +0 -2
- package/dist/esm/client/core.mjs.map +0 -1
- package/dist/esm/client/get.d.mts +0 -125
- package/dist/esm/client/get.mjs +0 -2
- package/dist/esm/client/get.mjs.map +0 -1
- package/dist/esm/client/index.d.mts +0 -10
- package/dist/esm/client/index.mjs +0 -2
- package/dist/esm/client/index.mjs.map +0 -1
- package/dist/esm/client/post.d.mts +0 -161
- package/dist/esm/client/post.mjs +0 -2
- package/dist/esm/client/post.mjs.map +0 -1
- package/dist/esm/core/account/index.d.mts +0 -8
- package/dist/esm/core/account/index.mjs +0 -2
- package/dist/esm/core/account/index.mjs.map +0 -1
- package/dist/esm/core/account/utils/address.d.mts +0 -55
- package/dist/esm/core/account/utils/address.mjs +0 -2
- package/dist/esm/core/account/utils/address.mjs.map +0 -1
- package/dist/esm/core/account/utils/index.d.mts +0 -8
- package/dist/esm/core/account/utils/index.mjs +0 -2
- package/dist/esm/core/account/utils/index.mjs.map +0 -1
- package/dist/esm/core/accountAddress.d.mts +0 -7
- package/dist/esm/core/accountAddress.mjs +0 -2
- package/dist/esm/core/accountAddress.mjs.map +0 -1
- package/dist/esm/core/authenticationKey.d.mts +0 -7
- package/dist/esm/core/authenticationKey.mjs +0 -2
- package/dist/esm/core/authenticationKey.mjs.map +0 -1
- package/dist/esm/core/common.d.mts +0 -52
- package/dist/esm/core/common.mjs +0 -2
- package/dist/esm/core/common.mjs.map +0 -1
- package/dist/esm/core/crypto/abstraction.d.mts +0 -24
- package/dist/esm/core/crypto/abstraction.mjs +0 -2
- package/dist/esm/core/crypto/abstraction.mjs.map +0 -1
- package/dist/esm/core/crypto/deserializationUtils.d.mts +0 -28
- package/dist/esm/core/crypto/deserializationUtils.mjs +0 -2
- package/dist/esm/core/crypto/deserializationUtils.mjs.map +0 -1
- package/dist/esm/core/crypto/ed25519.d.mts +0 -7
- package/dist/esm/core/crypto/ed25519.mjs +0 -2
- package/dist/esm/core/crypto/ed25519.mjs.map +0 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +0 -116
- package/dist/esm/core/crypto/ephemeral.mjs +0 -2
- package/dist/esm/core/crypto/ephemeral.mjs.map +0 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +0 -13
- package/dist/esm/core/crypto/federatedKeyless.mjs +0 -2
- package/dist/esm/core/crypto/federatedKeyless.mjs.map +0 -1
- package/dist/esm/core/crypto/hdKey.d.mts +0 -95
- package/dist/esm/core/crypto/hdKey.mjs +0 -2
- package/dist/esm/core/crypto/hdKey.mjs.map +0 -1
- package/dist/esm/core/crypto/index.d.mts +0 -19
- package/dist/esm/core/crypto/index.mjs +0 -2
- package/dist/esm/core/crypto/index.mjs.map +0 -1
- package/dist/esm/core/crypto/keyless.d.mts +0 -13
- package/dist/esm/core/crypto/keyless.mjs +0 -2
- package/dist/esm/core/crypto/keyless.mjs.map +0 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +0 -7
- package/dist/esm/core/crypto/multiEd25519.mjs +0 -2
- package/dist/esm/core/crypto/multiEd25519.mjs.map +0 -1
- package/dist/esm/core/crypto/multiKey.d.mts +0 -7
- package/dist/esm/core/crypto/multiKey.mjs +0 -2
- package/dist/esm/core/crypto/multiKey.mjs.map +0 -1
- package/dist/esm/core/crypto/poseidon.d.mts +0 -59
- package/dist/esm/core/crypto/poseidon.mjs +0 -2
- package/dist/esm/core/crypto/poseidon.mjs.map +0 -1
- package/dist/esm/core/crypto/privateKey.d.mts +0 -7
- package/dist/esm/core/crypto/privateKey.mjs +0 -2
- package/dist/esm/core/crypto/privateKey.mjs.map +0 -1
- package/dist/esm/core/crypto/proof.d.mts +0 -18
- package/dist/esm/core/crypto/proof.mjs +0 -2
- package/dist/esm/core/crypto/proof.mjs.map +0 -1
- package/dist/esm/core/crypto/publicKey.d.mts +0 -7
- package/dist/esm/core/crypto/publicKey.mjs +0 -2
- package/dist/esm/core/crypto/publicKey.mjs.map +0 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +0 -7
- package/dist/esm/core/crypto/secp256k1.mjs +0 -2
- package/dist/esm/core/crypto/secp256k1.mjs.map +0 -1
- package/dist/esm/core/crypto/secp256r1.d.mts +0 -306
- package/dist/esm/core/crypto/secp256r1.mjs +0 -2
- package/dist/esm/core/crypto/secp256r1.mjs.map +0 -1
- package/dist/esm/core/crypto/signature.d.mts +0 -7
- package/dist/esm/core/crypto/signature.mjs +0 -2
- package/dist/esm/core/crypto/signature.mjs.map +0 -1
- package/dist/esm/core/crypto/singleKey.d.mts +0 -7
- package/dist/esm/core/crypto/singleKey.mjs +0 -2
- package/dist/esm/core/crypto/singleKey.mjs.map +0 -1
- package/dist/esm/core/crypto/types.d.mts +0 -11
- package/dist/esm/core/crypto/types.mjs +0 -2
- package/dist/esm/core/crypto/types.mjs.map +0 -1
- package/dist/esm/core/crypto/utils.d.mts +0 -23
- package/dist/esm/core/crypto/utils.mjs +0 -2
- package/dist/esm/core/crypto/utils.mjs.map +0 -1
- package/dist/esm/core/hex.d.mts +0 -7
- package/dist/esm/core/hex.mjs +0 -2
- package/dist/esm/core/hex.mjs.map +0 -1
- package/dist/esm/core/index.d.mts +0 -20
- package/dist/esm/core/index.mjs +0 -2
- package/dist/esm/core/index.mjs.map +0 -1
- package/dist/esm/errors/index.d.mts +0 -131
- package/dist/esm/errors/index.mjs +0 -2
- package/dist/esm/errors/index.mjs.map +0 -1
- package/dist/esm/federatedKeyless-BYLu31Sa.d.mts +0 -880
- package/dist/esm/index.d.mts +0 -72
- package/dist/esm/index.mjs +0 -2
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/internal/abstraction.d.mts +0 -27
- package/dist/esm/internal/abstraction.mjs +0 -2
- package/dist/esm/internal/abstraction.mjs.map +0 -1
- package/dist/esm/internal/account.d.mts +0 -453
- package/dist/esm/internal/account.mjs +0 -2
- package/dist/esm/internal/account.mjs.map +0 -1
- package/dist/esm/internal/ans.d.mts +0 -417
- package/dist/esm/internal/ans.mjs +0 -2
- package/dist/esm/internal/ans.mjs.map +0 -1
- package/dist/esm/internal/coin.d.mts +0 -31
- package/dist/esm/internal/coin.mjs +0 -2
- package/dist/esm/internal/coin.mjs.map +0 -1
- package/dist/esm/internal/digitalAsset.d.mts +0 -580
- package/dist/esm/internal/digitalAsset.mjs +0 -2
- package/dist/esm/internal/digitalAsset.mjs.map +0 -1
- package/dist/esm/internal/faucet.d.mts +0 -42
- package/dist/esm/internal/faucet.mjs +0 -2
- package/dist/esm/internal/faucet.mjs.map +0 -1
- package/dist/esm/internal/fungibleAsset.d.mts +0 -112
- package/dist/esm/internal/fungibleAsset.mjs +0 -2
- package/dist/esm/internal/fungibleAsset.mjs.map +0 -1
- package/dist/esm/internal/general.d.mts +0 -94
- package/dist/esm/internal/general.mjs +0 -2
- package/dist/esm/internal/general.mjs.map +0 -1
- package/dist/esm/internal/keyless.d.mts +0 -111
- package/dist/esm/internal/keyless.mjs +0 -2
- package/dist/esm/internal/keyless.mjs.map +0 -1
- package/dist/esm/internal/object.d.mts +0 -42
- package/dist/esm/internal/object.mjs +0 -2
- package/dist/esm/internal/object.mjs.map +0 -1
- package/dist/esm/internal/staking.d.mts +0 -60
- package/dist/esm/internal/staking.mjs +0 -2
- package/dist/esm/internal/staking.mjs.map +0 -1
- package/dist/esm/internal/table.d.mts +0 -66
- package/dist/esm/internal/table.mjs +0 -2
- package/dist/esm/internal/table.mjs.map +0 -1
- package/dist/esm/internal/transaction.d.mts +0 -199
- package/dist/esm/internal/transaction.mjs +0 -2
- package/dist/esm/internal/transaction.mjs.map +0 -1
- package/dist/esm/internal/transactionSubmission.d.mts +0 -165
- package/dist/esm/internal/transactionSubmission.mjs +0 -2
- package/dist/esm/internal/transactionSubmission.mjs.map +0 -1
- package/dist/esm/internal/utils/index.d.mts +0 -8
- package/dist/esm/internal/utils/index.mjs +0 -2
- package/dist/esm/internal/utils/index.mjs.map +0 -1
- package/dist/esm/internal/utils/utils.d.mts +0 -41
- package/dist/esm/internal/utils/utils.mjs +0 -2
- package/dist/esm/internal/utils/utils.mjs.map +0 -1
- package/dist/esm/internal/view.d.mts +0 -20
- package/dist/esm/internal/view.mjs +0 -2
- package/dist/esm/internal/view.mjs.map +0 -1
- package/dist/esm/transactions/authenticator/account.d.mts +0 -7
- package/dist/esm/transactions/authenticator/account.mjs +0 -2
- package/dist/esm/transactions/authenticator/account.mjs.map +0 -1
- package/dist/esm/transactions/authenticator/index.d.mts +0 -8
- package/dist/esm/transactions/authenticator/index.mjs +0 -2
- package/dist/esm/transactions/authenticator/index.mjs.map +0 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +0 -152
- package/dist/esm/transactions/authenticator/transaction.mjs +0 -2
- package/dist/esm/transactions/authenticator/transaction.mjs.map +0 -1
- package/dist/esm/transactions/index.d.mts +0 -15
- package/dist/esm/transactions/index.mjs +0 -2
- package/dist/esm/transactions/index.mjs.map +0 -1
- package/dist/esm/transactions/instances/chainId.d.mts +0 -7
- package/dist/esm/transactions/instances/chainId.mjs +0 -2
- package/dist/esm/transactions/instances/chainId.mjs.map +0 -1
- package/dist/esm/transactions/instances/identifier.d.mts +0 -7
- package/dist/esm/transactions/instances/identifier.mjs +0 -2
- package/dist/esm/transactions/instances/identifier.mjs.map +0 -1
- package/dist/esm/transactions/instances/index.d.mts +0 -10
- package/dist/esm/transactions/instances/index.mjs +0 -2
- package/dist/esm/transactions/instances/index.mjs.map +0 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +0 -7
- package/dist/esm/transactions/instances/moduleId.mjs +0 -2
- package/dist/esm/transactions/instances/moduleId.mjs.map +0 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +0 -7
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +0 -2
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs.map +0 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +0 -7
- package/dist/esm/transactions/instances/rawTransaction.mjs +0 -2
- package/dist/esm/transactions/instances/rawTransaction.mjs.map +0 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +0 -58
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +0 -2
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs.map +0 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +0 -59
- package/dist/esm/transactions/instances/signedTransaction.mjs +0 -2
- package/dist/esm/transactions/instances/signedTransaction.mjs.map +0 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +0 -7
- package/dist/esm/transactions/instances/simpleTransaction.mjs +0 -2
- package/dist/esm/transactions/instances/simpleTransaction.mjs.map +0 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +0 -7
- package/dist/esm/transactions/instances/transactionArgument.mjs +0 -2
- package/dist/esm/transactions/instances/transactionArgument.mjs.map +0 -1
- package/dist/esm/transactions/instances/transactionPayload.d.mts +0 -7
- package/dist/esm/transactions/instances/transactionPayload.mjs +0 -2
- package/dist/esm/transactions/instances/transactionPayload.mjs.map +0 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +0 -123
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +0 -2
- package/dist/esm/transactions/management/accountSequenceNumber.mjs.map +0 -1
- package/dist/esm/transactions/management/asyncQueue.d.mts +0 -77
- package/dist/esm/transactions/management/asyncQueue.mjs +0 -2
- package/dist/esm/transactions/management/asyncQueue.mjs.map +0 -1
- package/dist/esm/transactions/management/index.d.mts +0 -12
- package/dist/esm/transactions/management/index.mjs +0 -2
- package/dist/esm/transactions/management/index.mjs.map +0 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +0 -218
- package/dist/esm/transactions/management/transactionWorker.mjs +0 -2
- package/dist/esm/transactions/management/transactionWorker.mjs.map +0 -1
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +0 -189
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +0 -2
- package/dist/esm/transactions/transactionBuilder/helpers.mjs.map +0 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +0 -11
- package/dist/esm/transactions/transactionBuilder/index.mjs +0 -2
- package/dist/esm/transactions/transactionBuilder/index.mjs.map +0 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +0 -105
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +0 -2
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs.map +0 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +0 -62
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +0 -2
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs.map +0 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +0 -192
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +0 -2
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs.map +0 -1
- package/dist/esm/transactions/typeTag/index.d.mts +0 -7
- package/dist/esm/transactions/typeTag/index.mjs +0 -2
- package/dist/esm/transactions/typeTag/index.mjs.map +0 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +0 -81
- package/dist/esm/transactions/typeTag/parser.mjs +0 -2
- package/dist/esm/transactions/typeTag/parser.mjs.map +0 -1
- package/dist/esm/transactions/types.d.mts +0 -7
- package/dist/esm/transactions/types.mjs +0 -2
- package/dist/esm/transactions/types.mjs.map +0 -1
- package/dist/esm/types/abstraction.d.mts +0 -15
- package/dist/esm/types/abstraction.mjs +0 -2
- package/dist/esm/types/abstraction.mjs.map +0 -1
- package/dist/esm/types/ans.d.mts +0 -109
- package/dist/esm/types/ans.mjs +0 -2
- package/dist/esm/types/ans.mjs.map +0 -1
- package/dist/esm/types/generated/operations.d.mts +0 -703
- package/dist/esm/types/generated/operations.mjs +0 -1
- package/dist/esm/types/generated/operations.mjs.map +0 -1
- package/dist/esm/types/generated/queries.d.mts +0 -66
- package/dist/esm/types/generated/queries.mjs +0 -2
- package/dist/esm/types/generated/queries.mjs.map +0 -1
- package/dist/esm/types/generated/types.d.mts +0 -9679
- package/dist/esm/types/generated/types.mjs +0 -2
- package/dist/esm/types/generated/types.mjs.map +0 -1
- package/dist/esm/types/index.d.mts +0 -8
- package/dist/esm/types/index.mjs +0 -2
- package/dist/esm/types/index.mjs.map +0 -1
- package/dist/esm/types/indexer.d.mts +0 -186
- package/dist/esm/types/indexer.mjs +0 -2
- package/dist/esm/types/indexer.mjs.map +0 -1
- package/dist/esm/types/keyless.d.mts +0 -102
- package/dist/esm/types/keyless.mjs +0 -1
- package/dist/esm/types/keyless.mjs.map +0 -1
- package/dist/esm/types/types.d.mts +0 -7
- package/dist/esm/types/types.mjs +0 -2
- package/dist/esm/types/types.mjs.map +0 -1
- package/dist/esm/utils/apiEndpoints.d.mts +0 -51
- package/dist/esm/utils/apiEndpoints.mjs +0 -2
- package/dist/esm/utils/apiEndpoints.mjs.map +0 -1
- package/dist/esm/utils/const.d.mts +0 -104
- package/dist/esm/utils/const.mjs +0 -2
- package/dist/esm/utils/const.mjs.map +0 -1
- package/dist/esm/utils/helpers.d.mts +0 -193
- package/dist/esm/utils/helpers.mjs +0 -2
- package/dist/esm/utils/helpers.mjs.map +0 -1
- package/dist/esm/utils/index.d.mts +0 -9
- package/dist/esm/utils/index.mjs +0 -2
- package/dist/esm/utils/index.mjs.map +0 -1
- package/dist/esm/utils/memoize.d.mts +0 -48
- package/dist/esm/utils/memoize.mjs +0 -2
- package/dist/esm/utils/memoize.mjs.map +0 -1
- package/dist/esm/utils/normalizeBundle.d.mts +0 -35
- package/dist/esm/utils/normalizeBundle.mjs +0 -2
- package/dist/esm/utils/normalizeBundle.mjs.map +0 -1
- package/dist/esm/version.d.mts +0 -8
- package/dist/esm/version.mjs +0 -2
- package/dist/esm/version.mjs.map +0 -1
package/dist/esm/index.d.mts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
export { A as Account, C as CreateAccountFromPrivateKeyArgs, a as CreateEd25519AccountFromPrivateKeyArgs, b as CreateEd25519SingleKeyAccountFromPrivateKeyArgs, c as CreateSingleKeyAccountFromPrivateKeyArgs, E as Ed25519Account, d as Ed25519SignerConstructorArgs, e as Ed25519SignerFromDerivationPathArgs, G as GenerateAccountArgs, f as GenerateEd25519AccountArgs, g as GenerateEd25519SingleKeyAccountArgs, h as GenerateSingleKeyAccountArgs, P as PrivateKeyFromDerivationPathArgs, S as SingleKeyAccount, i as SingleKeySigner, j as SingleKeySignerConstructorArgs, k as SingleKeySignerFromDerivationPathArgs, l as SingleKeySignerGenerateArgs, m as SingleKeySignerOrLegacyEd25519Account, V as VerifyEd25519SignatureArgs, n as VerifySingleKeySignatureArgs, o as isSingleKeySigner } from './Ed25519Account-BCt2cu_M.mjs';
|
|
2
|
-
export { EphemeralKeyPair } from './account/EphemeralKeyPair.mjs';
|
|
3
|
-
export { KeylessAccount } from './account/KeylessAccount.mjs';
|
|
4
|
-
export { AbstractKeylessAccount, KeylessSigner, ProofFetchCallback, ProofFetchEvents, ProofFetchFailure, ProofFetchStatus, ProofFetchSuccess, TransactionAndProof, isKeylessSigner } from './account/AbstractKeylessAccount.mjs';
|
|
5
|
-
export { FederatedKeylessAccount } from './account/FederatedKeylessAccount.mjs';
|
|
6
|
-
export { MultiKeyAccount, VerifyMultiKeySignatureArgs } from './account/MultiKeyAccount.mjs';
|
|
7
|
-
export { MultiEd25519Account, MultiEd25519SignerConstructorArgs, VerifyMultiEd25519SignatureArgs } from './account/MultiEd25519Account.mjs';
|
|
8
|
-
export { AccountUtils } from './account/AccountUtils.mjs';
|
|
9
|
-
export { AbstractedAccount } from './account/AbstractedAccount.mjs';
|
|
10
|
-
export { DerivableAbstractedAccount } from './account/DerivableAbstractedAccount.mjs';
|
|
11
|
-
export { Aptos } from './api/aptos.mjs';
|
|
12
|
-
export { A as AbstractMultiKey, a as AccountAbstractionMessage, b as AccountAddress, c as AccountAddressInput, d as AccountAuthenticator, e as AccountAuthenticatorAbstraction, f as AccountAuthenticatorEd25519, g as AccountAuthenticatorMultiEd25519, h as AccountAuthenticatorMultiKey, i as AccountAuthenticatorNoAccountAuthenticator, j as AccountAuthenticatorSingleKey, k as AccountAuthenticatorVariant, l as AccountData, m as AccountPublicKey, n as AccountSignature, o as AddressInvalidReason, p as AnyNumber, q as AnyPublicKey, r as AnyPublicKeyVariant, s as AnyRawTransaction, t as AnyRawTransactionInstance, u as AnySignature, v as AnySignatureVariant, w as AnyTransactionPayloadInstance, x as AptosConfig, y as AptosRequest, z as AptosResponse, B as AptosSettings, C as AuthenticationKey, D as AuthenticationKeyScheme, E as Block, F as BlockEndInfo, G as BlockEpilogueTransactionResponse, H as BlockMetadataTransactionResponse, I as Bool, J as ChainId, K as Client, L as ClientConfig, M as ClientHeadersType, N as ClientRequest, O as ClientResponse, P as CommittedTransactionResponse, Q as CursorPaginationArgs, R as DecodedTableData, S as DeletedTableData, T as DeriveScheme, U as Deserializable, V as Deserializer, W as DirectWriteSet, X as Ed25519PrivateKey, Y as Ed25519PublicKey, Z as Ed25519Signature, _ as EntryFunction, $ as EntryFunctionABI, a0 as EntryFunctionArgument, a1 as EntryFunctionArgumentTypes, a2 as EntryFunctionPayloadResponse, a3 as EphemeralCertificateVariant, a4 as EphemeralPublicKeyVariant, a5 as EphemeralSignatureVariant, a6 as Event, a7 as EventGuid, a8 as FaucetConfig, a9 as FeePayerRawTransaction, aa as FixedBytes, ab as FullNodeConfig, ac as FunctionABI, ad as GasEstimation, ae as GenerateAccount, af as GenerateAccountWithEd25519, ag as GenerateAccountWithSingleSignerSecp256k1Key, ah as GenesisPayload, ai as GenesisTransactionResponse, aj as Hex, ak as HexInput, al as HexInvalidReason, am as I128, an as I16, ao as I256, ap as I32, aq as I64, ar as I8, as as Identifier, at as IndexerConfig, au as InputEntryFunctionData, av as InputEntryFunctionDataWithABI, aw as InputEntryFunctionDataWithRemoteABI, ax as InputGenerateMultiAgentRawTransactionArgs, ay as InputGenerateMultiAgentRawTransactionData, az as InputGenerateOrderlessTransactionOptions, aA as InputGenerateRawTransactionArgs, aB as InputGenerateSequenceNumberTransactionOptions, aC as InputGenerateSingleSignerRawTransactionArgs, aD as InputGenerateSingleSignerRawTransactionData, aE as InputGenerateTransactionData, aF as InputGenerateTransactionOptions, aG as InputGenerateTransactionPayloadData, aH as InputGenerateTransactionPayloadDataWithABI, aI as InputGenerateTransactionPayloadDataWithRemoteABI, aJ as InputMultiSigData, aK as InputMultiSigDataWithABI, aL as InputMultiSigDataWithRemoteABI, aM as InputScriptData, aN as InputSimulateTransactionData, aO as InputSimulateTransactionOptions, aP as InputSubmitTransactionData, aQ as InputTransactionPluginData, aR as InputViewFunctionData, aS as InputViewFunctionDataWithABI, aT as InputViewFunctionDataWithRemoteABI, aU as InputViewFunctionJsonData, aV as Int128, aW as Int16, aX as Int256, aY as Int32, aZ as Int64, a_ as Int8, a$ as LedgerInfo, b0 as LedgerVersionArg, b1 as MimeType, b2 as ModuleId, b3 as MoveAbility, b4 as MoveAddressType, b5 as MoveFunction, b6 as MoveFunctionGenericTypeParam, b7 as MoveFunctionId, b8 as MoveFunctionVisibility, b9 as MoveInt128Type, ba as MoveInt16Type, bb as MoveInt256Type, bc as MoveInt32Type, bd as MoveInt64Type, be as MoveInt8Type, bf as MoveModule, bg as MoveModuleBytecode, bh as MoveModuleId, bi as MoveObjectType, bj as MoveOption, bk as MoveOptionType, bl as MoveResource, bm as MoveScriptBytecode, bn as MoveString, bo as MoveStruct, bp as MoveStructField, bq as MoveStructId, br as MoveStructType, bs as MoveType, bt as MoveUint128Type, bu as MoveUint16Type, bv as MoveUint256Type, bw as MoveUint32Type, bx as MoveUint64Type, by as MoveUint8Type, bz as MoveValue, bA as MoveVector, bB as MultiAgentRawTransaction, bC as MultiAgentTransaction, bD as MultiEd25519PublicKey, bE as MultiEd25519Signature, bF as MultiKey, bG as MultiKeySignature, bH as MultiSig, bI as MultiSigTransactionPayload, bJ as MultisigPayloadResponse, bK as OrderByArg, bL as PaginationArgs, bM as PendingTransactionResponse, bN as PluginConfig, bO as PluginSettings, bP as PrivateKey, bQ as PrivateKeyInput, bR as PrivateKeyVariants, bS as PublicKey, bT as RawTransaction, bU as RawTransactionWithData, bV as RoleType, bW as Script, bX as ScriptFunctionArgument, bY as ScriptFunctionArgumentTypes, bZ as ScriptPayloadResponse, b_ as ScriptTransactionArgumentVariants, b$ as ScriptWriteSet, c0 as Secp256k1PrivateKey, c1 as Secp256k1PublicKey, c2 as Secp256k1Signature, c3 as Serializable, c4 as Serialized, c5 as Serializer, c6 as Signature, c7 as SigningScheme, c8 as SigningSchemeInput, c9 as SimpleEntryFunctionArgumentTypes, ca as SimpleTransaction, cb as StateCheckpointTransactionResponse, cc as StructTag, cd as TableItemRequest, ce as TokenStandardArg, cf as TransactionArgument, cg as TransactionAuthenticatorVariant, ch as TransactionEd25519Signature, ci as TransactionExecutable, cj as TransactionExecutableEmpty, ck as TransactionExecutableEntryFunction, cl as TransactionExecutableScript, cm as TransactionExecutableVariants, cn as TransactionExtraConfig, co as TransactionExtraConfigV1, cp as TransactionExtraConfigVariants, cq as TransactionFeePayerSignature, cr as TransactionGenerationConfig, cs as TransactionInnerPayload, ct as TransactionInnerPayloadV1, cu as TransactionInnerPayloadVariants, cv as TransactionMultiAgentSignature, cw as TransactionMultiEd25519Signature, cx as TransactionPayload, cy as TransactionPayloadEntryFunction, cz as TransactionPayloadMultiSig, cA as TransactionPayloadResponse, cB as TransactionPayloadScript, cC as TransactionPayloadVariants, cD as TransactionResponse, cE as TransactionResponseType, cF as TransactionSecp256k1Signature, cG as TransactionSignature, cH as TransactionSingleSenderSignature, cI as TransactionSubmitter, cJ as TransactionVariants, cK as TypeArgument, cL as TypeTag, cM as TypeTagAddress, cN as TypeTagBool, cO as TypeTagGeneric, cP as TypeTagI128, cQ as TypeTagI16, cR as TypeTagI256, cS as TypeTagI32, cT as TypeTagI64, cU as TypeTagI8, cV as TypeTagReference, cW as TypeTagSigner, cX as TypeTagStruct, cY as TypeTagU128, cZ as TypeTagU16, c_ as TypeTagU256, c$ as TypeTagU32, d0 as TypeTagU64, d1 as TypeTagU8, d2 as TypeTagVariants, d3 as TypeTagVector, d4 as U128, d5 as U16, d6 as U256, d7 as U32, d8 as U64, d9 as U8, da as Uint128, db as Uint16, dc as Uint256, dd as Uint32, de as Uint64, df as Uint8, dg as UserTransactionResponse, dh as ValidatorTransactionResponse, di as VerifySignatureArgs, dj as VerifySignatureAsyncArgs, dk as ViewFunctionABI, dl as ViewFunctionJsonPayload, dm as WaitForTransactionOptions, dn as WhereArg, dp as WriteSet, dq as WriteSetChange, dr as WriteSetChangeDeleteModule, ds as WriteSetChangeDeleteResource, dt as WriteSetChangeDeleteTableItem, du as WriteSetChangeWriteModule, dv as WriteSetChangeWriteResource, dw as WriteSetChangeWriteTableItem, dx as ZkpVariant, dy as anyPublicKeyVariantToString, dz as aptosCoinStructTag, dA as deserializeFromScriptArgument, dB as ensureBoolean, dC as hexToAsciiString, dD as isBlockEpilogueTransactionResponse, dE as isBlockMetadataTransactionResponse, dF as isCanonicalEd25519Signature, dG as isEd25519Signature, dH as isFeePayerSignature, dI as isGenesisTransactionResponse, dJ as isMultiAgentSignature, dK as isMultiEd25519Signature, dL as isPendingTransactionResponse, dM as isSecp256k1Signature, dN as isSingleSenderSignature, dO as isStateCheckpointTransactionResponse, dP as isUserTransactionResponse, dQ as isValidatorTransactionResponse, dR as objectStructTag, dS as optionStructTag, dT as outOfRangeErrorMessage, dU as stringStructTag, dV as validateNumberInRange } from './account-Dg0ejXHy.mjs';
|
|
13
|
-
export { EntryFunctionBytes } from './bcs/serializable/entryFunctionBytes.mjs';
|
|
14
|
-
export { aptosRequest, request } from './client/core.mjs';
|
|
15
|
-
export { GetAptosRequestOptions, GetRequestOptions, get, getAptosFullNode, getAptosPepperService, getPageWithObfuscatedCursor, paginateWithCursor, paginateWithObfuscatedCursor } from './client/get.mjs';
|
|
16
|
-
export { PostAptosRequestOptions, PostRequestOptions, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService } from './client/post.mjs';
|
|
17
|
-
export { createObjectAddress, createResourceAddress, createTokenAddress, createUserDerivedObjectAddress } from './core/account/utils/address.mjs';
|
|
18
|
-
export { ParsingError, ParsingResult } from './core/common.mjs';
|
|
19
|
-
export { AbstractPublicKey, AbstractSignature } from './core/crypto/abstraction.mjs';
|
|
20
|
-
export { EphemeralPublicKey, EphemeralSignature } from './core/crypto/ephemeral.mjs';
|
|
21
|
-
export { E as EPK_HORIZON_SECS, a as EphemeralCertificate, F as FederatedKeylessPublicKey, G as Groth16ProofAndStatement, b as Groth16VerificationKey, c as Groth16Zkp, K as KeylessConfiguration, d as KeylessPublicKey, e as KeylessSignature, M as MAX_AUD_VAL_BYTES, f as MAX_COMMITED_EPK_BYTES, g as MAX_EXTRA_FIELD_BYTES, h as MAX_ISS_VAL_BYTES, i as MAX_JWT_HEADER_B64_BYTES, j as MAX_UID_KEY_BYTES, k as MAX_UID_VAL_BYTES, l as MoveJWK, Z as ZeroKnowledgeSig, m as ZkProof, n as fetchJWK, o as getIssAudAndUidVal, p as getKeylessConfig, q as getKeylessJWKs, r as parseJwtHeader, v as verifyKeylessSignature, s as verifyKeylessSignatureWithJwkAndConfig } from './federatedKeyless-BYLu31Sa.mjs';
|
|
22
|
-
export { APTOS_BIP44_REGEX, APTOS_HARDENED_REGEX, CKDPriv, DerivedKeys, HARDENED_OFFSET, KeyType, deriveKey, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, splitPath } from './core/crypto/hdKey.mjs';
|
|
23
|
-
export { bigIntToBytesLE, bytesToBigIntLE, hashStrToField, padAndPackBytesWithLen, poseidonHash } from './core/crypto/poseidon.mjs';
|
|
24
|
-
export { Secp256r1PrivateKey, Secp256r1PublicKey, Secp256r1Signature, WebAuthnSignature } from './core/crypto/secp256r1.mjs';
|
|
25
|
-
export { BaseAccountPublicKey } from './core/crypto/types.mjs';
|
|
26
|
-
export { deserializePublicKey, deserializeSignature } from './core/crypto/deserializationUtils.mjs';
|
|
27
|
-
export { AptosApiError, KeylessError, KeylessErrorCategory, KeylessErrorResolutionTip, KeylessErrorType } from './errors/index.mjs';
|
|
28
|
-
export { TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender } from './transactions/authenticator/transaction.mjs';
|
|
29
|
-
export { RotationProofChallenge } from './transactions/instances/rotationProofChallenge.mjs';
|
|
30
|
-
export { SignedTransaction } from './transactions/instances/signedTransaction.mjs';
|
|
31
|
-
export { convertNumber, findFirstNonSignerArg, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsI128, isBcsI16, isBcsI256, isBcsI32, isBcsI64, isBcsI8, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isEmptyOption, isEncodedEntryFunctionArgument, isLargeNumber, isNumber, isScriptDataInput, isString, throwTypeMismatch } from './transactions/transactionBuilder/helpers.mjs';
|
|
32
|
-
export { buildTransaction, convertPayloadToInnerPayload, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, getAuthenticatorForSimulation, hashValues } from './transactions/transactionBuilder/transactionBuilder.mjs';
|
|
33
|
-
export { checkOrConvertArgument, convertArgument, fetchEntryFunctionAbi, fetchFunctionAbi, fetchModuleAbi, fetchMoveFunctionAbi, fetchViewFunctionAbi, standardizeTypeTags } from './transactions/transactionBuilder/remoteAbi.mjs';
|
|
34
|
-
export { deriveTransactionType, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction } from './transactions/transactionBuilder/signingMessage.mjs';
|
|
35
|
-
export { TypeTagParserError, TypeTagParserErrorType, parseTypeTag } from './transactions/typeTag/parser.mjs';
|
|
36
|
-
export { AccountSequenceNumber } from './transactions/management/accountSequenceNumber.mjs';
|
|
37
|
-
export { ExecutionFinishEventData, FailureEventData, SuccessEventData, TransactionWorker, TransactionWorkerEvents, TransactionWorkerEventsEnum, promiseFulfilledStatus } from './transactions/management/transactionWorker.mjs';
|
|
38
|
-
export { GetANSNameResponse, GetAccountAddressesForAuthKeyResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, OrderBy, OrderByValue, TokenStandard } from './types/indexer.mjs';
|
|
39
|
-
export { AnsName, AnsTokenStandard, ExpirationStatus, RawANSName, SubdomainExpirationPolicy } from './types/ans.mjs';
|
|
40
|
-
export { Network, NetworkToChainId, NetworkToFaucetAPI, NetworkToIndexerAPI, NetworkToNetworkName, NetworkToNodeAPI, NetworkToPepperAPI, NetworkToProverAPI } from './utils/apiEndpoints.mjs';
|
|
41
|
-
export { ACCOUNT_ABSTRACTION_SIGNING_DATA_SALT, APTOS_COIN, APTOS_FA, AptosApiType, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, FIREBASE_AUTH_ISS_PATTERN, MIN_MAX_GAS_AMOUNT, ProcessorType, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT, TEXT_ENCODER } from './utils/const.mjs';
|
|
42
|
-
export { DeserializableClass, normalizeBundle } from './utils/normalizeBundle.mjs';
|
|
43
|
-
export { base64UrlDecode, base64UrlToBytes, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, floorToWholeHour, getErrorMessage, getFunctionParts, isBun, isEncodedStruct, isValidFunctionInfo, nowInSeconds, pairedFaMetadataAddress, parseEncodedStruct, sleep, truncateAddress, warnIfDevelopment } from './utils/helpers.mjs';
|
|
44
|
-
import './api/account.mjs';
|
|
45
|
-
import './types/generated/types.mjs';
|
|
46
|
-
import './internal/account.mjs';
|
|
47
|
-
import './api/account/abstraction.mjs';
|
|
48
|
-
import './api/coin.mjs';
|
|
49
|
-
import './api/digitalAsset.mjs';
|
|
50
|
-
import './internal/digitalAsset.mjs';
|
|
51
|
-
import './api/faucet.mjs';
|
|
52
|
-
import './api/fungibleAsset.mjs';
|
|
53
|
-
import './api/general.mjs';
|
|
54
|
-
import './api/ans.mjs';
|
|
55
|
-
import './internal/ans.mjs';
|
|
56
|
-
import './api/staking.mjs';
|
|
57
|
-
import './api/transaction.mjs';
|
|
58
|
-
import './internal/transactionSubmission.mjs';
|
|
59
|
-
import './api/transactionSubmission/build.mjs';
|
|
60
|
-
import './api/transactionSubmission/simulate.mjs';
|
|
61
|
-
import './api/transactionSubmission/submit.mjs';
|
|
62
|
-
import './api/transactionSubmission/management.mjs';
|
|
63
|
-
import 'eventemitter3';
|
|
64
|
-
import './api/table.mjs';
|
|
65
|
-
import './api/keyless.mjs';
|
|
66
|
-
import './api/object.mjs';
|
|
67
|
-
import './core/crypto/proof.mjs';
|
|
68
|
-
import './types/keyless.mjs';
|
|
69
|
-
import '@noble/curves/abstract/weierstrass';
|
|
70
|
-
import '@noble/curves/abstract/tower';
|
|
71
|
-
import './transactions/management/asyncQueue.mjs';
|
|
72
|
-
import './types/generated/operations.mjs';
|
package/dist/esm/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$ as Uc,$a as Xd,$b as We,A as sc,Aa as vd,Ab as ve,B as tc,Ba as wd,Bb as we,C as uc,Ca as xd,Cb as xe,D as vc,Da as yd,Db as ye,E as wc,Ea as zd,Eb as ze,F as Bc,Fa as Ad,Fb as Ae,G as Cc,Ga as Bd,Gb as Be,Ge as tf,H as Dc,Ha as Cd,Hb as Ce,I as Ec,Ia as Dd,Ib as De,J as Fc,Ja as Ed,Jb as Ee,K as Gc,Ka as Fd,Kb as Fe,L as Hc,La as Gd,Lb as Ge,Ma as Hd,Mb as He,Na as Id,Nb as Ie,Oa as Jd,Ob as Je,P as Ic,Pa as Kd,Pb as Ke,Q as Jc,Qa as Ld,Qb as Le,R as Kc,Ra as Md,Rb as Me,S as Lc,Sa as Nd,Sb as Ne,T as Mc,Ta as Od,Tb as Oe,U as Nc,Ua as Pd,Ub as Pe,V as Oc,Va as Qd,Vb as Qe,W as Pc,Wa as Sd,Wb as Re,X as Qc,Xa as Td,Xb as Se,Y as Rc,Ya as Ud,Yb as Te,Z as Sc,Za as Vd,Zb as Ue,_ as Tc,_a as Wd,_b as Ve,a as nb,aa as Vc,ab as Yd,ac as Xe,b as ob,ba as Yc,bb as Zd,bc as Ye,c as Wb,ca as Zc,cb as _d,cc as Ze,d as Xb,da as _c,db as $d,dc as _e,e as Yb,ea as $c,eb as ae,ec as $e,f as Zb,fa as ad,fb as be,fc as af,g as _b,ga as bd,gb as ce,gc as bf,h as $b,ha as cd,hb as de,hc as cf,i as ac,ia as dd,ib as ee,ic as df,j as bc,ja as ed,jb as fe,jc as ef,k as cc,ka as fd,kb as ge,kc as ff,l as dc,la as gd,lb as he,lc as gf,m as ec,ma as hd,mb as ie,mc as hf,n as fc,na as id,nb as je,nc as jf,o as gc,oa as jd,ob as ke,oc as kf,p as hc,pa as kd,pb as le,pc as lf,q as ic,qa as ld,qb as me,qc as mf,r as jc,ra as md,rb as ne,rc as nf,s as kc,sa as nd,sb as oe,se as pf,t as lc,ta as od,te as qf,u as mc,ua as pd,ub as pe,ue as rf,v as nc,va as qd,vb as qe,ve as sf,w as oc,wa as rd,wb as re,x as pc,xa as sd,xb as se,y as qc,ya as td,yb as te,z as rc,za as ud,zb as ue}from"./chunk-2CH5QB7U.mjs";import{a as Rd}from"./chunk-UPHD2B4I.mjs";import"./chunk-UYVPNUH3.mjs";import{a as Wc}from"./chunk-POQ4FT4E.mjs";import{a as Xc}from"./chunk-R7PCBRRT.mjs";import"./chunk-A5L76YP7.mjs";import{a as xc,b as yc,c as zc,d as Ac}from"./chunk-YJVBGKWM.mjs";import"./chunk-5HXLZHDW.mjs";import"./chunk-G3MHXDYA.mjs";import"./chunk-OAK2V35A.mjs";import{a as pb,b as qb,c as rb,d as sb,e as tb}from"./chunk-F45HI7LU.mjs";import{a as mb}from"./chunk-F4LHBGG2.mjs";import"./chunk-5HHC2YG4.mjs";import"./chunk-NECL5FCQ.mjs";import"./chunk-4QMXOWHP.mjs";import{a as Ia,b as Ja}from"./chunk-QRW7MQDA.mjs";import{a as Ha}from"./chunk-EIWPAECI.mjs";import{a as Fa,b as Ga}from"./chunk-2VBY2V4Z.mjs";import{a as Ka,b as La,c as Ma,d as Na,e as Oa,f as Pa,g as Qa,h as Ra,i as Sa,j as Ta}from"./chunk-C3Q23D22.mjs";import"./chunk-UVJW4DPP.mjs";import"./chunk-V3MBJJTL.mjs";import"./chunk-ZP4DWSQA.mjs";import{a as Ea}from"./chunk-TSPG5VED.mjs";import"./chunk-UBPX6GOS.mjs";import"./chunk-NTREJSOS.mjs";import"./chunk-WD3SPNH7.mjs";import"./chunk-F5KAWYF5.mjs";import"./chunk-J73MMLF7.mjs";import"./chunk-G5OONGWS.mjs";import"./chunk-ODNZJSOC.mjs";import"./chunk-7ECCT6PK.mjs";import{a as Kb,b as Lb,c as Mb,d as Nb,e as Ob,f as Pb}from"./chunk-TEI33TO7.mjs";import{a as Qb,b as Rb,c as Sb,d as Tb,e as Ub,f as Vb}from"./chunk-QFUXOL34.mjs";import{a as Ib,b as Jb}from"./chunk-LTZRUAGD.mjs";import"./chunk-HGLO5LDS.mjs";import{a as Cb}from"./chunk-ITZN23GU.mjs";import{a as Db,b as Eb,c as Fb,d as Gb,e as Hb}from"./chunk-ASFFADWS.mjs";import"./chunk-FZY4PMEE.mjs";import{a as ya,b as za,c as Aa,d as Ba}from"./chunk-WFZFTRRS.mjs";import{a as y}from"./chunk-E3DHFXN4.mjs";import{a as x}from"./chunk-CD3EZCI5.mjs";import{a as la,b as ma,c as na,d as oa,e as pa,f as qa,g as ra,h as sa,i as ta,j as ua,k as va,l as wa,m as xa}from"./chunk-BT742BFQ.mjs";import{a as e}from"./chunk-M65PXVDO.mjs";import{a as of}from"./chunk-UYG4XVVO.mjs";import{a as ub,b as vb,c as wb,d as xb,e as yb,f as zb,g as Ab,h as Bb}from"./chunk-P5HCJN3A.mjs";import{a as Ya,b as Za,c as _a,d as $a,e as ab,f as bb,g as cb,h as db,i as eb,j as fb,k as gb,l as hb,m as ib,n as jb,o as kb,p as lb}from"./chunk-5LMLIRGK.mjs";import{a as Ua,b as Va,c as Wa,d as Xa}from"./chunk-C2KVLMPH.mjs";import{a as Ca,b as Da}from"./chunk-FDHHQUS3.mjs";import"./chunk-DE5K76I2.mjs";import{a as ja,b as ka}from"./chunk-NP2IAUME.mjs";import"./chunk-4WPQQPUF.mjs";import{A as Z,B as _,C as $,D as aa,E as ba,F as ca,G as da,H as ea,I as fa,J as ga,K as ha,L as ia,a as z,b as A,c as B,d as C,e as D,f as E,g as F,h as G,i as H,j as I,k as J,l as K,m as L,n as M,o as N,p as O,q as P,r as Q,s as R,t as S,u as T,v as U,w as V,x as W,y as X,z as Y}from"./chunk-Q5ESW36C.mjs";import{a as s,b as t,c as u,d as v,e as w}from"./chunk-66F7RP7K.mjs";import{a as f,b as g,c as h,d as i,e as j,f as k,g as l,h as m,i as n,j as o,k as p,l as q,m as r}from"./chunk-TAHLOBRG.mjs";import{a as b,b as c,c as d}from"./chunk-STY74NUA.mjs";import{a}from"./chunk-IF4UU2MT.mjs";import"./chunk-X2TPNKLV.mjs";import"./chunk-WVKZFOPV.mjs";import"./chunk-KDMSOCZY.mjs";export{o as ACCOUNT_ABSTRACTION_SIGNING_DATA_SALT,La as APTOS_BIP44_REGEX,k as APTOS_COIN,l as APTOS_FA,Ka as APTOS_HARDENED_REGEX,je as AbstractKeylessAccount,Dc as AbstractMultiKey,Ja as AbstractPublicKey,Ia as AbstractSignature,qe as AbstractedAccount,ge as Account,Vc as AccountAbstractionMessage,Da as AccountAddress,Oc as AccountAuthenticator,Uc as AccountAuthenticatorAbstraction,Pc as AccountAuthenticatorEd25519,Qc as AccountAuthenticatorMultiEd25519,Sc as AccountAuthenticatorMultiKey,Tc as AccountAuthenticatorNoAccountAuthenticator,Rc as AccountAuthenticatorSingleKey,I as AccountAuthenticatorVariant,Ga as AccountPublicKey,pf as AccountSequenceNumber,pe as AccountUtils,Ca as AddressInvalidReason,Bc as AnyPublicKey,K as AnyPublicKeyVariant,Cc as AnySignature,M as AnySignatureVariant,tf as Aptos,Hb as AptosApiError,f as AptosApiType,of as AptosConfig,Ea as AuthenticationKey,la as Bool,Ra as CKDPriv,Wc as ChainId,g as DEFAULT_MAX_GAS_AMOUNT,i as DEFAULT_TXN_EXP_SEC_FROM_NOW,j as DEFAULT_TXN_TIMEOUT_SEC,re as DerivableAbstractedAccount,ia as DeriveScheme,e as Deserializer,Wb as EPK_HORIZON_SECS,de as Ed25519Account,Kc as Ed25519PrivateKey,Jc as Ed25519PublicKey,Lc as Ed25519Signature,Bd as EntryFunction,y as EntryFunctionBytes,hc as EphemeralCertificate,P as EphemeralCertificateVariant,he as EphemeralKeyPair,nb as EphemeralPublicKey,N as EphemeralPublicKeyVariant,ob as EphemeralSignature,O as EphemeralSignatureVariant,ka as ExpirationStatus,q as FIREBASE_AUTH_ISS_PATTERN,me as FederatedKeylessAccount,tc as FederatedKeylessPublicKey,Qd as FeePayerRawTransaction,x as FixedBytes,jc as Groth16ProofAndStatement,nc as Groth16VerificationKey,ic as Groth16Zkp,Na as HARDENED_OFFSET,c as Hex,b as HexInvalidReason,wa as I128,ta as I16,xa as I256,ua as I32,va as I64,sa as I8,Xc as Identifier,Ma as KeyType,le as KeylessAccount,mc as KeylessConfiguration,Gb as KeylessError,Db as KeylessErrorCategory,Eb as KeylessErrorResolutionTip,Fb as KeylessErrorType,cc as KeylessPublicKey,gc as KeylessSignature,Xb as MAX_AUD_VAL_BYTES,bc as MAX_COMMITED_EPK_BYTES,$b as MAX_EXTRA_FIELD_BYTES,_b as MAX_ISS_VAL_BYTES,ac as MAX_JWT_HEADER_B64_BYTES,Yb as MAX_UID_KEY_BYTES,Zb as MAX_UID_VAL_BYTES,h as MIN_MAX_GAS_AMOUNT,z as MimeType,Yc as ModuleId,ea as MoveAbility,da as MoveFunctionVisibility,rc as MoveJWK,Ba as MoveOption,Aa as MoveString,ya as MoveVector,Pd as MultiAgentRawTransaction,_d as MultiAgentTransaction,oe as MultiEd25519Account,Gc as MultiEd25519PublicKey,Hc as MultiEd25519Signature,Ec as MultiKey,ne as MultiKeyAccount,Fc as MultiKeySignature,Dd as MultiSig,Ed as MultiSigTransactionPayload,zb as Network,Ab as NetworkToChainId,wb as NetworkToFaucetAPI,ub as NetworkToIndexerAPI,Bb as NetworkToNetworkName,vb as NetworkToNodeAPI,xb as NetworkToPepperAPI,yb as NetworkToProverAPI,a as ParsingError,mb as PrivateKey,J as PrivateKeyVariants,p as ProcessorType,Fa as PublicKey,m as RAW_TRANSACTION_SALT,n as RAW_TRANSACTION_WITH_DATA_SALT,Nd as RawTransaction,Od as RawTransactionWithData,fa as RoleType,Rd as RotationProofChallenge,Cd as Script,B as ScriptTransactionArgumentVariants,vc as Secp256k1PrivateKey,uc as Secp256k1PublicKey,wc as Secp256k1Signature,yc as Secp256r1PrivateKey,xc as Secp256r1PublicKey,Ac as Secp256r1Signature,s as Serializable,za as Serialized,t as Serializer,Ha as Signature,Yd as SignedTransaction,ga as SigningScheme,ha as SigningSchemeInput,Zd as SimpleTransaction,fe as SingleKeyAccount,rd as StructTag,ja as SubdomainExpirationPolicy,r as TEXT_ENCODER,ke as TransactionAndProof,Sd as TransactionAuthenticator,Td as TransactionAuthenticatorEd25519,Wd as TransactionAuthenticatorFeePayer,Vd as TransactionAuthenticatorMultiAgent,Ud as TransactionAuthenticatorMultiEd25519,Xd as TransactionAuthenticatorSingleSender,H as TransactionAuthenticatorVariant,Hd as TransactionExecutable,Kd as TransactionExecutableEmpty,Jd as TransactionExecutableEntryFunction,Id as TransactionExecutableScript,E as TransactionExecutableVariants,Ld as TransactionExtraConfig,Md as TransactionExtraConfigV1,F as TransactionExtraConfigVariants,Fd as TransactionInnerPayload,Gd as TransactionInnerPayloadV1,D as TransactionInnerPayloadVariants,xd as TransactionPayload,zd as TransactionPayloadEntryFunction,Ad as TransactionPayloadMultiSig,yd as TransactionPayloadScript,C as TransactionPayloadVariants,R as TransactionResponseType,G as TransactionVariants,sf as TransactionWorker,rf as TransactionWorkerEventsEnum,Zc as TypeTag,ld as TypeTagAddress,_c as TypeTagBool,od as TypeTagGeneric,id as TypeTagI128,cd as TypeTagI16,kd as TypeTagI256,ed as TypeTagI32,gd as TypeTagI64,ad as TypeTagI8,te as TypeTagParserError,se as TypeTagParserErrorType,nd as TypeTagReference,md as TypeTagSigner,qd as TypeTagStruct,hd as TypeTagU128,bd as TypeTagU16,jd as TypeTagU256,dd as TypeTagU32,fd as TypeTagU64,$c as TypeTagU8,A as TypeTagVariants,pd as TypeTagVector,qa as U128,na as U16,ra as U256,oa as U32,pa as U64,ma as U8,zc as WebAuthnSignature,lc as ZeroKnowledgeSig,kc as ZkProof,Q as ZkpVariant,L as anyPublicKeyVariantToString,sd as aptosCoinStructTag,Jb as aptosRequest,cb as base64UrlDecode,db as base64UrlToBytes,sb as bigIntToBytesLE,hf as buildTransaction,rb as bytesToBigIntLE,af as checkOrConvertArgument,eb as convertAmountFromHumanReadableToOnChain,fb as convertAmountFromOnChainToHumanReadable,$e as convertArgument,ye as convertNumber,gf as convertPayloadToInnerPayload,Ua as createObjectAddress,Va as createResourceAddress,Xa as createTokenAddress,Wa as createUserDerivedObjectAddress,Qa as deriveKey,$d as deriveTransactionType,wd as deserializeFromScriptArgument,Mc as deserializePublicKey,Nc as deserializeSignature,u as ensureBoolean,Ze as fetchEntryFunctionAbi,Xe as fetchFunctionAbi,fc as fetchJWK,We as fetchModuleAbi,Ye as fetchMoveFunctionAbi,_e as fetchViewFunctionAbi,Ue as findFirstNonSignerArg,bb as floorToWholeHour,ff as generateRawTransaction,lf as generateSignedTransaction,jf as generateSignedTransactionForSimulation,ae as generateSigningMessage,be as generateSigningMessageForSerializable,ce as generateSigningMessageForTransaction,bf as generateTransactionPayload,cf as generateTransactionPayloadWithABI,nf as generateUserTransactionHash,df as generateViewFunctionPayload,ef as generateViewFunctionPayloadWithABI,Kb as get,Lb as getAptosFullNode,Mb as getAptosPepperService,kf as getAuthenticatorForSimulation,$a as getErrorMessage,ib as getFunctionParts,pc as getIssAudAndUidVal,oc as getKeylessConfig,qc as getKeylessJWKs,Pb as getPageWithObfuscatedCursor,pb as hashStrToField,mf as hashValues,d as hexToAsciiString,De as isBcsAddress,Ce as isBcsBool,Fe as isBcsFixedBytes,Qe as isBcsI128,Ne as isBcsI16,Re as isBcsI256,Oe as isBcsI32,Pe as isBcsI64,Me as isBcsI8,Ee as isBcsString,Ke as isBcsU128,He as isBcsU16,Le as isBcsU256,Ie as isBcsU32,Je as isBcsU64,Ge as isBcsU8,Y as isBlockEpilogueTransactionResponse,V as isBlockMetadataTransactionResponse,ve as isBool,Ya as isBun,Ic as isCanonicalEd25519Signature,Z as isEd25519Signature,Ae as isEmptyOption,Be as isEncodedEntryFunctionArgument,hb as isEncodedStruct,aa as isFeePayerSignature,U as isGenesisTransactionResponse,ie as isKeylessSigner,ze as isLargeNumber,$ as isMultiAgentSignature,ba as isMultiEd25519Signature,xe as isNumber,S as isPendingTransactionResponse,Se as isScriptDataInput,_ as isSecp256k1Signature,ee as isSingleKeySigner,ca as isSingleSenderSignature,W as isStateCheckpointTransactionResponse,we as isString,T as isUserTransactionResponse,Oa as isValidBIP44Path,jb as isValidFunctionInfo,Pa as isValidHardenedPath,X as isValidatorTransactionResponse,Ta as mnemonicToSeed,Cb as normalizeBundle,ab as nowInSeconds,vd as objectStructTag,ud as optionStructTag,v as outOfRangeErrorMessage,qb as padAndPackBytesWithLen,Nb as paginateWithCursor,Ob as paginateWithObfuscatedCursor,lb as pairedFaMetadataAddress,gb as parseEncodedStruct,sc as parseJwtHeader,ue as parseTypeTag,tb as poseidonHash,Qb as post,Tb as postAptosFaucet,Rb as postAptosFullNode,Sb as postAptosIndexer,Ub as postAptosPepperService,Vb as postAptosProvingService,qf as promiseFulfilledStatus,Ib as request,_a as sleep,Sa as splitPath,Ve as standardizeTypeTags,td as stringStructTag,Te as throwTypeMismatch,kb as truncateAddress,w as validateNumberInRange,dc as verifyKeylessSignature,ec as verifyKeylessSignatureWithJwkAndConfig,Za as warnIfDevelopment};
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/esm/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { x as AptosConfig, c as AccountAddressInput, aF as InputGenerateTransactionOptions, ca as SimpleTransaction } from '../account-Dg0ejXHy.mjs';
|
|
2
|
-
import '../types/indexer.mjs';
|
|
3
|
-
import '../types/generated/operations.mjs';
|
|
4
|
-
import '../types/generated/types.mjs';
|
|
5
|
-
import '../utils/apiEndpoints.mjs';
|
|
6
|
-
import '../utils/const.mjs';
|
|
7
|
-
import '../core/common.mjs';
|
|
8
|
-
|
|
9
|
-
declare function addAuthenticationFunctionTransaction(args: {
|
|
10
|
-
aptosConfig: AptosConfig;
|
|
11
|
-
sender: AccountAddressInput;
|
|
12
|
-
authenticationFunction: string;
|
|
13
|
-
options?: InputGenerateTransactionOptions;
|
|
14
|
-
}): Promise<SimpleTransaction>;
|
|
15
|
-
declare function removeAuthenticationFunctionTransaction(args: {
|
|
16
|
-
aptosConfig: AptosConfig;
|
|
17
|
-
sender: AccountAddressInput;
|
|
18
|
-
authenticationFunction: string;
|
|
19
|
-
options?: InputGenerateTransactionOptions;
|
|
20
|
-
}): Promise<SimpleTransaction>;
|
|
21
|
-
declare function removeDispatchableAuthenticatorTransaction(args: {
|
|
22
|
-
aptosConfig: AptosConfig;
|
|
23
|
-
sender: AccountAddressInput;
|
|
24
|
-
options?: InputGenerateTransactionOptions;
|
|
25
|
-
}): Promise<SimpleTransaction>;
|
|
26
|
-
|
|
27
|
-
export { addAuthenticationFunctionTransaction, removeAuthenticationFunctionTransaction, removeDispatchableAuthenticatorTransaction };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{cd as a,dd as b,ed as c}from"../chunk-2CH5QB7U.mjs";import"../chunk-UPHD2B4I.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-POQ4FT4E.mjs";import"../chunk-R7PCBRRT.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-YJVBGKWM.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-OAK2V35A.mjs";import"../chunk-F45HI7LU.mjs";import"../chunk-F4LHBGG2.mjs";import"../chunk-5HHC2YG4.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-QRW7MQDA.mjs";import"../chunk-EIWPAECI.mjs";import"../chunk-2VBY2V4Z.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-UVJW4DPP.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-TSPG5VED.mjs";import"../chunk-UBPX6GOS.mjs";import"../chunk-NTREJSOS.mjs";import"../chunk-WD3SPNH7.mjs";import"../chunk-F5KAWYF5.mjs";import"../chunk-J73MMLF7.mjs";import"../chunk-G5OONGWS.mjs";import"../chunk-ODNZJSOC.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-TEI33TO7.mjs";import"../chunk-QFUXOL34.mjs";import"../chunk-LTZRUAGD.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-ITZN23GU.mjs";import"../chunk-ASFFADWS.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-WFZFTRRS.mjs";import"../chunk-E3DHFXN4.mjs";import"../chunk-CD3EZCI5.mjs";import"../chunk-BT742BFQ.mjs";import"../chunk-M65PXVDO.mjs";import"../chunk-UYG4XVVO.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-5LMLIRGK.mjs";import"../chunk-C2KVLMPH.mjs";import"../chunk-FDHHQUS3.mjs";import"../chunk-DE5K76I2.mjs";import"../chunk-NP2IAUME.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-Q5ESW36C.mjs";import"../chunk-66F7RP7K.mjs";import"../chunk-TAHLOBRG.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-WVKZFOPV.mjs";import"../chunk-KDMSOCZY.mjs";export{a as addAuthenticationFunctionTransaction,b as removeAuthenticationFunctionTransaction,c as removeDispatchableAuthenticatorTransaction};
|
|
2
|
-
//# sourceMappingURL=abstraction.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,453 +0,0 @@
|
|
|
1
|
-
import { b as AccountAddress, x as AptosConfig, bQ as PrivateKeyInput, c as AccountAddressInput, bq as MoveStructId, bL as PaginationArgs, bK as OrderByArg, dn as WhereArg, ce as TokenStandardArg, l as AccountData, b0 as LedgerVersionArg, bg as MoveModuleBytecode, Q as CursorPaginationArgs, bl as MoveResource, P as CommittedTransactionResponse, C as AuthenticationKey, aF as InputGenerateTransactionOptions, X as Ed25519PrivateKey, ca as SimpleTransaction, m as AccountPublicKey } from '../account-Dg0ejXHy.mjs';
|
|
2
|
-
import { GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetObjectDataQueryResponse, GetAccountOwnedTokensQueryResponse, GetAccountOwnedTokensFromCollectionResponse } from '../types/indexer.mjs';
|
|
3
|
-
import { A as Account, E as Ed25519Account } from '../Ed25519Account-BCt2cu_M.mjs';
|
|
4
|
-
import { CurrentFungibleAssetBalancesBoolExp } from '../types/generated/types.mjs';
|
|
5
|
-
import { BaseAccountPublicKey } from '../core/crypto/types.mjs';
|
|
6
|
-
import { MultiEd25519Account } from '../account/MultiEd25519Account.mjs';
|
|
7
|
-
import '../utils/apiEndpoints.mjs';
|
|
8
|
-
import '../utils/const.mjs';
|
|
9
|
-
import '../core/common.mjs';
|
|
10
|
-
import '../types/generated/operations.mjs';
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* This file contains the underlying implementations for exposed API surface in
|
|
14
|
-
* the {@link api/account}. By moving the methods out into a separate file,
|
|
15
|
-
* other namespaces and processes can access these methods without depending on the entire
|
|
16
|
-
* account namespace and without having a dependency cycle error.
|
|
17
|
-
* @group Implementation
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Retrieves account information for a specified account address.
|
|
22
|
-
*
|
|
23
|
-
* @param args - The arguments for retrieving account information.
|
|
24
|
-
* @param args.aptosConfig - The configuration object for Aptos.
|
|
25
|
-
* @param args.accountAddress - The address of the account to retrieve information for.
|
|
26
|
-
* @group Implementation
|
|
27
|
-
*/
|
|
28
|
-
declare function getInfo(args: {
|
|
29
|
-
aptosConfig: AptosConfig;
|
|
30
|
-
accountAddress: AccountAddressInput;
|
|
31
|
-
}): Promise<AccountData>;
|
|
32
|
-
/**
|
|
33
|
-
* Retrieves the modules associated with a specified account address.
|
|
34
|
-
*
|
|
35
|
-
* @param args - The arguments for retrieving modules.
|
|
36
|
-
* @param args.aptosConfig - The configuration for connecting to the Aptos blockchain.
|
|
37
|
-
* @param args.accountAddress - The address of the account whose modules are to be retrieved.
|
|
38
|
-
* @param args.options - Optional parameters for pagination and ledger version.
|
|
39
|
-
* @param args.options.limit - The maximum number of modules to retrieve (default is 1000).
|
|
40
|
-
* @param args.options.offset - The starting point for pagination. Note, this is obfuscated and is not an index.
|
|
41
|
-
* @param args.options.ledgerVersion - The specific ledger version to query.
|
|
42
|
-
* @group Implementation
|
|
43
|
-
*/
|
|
44
|
-
declare function getModules(args: {
|
|
45
|
-
aptosConfig: AptosConfig;
|
|
46
|
-
accountAddress: AccountAddressInput;
|
|
47
|
-
options?: {
|
|
48
|
-
limit?: number;
|
|
49
|
-
} & LedgerVersionArg;
|
|
50
|
-
}): Promise<MoveModuleBytecode[]>;
|
|
51
|
-
/**
|
|
52
|
-
* Retrieves the modules associated with a specified account address.
|
|
53
|
-
*
|
|
54
|
-
* @param args - The arguments for retrieving modules.
|
|
55
|
-
* @param args.aptosConfig - The configuration for connecting to the Aptos blockchain.
|
|
56
|
-
* @param args.accountAddress - The address of the account whose modules are to be retrieved.
|
|
57
|
-
* @param args.options - Optional parameters for pagination and ledger version.
|
|
58
|
-
* @param args.options.cursor - The starting point for pagination. Note, this is obfuscated and is not an index.
|
|
59
|
-
* @param args.options.limit - The maximum number of modules to retrieve (default is 100).
|
|
60
|
-
* @param args.options.ledgerVersion - The specific ledger version to query.
|
|
61
|
-
* @group Implementation
|
|
62
|
-
*/
|
|
63
|
-
declare function getModulesPage(args: {
|
|
64
|
-
aptosConfig: AptosConfig;
|
|
65
|
-
accountAddress: AccountAddressInput;
|
|
66
|
-
options?: CursorPaginationArgs & LedgerVersionArg;
|
|
67
|
-
}): Promise<{
|
|
68
|
-
modules: MoveModuleBytecode[];
|
|
69
|
-
cursor: string | undefined;
|
|
70
|
-
}>;
|
|
71
|
-
/**
|
|
72
|
-
* Queries for a move module given an account address and module name.
|
|
73
|
-
* This function can help you retrieve the module's ABI and other relevant information.
|
|
74
|
-
*
|
|
75
|
-
* @param args - The arguments for retrieving the module.
|
|
76
|
-
* @param args.aptosConfig - The configuration for the Aptos client.
|
|
77
|
-
* @param args.accountAddress - The account address in hex-encoded 32 byte format.
|
|
78
|
-
* @param args.moduleName - The name of the module to retrieve.
|
|
79
|
-
* @param args.options - Optional parameters for the request.
|
|
80
|
-
* @param args.options.ledgerVersion - Specifies the ledger version of transactions. By default, the latest version will be used.
|
|
81
|
-
* @returns The move module.
|
|
82
|
-
* @group Implementation
|
|
83
|
-
*/
|
|
84
|
-
declare function getModule(args: {
|
|
85
|
-
aptosConfig: AptosConfig;
|
|
86
|
-
accountAddress: AccountAddressInput;
|
|
87
|
-
moduleName: string;
|
|
88
|
-
options?: LedgerVersionArg;
|
|
89
|
-
}): Promise<MoveModuleBytecode>;
|
|
90
|
-
/**
|
|
91
|
-
* Retrieves a list of transactions associated with a specific account address.
|
|
92
|
-
* This function allows you to paginate through the transactions for better performance and usability.
|
|
93
|
-
*
|
|
94
|
-
* @param args - The arguments for retrieving transactions.
|
|
95
|
-
* @param args.aptosConfig - The configuration settings for Aptos.
|
|
96
|
-
* @param args.accountAddress - The account address for which to retrieve transactions.
|
|
97
|
-
* @param args.options - Optional pagination parameters.
|
|
98
|
-
* @param args.options.offset - The starting point for pagination.
|
|
99
|
-
* @param args.options.limit - The maximum number of transactions to retrieve.
|
|
100
|
-
* @group Implementation
|
|
101
|
-
*/
|
|
102
|
-
declare function getTransactions(args: {
|
|
103
|
-
aptosConfig: AptosConfig;
|
|
104
|
-
accountAddress: AccountAddressInput;
|
|
105
|
-
options?: PaginationArgs;
|
|
106
|
-
}): Promise<CommittedTransactionResponse[]>;
|
|
107
|
-
/**
|
|
108
|
-
* Retrieves a list of resources associated with a specific account address.
|
|
109
|
-
*
|
|
110
|
-
* @param args - The arguments for retrieving resources.
|
|
111
|
-
* @param args.aptosConfig - The configuration settings for Aptos.
|
|
112
|
-
* @param args.accountAddress - The address of the account to fetch resources for.
|
|
113
|
-
* @param args.options - Optional pagination and ledger version parameters.
|
|
114
|
-
* @param args.options.limit - The maximum number of resources to retrieve (default is 999).
|
|
115
|
-
* @param args.options.ledgerVersion - The specific ledger version to query.
|
|
116
|
-
* @group Implementation
|
|
117
|
-
*/
|
|
118
|
-
declare function getResources(args: {
|
|
119
|
-
aptosConfig: AptosConfig;
|
|
120
|
-
accountAddress: AccountAddressInput;
|
|
121
|
-
options?: {
|
|
122
|
-
limit?: number;
|
|
123
|
-
} & LedgerVersionArg;
|
|
124
|
-
}): Promise<MoveResource[]>;
|
|
125
|
-
/**
|
|
126
|
-
* Retrieves a page of resources associated with a specific account address.
|
|
127
|
-
*
|
|
128
|
-
* @param args - The arguments for retrieving resources.
|
|
129
|
-
* @param args.aptosConfig - The configuration settings for Aptos.
|
|
130
|
-
* @param args.accountAddress - The address of the account to fetch resources for.
|
|
131
|
-
* @param args.options - Optional pagination and ledger version parameters.
|
|
132
|
-
* @param args.options.cursor - The starting point for pagination. Note, this is obfuscated and is not an index.
|
|
133
|
-
* @param args.options.limit - The maximum number of resources to retrieve (default is 100).
|
|
134
|
-
* @param args.options.ledgerVersion - The specific ledger version to query.
|
|
135
|
-
* @group Implementation
|
|
136
|
-
*/
|
|
137
|
-
declare function getResourcesPage(args: {
|
|
138
|
-
aptosConfig: AptosConfig;
|
|
139
|
-
accountAddress: AccountAddressInput;
|
|
140
|
-
options?: CursorPaginationArgs & LedgerVersionArg;
|
|
141
|
-
}): Promise<{
|
|
142
|
-
resources: MoveResource[];
|
|
143
|
-
cursor: string | undefined;
|
|
144
|
-
}>;
|
|
145
|
-
/**
|
|
146
|
-
* Retrieves a specific resource of a given type for the specified account address.
|
|
147
|
-
*
|
|
148
|
-
* @param args - The arguments for retrieving the resource.
|
|
149
|
-
* @param args.aptosConfig - The configuration settings for Aptos.
|
|
150
|
-
* @param args.accountAddress - The address of the account from which to retrieve the resource.
|
|
151
|
-
* @param args.resourceType - The type of the resource to retrieve, specified as a MoveStructId.
|
|
152
|
-
* @param args.options - Optional parameters for specifying the ledger version.
|
|
153
|
-
* @group Implementation
|
|
154
|
-
*/
|
|
155
|
-
declare function getResource<T extends {}>(args: {
|
|
156
|
-
aptosConfig: AptosConfig;
|
|
157
|
-
accountAddress: AccountAddressInput;
|
|
158
|
-
resourceType: MoveStructId;
|
|
159
|
-
options?: LedgerVersionArg;
|
|
160
|
-
}): Promise<T>;
|
|
161
|
-
/**
|
|
162
|
-
* Retrieves the original account address associated with a given authentication key, which is useful for handling key rotations.
|
|
163
|
-
*
|
|
164
|
-
* @param args - The arguments for the lookup.
|
|
165
|
-
* @param args.aptosConfig - The configuration for the Aptos client.
|
|
166
|
-
* @param args.authenticationKey - The authentication key for which to look up the original address.
|
|
167
|
-
* @param args.options - Optional parameters for specifying the ledger version.
|
|
168
|
-
* @returns The original account address or the provided authentication key address if not found.
|
|
169
|
-
* @throws Throws an error if the lookup fails for reasons other than the address not being found.
|
|
170
|
-
* @group Implementation
|
|
171
|
-
*/
|
|
172
|
-
declare function lookupOriginalAccountAddress(args: {
|
|
173
|
-
aptosConfig: AptosConfig;
|
|
174
|
-
authenticationKey: AccountAddressInput;
|
|
175
|
-
options?: LedgerVersionArg;
|
|
176
|
-
}): Promise<AccountAddress>;
|
|
177
|
-
/**
|
|
178
|
-
* Retrieves the count of tokens owned by a specific account address.
|
|
179
|
-
*
|
|
180
|
-
* @param args - The arguments for retrieving the account tokens count.
|
|
181
|
-
* @param args.aptosConfig - The configuration settings for the Aptos network.
|
|
182
|
-
* @param args.accountAddress - The address of the account for which to count the tokens.
|
|
183
|
-
* @returns The count of tokens owned by the specified account.
|
|
184
|
-
* @group Implementation
|
|
185
|
-
*/
|
|
186
|
-
declare function getAccountTokensCount(args: {
|
|
187
|
-
aptosConfig: AptosConfig;
|
|
188
|
-
accountAddress: AccountAddressInput;
|
|
189
|
-
}): Promise<number>;
|
|
190
|
-
/**
|
|
191
|
-
* Retrieves the tokens owned by a specified account address.
|
|
192
|
-
*
|
|
193
|
-
* @param args - The arguments for retrieving the account's tokens.
|
|
194
|
-
* @param args.aptosConfig - The configuration for the Aptos client.
|
|
195
|
-
* @param args.accountAddress - The address of the account whose tokens are being queried.
|
|
196
|
-
* @param args.options - Optional parameters for filtering and pagination.
|
|
197
|
-
* @param args.options.tokenStandard - The specific token standard to filter the results.
|
|
198
|
-
* @param args.options.offset - The number of records to skip before starting to collect the result set.
|
|
199
|
-
* @param args.options.limit - The maximum number of records to return.
|
|
200
|
-
* @param args.options.orderBy - The criteria for ordering the results.
|
|
201
|
-
* @returns A promise that resolves to the current token ownerships of the specified account.
|
|
202
|
-
* @group Implementation
|
|
203
|
-
*/
|
|
204
|
-
declare function getAccountOwnedTokens(args: {
|
|
205
|
-
aptosConfig: AptosConfig;
|
|
206
|
-
accountAddress: AccountAddressInput;
|
|
207
|
-
options?: TokenStandardArg & PaginationArgs & OrderByArg<GetAccountOwnedTokensQueryResponse[0]>;
|
|
208
|
-
}): Promise<GetAccountOwnedTokensQueryResponse>;
|
|
209
|
-
/**
|
|
210
|
-
* Retrieves the tokens owned by a specific account from a particular collection address.
|
|
211
|
-
*
|
|
212
|
-
* @param args - The parameters required to fetch the owned tokens.
|
|
213
|
-
* @param args.aptosConfig - The Aptos configuration object.
|
|
214
|
-
* @param args.accountAddress - The address of the account whose tokens are being queried.
|
|
215
|
-
* @param args.collectionAddress - The address of the collection from which tokens are being retrieved.
|
|
216
|
-
* @param args.options - Optional parameters for filtering and pagination, including token standard, pagination arguments, and
|
|
217
|
-
* order by options.
|
|
218
|
-
* @group Implementation
|
|
219
|
-
*/
|
|
220
|
-
declare function getAccountOwnedTokensFromCollectionAddress(args: {
|
|
221
|
-
aptosConfig: AptosConfig;
|
|
222
|
-
accountAddress: AccountAddressInput;
|
|
223
|
-
collectionAddress: AccountAddressInput;
|
|
224
|
-
options?: TokenStandardArg & PaginationArgs & OrderByArg<GetAccountOwnedTokensFromCollectionResponse[0]>;
|
|
225
|
-
}): Promise<GetAccountOwnedTokensFromCollectionResponse>;
|
|
226
|
-
/**
|
|
227
|
-
* Retrieves the collections owned by a specified account along with the tokens in those collections.
|
|
228
|
-
*
|
|
229
|
-
* @param args - The arguments for the function.
|
|
230
|
-
* @param args.aptosConfig - The configuration for the Aptos client.
|
|
231
|
-
* @param args.accountAddress - The address of the account whose collections are being queried.
|
|
232
|
-
* @param args.options - Optional parameters for filtering and pagination.
|
|
233
|
-
* @param args.options.tokenStandard - An optional token standard to filter the collections.
|
|
234
|
-
* @param args.options.offset - An optional offset for pagination.
|
|
235
|
-
* @param args.options.limit - An optional limit for the number of results returned.
|
|
236
|
-
* @param args.options.orderBy - An optional parameter to specify the order of the results.
|
|
237
|
-
* @group Implementation
|
|
238
|
-
*/
|
|
239
|
-
declare function getAccountCollectionsWithOwnedTokens(args: {
|
|
240
|
-
aptosConfig: AptosConfig;
|
|
241
|
-
accountAddress: AccountAddressInput;
|
|
242
|
-
options?: TokenStandardArg & PaginationArgs & OrderByArg<GetAccountCollectionsWithOwnedTokenResponse[0]>;
|
|
243
|
-
}): Promise<GetAccountCollectionsWithOwnedTokenResponse>;
|
|
244
|
-
/**
|
|
245
|
-
* Retrieves the count of transactions associated with a specified account.
|
|
246
|
-
*
|
|
247
|
-
* @param args - The arguments for the function.
|
|
248
|
-
* @param args.aptosConfig - The configuration settings for Aptos.
|
|
249
|
-
* @param args.accountAddress - The address of the account for which to retrieve the transaction count.
|
|
250
|
-
* @returns The number of transactions associated with the specified account.
|
|
251
|
-
* @group Implementation
|
|
252
|
-
*/
|
|
253
|
-
declare function getAccountTransactionsCount(args: {
|
|
254
|
-
aptosConfig: AptosConfig;
|
|
255
|
-
accountAddress: AccountAddressInput;
|
|
256
|
-
}): Promise<number>;
|
|
257
|
-
/**
|
|
258
|
-
* Retrieves the amount of a specific coin held by an account.
|
|
259
|
-
*
|
|
260
|
-
* @param args - The parameters for the request.
|
|
261
|
-
* @param args.aptosConfig - The Aptos configuration object.
|
|
262
|
-
* @param args.accountAddress - The address of the account to query.
|
|
263
|
-
* @param args.coinType - Optional; the type of coin to check the amount for.
|
|
264
|
-
* @param args.faMetadataAddress - Optional; the address of the fungible asset metadata.
|
|
265
|
-
* @returns The amount of the specified coin held by the account, or 0 if none is found.
|
|
266
|
-
* @throws Error if neither coinType nor faMetadataAddress is provided.
|
|
267
|
-
* @group Implementation
|
|
268
|
-
*/
|
|
269
|
-
declare function getAccountCoinAmount(args: {
|
|
270
|
-
aptosConfig: AptosConfig;
|
|
271
|
-
accountAddress: AccountAddressInput;
|
|
272
|
-
coinType?: MoveStructId;
|
|
273
|
-
faMetadataAddress?: AccountAddressInput;
|
|
274
|
-
}): Promise<number>;
|
|
275
|
-
/**
|
|
276
|
-
* Retrieves the current fungible asset balances for a specified account.
|
|
277
|
-
*
|
|
278
|
-
* @param args - The arguments for retrieving account coins data.
|
|
279
|
-
* @param args.aptosConfig - The configuration for connecting to the Aptos network.
|
|
280
|
-
* @param args.accountAddress - The address of the account for which to retrieve coin data.
|
|
281
|
-
* @param args.options - Optional parameters for pagination and filtering the results.
|
|
282
|
-
* @param args.options.offset - The number of items to skip before starting to collect the result set.
|
|
283
|
-
* @param args.options.limit - The maximum number of items to return.
|
|
284
|
-
* @param args.options.orderBy - The criteria for ordering the results.
|
|
285
|
-
* @param args.options.where - Conditions to filter the results based on the current fungible asset balances.
|
|
286
|
-
* @group Implementation
|
|
287
|
-
*/
|
|
288
|
-
declare function getAccountCoinsData(args: {
|
|
289
|
-
aptosConfig: AptosConfig;
|
|
290
|
-
accountAddress: AccountAddressInput;
|
|
291
|
-
options?: PaginationArgs & OrderByArg<GetAccountCoinsDataResponse[0]> & WhereArg<CurrentFungibleAssetBalancesBoolExp>;
|
|
292
|
-
}): Promise<GetAccountCoinsDataResponse>;
|
|
293
|
-
/**
|
|
294
|
-
* Retrieves the count of fungible asset coins held by a specified account.
|
|
295
|
-
*
|
|
296
|
-
* @param args - The arguments for the function.
|
|
297
|
-
* @param args.aptosConfig - The configuration settings for the Aptos network.
|
|
298
|
-
* @param args.accountAddress - The address of the account for which to retrieve the coin count.
|
|
299
|
-
* @throws Error if the count of account coins cannot be retrieved.
|
|
300
|
-
* @group Implementation
|
|
301
|
-
*/
|
|
302
|
-
declare function getAccountCoinsCount(args: {
|
|
303
|
-
aptosConfig: AptosConfig;
|
|
304
|
-
accountAddress: AccountAddressInput;
|
|
305
|
-
}): Promise<number>;
|
|
306
|
-
/**
|
|
307
|
-
* Retrieves an account's balance for the given asset via the fullnode REST API.
|
|
308
|
-
*
|
|
309
|
-
* - `asset` may be a coin type (Move struct ID, e.g. `0x1::aptos_coin::AptosCoin`) or an FA metadata address.
|
|
310
|
-
* - Calls: `GET /accounts/{accountAddress}/balance/{asset}` and returns the numeric balance.
|
|
311
|
-
*
|
|
312
|
-
* @param args - The parameters for the request.
|
|
313
|
-
* @param args.aptosConfig - The Aptos configuration object.
|
|
314
|
-
* @param args.accountAddress - The account address to query.
|
|
315
|
-
* @param args.asset - The asset identifier (coin type or FA metadata address).
|
|
316
|
-
* @returns The balance as a number.
|
|
317
|
-
* @group Implementation
|
|
318
|
-
*/
|
|
319
|
-
declare function getBalance(args: {
|
|
320
|
-
aptosConfig: AptosConfig;
|
|
321
|
-
accountAddress: AccountAddressInput;
|
|
322
|
-
asset: MoveStructId | AccountAddressInput;
|
|
323
|
-
}): Promise<number>;
|
|
324
|
-
/**
|
|
325
|
-
* Retrieves the objects owned by a specified account.
|
|
326
|
-
*
|
|
327
|
-
* @param args - The parameters for the request.
|
|
328
|
-
* @param args.aptosConfig - The configuration for the Aptos client.
|
|
329
|
-
* @param args.accountAddress - The address of the account whose owned objects are to be retrieved.
|
|
330
|
-
* @param args.options - Optional parameters for pagination and ordering of the results.
|
|
331
|
-
* @param args.options.offset - The number of items to skip before starting to collect the result set.
|
|
332
|
-
* @param args.options.limit - The maximum number of items to return.
|
|
333
|
-
* @param args.options.orderBy - The criteria to order the results by.
|
|
334
|
-
* @returns A promise that resolves to the current objects owned by the specified account.
|
|
335
|
-
* @group Implementation
|
|
336
|
-
*/
|
|
337
|
-
declare function getAccountOwnedObjects(args: {
|
|
338
|
-
aptosConfig: AptosConfig;
|
|
339
|
-
accountAddress: AccountAddressInput;
|
|
340
|
-
options?: PaginationArgs & OrderByArg<GetObjectDataQueryResponse[0]>;
|
|
341
|
-
}): Promise<GetObjectDataQueryResponse>;
|
|
342
|
-
/**
|
|
343
|
-
* Derives an account from the provided private key and Aptos configuration.
|
|
344
|
-
*
|
|
345
|
-
* This function queries all owned accounts for the provided private key and returns the most
|
|
346
|
-
* recently used account. If no account is found, it will throw an error unless `throwIfNoAccountFound` is set to false.
|
|
347
|
-
*
|
|
348
|
-
* If `throwIfNoAccountFound` is set to false, the function will return the default account for the private key via `Account.fromPrivateKey`.
|
|
349
|
-
*
|
|
350
|
-
* NOTE: There is a potential issue once the unified single signer scheme is adopted by the community.
|
|
351
|
-
* Because one could create two accounts with the same private key with this new authenticator type,
|
|
352
|
-
* we'll need to determine the order in which we look up the accounts: first unified scheme and then legacy scheme,
|
|
353
|
-
* or first legacy scheme and then unified scheme.
|
|
354
|
-
*
|
|
355
|
-
* @param args - The arguments for deriving the account.
|
|
356
|
-
* @param args.aptosConfig - The Aptos configuration used for account lookup.
|
|
357
|
-
* @param args.privateKey - The private key used to derive the account.
|
|
358
|
-
* @param args.options.throwIfNoAccountFound - If true, throw an error if no existing account is found on chain. Default is false.
|
|
359
|
-
* @throws Error if the account cannot be derived from the private key.
|
|
360
|
-
* @group Implementation
|
|
361
|
-
* @deprecated Note that more inspection is needed by the user to determine which account exists on-chain
|
|
362
|
-
*/
|
|
363
|
-
declare function deriveAccountFromPrivateKey(args: {
|
|
364
|
-
aptosConfig: AptosConfig;
|
|
365
|
-
privateKey: PrivateKeyInput;
|
|
366
|
-
options?: {
|
|
367
|
-
throwIfNoAccountFound?: boolean;
|
|
368
|
-
};
|
|
369
|
-
}): Promise<Account>;
|
|
370
|
-
/**
|
|
371
|
-
* Checks if an account exists by verifying its information against the Aptos blockchain.
|
|
372
|
-
*
|
|
373
|
-
* @param args - The arguments for the function.
|
|
374
|
-
* @param args.aptosConfig - The configuration for connecting to the Aptos blockchain.
|
|
375
|
-
* @param args.authKey - The authentication key used to derive the account address.
|
|
376
|
-
* @returns A promise that resolves to a boolean indicating whether the account exists.
|
|
377
|
-
*
|
|
378
|
-
* @throws Throws an Error if there is an issue while looking for account information.
|
|
379
|
-
* @group Implementation
|
|
380
|
-
*/
|
|
381
|
-
declare function isAccountExist(args: {
|
|
382
|
-
aptosConfig: AptosConfig;
|
|
383
|
-
authKey: AuthenticationKey;
|
|
384
|
-
}): Promise<boolean>;
|
|
385
|
-
/**
|
|
386
|
-
* Rotates the authentication key for a given account.
|
|
387
|
-
*
|
|
388
|
-
* @param args - The arguments for rotating the authentication key.
|
|
389
|
-
* @param args.aptosConfig - The configuration settings for the Aptos network.
|
|
390
|
-
* @param args.fromAccount - The account from which the authentication key will be rotated.
|
|
391
|
-
* @param args.toAccount - (Optional) The target account to rotate to. Required if not using toNewPrivateKey.
|
|
392
|
-
* @param args.toNewPrivateKey - (Optional) The new private key to rotate to. Required if not using toAccount.
|
|
393
|
-
*
|
|
394
|
-
* @remarks
|
|
395
|
-
* This function supports three modes of rotation:
|
|
396
|
-
* 1. Using a target Account object (toAccount)
|
|
397
|
-
* 2. Using a new private key (toNewPrivateKey)
|
|
398
|
-
*
|
|
399
|
-
* @returns A simple transaction object that can be submitted to the network.
|
|
400
|
-
* @throws Error if the rotation fails or verification fails.
|
|
401
|
-
*
|
|
402
|
-
* @group Implementation
|
|
403
|
-
*/
|
|
404
|
-
declare function rotateAuthKey(args: {
|
|
405
|
-
aptosConfig: AptosConfig;
|
|
406
|
-
fromAccount: Account;
|
|
407
|
-
options?: InputGenerateTransactionOptions;
|
|
408
|
-
} & ({
|
|
409
|
-
toAccount: Ed25519Account | MultiEd25519Account;
|
|
410
|
-
} | {
|
|
411
|
-
toNewPrivateKey: Ed25519PrivateKey;
|
|
412
|
-
})): Promise<SimpleTransaction>;
|
|
413
|
-
/**
|
|
414
|
-
* Rotates the authentication key for a given account without verifying the new key.
|
|
415
|
-
*
|
|
416
|
-
* @param args - The arguments for rotating the authentication key.
|
|
417
|
-
* @param args.aptosConfig - The configuration settings for the Aptos network.
|
|
418
|
-
* @param args.fromAccount - The account from which the authentication key will be rotated.
|
|
419
|
-
* @param args.toNewPublicKey - The new public key to rotate to.
|
|
420
|
-
* @returns A simple transaction object that can be submitted to the network.
|
|
421
|
-
* @throws Error if the rotation fails or verification fails.
|
|
422
|
-
*
|
|
423
|
-
* @group Implementation
|
|
424
|
-
*/
|
|
425
|
-
declare function rotateAuthKeyUnverified(args: {
|
|
426
|
-
aptosConfig: AptosConfig;
|
|
427
|
-
fromAccount: Account;
|
|
428
|
-
toNewPublicKey: AccountPublicKey;
|
|
429
|
-
options?: InputGenerateTransactionOptions;
|
|
430
|
-
}): Promise<SimpleTransaction>;
|
|
431
|
-
type AccountInfo = {
|
|
432
|
-
accountAddress: AccountAddress;
|
|
433
|
-
publicKey: BaseAccountPublicKey;
|
|
434
|
-
lastTransactionVersion: number;
|
|
435
|
-
};
|
|
436
|
-
declare function getAccountsForPublicKey(args: {
|
|
437
|
-
aptosConfig: AptosConfig;
|
|
438
|
-
publicKey: BaseAccountPublicKey;
|
|
439
|
-
options?: {
|
|
440
|
-
includeUnverified?: boolean;
|
|
441
|
-
noMultiKey?: boolean;
|
|
442
|
-
};
|
|
443
|
-
}): Promise<AccountInfo[]>;
|
|
444
|
-
declare function deriveOwnedAccountsFromSigner(args: {
|
|
445
|
-
aptosConfig: AptosConfig;
|
|
446
|
-
signer: Account | PrivateKeyInput;
|
|
447
|
-
options?: {
|
|
448
|
-
includeUnverified?: boolean;
|
|
449
|
-
noMultiKey?: boolean;
|
|
450
|
-
};
|
|
451
|
-
}): Promise<Account[]>;
|
|
452
|
-
|
|
453
|
-
export { type AccountInfo, deriveAccountFromPrivateKey, deriveOwnedAccountsFromSigner, getAccountCoinAmount, getAccountCoinsCount, getAccountCoinsData, getAccountCollectionsWithOwnedTokens, getAccountOwnedObjects, getAccountOwnedTokens, getAccountOwnedTokensFromCollectionAddress, getAccountTokensCount, getAccountTransactionsCount, getAccountsForPublicKey, getBalance, getInfo, getModule, getModules, getModulesPage, getResource, getResources, getResourcesPage, getTransactions, isAccountExist, lookupOriginalAccountAddress, rotateAuthKey, rotateAuthKeyUnverified };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$c as y,Dc as a,Ec as b,Fc as c,Gc as d,Hc as e,Ic as f,Jc as g,Kc as h,Lc as i,Mc as j,Nc as k,Oc as l,Pc as m,Qc as n,Rc as o,Sc as p,Tc as q,Uc as r,Vc as s,Wc as t,Xc as u,Yc as v,Zc as w,_c as x}from"../chunk-2CH5QB7U.mjs";import"../chunk-UPHD2B4I.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-POQ4FT4E.mjs";import"../chunk-R7PCBRRT.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-YJVBGKWM.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-OAK2V35A.mjs";import"../chunk-F45HI7LU.mjs";import"../chunk-F4LHBGG2.mjs";import"../chunk-5HHC2YG4.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-QRW7MQDA.mjs";import"../chunk-EIWPAECI.mjs";import"../chunk-2VBY2V4Z.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-UVJW4DPP.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-TSPG5VED.mjs";import"../chunk-UBPX6GOS.mjs";import"../chunk-NTREJSOS.mjs";import"../chunk-WD3SPNH7.mjs";import"../chunk-F5KAWYF5.mjs";import"../chunk-J73MMLF7.mjs";import"../chunk-G5OONGWS.mjs";import"../chunk-ODNZJSOC.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-TEI33TO7.mjs";import"../chunk-QFUXOL34.mjs";import"../chunk-LTZRUAGD.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-ITZN23GU.mjs";import"../chunk-ASFFADWS.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-WFZFTRRS.mjs";import"../chunk-E3DHFXN4.mjs";import"../chunk-CD3EZCI5.mjs";import"../chunk-BT742BFQ.mjs";import"../chunk-M65PXVDO.mjs";import"../chunk-UYG4XVVO.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-5LMLIRGK.mjs";import"../chunk-C2KVLMPH.mjs";import"../chunk-FDHHQUS3.mjs";import"../chunk-DE5K76I2.mjs";import"../chunk-NP2IAUME.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-Q5ESW36C.mjs";import"../chunk-66F7RP7K.mjs";import"../chunk-TAHLOBRG.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-WVKZFOPV.mjs";import"../chunk-KDMSOCZY.mjs";export{t as deriveAccountFromPrivateKey,y as deriveOwnedAccountsFromSigner,o as getAccountCoinAmount,q as getAccountCoinsCount,p as getAccountCoinsData,m as getAccountCollectionsWithOwnedTokens,s as getAccountOwnedObjects,k as getAccountOwnedTokens,l as getAccountOwnedTokensFromCollectionAddress,j as getAccountTokensCount,n as getAccountTransactionsCount,x as getAccountsForPublicKey,r as getBalance,a as getInfo,d as getModule,b as getModules,c as getModulesPage,h as getResource,f as getResources,g as getResourcesPage,e as getTransactions,u as isAccountExist,i as lookupOriginalAccountAddress,v as rotateAuthKey,w as rotateAuthKeyUnverified};
|
|
2
|
-
//# sourceMappingURL=account.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|