@aptos-labs/ts-sdk 5.0.0 → 5.1.1-side-effect-free.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/dist/common/{account-BDwBREvt.d.ts → account-Dr4y1uZG.d.ts} +8 -2
- package/dist/common/chunk-AWFAHZSB.js +4 -0
- package/dist/common/{chunk-6MMUUJHX.js.map → chunk-AWFAHZSB.js.map} +1 -1
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +339 -10
- package/dist/common/index.js +33 -33
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-8ETkcAk_.d.mts → Ed25519Account-CPwej6wB.d.mts} +1 -1
- package/dist/esm/account/AbstractKeylessAccount.d.mts +3 -3
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/AbstractKeylessAccount.mjs.map +1 -1
- package/dist/esm/account/AbstractedAccount.d.mts +2 -2
- package/dist/esm/account/AbstractedAccount.mjs +1 -1
- package/dist/esm/account/AbstractedAccount.mjs.map +1 -1
- package/dist/esm/account/Account.d.mts +2 -2
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/Account.mjs.map +1 -1
- package/dist/esm/account/AccountUtils.d.mts +3 -3
- package/dist/esm/account/AccountUtils.mjs +1 -1
- package/dist/esm/account/AccountUtils.mjs.map +1 -1
- package/dist/esm/account/DerivableAbstractedAccount.d.mts +2 -2
- package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
- package/dist/esm/account/DerivableAbstractedAccount.mjs.map +1 -1
- package/dist/esm/account/Ed25519Account.d.mts +2 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/Ed25519Account.mjs.map +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +1 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.mjs.map +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.mjs.map +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +3 -3
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.mjs.map +1 -1
- package/dist/esm/account/MultiEd25519Account.d.mts +2 -2
- package/dist/esm/account/MultiEd25519Account.mjs +1 -1
- package/dist/esm/account/MultiEd25519Account.mjs.map +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +3 -3
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.mjs.map +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.mjs.map +1 -1
- package/dist/esm/account/index.d.mts +3 -3
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/account/index.mjs.map +1 -1
- package/dist/esm/account/utils.d.mts +1 -1
- package/dist/esm/account/utils.mjs +1 -1
- package/dist/esm/account/utils.mjs.map +1 -1
- package/dist/esm/{account-ClxOwjdh.d.mts → account-BortO8g2.d.mts} +6 -1
- package/dist/esm/api/account/abstraction.d.mts +1 -1
- package/dist/esm/api/account/abstraction.mjs +1 -1
- package/dist/esm/api/account/abstraction.mjs.map +1 -1
- package/dist/esm/api/account.d.mts +30 -9
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/account.mjs.map +1 -1
- package/dist/esm/api/ans.d.mts +2 -2
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/ans.mjs.map +1 -1
- package/dist/esm/api/aptos.d.mts +3 -3
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptos.mjs.map +1 -1
- package/dist/esm/api/aptosConfig.d.mts +1 -1
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/aptosConfig.mjs.map +1 -1
- package/dist/esm/api/coin.d.mts +1 -1
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/coin.mjs.map +1 -1
- package/dist/esm/api/digitalAsset.d.mts +2 -2
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/digitalAsset.mjs.map +1 -1
- package/dist/esm/api/faucet.d.mts +1 -1
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/faucet.mjs.map +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +2 -2
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/fungibleAsset.mjs.map +1 -1
- package/dist/esm/api/general.d.mts +1 -1
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/general.mjs.map +1 -1
- package/dist/esm/api/index.d.mts +3 -3
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/index.mjs.map +1 -1
- package/dist/esm/api/keyless.d.mts +3 -3
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/keyless.mjs.map +1 -1
- package/dist/esm/api/object.d.mts +1 -1
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/object.mjs.map +1 -1
- package/dist/esm/api/staking.d.mts +1 -1
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/staking.mjs.map +1 -1
- package/dist/esm/api/table.d.mts +1 -1
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/table.mjs.map +1 -1
- package/dist/esm/api/transaction.d.mts +2 -2
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transaction.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/helpers.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/helpers.mjs +1 -1
- package/dist/esm/api/transactionSubmission/helpers.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/management.d.mts +2 -2
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/management.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +2 -2
- package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/simulate.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +1 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.mjs.map +1 -1
- package/dist/esm/api/utils.d.mts +1 -1
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/api/utils.mjs.map +1 -1
- package/dist/esm/bcs/consts.d.mts +1 -1
- package/dist/esm/bcs/consts.mjs +1 -1
- package/dist/esm/bcs/consts.mjs.map +1 -1
- package/dist/esm/bcs/deserializer.d.mts +1 -1
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/deserializer.mjs.map +1 -1
- package/dist/esm/bcs/index.d.mts +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/index.mjs.map +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs.map +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.mjs.map +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.mjs.map +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs.map +1 -1
- package/dist/esm/bcs/serializer.d.mts +1 -1
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/bcs/serializer.mjs.map +1 -1
- package/dist/esm/cli/index.d.mts +1 -1
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/index.mjs.map +1 -1
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/cli/localNode.mjs.map +1 -1
- package/dist/esm/cli/move.d.mts +1 -1
- package/dist/esm/cli/move.mjs +1 -1
- package/dist/esm/cli/move.mjs.map +1 -1
- package/dist/esm/client/core.d.mts +1 -1
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/core.mjs.map +1 -1
- package/dist/esm/client/get.d.mts +1 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/get.mjs.map +1 -1
- package/dist/esm/client/index.d.mts +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/index.mjs.map +1 -1
- package/dist/esm/client/post.d.mts +1 -1
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/client/post.mjs.map +1 -1
- package/dist/esm/core/account/index.d.mts +2 -2
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/index.mjs.map +1 -1
- package/dist/esm/core/account/utils/address.d.mts +13 -2
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/address.mjs.map +1 -1
- package/dist/esm/core/account/utils/index.d.mts +2 -2
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/account/utils/index.mjs.map +1 -1
- package/dist/esm/core/accountAddress.d.mts +1 -1
- package/dist/esm/core/accountAddress.mjs +3 -1
- package/dist/esm/core/accountAddress.mjs.map +1 -1
- package/dist/esm/core/authenticationKey.d.mts +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/authenticationKey.mjs.map +1 -1
- package/dist/esm/core/common.mjs +1 -1
- package/dist/esm/core/common.mjs.map +1 -1
- package/dist/esm/core/crypto/abstraction.d.mts +1 -1
- package/dist/esm/core/crypto/abstraction.mjs +1 -1
- package/dist/esm/core/crypto/abstraction.mjs.map +1 -1
- package/dist/esm/core/crypto/deserializationUtils.d.mts +1 -1
- package/dist/esm/core/crypto/deserializationUtils.mjs +1 -1
- package/dist/esm/core/crypto/deserializationUtils.mjs.map +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +1 -1
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.mjs.map +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +1 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.mjs.map +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -2
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.mjs.map +1 -1
- package/dist/esm/core/crypto/hdKey.mjs +1 -1
- package/dist/esm/core/crypto/hdKey.mjs.map +1 -1
- package/dist/esm/core/crypto/index.d.mts +3 -2
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/index.mjs.map +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +2 -2
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/keyless.mjs.map +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +1 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.mjs.map +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +1 -1
- package/dist/esm/core/crypto/multiKey.mjs +3 -1
- package/dist/esm/core/crypto/multiKey.mjs.map +1 -1
- package/dist/esm/core/crypto/poseidon.mjs +1 -1
- package/dist/esm/core/crypto/poseidon.mjs.map +1 -1
- package/dist/esm/core/crypto/privateKey.d.mts +1 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/privateKey.mjs.map +1 -1
- package/dist/esm/core/crypto/proof.d.mts +1 -1
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/proof.mjs.map +1 -1
- package/dist/esm/core/crypto/publicKey.d.mts +1 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.mjs.map +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.mjs.map +1 -1
- package/dist/esm/core/crypto/secp256r1.d.mts +306 -0
- package/dist/esm/core/crypto/secp256r1.mjs +2 -0
- package/dist/esm/core/crypto/secp256r1.mjs.map +1 -0
- package/dist/esm/core/crypto/signature.d.mts +1 -1
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/signature.mjs.map +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +1 -1
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.mjs.map +1 -1
- package/dist/esm/core/crypto/types.d.mts +1 -1
- package/dist/esm/core/crypto/types.mjs +0 -1
- package/dist/esm/core/crypto/utils.d.mts +1 -1
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/crypto/utils.mjs.map +1 -1
- package/dist/esm/core/hex.d.mts +1 -1
- package/dist/esm/core/hex.mjs +1 -1
- package/dist/esm/core/hex.mjs.map +1 -1
- package/dist/esm/core/index.d.mts +4 -3
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/core/index.mjs.map +1 -1
- package/dist/esm/errors/index.d.mts +1 -1
- package/dist/esm/errors/index.mjs +6 -1
- package/dist/esm/errors/index.mjs.map +1 -1
- package/dist/esm/{federatedKeyless-CUPEnP-W.d.mts → federatedKeyless-CTzDAQTu.d.mts} +1 -1
- package/dist/esm/index.d.mts +5 -4
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/internal/abstraction.d.mts +1 -1
- package/dist/esm/internal/abstraction.mjs +1 -1
- package/dist/esm/internal/abstraction.mjs.map +1 -1
- package/dist/esm/internal/account.d.mts +21 -3
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/account.mjs.map +1 -1
- package/dist/esm/internal/ans.d.mts +2 -2
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/ans.mjs.map +1 -1
- package/dist/esm/internal/coin.d.mts +1 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/coin.mjs.map +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +2 -2
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/digitalAsset.mjs.map +1 -1
- package/dist/esm/internal/faucet.d.mts +1 -1
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/faucet.mjs.map +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +2 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.mjs.map +1 -1
- package/dist/esm/internal/general.d.mts +1 -1
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/general.mjs.map +1 -1
- package/dist/esm/internal/keyless.d.mts +3 -3
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/keyless.mjs.map +1 -1
- package/dist/esm/internal/object.d.mts +1 -1
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/object.mjs.map +1 -1
- package/dist/esm/internal/staking.d.mts +1 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/staking.mjs.map +1 -1
- package/dist/esm/internal/table.d.mts +1 -1
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/table.mjs.map +1 -1
- package/dist/esm/internal/transaction.d.mts +1 -1
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transaction.mjs.map +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +2 -2
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.mjs.map +1 -1
- package/dist/esm/internal/utils/index.d.mts +1 -1
- package/dist/esm/internal/utils/index.mjs +1 -1
- package/dist/esm/internal/utils/index.mjs.map +1 -1
- package/dist/esm/internal/utils/utils.d.mts +1 -1
- package/dist/esm/internal/utils/utils.mjs +1 -1
- package/dist/esm/internal/utils/utils.mjs.map +1 -1
- package/dist/esm/internal/view.d.mts +1 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/internal/view.mjs.map +1 -1
- package/dist/esm/transactions/authenticator/account.d.mts +1 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/account.mjs.map +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +1 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.mjs.map +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +1 -1
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.mjs.map +1 -1
- package/dist/esm/transactions/index.d.mts +1 -1
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/index.mjs.map +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +1 -1
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.mjs.map +1 -1
- package/dist/esm/transactions/instances/identifier.d.mts +1 -1
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.mjs.map +1 -1
- package/dist/esm/transactions/instances/index.d.mts +1 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/index.mjs.map +1 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +1 -1
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.mjs.map +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs.map +1 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs.map +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs.map +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs.map +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.mjs.map +1 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +1 -1
- package/dist/esm/transactions/instances/transactionArgument.mjs +0 -1
- package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -1
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/instances/transactionPayload.mjs.map +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.mjs.map +1 -1
- package/dist/esm/transactions/management/asyncQueue.mjs +1 -1
- package/dist/esm/transactions/management/asyncQueue.mjs.map +1 -1
- package/dist/esm/transactions/management/index.d.mts +2 -2
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/index.mjs.map +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +2 -2
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.mjs.map +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs.map +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.mjs.map +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs.map +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs.map +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs.map +1 -1
- package/dist/esm/transactions/typeTag/index.d.mts +1 -1
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.mjs.map +1 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +1 -1
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.mjs.map +1 -1
- package/dist/esm/transactions/types.d.mts +1 -1
- package/dist/esm/transactions/types.mjs +0 -1
- package/dist/esm/types/abstraction.mjs +1 -1
- package/dist/esm/types/abstraction.mjs.map +1 -1
- package/dist/esm/types/generated/queries.mjs +493 -1
- package/dist/esm/types/generated/queries.mjs.map +1 -1
- package/dist/esm/types/generated/types.mjs +1 -1
- package/dist/esm/types/generated/types.mjs.map +1 -1
- package/dist/esm/types/index.d.mts +1 -1
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/index.mjs.map +1 -1
- package/dist/esm/types/indexer.mjs +0 -1
- package/dist/esm/types/types.d.mts +1 -1
- package/dist/esm/types/types.mjs +1 -1
- package/dist/esm/types/types.mjs.map +1 -1
- package/dist/esm/utils/apiEndpoints.d.mts +1 -0
- package/dist/esm/utils/apiEndpoints.mjs +1 -1
- package/dist/esm/utils/apiEndpoints.mjs.map +1 -1
- package/dist/esm/utils/const.mjs +1 -1
- package/dist/esm/utils/const.mjs.map +1 -1
- package/dist/esm/utils/helpers.d.mts +1 -1
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/helpers.mjs.map +1 -1
- package/dist/esm/utils/index.d.mts +1 -1
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/index.mjs.map +1 -1
- package/dist/esm/utils/memoize.mjs +1 -1
- package/dist/esm/utils/memoize.mjs.map +1 -1
- package/dist/esm/utils/normalizeBundle.d.mts +1 -1
- package/dist/esm/utils/normalizeBundle.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.mjs.map +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/esm/version.mjs.map +1 -1
- package/package.json +40 -22
- package/src/api/account.ts +32 -7
- package/src/api/aptos.ts +25 -14
- package/src/core/account/utils/address.ts +22 -0
- package/src/core/crypto/index.ts +1 -0
- package/src/core/crypto/privateKey.ts +1 -0
- package/src/core/crypto/secp256k1.ts +9 -1
- package/src/core/crypto/secp256r1.ts +495 -0
- package/src/core/crypto/singleKey.ts +11 -0
- package/src/internal/account.ts +33 -0
- package/src/internal/ans.ts +1 -0
- package/src/types/types.ts +5 -0
- package/src/utils/apiEndpoints.ts +7 -0
- package/src/version.ts +1 -1
- package/dist/common/chunk-6MMUUJHX.js +0 -4
- package/dist/esm/chunk-35DKMW7Q.mjs +0 -2
- package/dist/esm/chunk-35DKMW7Q.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-4RXKALLC.mjs +0 -2
- package/dist/esm/chunk-4RXKALLC.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-56CNRT2K.mjs +0 -2
- package/dist/esm/chunk-56CNRT2K.mjs.map +0 -1
- package/dist/esm/chunk-5FI4545P.mjs +0 -2
- package/dist/esm/chunk-5FI4545P.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-6WDVDEQZ.mjs +0 -7
- package/dist/esm/chunk-6WDVDEQZ.mjs.map +0 -1
- package/dist/esm/chunk-7DQDJ2SA.mjs +0 -2
- package/dist/esm/chunk-7DQDJ2SA.mjs.map +0 -1
- package/dist/esm/chunk-7ECCT6PK.mjs +0 -1
- package/dist/esm/chunk-7ECCT6PK.mjs.map +0 -1
- package/dist/esm/chunk-A5L76YP7.mjs +0 -2
- package/dist/esm/chunk-A5L76YP7.mjs.map +0 -1
- package/dist/esm/chunk-B563XRSZ.mjs +0 -2
- package/dist/esm/chunk-B563XRSZ.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-CW35YAMN.mjs +0 -2
- package/dist/esm/chunk-CW35YAMN.mjs.map +0 -1
- package/dist/esm/chunk-DIGP2ALY.mjs +0 -4
- package/dist/esm/chunk-DIGP2ALY.mjs.map +0 -1
- package/dist/esm/chunk-DNRUDMMV.mjs +0 -2
- package/dist/esm/chunk-DNRUDMMV.mjs.map +0 -1
- package/dist/esm/chunk-EBMEXURY.mjs +0 -2
- package/dist/esm/chunk-EBMEXURY.mjs.map +0 -1
- package/dist/esm/chunk-EM52Z7T7.mjs +0 -2
- package/dist/esm/chunk-EM52Z7T7.mjs.map +0 -1
- package/dist/esm/chunk-ES2KP6BS.mjs +0 -2
- package/dist/esm/chunk-ES2KP6BS.mjs.map +0 -1
- package/dist/esm/chunk-FD6FGKYY.mjs +0 -1
- package/dist/esm/chunk-FD6FGKYY.mjs.map +0 -1
- package/dist/esm/chunk-FGFLPH5K.mjs +0 -2
- package/dist/esm/chunk-FGFLPH5K.mjs.map +0 -1
- package/dist/esm/chunk-FLZPUYXQ.mjs +0 -2
- package/dist/esm/chunk-FLZPUYXQ.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-GFFKEZ56.mjs +0 -2
- package/dist/esm/chunk-GFFKEZ56.mjs.map +0 -1
- package/dist/esm/chunk-GMQCQDW4.mjs +0 -2
- package/dist/esm/chunk-GMQCQDW4.mjs.map +0 -1
- package/dist/esm/chunk-GOXRBEIJ.mjs +0 -2
- package/dist/esm/chunk-GOXRBEIJ.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-HNBKTJPN.mjs +0 -2
- package/dist/esm/chunk-HNBKTJPN.mjs.map +0 -1
- package/dist/esm/chunk-HNBVYE3N.mjs +0 -2
- package/dist/esm/chunk-HNBVYE3N.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-IJE2LVZG.mjs +0 -2
- package/dist/esm/chunk-IJE2LVZG.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-LWL57YFU.mjs +0 -2
- package/dist/esm/chunk-LWL57YFU.mjs.map +0 -1
- package/dist/esm/chunk-MT2RJ7H3.mjs +0 -2
- package/dist/esm/chunk-MT2RJ7H3.mjs.map +0 -1
- package/dist/esm/chunk-N3O3ULF7.mjs +0 -2
- package/dist/esm/chunk-N3O3ULF7.mjs.map +0 -1
- package/dist/esm/chunk-N6YTF76Q.mjs +0 -2
- package/dist/esm/chunk-N6YTF76Q.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-OLILO7VD.mjs +0 -2
- package/dist/esm/chunk-OLILO7VD.mjs.map +0 -1
- package/dist/esm/chunk-ORMOQWWH.mjs +0 -2
- package/dist/esm/chunk-ORMOQWWH.mjs.map +0 -1
- package/dist/esm/chunk-Q4W3WJ2U.mjs +0 -2
- package/dist/esm/chunk-Q4W3WJ2U.mjs.map +0 -1
- package/dist/esm/chunk-QREVMGQZ.mjs +0 -2
- package/dist/esm/chunk-QREVMGQZ.mjs.map +0 -1
- package/dist/esm/chunk-RCSJFTST.mjs +0 -2
- package/dist/esm/chunk-RCSJFTST.mjs.map +0 -1
- package/dist/esm/chunk-RGKRCZ36.mjs +0 -4
- package/dist/esm/chunk-RGKRCZ36.mjs.map +0 -1
- package/dist/esm/chunk-ROT6S6BM.mjs +0 -2
- package/dist/esm/chunk-ROT6S6BM.mjs.map +0 -1
- package/dist/esm/chunk-RQX6JOEN.mjs +0 -2
- package/dist/esm/chunk-RQX6JOEN.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-TGRLDWXV.mjs +0 -2
- package/dist/esm/chunk-TGRLDWXV.mjs.map +0 -1
- package/dist/esm/chunk-TOBQ5UE6.mjs +0 -2
- package/dist/esm/chunk-TOBQ5UE6.mjs.map +0 -1
- package/dist/esm/chunk-UL777LTI.mjs +0 -494
- package/dist/esm/chunk-UL777LTI.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-V74WPKSY.mjs +0 -2
- package/dist/esm/chunk-V74WPKSY.mjs.map +0 -1
- package/dist/esm/chunk-WCMW2L3P.mjs +0 -2
- package/dist/esm/chunk-WCMW2L3P.mjs.map +0 -1
- package/dist/esm/chunk-WSR5EBJM.mjs +0 -2
- package/dist/esm/chunk-WSR5EBJM.mjs.map +0 -1
- package/dist/esm/chunk-XJJVJOX5.mjs +0 -2
- package/dist/esm/chunk-XJJVJOX5.mjs.map +0 -1
- package/dist/esm/chunk-XKUIMGKU.mjs +0 -2
- package/dist/esm/chunk-XKUIMGKU.mjs.map +0 -1
- package/dist/esm/chunk-YOZBVVKL.mjs +0 -2
- package/dist/esm/chunk-YOZBVVKL.mjs.map +0 -1
- package/dist/esm/chunk-ZP4DWSQA.mjs +0 -2
- package/dist/esm/chunk-ZP4DWSQA.mjs.map +0 -1
package/dist/common/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AccountAddress, a as AccountPublicKey, b as AuthenticationKey, V as VerifySignatureArgs, c as VerifySignatureAsyncArgs, S as Serializer, d as Signature, H as HexInput, D as Deserializer, P as PublicKey, E as EphemeralPublicKeyVariant, e as AptosConfig, f as Serializable, g as EphemeralCertificateVariant, Z as ZkpVariant, L as LedgerVersionArg, h as AccountAddressInput, i as
|
|
2
|
-
export { ef as ACCOUNT_ABSTRACTION_SIGNING_DATA_SALT, eb as APTOS_COIN, ec as APTOS_FA,
|
|
1
|
+
import { A as AccountAddress, a as AccountPublicKey, b as AuthenticationKey, V as VerifySignatureArgs, c as VerifySignatureAsyncArgs, S as Serializer, d as Signature, H as HexInput, D as Deserializer, P as PublicKey, E as EphemeralPublicKeyVariant, e as AptosConfig, f as Serializable, g as EphemeralCertificateVariant, Z as ZkpVariant, L as LedgerVersionArg, h as AccountAddressInput, i as PrivateKey, j as Hex, k as Ed25519PublicKey, l as AnyPublicKey, M as MultiKey, m as MultiEd25519PublicKey, n as Ed25519Signature, o as MultiEd25519Signature, p as AccountAuthenticator, q as MoveString, r as MoveVector, U as U8, s as U64, t as AnyNumber, R as RawTransaction, u as SimpleEntryFunctionArgumentTypes, v as EntryFunctionArgumentTypes, B as Bool, F as FixedBytes, w as U16, x as U32, y as U128, z as U256, I as InputGenerateTransactionPayloadDataWithRemoteABI, C as InputGenerateTransactionPayloadData, G as InputScriptData, J as MoveFunction, T as TransactionPayloadScript, K as InputEntryFunctionDataWithRemoteABI, N as TransactionPayloadEntryFunction, O as InputMultiSigDataWithRemoteABI, Q as TransactionPayloadMultiSig, W as InputEntryFunctionDataWithABI, X as InputMultiSigDataWithABI, Y as InputViewFunctionDataWithRemoteABI, _ as EntryFunction, $ as InputViewFunctionDataWithABI, a0 as AnyTransactionPayloadInstance, a1 as InputGenerateTransactionOptions, a2 as TransactionInnerPayload, a3 as InputGenerateSingleSignerRawTransactionArgs, a4 as SimpleTransaction, a5 as InputGenerateMultiAgentRawTransactionArgs, a6 as MultiAgentTransaction, a7 as InputSimulateTransactionData, a8 as AccountAuthenticatorNoAccountAuthenticator, a9 as AccountAuthenticatorEd25519, aa as AccountAuthenticatorSingleKey, ab as AccountAuthenticatorMultiKey, ac as InputSubmitTransactionData, ad as TypeArgument, ae as TypeTag, af as MoveModule, ag as FunctionABI, ah as EntryFunctionABI, ai as ViewFunctionABI, aj as AnyRawTransaction, ak as AnyRawTransactionInstance, al as AccountData, am as MoveModuleBytecode, an as CursorPaginationArgs, ao as PaginationArgs, ap as TransactionResponse, aq as MoveResource, ar as MoveStructId, as as TokenStandardArg, at as OrderByArg, au as GetAccountOwnedTokensQueryResponse, av as GetAccountOwnedTokensFromCollectionResponse, aw as GetAccountCollectionsWithOwnedTokenResponse, ax as GetAccountCoinsDataResponse, ay as WhereArg, az as GetObjectDataQueryResponse, aA as PrivateKeyInput, aB as GetCollectionDataResponse, aC as GetTokenDataResponse, aD as GetCurrentTokenOwnershipResponse, aE as GetOwnedTokensResponse, aF as GetTokenActivityResponse, aG as WaitForTransactionOptions, aH as UserTransactionResponse, aI as GetFungibleAssetMetadataResponse, aJ as GetFungibleAssetActivitiesResponse, aK as GetCurrentFungibleAssetBalancesResponse, aL as LedgerInfo, aM as Block, aN as MoveValue, aO as InputViewFunctionData, aP as InputViewFunctionJsonData, aQ as GetChainTopUserTransactionsResponse, aR as GraphqlQuery, aS as ProcessorType, aT as GetProcessorStatusResponse, aU as GetANSNameResponse, aV as GetNumberOfDelegatorsResponse, aW as GetDelegatedStakingActivitiesResponse, aX as InputSimulateTransactionOptions, aY as InputTransactionPluginData, aZ as PendingTransactionResponse, a_ as CommittedTransactionResponse, a$ as GasEstimation, b0 as Ed25519PrivateKey, b1 as TableItemRequest, b2 as GetTableItemsDataResponse, b3 as GetTableItemsMetadataResponse, b4 as SigningScheme, b5 as SigningSchemeInput, b6 as AnySignature, b7 as EntryFunctionArgument, b8 as MultiKeySignature, b9 as AccountAuthenticatorMultiEd25519, ba as AccountAuthenticatorAbstraction, bb as MoveFunctionId, bc as ClientRequest, bd as Client, be as ClientResponse, bf as AptosRequest, bg as AptosApiType, bh as AptosResponse, bi as MimeType, bj as ClientConfig } from './account-Dr4y1uZG.js';
|
|
2
|
+
export { ef as ACCOUNT_ABSTRACTION_SIGNING_DATA_SALT, eb as APTOS_COIN, ec as APTOS_FA, bu as AbstractMultiKey, bA as AccountAbstractionMessage, cz as AccountAuthenticatorVariant, dz as AccountSignature, bq as AddressInvalidReason, cB as AnyPublicKeyVariant, cD as AnySignatureVariant, cL as AptosSettings, dX as AuthenticationKeyScheme, d4 as BlockEndInfo, d5 as BlockEpilogueTransactionResponse, d1 as BlockMetadataTransactionResponse, bB as ChainId, cQ as ClientHeadersType, e8 as DEFAULT_MAX_GAS_AMOUNT, e9 as DEFAULT_TXN_EXP_SEC_FROM_NOW, ea as DEFAULT_TXN_TIMEOUT_SEC, dd as DecodedTableData, de as DeletedTableData, dY as DeriveScheme, bk as Deserializable, dC as DirectWriteSet, dg as EntryFunctionPayloadResponse, cE as EphemeralSignatureVariant, dE as Event, dD as EventGuid, eg as FIREBASE_AUTH_ISS_PATTERN, cO as FaucetConfig, bG as FeePayerRawTransaction, cM as FullNodeConfig, d$ as GenerateAccount, dZ as GenerateAccountWithEd25519, d_ as GenerateAccountWithSingleSignerSecp256k1Key, dj as GenesisPayload, d0 as GenesisTransactionResponse, cm as GetAccountAddressesForAuthKeyResponse, cn as GetEventsResponse, by as HexInvalidReason, bC as Identifier, cN as IndexerConfig, ce as InputEntryFunctionData, ck as InputGenerateMultiAgentRawTransactionData, cd as InputGenerateOrderlessTransactionOptions, ci as InputGenerateRawTransactionArgs, cc as InputGenerateSequenceNumberTransactionOptions, cj as InputGenerateSingleSignerRawTransactionData, cl as InputGenerateTransactionData, cf as InputGenerateTransactionPayloadDataWithABI, cg as InputMultiSigData, bD as ModuleId, dS as MoveAbility, dL as MoveAddressType, dT as MoveFunctionGenericTypeParam, dR as MoveFunctionVisibility, dQ as MoveModuleId, dM as MoveObjectType, bp as MoveOption, dN as MoveOptionType, dk as MoveScriptBytecode, dV as MoveStruct, dU as MoveStructField, dO as MoveStructType, dP as MoveType, dJ as MoveUint128Type, dG as MoveUint16Type, dK as MoveUint256Type, dH as MoveUint32Type, dI as MoveUint64Type, dF as MoveUint8Type, bF as MultiAgentRawTransaction, bM as MultiSig, bN as MultiSigTransactionPayload, di as MultisigPayloadResponse, e5 as Network, e6 as NetworkToChainId, e2 as NetworkToFaucetAPI, e0 as NetworkToIndexerAPI, e7 as NetworkToNetworkName, e1 as NetworkToNodeAPI, e3 as NetworkToPepperAPI, e4 as NetworkToProverAPI, co as OrderBy, cp as OrderByValue, br as ParsingError, bs as ParsingResult, cR as PluginConfig, cS as PluginSettings, cA as PrivateKeyVariants, ed as RAW_TRANSACTION_SALT, ee as RAW_TRANSACTION_WITH_DATA_SALT, bE as RawTransactionWithData, dW as RoleType, bL as Script, bI as ScriptFunctionArgument, cb as ScriptFunctionArgumentTypes, dh as ScriptPayloadResponse, cs as ScriptTransactionArgumentVariants, dB as ScriptWriteSet, bw as Secp256k1PrivateKey, bv as Secp256k1PublicKey, bx as Secp256k1Signature, bo as Serialized, d2 as StateCheckpointTransactionResponse, c6 as StructTag, cq as TokenStandard, bH as TransactionArgument, cy as TransactionAuthenticatorVariant, dt as TransactionEd25519Signature, bP as TransactionExecutable, bS as TransactionExecutableEmpty, bR as TransactionExecutableEntryFunction, bQ as TransactionExecutableScript, cv as TransactionExecutableVariants, bT as TransactionExtraConfig, bU as TransactionExtraConfigV1, cw as TransactionExtraConfigVariants, dy as TransactionFeePayerSignature, cP as TransactionGenerationConfig, bO as TransactionInnerPayloadV1, cu as TransactionInnerPayloadVariants, dx as TransactionMultiAgentSignature, dw as TransactionMultiEd25519Signature, bK as TransactionPayload, df as TransactionPayloadResponse, ct as TransactionPayloadVariants, cU as TransactionResponseType, du as TransactionSecp256k1Signature, dl as TransactionSignature, dv as TransactionSingleSenderSignature, cT as TransactionSubmitter, cx as TransactionVariants, c0 as TypeTagAddress, bV as TypeTagBool, c3 as TypeTagGeneric, c2 as TypeTagReference, c1 as TypeTagSigner, c5 as TypeTagStruct, b_ as TypeTagU128, bX as TypeTagU16, b$ as TypeTagU256, bY as TypeTagU32, bZ as TypeTagU64, bW as TypeTagU8, cr as TypeTagVariants, c4 as TypeTagVector, cJ as Uint128, cG as Uint16, cK as Uint256, cH as Uint32, cI as Uint64, cF as Uint8, d3 as ValidatorTransactionResponse, ch as ViewFunctionJsonPayload, dA as WriteSet, d6 as WriteSetChange, d7 as WriteSetChangeDeleteModule, d8 as WriteSetChangeDeleteResource, d9 as WriteSetChangeDeleteTableItem, da as WriteSetChangeWriteModule, db as WriteSetChangeWriteResource, dc as WriteSetChangeWriteTableItem, cC as anyPublicKeyVariantToString, c7 as aptosCoinStructTag, bJ as deserializeFromScriptArgument, bl as ensureBoolean, bz as hexToAsciiString, c$ as isBlockEpilogueTransactionResponse, cY as isBlockMetadataTransactionResponse, bt as isCanonicalEd25519Signature, dm as isEd25519Signature, dq as isFeePayerSignature, cX as isGenesisTransactionResponse, dp as isMultiAgentSignature, dr as isMultiEd25519Signature, cV as isPendingTransactionResponse, dn as isSecp256k1Signature, ds as isSingleSenderSignature, cZ as isStateCheckpointTransactionResponse, cW as isUserTransactionResponse, c_ as isValidatorTransactionResponse, ca as objectStructTag, c9 as optionStructTag, bm as outOfRangeErrorMessage, c8 as stringStructTag, bn as validateNumberInRange } from './account-Dr4y1uZG.js';
|
|
3
3
|
import { ProjPointType } from '@noble/curves/abstract/weierstrass';
|
|
4
4
|
import { Fp2 } from '@noble/curves/abstract/tower';
|
|
5
5
|
import EventEmitter from 'eventemitter3';
|
|
@@ -362,6 +362,17 @@ declare const createObjectAddress: (creatorAddress: AccountAddress, seed: Uint8A
|
|
|
362
362
|
* @category Account (On-Chain Model)
|
|
363
363
|
*/
|
|
364
364
|
declare const createResourceAddress: (creatorAddress: AccountAddress, seed: Uint8Array | string) => AccountAddress;
|
|
365
|
+
/**
|
|
366
|
+
* Creates a user derived object address from source address and derive_from address
|
|
367
|
+
*
|
|
368
|
+
* @param sourceAddress The source account address
|
|
369
|
+
* @param deriveFromAddress The address to derive from
|
|
370
|
+
*
|
|
371
|
+
* @returns The user derived object address
|
|
372
|
+
* @group Implementation
|
|
373
|
+
* @category Account (On-Chain Model)
|
|
374
|
+
*/
|
|
375
|
+
declare const createUserDerivedObjectAddress: (sourceAddress: AccountAddress, deriveFromAddress: AccountAddress) => AccountAddress;
|
|
365
376
|
/**
|
|
366
377
|
* Creates a token object address from creator address, collection name and token name
|
|
367
378
|
*
|
|
@@ -1555,6 +1566,303 @@ declare function bigIntToBytesLE(value: bigint | number, length: number): Uint8A
|
|
|
1555
1566
|
*/
|
|
1556
1567
|
declare function poseidonHash(inputs: (number | bigint | string)[]): bigint;
|
|
1557
1568
|
|
|
1569
|
+
/**
|
|
1570
|
+
* Represents a Secp256r1 ECDSA public key.
|
|
1571
|
+
*
|
|
1572
|
+
* @extends PublicKey
|
|
1573
|
+
* @property LENGTH - The length of the Secp256r1 public key in bytes.
|
|
1574
|
+
* @group Implementation
|
|
1575
|
+
* @category Serialization
|
|
1576
|
+
*/
|
|
1577
|
+
declare class Secp256r1PublicKey extends PublicKey {
|
|
1578
|
+
static readonly LENGTH: number;
|
|
1579
|
+
static readonly COMPRESSED_LENGTH: number;
|
|
1580
|
+
private readonly key;
|
|
1581
|
+
readonly keyType: string;
|
|
1582
|
+
/**
|
|
1583
|
+
* Create a new PublicKey instance from a HexInput, which can be a string or Uint8Array.
|
|
1584
|
+
* This constructor validates the length of the provided public key data.
|
|
1585
|
+
*
|
|
1586
|
+
* @param hexInput - A HexInput (string or Uint8Array) representing the public key data.
|
|
1587
|
+
* @throws Error if the length of the public key data is not equal to Secp256r1PublicKey.LENGTH or COMPRESSED_LENGTH.
|
|
1588
|
+
* @group Implementation
|
|
1589
|
+
* @category Serialization
|
|
1590
|
+
*/
|
|
1591
|
+
constructor(hexInput: HexInput);
|
|
1592
|
+
/**
|
|
1593
|
+
* Get the data as a Uint8Array representation.
|
|
1594
|
+
*
|
|
1595
|
+
* @returns Uint8Array representation of the data.
|
|
1596
|
+
* @group Implementation
|
|
1597
|
+
* @category Serialization
|
|
1598
|
+
*/
|
|
1599
|
+
toUint8Array(): Uint8Array;
|
|
1600
|
+
/**
|
|
1601
|
+
* Get the public key as a hex string with the 0x prefix.
|
|
1602
|
+
*
|
|
1603
|
+
* @returns string representation of the public key.
|
|
1604
|
+
* @group Implementation
|
|
1605
|
+
* @category Serialization
|
|
1606
|
+
*/
|
|
1607
|
+
toString(): string;
|
|
1608
|
+
/**
|
|
1609
|
+
* Converts the public key to BCS (Binary Canonical Serialization) bytes.
|
|
1610
|
+
* This function serializes the public key data into a byte array format suitable for transmission or storage.
|
|
1611
|
+
*
|
|
1612
|
+
* @returns Uint8Array representation of the serialized public key.
|
|
1613
|
+
* @group Implementation
|
|
1614
|
+
* @category Serialization
|
|
1615
|
+
*/
|
|
1616
|
+
bcsToBytes(): Uint8Array<ArrayBufferLike>;
|
|
1617
|
+
/**
|
|
1618
|
+
* Verifies a Secp256r1 signature against the public key.
|
|
1619
|
+
*
|
|
1620
|
+
* This function checks the validity of a signature for a given message.
|
|
1621
|
+
*
|
|
1622
|
+
* @param args - The arguments for verifying the signature.
|
|
1623
|
+
* @param args.message - The message that was signed.
|
|
1624
|
+
* @param args.signature - The signature to verify against the public key.
|
|
1625
|
+
* @group Implementation
|
|
1626
|
+
* @category Serialization
|
|
1627
|
+
*/
|
|
1628
|
+
verifySignature(args: {
|
|
1629
|
+
message: HexInput;
|
|
1630
|
+
signature: Signature;
|
|
1631
|
+
}): boolean;
|
|
1632
|
+
/**
|
|
1633
|
+
* Note: Secp256r1Signatures can be verified synchronously.
|
|
1634
|
+
*
|
|
1635
|
+
* Verifies the provided signature against the given message.
|
|
1636
|
+
* This function helps ensure the integrity and authenticity of the message by confirming that the signature is valid.
|
|
1637
|
+
*
|
|
1638
|
+
* @param args - The arguments for signature verification.
|
|
1639
|
+
* @param args.message - The message that was signed.
|
|
1640
|
+
* @param args.signature - The signature to verify, which must be an instance of Secp256r1Signature.
|
|
1641
|
+
* @returns A boolean indicating whether the signature is valid for the given message.
|
|
1642
|
+
* @group Implementation
|
|
1643
|
+
* @category Serialization
|
|
1644
|
+
*/
|
|
1645
|
+
verifySignatureAsync(args: VerifySignatureAsyncArgs): Promise<boolean>;
|
|
1646
|
+
/**
|
|
1647
|
+
* Serializes the data into a byte array using the provided serializer.
|
|
1648
|
+
* This function is essential for converting data into a format suitable for transmission or storage.
|
|
1649
|
+
*
|
|
1650
|
+
* @param serializer - The serializer instance used to convert the data.
|
|
1651
|
+
* @group Implementation
|
|
1652
|
+
* @category Serialization
|
|
1653
|
+
*/
|
|
1654
|
+
serialize(serializer: Serializer): void;
|
|
1655
|
+
/**
|
|
1656
|
+
* Deserializes a Secp256r1PublicKey from the provided deserializer.
|
|
1657
|
+
* This function allows you to reconstruct a Secp256r1PublicKey object from its serialized byte representation.
|
|
1658
|
+
*
|
|
1659
|
+
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
1660
|
+
* @group Implementation
|
|
1661
|
+
* @category Serialization
|
|
1662
|
+
*/
|
|
1663
|
+
static deserialize(deserializer: Deserializer): Secp256r1PublicKey;
|
|
1664
|
+
/**
|
|
1665
|
+
* Loads a Secp256r1PublicKey from the provided deserializer.
|
|
1666
|
+
*
|
|
1667
|
+
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
1668
|
+
* @group Implementation
|
|
1669
|
+
* @category Serialization
|
|
1670
|
+
*/
|
|
1671
|
+
static load(deserializer: Deserializer): Secp256r1PublicKey;
|
|
1672
|
+
/**
|
|
1673
|
+
* Determines if the provided public key is a valid instance of a Secp256r1 public key.
|
|
1674
|
+
* This function checks for the presence of a "key" property and validates the length of the key data.
|
|
1675
|
+
*
|
|
1676
|
+
* @param publicKey - The public key to validate.
|
|
1677
|
+
* @returns A boolean indicating whether the public key is a valid Secp256r1 public key.
|
|
1678
|
+
* @group Implementation
|
|
1679
|
+
* @category Serialization
|
|
1680
|
+
*/
|
|
1681
|
+
static isInstance(publicKey: PublicKey): publicKey is Secp256r1PublicKey;
|
|
1682
|
+
/**
|
|
1683
|
+
* Generates an authentication key from the public key using the Secp256r1 scheme.
|
|
1684
|
+
* This function is essential for creating a secure authentication key that can be used for further cryptographic operations.
|
|
1685
|
+
*
|
|
1686
|
+
* @returns {AuthenticationKey} The generated authentication key.
|
|
1687
|
+
* @group Implementation
|
|
1688
|
+
* @category Serialization
|
|
1689
|
+
*/
|
|
1690
|
+
authKey(): AuthenticationKey;
|
|
1691
|
+
}
|
|
1692
|
+
/**
|
|
1693
|
+
* Represents a Secp256r1 ECDSA private key, providing functionality to create, sign messages,
|
|
1694
|
+
* derive public keys, and serialize/deserialize the key.
|
|
1695
|
+
* @group Implementation
|
|
1696
|
+
* @category Serialization
|
|
1697
|
+
*/
|
|
1698
|
+
declare class Secp256r1PrivateKey extends PrivateKey {
|
|
1699
|
+
/**
|
|
1700
|
+
* Length of Secp256r1 ecdsa private key
|
|
1701
|
+
* @group Implementation
|
|
1702
|
+
* @category Serialization
|
|
1703
|
+
*/
|
|
1704
|
+
static readonly LENGTH: number;
|
|
1705
|
+
/**
|
|
1706
|
+
* The private key bytes
|
|
1707
|
+
* @private
|
|
1708
|
+
* @group Implementation
|
|
1709
|
+
* @category Serialization
|
|
1710
|
+
*/
|
|
1711
|
+
private readonly key;
|
|
1712
|
+
/**
|
|
1713
|
+
* Create a new PrivateKey instance from a Uint8Array or String.
|
|
1714
|
+
*
|
|
1715
|
+
* [Read about AIP-80](https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md)
|
|
1716
|
+
*
|
|
1717
|
+
* @param hexInput A HexInput (string or Uint8Array)
|
|
1718
|
+
* @param strict If true, private key must AIP-80 compliant.
|
|
1719
|
+
* @group Implementation
|
|
1720
|
+
* @category Serialization
|
|
1721
|
+
*/
|
|
1722
|
+
constructor(hexInput: HexInput, strict?: boolean);
|
|
1723
|
+
/**
|
|
1724
|
+
* Get the private key in bytes (Uint8Array).
|
|
1725
|
+
*
|
|
1726
|
+
* @returns
|
|
1727
|
+
* @group Implementation
|
|
1728
|
+
* @category Serialization
|
|
1729
|
+
*/
|
|
1730
|
+
toUint8Array(): Uint8Array;
|
|
1731
|
+
/**
|
|
1732
|
+
* Get the private key as a string representation.
|
|
1733
|
+
*
|
|
1734
|
+
* @returns string representation of the private key
|
|
1735
|
+
* @group Implementation
|
|
1736
|
+
* @category Serialization
|
|
1737
|
+
*/
|
|
1738
|
+
toString(): string;
|
|
1739
|
+
/**
|
|
1740
|
+
* Get the private key as a hex string with the 0x prefix.
|
|
1741
|
+
*
|
|
1742
|
+
* @returns string representation of the private key.
|
|
1743
|
+
*/
|
|
1744
|
+
toHexString(): string;
|
|
1745
|
+
/**
|
|
1746
|
+
* Sign the given message with the private key.
|
|
1747
|
+
* This function generates a cryptographic signature for the provided message.
|
|
1748
|
+
*
|
|
1749
|
+
* @param message - A message in HexInput format to be signed.
|
|
1750
|
+
* @returns Signature - The generated signature for the provided message.
|
|
1751
|
+
* @group Implementation
|
|
1752
|
+
* @category Serialization
|
|
1753
|
+
*/
|
|
1754
|
+
sign(message: HexInput): Secp256r1Signature;
|
|
1755
|
+
/**
|
|
1756
|
+
* Serializes the data into a byte array using the provided serializer.
|
|
1757
|
+
* This function is essential for converting data into a format suitable for transmission or storage.
|
|
1758
|
+
*
|
|
1759
|
+
* @param serializer - The serializer instance used to convert the data.
|
|
1760
|
+
* @group Implementation
|
|
1761
|
+
* @category Serialization
|
|
1762
|
+
*/
|
|
1763
|
+
serialize(serializer: Serializer): void;
|
|
1764
|
+
/**
|
|
1765
|
+
* Deserializes a Secp256r1PrivateKey from the provided deserializer.
|
|
1766
|
+
* This function allows you to reconstruct a Secp256r1PrivateKey object from its serialized byte representation.
|
|
1767
|
+
*
|
|
1768
|
+
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
1769
|
+
* @group Implementation
|
|
1770
|
+
* @category Serialization
|
|
1771
|
+
*/
|
|
1772
|
+
static deserialize(deserializer: Deserializer): Secp256r1PrivateKey;
|
|
1773
|
+
/**
|
|
1774
|
+
* Generate a new random private key.
|
|
1775
|
+
*
|
|
1776
|
+
* @returns Secp256r1PrivateKey - A newly generated Secp256r1 private key.
|
|
1777
|
+
* @group Implementation
|
|
1778
|
+
* @category Serialization
|
|
1779
|
+
*/
|
|
1780
|
+
static generate(): Secp256r1PrivateKey;
|
|
1781
|
+
/**
|
|
1782
|
+
* Derive the Secp256r1PublicKey from this private key.
|
|
1783
|
+
*
|
|
1784
|
+
* @returns Secp256r1PublicKey The derived public key.
|
|
1785
|
+
* @group Implementation
|
|
1786
|
+
* @category Serialization
|
|
1787
|
+
*/
|
|
1788
|
+
publicKey(): Secp256r1PublicKey;
|
|
1789
|
+
}
|
|
1790
|
+
declare class WebAuthnSignature extends Signature {
|
|
1791
|
+
signature: Hex;
|
|
1792
|
+
authenticatorData: Hex;
|
|
1793
|
+
clientDataJSON: Hex;
|
|
1794
|
+
constructor(signature: HexInput, authenticatorData: HexInput, clientDataJSON: HexInput);
|
|
1795
|
+
toUint8Array(): Uint8Array<ArrayBufferLike>;
|
|
1796
|
+
serialize(serializer: Serializer): void;
|
|
1797
|
+
bcsToBytes(): Uint8Array<ArrayBufferLike>;
|
|
1798
|
+
bcsToHex(): Hex;
|
|
1799
|
+
toStringWithoutPrefix(): string;
|
|
1800
|
+
static deserialize(deserializer: Deserializer): WebAuthnSignature;
|
|
1801
|
+
}
|
|
1802
|
+
/**
|
|
1803
|
+
* Represents a signature of a message signed using a Secp256r1 ECDSA private key.
|
|
1804
|
+
*
|
|
1805
|
+
* @group Implementation
|
|
1806
|
+
* @category Serialization
|
|
1807
|
+
*/
|
|
1808
|
+
declare class Secp256r1Signature extends Signature {
|
|
1809
|
+
/**
|
|
1810
|
+
* Secp256r1 ecdsa signatures are 256-bit.
|
|
1811
|
+
* @group Implementation
|
|
1812
|
+
* @category Serialization
|
|
1813
|
+
*/
|
|
1814
|
+
static readonly LENGTH = 64;
|
|
1815
|
+
/**
|
|
1816
|
+
* The signature bytes
|
|
1817
|
+
* @private
|
|
1818
|
+
* @group Implementation
|
|
1819
|
+
* @category Serialization
|
|
1820
|
+
*/
|
|
1821
|
+
private readonly data;
|
|
1822
|
+
/**
|
|
1823
|
+
* Create a new Signature instance from a Uint8Array or String.
|
|
1824
|
+
*
|
|
1825
|
+
* @param hexInput A HexInput (string or Uint8Array)
|
|
1826
|
+
* @group Implementation
|
|
1827
|
+
* @category Serialization
|
|
1828
|
+
*/
|
|
1829
|
+
constructor(hexInput: HexInput);
|
|
1830
|
+
/**
|
|
1831
|
+
* Get the signature in bytes (Uint8Array).
|
|
1832
|
+
*
|
|
1833
|
+
* @returns Uint8Array representation of the signature
|
|
1834
|
+
* @group Implementation
|
|
1835
|
+
* @category Serialization
|
|
1836
|
+
*/
|
|
1837
|
+
toUint8Array(): Uint8Array;
|
|
1838
|
+
/**
|
|
1839
|
+
* Get the signature as a hex string with the 0x prefix.
|
|
1840
|
+
*
|
|
1841
|
+
* @returns string representation of the signature
|
|
1842
|
+
* @group Implementation
|
|
1843
|
+
* @category Serialization
|
|
1844
|
+
*/
|
|
1845
|
+
toString(): string;
|
|
1846
|
+
/**
|
|
1847
|
+
* Serializes the data into a byte array using the provided serializer.
|
|
1848
|
+
* This function is essential for converting data into a format suitable for transmission or storage.
|
|
1849
|
+
*
|
|
1850
|
+
* @param serializer - The serializer instance used to convert the data.
|
|
1851
|
+
* @group Implementation
|
|
1852
|
+
* @category Serialization
|
|
1853
|
+
*/
|
|
1854
|
+
serialize(serializer: Serializer): void;
|
|
1855
|
+
/**
|
|
1856
|
+
* Deserializes a Secp256r1Signature from the provided deserializer.
|
|
1857
|
+
* This function allows you to reconstruct a Secp256r1Signature object from its serialized byte representation.
|
|
1858
|
+
*
|
|
1859
|
+
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
1860
|
+
* @group Implementation
|
|
1861
|
+
* @category Serialization
|
|
1862
|
+
*/
|
|
1863
|
+
static deserialize(deserializer: Deserializer): Secp256r1Signature;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1558
1866
|
type BaseAccountPublicKey = Ed25519PublicKey | AnyPublicKey | MultiKey | MultiEd25519PublicKey;
|
|
1559
1867
|
|
|
1560
1868
|
/**
|
|
@@ -3173,6 +3481,9 @@ declare class Account$1 {
|
|
|
3173
3481
|
/**
|
|
3174
3482
|
* Queries the current amount of a specified coin held by an account.
|
|
3175
3483
|
*
|
|
3484
|
+
* @deprecated Use `getBalance({ accountAddress, asset })` instead.
|
|
3485
|
+
* This method is slated for removal in a future release.
|
|
3486
|
+
*
|
|
3176
3487
|
* @param args The parameters for querying the account's coin amount.
|
|
3177
3488
|
* @param args.accountAddress The account address to query for the coin amount.
|
|
3178
3489
|
* @param args.coinType The coin type to query. Note: If not provided, it may be automatically populated if `faMetadataAddress`
|
|
@@ -3189,13 +3500,9 @@ declare class Account$1 {
|
|
|
3189
3500
|
* const aptos = new Aptos(config);
|
|
3190
3501
|
*
|
|
3191
3502
|
* async function runExample() {
|
|
3192
|
-
* //
|
|
3193
|
-
* const
|
|
3194
|
-
*
|
|
3195
|
-
* coinType: "0x1::aptos_coin::AptosCoin" // specify the coin type
|
|
3196
|
-
* });
|
|
3197
|
-
*
|
|
3198
|
-
* console.log(`Account coin amount: ${accountCoinAmount}`);
|
|
3503
|
+
* // Prefer the new API
|
|
3504
|
+
* const amount = await aptos.getBalance({ accountAddress: "0x1", asset: "0x1::aptos_coin::AptosCoin" });
|
|
3505
|
+
* console.log(`Balance: ${amount}`);
|
|
3199
3506
|
* }
|
|
3200
3507
|
* runExample().catch(console.error);
|
|
3201
3508
|
* ```
|
|
@@ -3206,6 +3513,28 @@ declare class Account$1 {
|
|
|
3206
3513
|
coinType?: MoveStructId;
|
|
3207
3514
|
faMetadataAddress?: AccountAddressInput;
|
|
3208
3515
|
}): Promise<number>;
|
|
3516
|
+
/**
|
|
3517
|
+
* Retrieves the balance for an account and asset.
|
|
3518
|
+
*
|
|
3519
|
+
* @param args The parameters for the balance query.
|
|
3520
|
+
* @param args.accountAddress The account address to query.
|
|
3521
|
+
* @param args.asset The asset to query: Move struct ID (e.g., `0x1::aptos_coin::AptosCoin`) or FA metadata address.
|
|
3522
|
+
* @returns The balance as a number.
|
|
3523
|
+
*
|
|
3524
|
+
* @example
|
|
3525
|
+
* ```ts
|
|
3526
|
+
* const aptos = new Aptos(new AptosConfig());
|
|
3527
|
+
* // APT coin by type
|
|
3528
|
+
* const apt = await aptos.getBalance({ accountAddress: "0x1", asset: "0x1::aptos_coin::AptosCoin" });
|
|
3529
|
+
* // Some FA by metadata address
|
|
3530
|
+
* const fa = await aptos.getBalance({ accountAddress: "0x1", asset: "0xa" });
|
|
3531
|
+
* ```
|
|
3532
|
+
* @group Account
|
|
3533
|
+
*/
|
|
3534
|
+
getBalance(args: {
|
|
3535
|
+
accountAddress: AccountAddressInput;
|
|
3536
|
+
asset: MoveStructId | AccountAddressInput;
|
|
3537
|
+
}): Promise<number>;
|
|
3209
3538
|
/**
|
|
3210
3539
|
* Queries an account's owned objects.
|
|
3211
3540
|
*
|
|
@@ -10314,4 +10643,4 @@ declare class AptosApiError extends Error {
|
|
|
10314
10643
|
constructor({ apiType, aptosRequest, aptosResponse }: AptosApiErrorOpts);
|
|
10315
10644
|
}
|
|
10316
10645
|
|
|
10317
|
-
export { APTOS_BIP44_REGEX, APTOS_HARDENED_REGEX, AbstractKeylessAccount, AbstractPublicKey, AbstractSignature, AbstractedAccount, Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorAbstraction, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorNoAccountAuthenticator, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AccountUtils, AnyNumber, AnyPublicKey, AnyRawTransaction, AnyRawTransactionInstance, AnySignature, AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, AptosResponse, AuthenticationKey, type BaseAccountPublicKey, Block, Bool, CKDPriv, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, CursorPaginationArgs, DerivableAbstractedAccount, type DerivedKeys, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, EntryFunctionABI, EntryFunctionArgument, EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FederatedKeylessAccount, FederatedKeylessPublicKey, FixedBytes, FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16ProofAndStatement, Groth16VerificationKey, Groth16Zkp, HARDENED_OFFSET, HexInput, InputEntryFunctionDataWithABI, InputEntryFunctionDataWithRemoteABI, InputGenerateMultiAgentRawTransactionArgs, InputGenerateSingleSignerRawTransactionArgs, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData, InputGenerateTransactionPayloadDataWithRemoteABI, InputMultiSigDataWithABI, InputMultiSigDataWithRemoteABI, InputScriptData, InputSimulateTransactionData, InputSimulateTransactionOptions, InputSubmitTransactionData, InputTransactionPluginData, InputViewFunctionData, InputViewFunctionDataWithABI, InputViewFunctionDataWithRemoteABI, InputViewFunctionJsonData, KeyType, KeylessAccount, KeylessConfiguration, KeylessError, KeylessErrorCategory, KeylessErrorResolutionTip, KeylessErrorType, KeylessPublicKey, KeylessSignature, type KeylessSigner, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, MoveFunction, MoveFunctionId, MoveJWK, MoveModule, MoveModuleBytecode, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentTransaction, MultiEd25519Account, MultiEd25519PublicKey, MultiEd25519Signature, type MultiEd25519SignerConstructorArgs, MultiKey, MultiKeyAccount, MultiKeySignature, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, PrivateKey, type PrivateKeyFromDerivationPathArgs, PrivateKeyInput, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RawTransaction, RotationProofChallenge, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySigner, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, type SingleKeySignerOrLegacyEd25519Account, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionAndProof, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionInnerPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, TypeArgument, TypeTag, TypeTagParserError, TypeTagParserErrorType, U128, U16, U256, U32, U64, U8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, VerifySignatureArgs, VerifySignatureAsyncArgs, type VerifySingleKeySignatureArgs, ViewFunctionABI, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosRequest, base64UrlDecode, base64UrlToBytes, bigIntToBytesLE, buildTransaction, bytesToBigIntLE, checkOrConvertArgument, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, convertArgument, convertNumber, convertPayloadToInnerPayload, createObjectAddress, createResourceAddress, createTokenAddress, deriveKey, deriveTransactionType, deserializePublicKey, deserializeSignature, fetchEntryFunctionAbi, fetchFunctionAbi, fetchJWK, fetchModuleAbi, fetchMoveFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, floorToWholeHour, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getErrorMessage, getFunctionParts, getIssAudAndUidVal, getKeylessConfig, getKeylessJWKs, getPageWithObfuscatedCursor, hashStrToField, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isEmptyOption, isEncodedEntryFunctionArgument, isEncodedStruct, isKeylessSigner, isLargeNumber, isNumber, isScriptDataInput, isSingleKeySigner, isString, isValidBIP44Path, isValidFunctionInfo, isValidHardenedPath, mnemonicToSeed, normalizeBundle, nowInSeconds, padAndPackBytesWithLen, paginateWithCursor, paginateWithObfuscatedCursor, pairedFaMetadataAddress, parseEncodedStruct, parseJwtHeader, parseTypeTag, poseidonHash, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, sleep, splitPath, standardizeTypeTags, throwTypeMismatch, truncateAddress, verifyKeylessSignature, verifyKeylessSignatureWithJwkAndConfig };
|
|
10646
|
+
export { APTOS_BIP44_REGEX, APTOS_HARDENED_REGEX, AbstractKeylessAccount, AbstractPublicKey, AbstractSignature, AbstractedAccount, Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorAbstraction, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorNoAccountAuthenticator, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AccountUtils, AnyNumber, AnyPublicKey, AnyRawTransaction, AnyRawTransactionInstance, AnySignature, AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, AptosResponse, AuthenticationKey, type BaseAccountPublicKey, Block, Bool, CKDPriv, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, CursorPaginationArgs, DerivableAbstractedAccount, type DerivedKeys, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, EntryFunctionABI, EntryFunctionArgument, EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FederatedKeylessAccount, FederatedKeylessPublicKey, FixedBytes, FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16ProofAndStatement, Groth16VerificationKey, Groth16Zkp, HARDENED_OFFSET, Hex, HexInput, InputEntryFunctionDataWithABI, InputEntryFunctionDataWithRemoteABI, InputGenerateMultiAgentRawTransactionArgs, InputGenerateSingleSignerRawTransactionArgs, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData, InputGenerateTransactionPayloadDataWithRemoteABI, InputMultiSigDataWithABI, InputMultiSigDataWithRemoteABI, InputScriptData, InputSimulateTransactionData, InputSimulateTransactionOptions, InputSubmitTransactionData, InputTransactionPluginData, InputViewFunctionData, InputViewFunctionDataWithABI, InputViewFunctionDataWithRemoteABI, InputViewFunctionJsonData, KeyType, KeylessAccount, KeylessConfiguration, KeylessError, KeylessErrorCategory, KeylessErrorResolutionTip, KeylessErrorType, KeylessPublicKey, KeylessSignature, type KeylessSigner, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, MoveFunction, MoveFunctionId, MoveJWK, MoveModule, MoveModuleBytecode, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentTransaction, MultiEd25519Account, MultiEd25519PublicKey, MultiEd25519Signature, type MultiEd25519SignerConstructorArgs, MultiKey, MultiKeyAccount, MultiKeySignature, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, PrivateKey, type PrivateKeyFromDerivationPathArgs, PrivateKeyInput, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RawTransaction, RotationProofChallenge, Secp256r1PrivateKey, Secp256r1PublicKey, Secp256r1Signature, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySigner, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, type SingleKeySignerOrLegacyEd25519Account, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionAndProof, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionInnerPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, TypeArgument, TypeTag, TypeTagParserError, TypeTagParserErrorType, U128, U16, U256, U32, U64, U8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, VerifySignatureArgs, VerifySignatureAsyncArgs, type VerifySingleKeySignatureArgs, ViewFunctionABI, WaitForTransactionOptions, WebAuthnSignature, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosRequest, base64UrlDecode, base64UrlToBytes, bigIntToBytesLE, buildTransaction, bytesToBigIntLE, checkOrConvertArgument, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, convertArgument, convertNumber, convertPayloadToInnerPayload, createObjectAddress, createResourceAddress, createTokenAddress, createUserDerivedObjectAddress, deriveKey, deriveTransactionType, deserializePublicKey, deserializeSignature, fetchEntryFunctionAbi, fetchFunctionAbi, fetchJWK, fetchModuleAbi, fetchMoveFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, floorToWholeHour, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getErrorMessage, getFunctionParts, getIssAudAndUidVal, getKeylessConfig, getKeylessJWKs, getPageWithObfuscatedCursor, hashStrToField, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isEmptyOption, isEncodedEntryFunctionArgument, isEncodedStruct, isKeylessSigner, isLargeNumber, isNumber, isScriptDataInput, isSingleKeySigner, isString, isValidBIP44Path, isValidFunctionInfo, isValidHardenedPath, mnemonicToSeed, normalizeBundle, nowInSeconds, padAndPackBytesWithLen, paginateWithCursor, paginateWithObfuscatedCursor, pairedFaMetadataAddress, parseEncodedStruct, parseJwtHeader, parseTypeTag, poseidonHash, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, sleep, splitPath, standardizeTypeTags, throwTypeMismatch, truncateAddress, verifyKeylessSignature, verifyKeylessSignatureWithJwkAndConfig };
|