@aptos-labs/ts-sdk 6.3.1 → 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 +14 -5
- package/src/bcs/serializable/moveStructs.ts +8 -8
- package/src/bcs/serializer.ts +6 -6
- 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 +6 -6
- 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-2FUAPVPW.d.ts +0 -8167
- package/dist/common/chunk-L5DUJTE3.js +0 -4
- package/dist/common/chunk-L5DUJTE3.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-DpZh3fRy.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-sIOs_9XJ.d.mts +0 -7369
- 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-226FBOWQ.mjs +0 -2
- package/dist/esm/chunk-226FBOWQ.mjs.map +0 -1
- package/dist/esm/chunk-2DQRUJUC.mjs +0 -2
- package/dist/esm/chunk-2DQRUJUC.mjs.map +0 -1
- package/dist/esm/chunk-2EBXCCLB.mjs +0 -2
- package/dist/esm/chunk-2EBXCCLB.mjs.map +0 -1
- package/dist/esm/chunk-2YA4KQUV.mjs +0 -2
- package/dist/esm/chunk-2YA4KQUV.mjs.map +0 -1
- package/dist/esm/chunk-3ZC6F5SJ.mjs +0 -2
- package/dist/esm/chunk-3ZC6F5SJ.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-4KEZEYCV.mjs +0 -2
- package/dist/esm/chunk-4KEZEYCV.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-5HXLZHDW.mjs +0 -1
- package/dist/esm/chunk-5HXLZHDW.mjs.map +0 -1
- package/dist/esm/chunk-6T2OBPIF.mjs +0 -4
- package/dist/esm/chunk-6T2OBPIF.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-A5H5VKUI.mjs +0 -2
- package/dist/esm/chunk-A5H5VKUI.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-C3Q23D22.mjs +0 -2
- package/dist/esm/chunk-C3Q23D22.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-DPHBSAZQ.mjs +0 -2
- package/dist/esm/chunk-DPHBSAZQ.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-F4RJMSAW.mjs +0 -2
- package/dist/esm/chunk-F4RJMSAW.mjs.map +0 -1
- package/dist/esm/chunk-FAOLAKLJ.mjs +0 -2
- package/dist/esm/chunk-FAOLAKLJ.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-GJYLYE6R.mjs +0 -2
- package/dist/esm/chunk-GJYLYE6R.mjs.map +0 -1
- package/dist/esm/chunk-GYYSHYO5.mjs +0 -2
- package/dist/esm/chunk-GYYSHYO5.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-IEW452EO.mjs +0 -7
- package/dist/esm/chunk-IEW452EO.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-IZF6POVR.mjs +0 -4
- package/dist/esm/chunk-IZF6POVR.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-KKPH2JUV.mjs +0 -2
- package/dist/esm/chunk-KKPH2JUV.mjs.map +0 -1
- package/dist/esm/chunk-LVZ7QMUH.mjs +0 -2
- package/dist/esm/chunk-LVZ7QMUH.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-MKTR4U2R.mjs +0 -2
- package/dist/esm/chunk-MKTR4U2R.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-NHRPXEUE.mjs +0 -2
- package/dist/esm/chunk-NHRPXEUE.mjs.map +0 -1
- package/dist/esm/chunk-NNXTS2GB.mjs +0 -2
- package/dist/esm/chunk-NNXTS2GB.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-NPWYZVHE.mjs +0 -2
- package/dist/esm/chunk-NPWYZVHE.mjs.map +0 -1
- package/dist/esm/chunk-NTMFADQ7.mjs +0 -2
- package/dist/esm/chunk-NTMFADQ7.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-Q5ESW36C.mjs +0 -2
- package/dist/esm/chunk-Q5ESW36C.mjs.map +0 -1
- package/dist/esm/chunk-QE5MOGUI.mjs +0 -2
- package/dist/esm/chunk-QE5MOGUI.mjs.map +0 -1
- package/dist/esm/chunk-RB2GC7FW.mjs +0 -2
- package/dist/esm/chunk-RB2GC7FW.mjs.map +0 -1
- package/dist/esm/chunk-RUKFK3OC.mjs +0 -2
- package/dist/esm/chunk-RUKFK3OC.mjs.map +0 -1
- package/dist/esm/chunk-RYCI4VKO.mjs +0 -2
- package/dist/esm/chunk-RYCI4VKO.mjs.map +0 -1
- package/dist/esm/chunk-RZNP3WG4.mjs +0 -2
- package/dist/esm/chunk-RZNP3WG4.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-TBIK7DML.mjs +0 -2
- package/dist/esm/chunk-TBIK7DML.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-UVNAHETD.mjs +0 -2
- package/dist/esm/chunk-UVNAHETD.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-WOPHK7LB.mjs +0 -2
- package/dist/esm/chunk-WOPHK7LB.mjs.map +0 -1
- package/dist/esm/chunk-WZZ7PJ3X.mjs +0 -2
- package/dist/esm/chunk-WZZ7PJ3X.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-ZOSOF6ST.mjs +0 -2
- package/dist/esm/chunk-ZOSOF6ST.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-Cuo0IGJ6.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-DpZh3fRy.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 serializeEntryFunctionBytesCompat, dV as stringStructTag, dW as validateNumberInRange } from './account-sIOs_9XJ.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-Cuo0IGJ6.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 Vc,$a as Yd,$b as Xe,A as tc,Aa as wd,Ab as we,B as uc,Ba as xd,Bb as xe,C as vc,Ca as yd,Cb as ye,D as wc,Da as zd,Db as ze,E as xc,Ea as Ad,Eb as Ae,F as Cc,Fa as Bd,Fb as Be,G as Dc,Ga as Cd,Gb as Ce,Ge as uf,H as Ec,Ha as Dd,Hb as De,I as Fc,Ia as Ed,Ib as Ee,J as Gc,Ja as Fd,Jb as Fe,K as Hc,Ka as Gd,Kb as Ge,L as Ic,La as Hd,Lb as He,Ma as Id,Mb as Ie,Na as Jd,Nb as Je,Oa as Kd,Ob as Ke,P as Jc,Pa as Ld,Pb as Le,Q as Kc,Qa as Md,Qb as Me,R as Lc,Ra as Nd,Rb as Ne,S as Mc,Sa as Od,Sb as Oe,T as Nc,Ta as Pd,Tb as Pe,U as Oc,Ua as Qd,Ub as Qe,V as Pc,Va as Rd,Vb as Re,W as Qc,Wa as Td,Wb as Se,X as Rc,Xa as Ud,Xb as Te,Y as Sc,Ya as Vd,Yb as Ue,Z as Tc,Za as Wd,Zb as Ve,_ as Uc,_a as Xd,_b as We,a as ob,aa as Wc,ab as Zd,ac as Ye,b as pb,ba as Zc,bb as _d,bc as Ze,c as Xb,ca as _c,cb as $d,cc as _e,d as Yb,da as $c,db as ae,dc as $e,e as Zb,ea as ad,eb as be,ec as af,f as _b,fa as bd,fb as ce,fc as bf,g as $b,ga as cd,gb as de,gc as cf,h as ac,ha as dd,hb as ee,hc as df,i as bc,ia as ed,ib as fe,ic as ef,j as cc,ja as fd,jb as ge,jc as ff,k as dc,ka as gd,kb as he,kc as gf,l as ec,la as hd,lb as ie,lc as hf,m as fc,ma as id,mb as je,mc as jf,n as gc,na as jd,nb as ke,nc as kf,o as hc,oa as kd,ob as le,oc as lf,p as ic,pa as ld,pb as me,pc as mf,q as jc,qa as md,qb as ne,qc as nf,r as kc,ra as nd,rb as oe,rc as of,s as lc,sa as od,sb as pe,se as qf,t as mc,ta as pd,te as rf,u as nc,ua as qd,ub as qe,ue as sf,v as oc,va as rd,vb as re,ve as tf,w as pc,wa as sd,wb as se,x as qc,xa as td,xb as te,y as rc,ya as ud,yb as ue,z as sc,za as vd,zb as ve}from"./chunk-IZF6POVR.mjs";import"./chunk-G3MHXDYA.mjs";import"./chunk-NNXTS2GB.mjs";import"./chunk-UYVPNUH3.mjs";import"./chunk-A5L76YP7.mjs";import{a as Xc}from"./chunk-3ZC6F5SJ.mjs";import{a as Yc}from"./chunk-2YA4KQUV.mjs";import{a as Sd}from"./chunk-NPWYZVHE.mjs";import{a as yc,b as zc,c as Ac,d as Bc}from"./chunk-UVNAHETD.mjs";import"./chunk-5HXLZHDW.mjs";import{a as qb,b as rb,c as sb,d as tb,e as ub}from"./chunk-F45HI7LU.mjs";import{a as nb}from"./chunk-LVZ7QMUH.mjs";import"./chunk-RB2GC7FW.mjs";import"./chunk-NECL5FCQ.mjs";import"./chunk-4QMXOWHP.mjs";import{a as Ja,b as Ka}from"./chunk-ZOSOF6ST.mjs";import{a as Ia}from"./chunk-NHRPXEUE.mjs";import{a as Ga,b as Ha}from"./chunk-A5H5VKUI.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}from"./chunk-C3Q23D22.mjs";import"./chunk-UVJW4DPP.mjs";import"./chunk-V3MBJJTL.mjs";import"./chunk-ZP4DWSQA.mjs";import{a as Fa}from"./chunk-RZNP3WG4.mjs";import"./chunk-226FBOWQ.mjs";import"./chunk-4KEZEYCV.mjs";import"./chunk-NTMFADQ7.mjs";import"./chunk-WZZ7PJ3X.mjs";import"./chunk-MKTR4U2R.mjs";import"./chunk-G5OONGWS.mjs";import"./chunk-ODNZJSOC.mjs";import"./chunk-7ECCT6PK.mjs";import{a as Lb,b as Mb,c as Nb,d as Ob,e as Pb,f as Qb}from"./chunk-TBIK7DML.mjs";import{a as Rb,b as Sb,c as Tb,d as Ub,e as Vb,f as Wb}from"./chunk-DPHBSAZQ.mjs";import{a as Jb,b as Kb}from"./chunk-2DQRUJUC.mjs";import"./chunk-HGLO5LDS.mjs";import{a as Db}from"./chunk-ITZN23GU.mjs";import{a as Eb,b as Fb,c as Gb,d as Hb,e as Ib}from"./chunk-IEW452EO.mjs";import"./chunk-FZY4PMEE.mjs";import{a as za,b as Aa,c as Ba,d as Ca}from"./chunk-2EBXCCLB.mjs";import{a as z}from"./chunk-WOPHK7LB.mjs";import{a as y}from"./chunk-F4RJMSAW.mjs";import{a as ma,b as na,c as oa,d as pa,e as qa,f as ra,g as sa,h as ta,i as ua,j as va,k as wa,l as xa,m as ya}from"./chunk-KKPH2JUV.mjs";import{a as e}from"./chunk-M65PXVDO.mjs";import{a as pf}from"./chunk-FAOLAKLJ.mjs";import{a as vb,b as wb,c as xb,d as yb,e as zb,f as Ab,g as Bb,h as Cb}from"./chunk-P5HCJN3A.mjs";import{a as Za,b as _a,c as $a,d as ab,e as bb,f as cb,g as db,h as eb,i as fb,j as gb,k as hb,l as ib,m as jb,n as kb,o as lb,p as mb}from"./chunk-GJYLYE6R.mjs";import{a as Va,b as Wa,c as Xa,d as Ya}from"./chunk-GYYSHYO5.mjs";import{a as Da,b as Ea}from"./chunk-6T2OBPIF.mjs";import"./chunk-DE5K76I2.mjs";import{A as _,B as $,C as aa,D as ba,E as ca,F as da,G as ea,H as fa,I as ga,J as ha,K as ia,L as ja,a as A,b as B,c as C,d as D,e as E,f as F,g as G,h as H,i as I,j as J,k as K,l as L,m as M,n as N,o as O,p as P,q as Q,r as R,s as S,t as T,u as U,v as V,w as W,x as X,y as Y,z as Z}from"./chunk-Q5ESW36C.mjs";import{a as ka,b as la}from"./chunk-NP2IAUME.mjs";import"./chunk-4WPQQPUF.mjs";import{a as s,b as t,c as u,d as v,e as w,f as x}from"./chunk-RUKFK3OC.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-RYCI4VKO.mjs";import"./chunk-KDMSOCZY.mjs";export{o as ACCOUNT_ABSTRACTION_SIGNING_DATA_SALT,Ma as APTOS_BIP44_REGEX,k as APTOS_COIN,l as APTOS_FA,La as APTOS_HARDENED_REGEX,ke as AbstractKeylessAccount,Ec as AbstractMultiKey,Ka as AbstractPublicKey,Ja as AbstractSignature,re as AbstractedAccount,he as Account,Wc as AccountAbstractionMessage,Ea as AccountAddress,Pc as AccountAuthenticator,Vc as AccountAuthenticatorAbstraction,Qc as AccountAuthenticatorEd25519,Rc as AccountAuthenticatorMultiEd25519,Tc as AccountAuthenticatorMultiKey,Uc as AccountAuthenticatorNoAccountAuthenticator,Sc as AccountAuthenticatorSingleKey,J as AccountAuthenticatorVariant,Ha as AccountPublicKey,qf as AccountSequenceNumber,qe as AccountUtils,Da as AddressInvalidReason,Cc as AnyPublicKey,L as AnyPublicKeyVariant,Dc as AnySignature,N as AnySignatureVariant,uf as Aptos,Ib as AptosApiError,f as AptosApiType,pf as AptosConfig,Fa as AuthenticationKey,ma as Bool,Sa as CKDPriv,Xc as ChainId,g as DEFAULT_MAX_GAS_AMOUNT,i as DEFAULT_TXN_EXP_SEC_FROM_NOW,j as DEFAULT_TXN_TIMEOUT_SEC,se as DerivableAbstractedAccount,ja as DeriveScheme,e as Deserializer,Xb as EPK_HORIZON_SECS,ee as Ed25519Account,Lc as Ed25519PrivateKey,Kc as Ed25519PublicKey,Mc as Ed25519Signature,Cd as EntryFunction,z as EntryFunctionBytes,ic as EphemeralCertificate,Q as EphemeralCertificateVariant,ie as EphemeralKeyPair,ob as EphemeralPublicKey,O as EphemeralPublicKeyVariant,pb as EphemeralSignature,P as EphemeralSignatureVariant,la as ExpirationStatus,q as FIREBASE_AUTH_ISS_PATTERN,ne as FederatedKeylessAccount,uc as FederatedKeylessPublicKey,Rd as FeePayerRawTransaction,y as FixedBytes,kc as Groth16ProofAndStatement,oc as Groth16VerificationKey,jc as Groth16Zkp,Oa as HARDENED_OFFSET,c as Hex,b as HexInvalidReason,xa as I128,ua as I16,ya as I256,va as I32,wa as I64,ta as I8,Yc as Identifier,Na as KeyType,me as KeylessAccount,nc as KeylessConfiguration,Hb as KeylessError,Eb as KeylessErrorCategory,Fb as KeylessErrorResolutionTip,Gb as KeylessErrorType,dc as KeylessPublicKey,hc as KeylessSignature,Yb as MAX_AUD_VAL_BYTES,cc as MAX_COMMITED_EPK_BYTES,ac as MAX_EXTRA_FIELD_BYTES,$b as MAX_ISS_VAL_BYTES,bc as MAX_JWT_HEADER_B64_BYTES,Zb as MAX_UID_KEY_BYTES,_b as MAX_UID_VAL_BYTES,h as MIN_MAX_GAS_AMOUNT,A as MimeType,Zc as ModuleId,fa as MoveAbility,ea as MoveFunctionVisibility,sc as MoveJWK,Ca as MoveOption,Ba as MoveString,za as MoveVector,Qd as MultiAgentRawTransaction,$d as MultiAgentTransaction,pe as MultiEd25519Account,Hc as MultiEd25519PublicKey,Ic as MultiEd25519Signature,Fc as MultiKey,oe as MultiKeyAccount,Gc as MultiKeySignature,Ed as MultiSig,Fd as MultiSigTransactionPayload,Ab as Network,Bb as NetworkToChainId,xb as NetworkToFaucetAPI,vb as NetworkToIndexerAPI,Cb as NetworkToNetworkName,wb as NetworkToNodeAPI,yb as NetworkToPepperAPI,zb as NetworkToProverAPI,a as ParsingError,nb as PrivateKey,K as PrivateKeyVariants,p as ProcessorType,Ga as PublicKey,m as RAW_TRANSACTION_SALT,n as RAW_TRANSACTION_WITH_DATA_SALT,Od as RawTransaction,Pd as RawTransactionWithData,ga as RoleType,Sd as RotationProofChallenge,Dd as Script,C as ScriptTransactionArgumentVariants,wc as Secp256k1PrivateKey,vc as Secp256k1PublicKey,xc as Secp256k1Signature,zc as Secp256r1PrivateKey,yc as Secp256r1PublicKey,Bc as Secp256r1Signature,s as Serializable,Aa as Serialized,u as Serializer,Ia as Signature,Zd as SignedTransaction,ha as SigningScheme,ia as SigningSchemeInput,_d as SimpleTransaction,ge as SingleKeyAccount,sd as StructTag,ka as SubdomainExpirationPolicy,r as TEXT_ENCODER,le as TransactionAndProof,Td as TransactionAuthenticator,Ud as TransactionAuthenticatorEd25519,Xd as TransactionAuthenticatorFeePayer,Wd as TransactionAuthenticatorMultiAgent,Vd as TransactionAuthenticatorMultiEd25519,Yd as TransactionAuthenticatorSingleSender,I as TransactionAuthenticatorVariant,Id as TransactionExecutable,Ld as TransactionExecutableEmpty,Kd as TransactionExecutableEntryFunction,Jd as TransactionExecutableScript,F as TransactionExecutableVariants,Md as TransactionExtraConfig,Nd as TransactionExtraConfigV1,G as TransactionExtraConfigVariants,Gd as TransactionInnerPayload,Hd as TransactionInnerPayloadV1,E as TransactionInnerPayloadVariants,yd as TransactionPayload,Ad as TransactionPayloadEntryFunction,Bd as TransactionPayloadMultiSig,zd as TransactionPayloadScript,D as TransactionPayloadVariants,S as TransactionResponseType,H as TransactionVariants,tf as TransactionWorker,sf as TransactionWorkerEventsEnum,_c as TypeTag,md as TypeTagAddress,$c as TypeTagBool,pd as TypeTagGeneric,jd as TypeTagI128,dd as TypeTagI16,ld as TypeTagI256,fd as TypeTagI32,hd as TypeTagI64,bd as TypeTagI8,ue as TypeTagParserError,te as TypeTagParserErrorType,od as TypeTagReference,nd as TypeTagSigner,rd as TypeTagStruct,id as TypeTagU128,cd as TypeTagU16,kd as TypeTagU256,ed as TypeTagU32,gd as TypeTagU64,ad as TypeTagU8,B as TypeTagVariants,qd as TypeTagVector,ra as U128,oa as U16,sa as U256,pa as U32,qa as U64,na as U8,Ac as WebAuthnSignature,mc as ZeroKnowledgeSig,lc as ZkProof,R as ZkpVariant,M as anyPublicKeyVariantToString,td as aptosCoinStructTag,Kb as aptosRequest,db as base64UrlDecode,eb as base64UrlToBytes,tb as bigIntToBytesLE,jf as buildTransaction,sb as bytesToBigIntLE,bf as checkOrConvertArgument,fb as convertAmountFromHumanReadableToOnChain,gb as convertAmountFromOnChainToHumanReadable,af as convertArgument,ze as convertNumber,hf as convertPayloadToInnerPayload,Va as createObjectAddress,Wa as createResourceAddress,Ya as createTokenAddress,Xa as createUserDerivedObjectAddress,Ra as deriveKey,ae as deriveTransactionType,xd as deserializeFromScriptArgument,Nc as deserializePublicKey,Oc as deserializeSignature,v as ensureBoolean,_e as fetchEntryFunctionAbi,Ye as fetchFunctionAbi,gc as fetchJWK,Xe as fetchModuleAbi,Ze as fetchMoveFunctionAbi,$e as fetchViewFunctionAbi,Ve as findFirstNonSignerArg,cb as floorToWholeHour,gf as generateRawTransaction,mf as generateSignedTransaction,kf as generateSignedTransactionForSimulation,be as generateSigningMessage,ce as generateSigningMessageForSerializable,de as generateSigningMessageForTransaction,cf as generateTransactionPayload,df as generateTransactionPayloadWithABI,of as generateUserTransactionHash,ef as generateViewFunctionPayload,ff as generateViewFunctionPayloadWithABI,Lb as get,Mb as getAptosFullNode,Nb as getAptosPepperService,lf as getAuthenticatorForSimulation,ab as getErrorMessage,jb as getFunctionParts,qc as getIssAudAndUidVal,pc as getKeylessConfig,rc as getKeylessJWKs,Qb as getPageWithObfuscatedCursor,qb as hashStrToField,nf as hashValues,d as hexToAsciiString,Ee as isBcsAddress,De as isBcsBool,Ge as isBcsFixedBytes,Re as isBcsI128,Oe as isBcsI16,Se as isBcsI256,Pe as isBcsI32,Qe as isBcsI64,Ne as isBcsI8,Fe as isBcsString,Le as isBcsU128,Ie as isBcsU16,Me as isBcsU256,Je as isBcsU32,Ke as isBcsU64,He as isBcsU8,Z as isBlockEpilogueTransactionResponse,W as isBlockMetadataTransactionResponse,we as isBool,Za as isBun,Jc as isCanonicalEd25519Signature,_ as isEd25519Signature,Be as isEmptyOption,Ce as isEncodedEntryFunctionArgument,ib as isEncodedStruct,ba as isFeePayerSignature,V as isGenesisTransactionResponse,je as isKeylessSigner,Ae as isLargeNumber,aa as isMultiAgentSignature,ca as isMultiEd25519Signature,ye as isNumber,T as isPendingTransactionResponse,Te as isScriptDataInput,$ as isSecp256k1Signature,fe as isSingleKeySigner,da as isSingleSenderSignature,X as isStateCheckpointTransactionResponse,xe as isString,U as isUserTransactionResponse,Pa as isValidBIP44Path,kb as isValidFunctionInfo,Qa as isValidHardenedPath,Y as isValidatorTransactionResponse,Ua as mnemonicToSeed,Db as normalizeBundle,bb as nowInSeconds,wd as objectStructTag,vd as optionStructTag,w as outOfRangeErrorMessage,rb as padAndPackBytesWithLen,Ob as paginateWithCursor,Pb as paginateWithObfuscatedCursor,mb as pairedFaMetadataAddress,hb as parseEncodedStruct,tc as parseJwtHeader,ve as parseTypeTag,ub as poseidonHash,Rb as post,Ub as postAptosFaucet,Sb as postAptosFullNode,Tb as postAptosIndexer,Vb as postAptosPepperService,Wb as postAptosProvingService,rf as promiseFulfilledStatus,Jb as request,t as serializeEntryFunctionBytesCompat,$a as sleep,Ta as splitPath,We as standardizeTypeTags,ud as stringStructTag,Ue as throwTypeMismatch,lb as truncateAddress,x as validateNumberInRange,ec as verifyKeylessSignature,fc as verifyKeylessSignatureWithJwkAndConfig,_a 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-sIOs_9XJ.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-IZF6POVR.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-NNXTS2GB.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-3ZC6F5SJ.mjs";import"../chunk-2YA4KQUV.mjs";import"../chunk-NPWYZVHE.mjs";import"../chunk-UVNAHETD.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-F45HI7LU.mjs";import"../chunk-LVZ7QMUH.mjs";import"../chunk-RB2GC7FW.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-ZOSOF6ST.mjs";import"../chunk-NHRPXEUE.mjs";import"../chunk-A5H5VKUI.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-UVJW4DPP.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-RZNP3WG4.mjs";import"../chunk-226FBOWQ.mjs";import"../chunk-4KEZEYCV.mjs";import"../chunk-NTMFADQ7.mjs";import"../chunk-WZZ7PJ3X.mjs";import"../chunk-MKTR4U2R.mjs";import"../chunk-G5OONGWS.mjs";import"../chunk-ODNZJSOC.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-TBIK7DML.mjs";import"../chunk-DPHBSAZQ.mjs";import"../chunk-2DQRUJUC.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-ITZN23GU.mjs";import"../chunk-IEW452EO.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-2EBXCCLB.mjs";import"../chunk-WOPHK7LB.mjs";import"../chunk-F4RJMSAW.mjs";import"../chunk-KKPH2JUV.mjs";import"../chunk-M65PXVDO.mjs";import"../chunk-FAOLAKLJ.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-GJYLYE6R.mjs";import"../chunk-GYYSHYO5.mjs";import"../chunk-6T2OBPIF.mjs";import"../chunk-DE5K76I2.mjs";import"../chunk-Q5ESW36C.mjs";import"../chunk-NP2IAUME.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-RUKFK3OC.mjs";import"../chunk-TAHLOBRG.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-RYCI4VKO.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-sIOs_9XJ.mjs';
|
|
2
|
-
import { GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetObjectDataQueryResponse, GetAccountOwnedTokensQueryResponse, GetAccountOwnedTokensFromCollectionResponse } from '../types/indexer.mjs';
|
|
3
|
-
import { A as Account, E as Ed25519Account } from '../Ed25519Account-DpZh3fRy.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-IZF6POVR.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-NNXTS2GB.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-3ZC6F5SJ.mjs";import"../chunk-2YA4KQUV.mjs";import"../chunk-NPWYZVHE.mjs";import"../chunk-UVNAHETD.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-F45HI7LU.mjs";import"../chunk-LVZ7QMUH.mjs";import"../chunk-RB2GC7FW.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-ZOSOF6ST.mjs";import"../chunk-NHRPXEUE.mjs";import"../chunk-A5H5VKUI.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-UVJW4DPP.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-RZNP3WG4.mjs";import"../chunk-226FBOWQ.mjs";import"../chunk-4KEZEYCV.mjs";import"../chunk-NTMFADQ7.mjs";import"../chunk-WZZ7PJ3X.mjs";import"../chunk-MKTR4U2R.mjs";import"../chunk-G5OONGWS.mjs";import"../chunk-ODNZJSOC.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-TBIK7DML.mjs";import"../chunk-DPHBSAZQ.mjs";import"../chunk-2DQRUJUC.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-ITZN23GU.mjs";import"../chunk-IEW452EO.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-2EBXCCLB.mjs";import"../chunk-WOPHK7LB.mjs";import"../chunk-F4RJMSAW.mjs";import"../chunk-KKPH2JUV.mjs";import"../chunk-M65PXVDO.mjs";import"../chunk-FAOLAKLJ.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-GJYLYE6R.mjs";import"../chunk-GYYSHYO5.mjs";import"../chunk-6T2OBPIF.mjs";import"../chunk-DE5K76I2.mjs";import"../chunk-Q5ESW36C.mjs";import"../chunk-NP2IAUME.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-RUKFK3OC.mjs";import"../chunk-TAHLOBRG.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-RYCI4VKO.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":[]}
|