@moveindustries/ts-sdk 5.1.5 → 5.1.7
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 +241 -43
- package/dist/common/{accountAddress-DoqkxUqw.d.ts → accountAddress-CQEq9RVR.d.ts} +6 -2
- package/dist/common/chunk-56DGDNEY.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 +393 -55
- package/dist/common/index.js +32 -32
- package/dist/common/index.js.map +1 -1
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/AbstractedAccount.mjs +1 -1
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/AccountUtils.mjs +1 -1
- package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiEd25519Account.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/account/utils.mjs +1 -1
- package/dist/esm/api/account/abstraction.mjs +1 -1
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +2 -2
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/{ans.d.mts → mns.d.mts} +390 -52
- package/dist/esm/api/mns.mjs +2 -0
- package/dist/esm/api/movement.d.mts +4 -4
- package/dist/esm/api/movement.mjs +1 -1
- package/dist/esm/api/movementConfig.mjs +1 -1
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/{chunk-KPJGWDSQ.mjs → chunk-74X3LBZR.mjs} +1 -1
- package/dist/esm/{chunk-KPJGWDSQ.mjs.map → chunk-74X3LBZR.mjs.map} +1 -1
- package/dist/esm/{chunk-YFFYA5U3.mjs → chunk-7AJK3QMK.mjs} +2 -2
- package/dist/esm/{chunk-WVF47V5E.mjs → chunk-E3O3YOFD.mjs} +2 -2
- package/dist/esm/chunk-FPHA2UD2.mjs +2 -0
- package/dist/esm/chunk-FPHA2UD2.mjs.map +1 -0
- package/dist/esm/{chunk-O7XWQTYM.mjs → chunk-GTWNSTVB.mjs} +2 -2
- package/dist/esm/{chunk-ZGBIH6MJ.mjs → chunk-HX7XBUOY.mjs} +2 -2
- package/dist/esm/chunk-LVNME34X.mjs +4 -0
- package/dist/esm/chunk-LVNME34X.mjs.map +1 -0
- package/dist/esm/chunk-LZ24RPY3.mjs +2 -0
- package/dist/esm/{chunk-P6MFR7W6.mjs.map → chunk-LZ24RPY3.mjs.map} +1 -1
- package/dist/esm/{chunk-5KMDJLYM.mjs → chunk-POOO2OP5.mjs} +2 -2
- package/dist/esm/{chunk-SZG3ZZGN.mjs → chunk-Q2IJWWWU.mjs} +2 -2
- package/dist/esm/{chunk-3KNJ4VWA.mjs → chunk-Q55N5DU3.mjs} +2 -2
- package/dist/esm/{chunk-P7DJNENM.mjs → chunk-QMRVGJFC.mjs} +2 -2
- package/dist/esm/chunk-QMRVGJFC.mjs.map +1 -0
- package/dist/esm/{chunk-UVP74ONT.mjs → chunk-SLXLZU5N.mjs} +1 -1
- package/dist/esm/chunk-SLXLZU5N.mjs.map +1 -0
- package/dist/esm/{chunk-I6YGBK5S.mjs → chunk-SSTVXHYQ.mjs} +1 -1
- package/dist/esm/chunk-SSTVXHYQ.mjs.map +1 -0
- package/dist/esm/{chunk-46MDTYYN.mjs → chunk-YXS3R2MX.mjs} +2 -2
- package/dist/esm/{chunk-7KIJGBLL.mjs → chunk-ZUWARBWT.mjs} +2 -2
- package/dist/esm/{chunk-7KIJGBLL.mjs.map → chunk-ZUWARBWT.mjs.map} +1 -1
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/crypto/abstraction.mjs +1 -1
- package/dist/esm/core/crypto/deserializationUtils.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/secp256r1.mjs +1 -1
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/errors/index.mjs +1 -1
- package/dist/esm/index.d.mts +3 -3
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/abstraction.mjs +1 -1
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/{ans.d.mts → mns.d.mts} +237 -19
- package/dist/esm/internal/mns.mjs +2 -0
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/utils/index.mjs +1 -1
- package/dist/esm/internal/utils/utils.mjs +1 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/types/index.d.mts +1 -1
- package/dist/esm/types/indexer.d.mts +6 -2
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/src/account/SingleKeyAccount.ts +1 -1
- package/src/api/account/abstraction.ts +1 -1
- package/src/api/account.ts +3 -3
- package/src/api/coin.ts +1 -1
- package/src/api/digitalAsset.ts +1 -1
- package/src/api/faucet.ts +1 -1
- package/src/api/fungibleAsset.ts +1 -1
- package/src/api/index.ts +0 -1
- package/src/api/keyless.ts +1 -1
- package/src/api/{ans.ts → mns.ts} +438 -52
- package/src/api/movement.ts +18 -17
- package/src/api/movementConfig.ts +3 -3
- package/src/api/object.ts +1 -1
- package/src/api/staking.ts +1 -1
- package/src/api/transactionSubmission/build.ts +1 -4
- package/src/bcs/index.ts +0 -1
- package/src/bcs/serializable/moveStructs.ts +4 -2
- package/src/cli/localNode.ts +21 -3
- package/src/client/core.ts +9 -1
- package/src/client/index.ts +0 -1
- package/src/core/crypto/index.ts +0 -1
- package/src/core/crypto/multiEd25519.ts +2 -2
- package/src/core/crypto/multiKey.ts +2 -2
- package/src/core/crypto/singleKey.ts +1 -1
- package/src/core/index.ts +0 -1
- package/src/errors/index.ts +6 -4
- package/src/index.ts +0 -1
- package/src/internal/account.ts +9 -6
- package/src/internal/general.ts +3 -1
- package/src/internal/{ans.ts → mns.ts} +644 -86
- package/src/transactions/authenticator/index.ts +0 -1
- package/src/transactions/index.ts +0 -1
- package/src/transactions/instances/index.ts +0 -1
- package/src/transactions/instances/transactionArgument.ts +1 -1
- package/src/transactions/management/transactionWorker.ts +3 -1
- package/src/transactions/transactionBuilder/index.ts +0 -1
- package/src/transactions/transactionBuilder/transactionBuilder.ts +11 -3
- package/src/transactions/typeTag/index.ts +3 -2
- package/src/types/indexer.ts +6 -1
- package/src/version.ts +1 -1
- package/dist/esm/api/ans.mjs +0 -2
- package/dist/esm/chunk-C5TXUD5K.mjs +0 -4
- package/dist/esm/chunk-C5TXUD5K.mjs.map +0 -1
- package/dist/esm/chunk-HL2JMZ7N.mjs +0 -2
- package/dist/esm/chunk-HL2JMZ7N.mjs.map +0 -1
- package/dist/esm/chunk-I6YGBK5S.mjs.map +0 -1
- package/dist/esm/chunk-P6MFR7W6.mjs +0 -2
- package/dist/esm/chunk-P7DJNENM.mjs.map +0 -1
- package/dist/esm/chunk-UVP74ONT.mjs.map +0 -1
- package/dist/esm/internal/ans.mjs +0 -2
- /package/dist/esm/api/{ans.mjs.map → mns.mjs.map} +0 -0
- /package/dist/esm/{chunk-YFFYA5U3.mjs.map → chunk-7AJK3QMK.mjs.map} +0 -0
- /package/dist/esm/{chunk-WVF47V5E.mjs.map → chunk-E3O3YOFD.mjs.map} +0 -0
- /package/dist/esm/{chunk-O7XWQTYM.mjs.map → chunk-GTWNSTVB.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZGBIH6MJ.mjs.map → chunk-HX7XBUOY.mjs.map} +0 -0
- /package/dist/esm/{chunk-5KMDJLYM.mjs.map → chunk-POOO2OP5.mjs.map} +0 -0
- /package/dist/esm/{chunk-SZG3ZZGN.mjs.map → chunk-Q2IJWWWU.mjs.map} +0 -0
- /package/dist/esm/{chunk-3KNJ4VWA.mjs.map → chunk-Q55N5DU3.mjs.map} +0 -0
- /package/dist/esm/{chunk-46MDTYYN.mjs.map → chunk-YXS3R2MX.mjs.map} +0 -0
- /package/dist/esm/internal/{ans.mjs.map → mns.mjs.map} +0 -0
package/dist/common/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Serializable, E as EntryFunctionArgument, F as FixedBytes, a as Serializer, D as Deserializer, A as AccountPublicKey, b as AccountAddress, c as AuthenticationKey, V as VerifySignatureArgs, d as VerifySignatureAsyncArgs, e as Signature, H as HexInput, P as PublicKey, f as EphemeralPublicKeyVariant, M as MovementConfig, 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, n as MultiEd25519PublicKey, o as Ed25519Signature, p as MultiEd25519Signature, q as AccountAuthenticator, r as MoveString, s as MoveVector, U as U8, t as U64, u as AnyNumber, R as RawTransaction, v as SimpleEntryFunctionArgumentTypes, w as EntryFunctionArgumentTypes, B as Bool, x as U16, y as U32, z as U128, C as U256, I as InputGenerateTransactionPayloadDataWithRemoteABI, G as InputGenerateTransactionPayloadData, J as InputScriptData, K as MoveFunction, T as TypeArgument, N as TypeTag, O as MoveModule, Q as FunctionABI, W as EntryFunctionABI, X as ViewFunctionABI, Y as AnyRawTransaction, _ as AnyRawTransactionInstance, $ as TransactionPayloadScript, a0 as InputEntryFunctionDataWithRemoteABI, a1 as TransactionPayloadEntryFunction, a2 as InputMultiSigDataWithRemoteABI, a3 as TransactionPayloadMultiSig, a4 as InputEntryFunctionDataWithABI, a5 as InputMultiSigDataWithABI, a6 as InputViewFunctionDataWithRemoteABI, a7 as EntryFunction, a8 as InputViewFunctionDataWithABI, a9 as AnyTransactionPayloadInstance, aa as InputGenerateTransactionOptions, ab as TransactionInnerPayload, ac as InputGenerateSingleSignerRawTransactionArgs, ad as SimpleTransaction, ae as InputGenerateMultiAgentRawTransactionArgs, af as MultiAgentTransaction, ag as InputSimulateTransactionData, ah as AccountAuthenticatorEd25519, ai as AccountAuthenticatorSingleKey, aj as AccountAuthenticatorMultiKey, ak as AccountAuthenticatorNoAccountAuthenticator, al as InputSubmitTransactionData, am as AccountData, an as MoveModuleBytecode, ao as CursorPaginationArgs, ap as PaginationArgs, aq as TransactionResponse, ar as MoveResource, as as MoveStructId, at as TokenStandardArg, au as OrderByArg, av as GetAccountOwnedTokensQueryResponse, aw as GetAccountOwnedTokensFromCollectionResponse, ax as GetAccountCollectionsWithOwnedTokenResponse, ay as GetAccountCoinsDataResponse, az as WhereArg, aA as GetObjectDataQueryResponse, aB as PrivateKeyInput, aC as
|
|
2
|
-
export {
|
|
1
|
+
import { S as Serializable, E as EntryFunctionArgument, F as FixedBytes, a as Serializer, D as Deserializer, A as AccountPublicKey, b as AccountAddress, c as AuthenticationKey, V as VerifySignatureArgs, d as VerifySignatureAsyncArgs, e as Signature, H as HexInput, P as PublicKey, f as EphemeralPublicKeyVariant, M as MovementConfig, 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, n as MultiEd25519PublicKey, o as Ed25519Signature, p as MultiEd25519Signature, q as AccountAuthenticator, r as MoveString, s as MoveVector, U as U8, t as U64, u as AnyNumber, R as RawTransaction, v as SimpleEntryFunctionArgumentTypes, w as EntryFunctionArgumentTypes, B as Bool, x as U16, y as U32, z as U128, C as U256, I as InputGenerateTransactionPayloadDataWithRemoteABI, G as InputGenerateTransactionPayloadData, J as InputScriptData, K as MoveFunction, T as TypeArgument, N as TypeTag, O as MoveModule, Q as FunctionABI, W as EntryFunctionABI, X as ViewFunctionABI, Y as AnyRawTransaction, _ as AnyRawTransactionInstance, $ as TransactionPayloadScript, a0 as InputEntryFunctionDataWithRemoteABI, a1 as TransactionPayloadEntryFunction, a2 as InputMultiSigDataWithRemoteABI, a3 as TransactionPayloadMultiSig, a4 as InputEntryFunctionDataWithABI, a5 as InputMultiSigDataWithABI, a6 as InputViewFunctionDataWithRemoteABI, a7 as EntryFunction, a8 as InputViewFunctionDataWithABI, a9 as AnyTransactionPayloadInstance, aa as InputGenerateTransactionOptions, ab as TransactionInnerPayload, ac as InputGenerateSingleSignerRawTransactionArgs, ad as SimpleTransaction, ae as InputGenerateMultiAgentRawTransactionArgs, af as MultiAgentTransaction, ag as InputSimulateTransactionData, ah as AccountAuthenticatorEd25519, ai as AccountAuthenticatorSingleKey, aj as AccountAuthenticatorMultiKey, ak as AccountAuthenticatorNoAccountAuthenticator, al as InputSubmitTransactionData, am as AccountData, an as MoveModuleBytecode, ao as CursorPaginationArgs, ap as PaginationArgs, aq as TransactionResponse, ar as MoveResource, as as MoveStructId, at as TokenStandardArg, au as OrderByArg, av as GetAccountOwnedTokensQueryResponse, aw as GetAccountOwnedTokensFromCollectionResponse, ax as GetAccountCollectionsWithOwnedTokenResponse, ay as GetAccountCoinsDataResponse, az as WhereArg, aA as GetObjectDataQueryResponse, aB as PrivateKeyInput, aC as GetMNSNameResponse, aD as GetCollectionDataResponse, aE as GetTokenDataResponse, aF as GetCurrentTokenOwnershipResponse, aG as GetOwnedTokensResponse, aH as GetTokenActivityResponse, aI as WaitForTransactionOptions, aJ as UserTransactionResponse, aK as GetFungibleAssetMetadataResponse, aL as GetFungibleAssetActivitiesResponse, aM as GetCurrentFungibleAssetBalancesResponse, aN as LedgerInfo, aO as Block, aP as MoveValue, aQ as InputViewFunctionData, aR as InputViewFunctionJsonData, aS as GetChainTopUserTransactionsResponse, aT as GraphqlQuery, aU as ProcessorType, aV as GetProcessorStatusResponse, aW as SigningScheme, aX as SigningSchemeInput, aY as AnySignature, aZ as Ed25519PrivateKey, a_ as GetNumberOfDelegatorsResponse, a$ as GetDelegatedStakingActivitiesResponse, b0 as TableItemRequest, b1 as GetTableItemsDataResponse, b2 as GetTableItemsMetadataResponse, b3 as PendingTransactionResponse, b4 as InputSimulateTransactionOptions, b5 as InputTransactionPluginData, b6 as CommittedTransactionResponse, b7 as GasEstimation, b8 as MultiKeySignature, b9 as AccountAuthenticatorMultiEd25519, ba as AccountAuthenticatorAbstraction, bb as MoveFunctionId, bc as ClientRequest, bd as Client, be as ClientResponse, bf as MovementRequest, bg as MovementApiType, bh as MovementResponse, bi as MimeType, bj as ClientConfig } from './accountAddress-CQEq9RVR.js';
|
|
2
|
+
export { ey as ACCOUNT_ABSTRACTION_SIGNING_DATA_SALT, bA as AbstractMultiKey, bG as AccountAbstractionMessage, cM as AccountAuthenticatorVariant, dS as AccountSignature, bw as AddressInvalidReason, cO as AnyPublicKeyVariant, cQ as AnySignatureVariant, ee as AuthenticationKeyScheme, dn as BlockEndInfo, dp as BlockEpilogueTransactionResponse, dk as BlockMetadataTransactionResponse, bH as ChainId, d7 as ClientHeadersType, er as DEFAULT_MAX_GAS_AMOUNT, es as DEFAULT_TXN_EXP_SEC_FROM_NOW, et as DEFAULT_TXN_TIMEOUT_SEC, dx as DecodedTableData, dy as DeletedTableData, ef as DeriveScheme, bk as Deserializable, dV as DirectWriteSet, dA as EntryFunctionPayloadResponse, cR as EphemeralSignatureVariant, dX as Event, dW as EventGuid, ez as FIREBASE_AUTH_ISS_PATTERN, d5 as FaucetConfig, bM as FeePayerRawTransaction, d3 as FullNodeConfig, ei as GenerateAccount, eg as GenerateAccountWithEd25519, eh as GenerateAccountWithSingleSignerSecp256k1Key, dD as GenesisPayload, dj as GenesisTransactionResponse, cA as GetANSNameResponse, cy as GetAccountAddressesForAuthKeyResponse, cz as GetEventsResponse, bE as HexInvalidReason, bp as I128, bm as I16, bq as I256, bn as I32, bo as I64, bl as I8, bI as Identifier, d4 as IndexerConfig, c2 as InputEntryFunctionData, c8 as InputGenerateMultiAgentRawTransactionData, c1 as InputGenerateOrderlessTransactionOptions, c6 as InputGenerateRawTransactionArgs, c0 as InputGenerateSequenceNumberTransactionOptions, c7 as InputGenerateSingleSignerRawTransactionData, c9 as InputGenerateTransactionData, c3 as InputGenerateTransactionPayloadDataWithABI, c4 as InputMultiSigData, d0 as Int128, cZ as Int16, d1 as Int256, c_ as Int32, c$ as Int64, cY as Int8, eu as MOVEMENT_COIN, ev as MOVEMENT_FA, bJ as ModuleId, e9 as MoveAbility, e2 as MoveAddressType, ea as MoveFunctionGenericTypeParam, e8 as MoveFunctionVisibility, e7 as MoveModuleId, e3 as MoveObjectType, bs as MoveOption, e4 as MoveOptionType, dE as MoveScriptBytecode, ec as MoveStruct, eb as MoveStructField, e5 as MoveStructType, e6 as MoveType, e0 as MoveUint128Type, dZ as MoveUint16Type, e1 as MoveUint256Type, d_ as MoveUint32Type, d$ as MoveUint64Type, dY as MoveUint8Type, d2 as MovementSettings, bL as MultiAgentRawTransaction, bS as MultiSig, bT as MultiSigTransactionPayload, dC as MultisigPayloadResponse, eo as Network, ep as NetworkToChainId, el as NetworkToFaucetAPI, ej as NetworkToIndexerAPI, eq as NetworkToNetworkName, ek as NetworkToNodeAPI, em as NetworkToPepperAPI, en as NetworkToProverAPI, cB as OrderBy, cC as OrderByValue, bx as ParsingError, by as ParsingResult, d8 as PluginConfig, d9 as PluginSettings, cN as PrivateKeyVariants, ew as RAW_TRANSACTION_SALT, ex as RAW_TRANSACTION_WITH_DATA_SALT, bK as RawTransactionWithData, ed as RoleType, bR as Script, bO as ScriptFunctionArgument, b$ as ScriptFunctionArgumentTypes, dB as ScriptPayloadResponse, cF as ScriptTransactionArgumentVariants, dU as ScriptWriteSet, bC as Secp256k1PrivateKey, bB as Secp256k1PublicKey, bD as Secp256k1Signature, br as Serialized, dl as StateCheckpointTransactionResponse, ct as StructTag, cD as TokenStandard, bN as TransactionArgument, cL as TransactionAuthenticatorVariant, dM as TransactionEd25519Signature, bV as TransactionExecutable, bY as TransactionExecutableEmpty, bX as TransactionExecutableEntryFunction, bW as TransactionExecutableScript, cI as TransactionExecutableVariants, bZ as TransactionExtraConfig, b_ as TransactionExtraConfigV1, cJ as TransactionExtraConfigVariants, dR as TransactionFeePayerSignature, d6 as TransactionGenerationConfig, bU as TransactionInnerPayloadV1, cH as TransactionInnerPayloadVariants, dQ as TransactionMultiAgentSignature, dP as TransactionMultiEd25519Signature, bQ as TransactionPayload, dz as TransactionPayloadResponse, cG as TransactionPayloadVariants, db as TransactionResponseType, dN as TransactionSecp256k1Signature, dF as TransactionSignature, dO as TransactionSingleSenderSignature, da as TransactionSubmitter, cK as TransactionVariants, cn as TypeTagAddress, ca as TypeTagBool, cq as TypeTagGeneric, ck as TypeTagI128, ce as TypeTagI16, cm as TypeTagI256, cg as TypeTagI32, ci as TypeTagI64, cc as TypeTagI8, cp as TypeTagReference, co as TypeTagSigner, cs as TypeTagStruct, cj as TypeTagU128, cd as TypeTagU16, cl as TypeTagU256, cf as TypeTagU32, ch as TypeTagU64, cb as TypeTagU8, cE as TypeTagVariants, cr as TypeTagVector, cW as Uint128, cT as Uint16, cX as Uint256, cU as Uint32, cV as Uint64, cS as Uint8, dm as ValidatorTransactionResponse, c5 as ViewFunctionJsonPayload, dT as WriteSet, dq as WriteSetChange, dr as WriteSetChangeDeleteModule, ds as WriteSetChangeDeleteResource, dt as WriteSetChangeDeleteTableItem, du as WriteSetChangeWriteModule, dv as WriteSetChangeWriteResource, dw as WriteSetChangeWriteTableItem, cP as anyPublicKeyVariantToString, cu as aptosCoinStructTag, bP as deserializeFromScriptArgument, bt as ensureBoolean, bF as hexToAsciiString, di as isBlockEpilogueTransactionResponse, df as isBlockMetadataTransactionResponse, bz as isCanonicalEd25519Signature, dG as isEd25519Signature, dJ as isFeePayerSignature, de as isGenesisTransactionResponse, dI as isMultiAgentSignature, dK as isMultiEd25519Signature, dc as isPendingTransactionResponse, dH as isSecp256k1Signature, dL as isSingleSenderSignature, dg as isStateCheckpointTransactionResponse, dd as isUserTransactionResponse, dh as isValidatorTransactionResponse, cx as objectStructTag, cw as optionStructTag, bu as outOfRangeErrorMessage, cv as stringStructTag, bv as validateNumberInRange } from './accountAddress-CQEq9RVR.js';
|
|
3
3
|
import { Fp2 } from '@noble/curves/abstract/tower';
|
|
4
4
|
import { ProjPointType } from '@noble/curves/abstract/weierstrass';
|
|
5
5
|
import EventEmitter from 'eventemitter3';
|
|
@@ -3803,7 +3803,7 @@ interface RegisterNameParameters {
|
|
|
3803
3803
|
* @group Implementation
|
|
3804
3804
|
*/
|
|
3805
3805
|
interface QueryNamesOptions {
|
|
3806
|
-
options?: PaginationArgs & OrderByArg<
|
|
3806
|
+
options?: PaginationArgs & OrderByArg<GetMNSNameResponse[0]> & WhereArg<CurrentAptosNamesBoolExp>;
|
|
3807
3807
|
}
|
|
3808
3808
|
/**
|
|
3809
3809
|
* Arguments for retrieving account names based on the specified account address.
|
|
@@ -3843,10 +3843,10 @@ interface GetDomainSubdomainsArgs extends QueryNamesOptions {
|
|
|
3843
3843
|
}
|
|
3844
3844
|
|
|
3845
3845
|
/**
|
|
3846
|
-
* A class to handle all `
|
|
3847
|
-
* @group
|
|
3846
|
+
* A class to handle all `MNS` (Movement Name Service) operations.
|
|
3847
|
+
* @group MNS
|
|
3848
3848
|
*/
|
|
3849
|
-
declare class
|
|
3849
|
+
declare class MNS {
|
|
3850
3850
|
readonly config: MovementConfig;
|
|
3851
3851
|
/**
|
|
3852
3852
|
* Initializes a new instance of the Movement class with the provided configuration.
|
|
@@ -3868,11 +3868,11 @@ declare class ANS {
|
|
|
3868
3868
|
* // Initialize the Movement client with the configuration
|
|
3869
3869
|
* const movement = new Movement(config);
|
|
3870
3870
|
*
|
|
3871
|
-
* console.log("Movement client initialized:",
|
|
3871
|
+
* console.log("Movement client initialized:", movement);
|
|
3872
3872
|
* }
|
|
3873
3873
|
* runExample().catch(console.error);
|
|
3874
3874
|
* ```
|
|
3875
|
-
* @group
|
|
3875
|
+
* @group MNS
|
|
3876
3876
|
*/
|
|
3877
3877
|
constructor(config: MovementConfig);
|
|
3878
3878
|
/**
|
|
@@ -3891,13 +3891,13 @@ declare class ANS {
|
|
|
3891
3891
|
* const movement = new Movement(config);
|
|
3892
3892
|
*
|
|
3893
3893
|
* async function runExample() {
|
|
3894
|
-
* // Retrieve the owner address of "test.
|
|
3895
|
-
* const owner = await movement.getOwnerAddress({ name: "test.
|
|
3894
|
+
* // Retrieve the owner address of "test.move"
|
|
3895
|
+
* const owner = await movement.getOwnerAddress({ name: "test.move" });
|
|
3896
3896
|
* console.log(owner); // Logs the owner address or undefined if not owned
|
|
3897
3897
|
* }
|
|
3898
3898
|
* runExample().catch(console.error);
|
|
3899
3899
|
* ```
|
|
3900
|
-
* @group
|
|
3900
|
+
* @group MNS
|
|
3901
3901
|
*/
|
|
3902
3902
|
getOwnerAddress(args: {
|
|
3903
3903
|
name: string;
|
|
@@ -3918,15 +3918,15 @@ declare class ANS {
|
|
|
3918
3918
|
* const movement = new Movement(config);
|
|
3919
3919
|
*
|
|
3920
3920
|
* async function runExample() {
|
|
3921
|
-
* // Get the expiration time for the domain "test.
|
|
3922
|
-
* const exp = await movement.getExpiration({ name: "test.
|
|
3921
|
+
* // Get the expiration time for the domain "test.move"
|
|
3922
|
+
* const exp = await movement.getExpiration({ name: "test.move" });
|
|
3923
3923
|
*
|
|
3924
3924
|
* // Log the expiration date
|
|
3925
3925
|
* console.log(new Date(exp)); // Outputs the expiration date
|
|
3926
3926
|
* }
|
|
3927
3927
|
* runExample().catch(console.error);
|
|
3928
3928
|
* ```
|
|
3929
|
-
* @group
|
|
3929
|
+
* @group MNS
|
|
3930
3930
|
*/
|
|
3931
3931
|
getExpiration(args: {
|
|
3932
3932
|
name: string;
|
|
@@ -3937,7 +3937,7 @@ declare class ANS {
|
|
|
3937
3937
|
*
|
|
3938
3938
|
* @param args - The arguments for retrieving the target address.
|
|
3939
3939
|
* @param args.name - A string representing the name, which can be a primary name, a subdomain, or a combination (e.g.,
|
|
3940
|
-
* "primary", "primary.
|
|
3940
|
+
* "primary", "primary.move", "secondary.primary", "secondary.primary.move").
|
|
3941
3941
|
*
|
|
3942
3942
|
* @returns AccountAddress if the name has a target, undefined otherwise.
|
|
3943
3943
|
*
|
|
@@ -3950,13 +3950,13 @@ declare class ANS {
|
|
|
3950
3950
|
*
|
|
3951
3951
|
* async function runExample() {
|
|
3952
3952
|
* // Retrieve the target address for the specified domain name
|
|
3953
|
-
* const targetAddr = await movement.getTargetAddress({ name: "test.
|
|
3953
|
+
* const targetAddr = await movement.getTargetAddress({ name: "test.move" });
|
|
3954
3954
|
*
|
|
3955
3955
|
* console.log(targetAddr); // Logs the target address, e.g., 0x123...
|
|
3956
3956
|
* }
|
|
3957
3957
|
* runExample().catch(console.error);
|
|
3958
3958
|
* ```
|
|
3959
|
-
* @group
|
|
3959
|
+
* @group MNS
|
|
3960
3960
|
*/
|
|
3961
3961
|
getTargetAddress(args: {
|
|
3962
3962
|
name: string;
|
|
@@ -3967,7 +3967,7 @@ declare class ANS {
|
|
|
3967
3967
|
*
|
|
3968
3968
|
* @param args - The arguments for setting the target address.
|
|
3969
3969
|
* @param args.sender - The account initiating the transaction.
|
|
3970
|
-
* @param args.name - A string representing the domain or subdomain name (e.g., "test.
|
|
3970
|
+
* @param args.name - A string representing the domain or subdomain name (e.g., "test.move").
|
|
3971
3971
|
* @param args.address - The AccountAddressInput of the address to set the domain or subdomain to.
|
|
3972
3972
|
* @param args.options - Optional settings for generating the transaction.
|
|
3973
3973
|
*
|
|
@@ -3987,16 +3987,16 @@ declare class ANS {
|
|
|
3987
3987
|
*
|
|
3988
3988
|
* await movement.setTargetAddress({
|
|
3989
3989
|
* sender: sender,
|
|
3990
|
-
* name: "test.
|
|
3990
|
+
* name: "test.move",
|
|
3991
3991
|
* address: address,
|
|
3992
3992
|
* });
|
|
3993
3993
|
*
|
|
3994
|
-
* const targetAddress = await movement.getTargetAddress({ name: "test.
|
|
3995
|
-
* console.log(targetAddress); // Should log the address set for "test.
|
|
3994
|
+
* const targetAddress = await movement.getTargetAddress({ name: "test.move" });
|
|
3995
|
+
* console.log(targetAddress); // Should log the address set for "test.move"
|
|
3996
3996
|
* }
|
|
3997
3997
|
* runExample().catch(console.error);
|
|
3998
3998
|
* ```
|
|
3999
|
-
* @group
|
|
3999
|
+
* @group MNS
|
|
4000
4000
|
*/
|
|
4001
4001
|
setTargetAddress(args: {
|
|
4002
4002
|
sender: Account;
|
|
@@ -4026,7 +4026,7 @@ declare class ANS {
|
|
|
4026
4026
|
* }
|
|
4027
4027
|
* runExample().catch(console.error);
|
|
4028
4028
|
* ```
|
|
4029
|
-
* @group
|
|
4029
|
+
* @group MNS
|
|
4030
4030
|
*/
|
|
4031
4031
|
getPrimaryName(args: {
|
|
4032
4032
|
address: AccountAddressInput;
|
|
@@ -4037,7 +4037,7 @@ declare class ANS {
|
|
|
4037
4037
|
*
|
|
4038
4038
|
* @param args - The arguments for setting the primary name.
|
|
4039
4039
|
* @param args.sender - The sender account.
|
|
4040
|
-
* @param args.name - A string representing the name to set as primary (e.g., "test.
|
|
4040
|
+
* @param args.name - A string representing the name to set as primary (e.g., "test.move").
|
|
4041
4041
|
* @param args.options - Optional transaction options.
|
|
4042
4042
|
*
|
|
4043
4043
|
* @returns SimpleTransaction
|
|
@@ -4052,14 +4052,14 @@ declare class ANS {
|
|
|
4052
4052
|
* async function runExample() {
|
|
4053
4053
|
* // Set the primary name for the sender account
|
|
4054
4054
|
* const sender = Account.generate(); // replace with a real account
|
|
4055
|
-
* await movement.setPrimaryName({ sender, name: "test.
|
|
4055
|
+
* await movement.setPrimaryName({ sender, name: "test.move" });
|
|
4056
4056
|
*
|
|
4057
4057
|
* const primaryName = await movement.getPrimaryName({ address: sender.accountAddress });
|
|
4058
|
-
* console.log("Primary Name:", primaryName); // Should log: "Primary Name: test.
|
|
4058
|
+
* console.log("Primary Name:", primaryName); // Should log: "Primary Name: test.move"
|
|
4059
4059
|
* }
|
|
4060
4060
|
* runExample().catch(console.error);
|
|
4061
4061
|
* ```
|
|
4062
|
-
* @group
|
|
4062
|
+
* @group MNS
|
|
4063
4063
|
*/
|
|
4064
4064
|
setPrimaryName(args: {
|
|
4065
4065
|
sender: Account;
|
|
@@ -4072,8 +4072,8 @@ declare class ANS {
|
|
|
4072
4072
|
* This function allows you to register a domain or subdomain name with specific expiration policies and options.
|
|
4073
4073
|
*
|
|
4074
4074
|
* @param args.sender - The sender account.
|
|
4075
|
-
* @param args.name - A string of the name to register. This can be inclusive or exclusive of the .
|
|
4076
|
-
* "test", "test.
|
|
4075
|
+
* @param args.name - A string of the name to register. This can be inclusive or exclusive of the .move suffix. Examples include:
|
|
4076
|
+
* "test", "test.move", "test.movement.move", etc.
|
|
4077
4077
|
* @param args.expiration - An object with the expiration policy of the name.
|
|
4078
4078
|
* @param args.expiration.policy - 'domain' | 'subdomain:follow-domain' | 'subdomain:independent'.
|
|
4079
4079
|
* - domain: Years is required and the name will expire after the given number of years.
|
|
@@ -4097,10 +4097,10 @@ declare class ANS {
|
|
|
4097
4097
|
* const movement = new Movement(config);
|
|
4098
4098
|
*
|
|
4099
4099
|
* async function runExample() {
|
|
4100
|
-
* // Registering a subdomain name assuming def.
|
|
4100
|
+
* // Registering a subdomain name assuming def.move is already registered and belongs to the sender alice.
|
|
4101
4101
|
* const txn = await movement.registerName({
|
|
4102
4102
|
* sender: "0x1", // replace with a real sender account
|
|
4103
|
-
* name: "test.movement.
|
|
4103
|
+
* name: "test.movement.move",
|
|
4104
4104
|
* expiration: {
|
|
4105
4105
|
* policy: "subdomain:independent",
|
|
4106
4106
|
* expirationDate: Date.now() + 30 * 24 * 60 * 60 * 1000, // expires in 30 days
|
|
@@ -4111,7 +4111,7 @@ declare class ANS {
|
|
|
4111
4111
|
* }
|
|
4112
4112
|
* runExample().catch(console.error);
|
|
4113
4113
|
* ```
|
|
4114
|
-
* @group
|
|
4114
|
+
* @group MNS
|
|
4115
4115
|
*/
|
|
4116
4116
|
registerName(args: Omit<RegisterNameParameters, "movementConfig">): Promise<SimpleTransaction>;
|
|
4117
4117
|
/**
|
|
@@ -4144,7 +4144,7 @@ declare class ANS {
|
|
|
4144
4144
|
* }
|
|
4145
4145
|
* runExample().catch(console.error);
|
|
4146
4146
|
* ```
|
|
4147
|
-
* @group
|
|
4147
|
+
* @group MNS
|
|
4148
4148
|
*/
|
|
4149
4149
|
renewDomain(args: {
|
|
4150
4150
|
sender: Account;
|
|
@@ -4156,10 +4156,10 @@ declare class ANS {
|
|
|
4156
4156
|
* Fetches a single name from the indexer based on the provided name argument.
|
|
4157
4157
|
*
|
|
4158
4158
|
* @param args - The arguments for retrieving the name.
|
|
4159
|
-
* @param args.name - A string of the name to retrieve, e.g. "test.movement.
|
|
4160
|
-
* Can be inclusive or exclusive of the .
|
|
4159
|
+
* @param args.name - A string of the name to retrieve, e.g. "test.movement.move" or "test.move" or "test".
|
|
4160
|
+
* Can be inclusive or exclusive of the .move suffix and can be a subdomain.
|
|
4161
4161
|
*
|
|
4162
|
-
* @returns A promise of an
|
|
4162
|
+
* @returns A promise of an MNSName or undefined if the name is not active.
|
|
4163
4163
|
*
|
|
4164
4164
|
* @example
|
|
4165
4165
|
* ```typescript
|
|
@@ -4170,16 +4170,16 @@ declare class ANS {
|
|
|
4170
4170
|
*
|
|
4171
4171
|
* async function runExample() {
|
|
4172
4172
|
* // Fetching a name from the indexer
|
|
4173
|
-
* const name = await movement.getName({ name: "test.
|
|
4173
|
+
* const name = await movement.getName({ name: "test.move" }); // replace with a real name
|
|
4174
4174
|
* console.log(name);
|
|
4175
4175
|
* }
|
|
4176
4176
|
* runExample().catch(console.error);
|
|
4177
4177
|
* ```
|
|
4178
|
-
* @group
|
|
4178
|
+
* @group MNS
|
|
4179
4179
|
*/
|
|
4180
4180
|
getName(args: {
|
|
4181
4181
|
name: string;
|
|
4182
|
-
}): Promise<
|
|
4182
|
+
}): Promise<GetMNSNameResponse[0] | undefined>;
|
|
4183
4183
|
/**
|
|
4184
4184
|
* Fetches all names for an account, including both top-level domains and subdomains.
|
|
4185
4185
|
*
|
|
@@ -4191,7 +4191,7 @@ declare class ANS {
|
|
|
4191
4191
|
* @param args.options.orderBy - The order to sort the names by.
|
|
4192
4192
|
* @param args.options.where - Additional filters to apply to the query.
|
|
4193
4193
|
*
|
|
4194
|
-
* @returns A promise of an array of
|
|
4194
|
+
* @returns A promise of an array of MNSName.
|
|
4195
4195
|
*
|
|
4196
4196
|
* @example
|
|
4197
4197
|
* ```typescript
|
|
@@ -4214,9 +4214,9 @@ declare class ANS {
|
|
|
4214
4214
|
* }
|
|
4215
4215
|
* runExample().catch(console.error);
|
|
4216
4216
|
* ```
|
|
4217
|
-
* @group
|
|
4217
|
+
* @group MNS
|
|
4218
4218
|
*/
|
|
4219
|
-
getAccountNames(args: GetAccountNamesArgs): Promise<
|
|
4219
|
+
getAccountNames(args: GetAccountNamesArgs): Promise<GetMNSNameResponse>;
|
|
4220
4220
|
/**
|
|
4221
4221
|
* Fetches all top-level domain names for a specified account.
|
|
4222
4222
|
*
|
|
@@ -4227,7 +4227,7 @@ declare class ANS {
|
|
|
4227
4227
|
* @param args.options.orderBy - The order to sort the names by.
|
|
4228
4228
|
* @param args.options.where - Additional filters to apply to the query.
|
|
4229
4229
|
*
|
|
4230
|
-
* @returns A promise of an array of
|
|
4230
|
+
* @returns A promise of an array of MNSName.
|
|
4231
4231
|
*
|
|
4232
4232
|
* @example
|
|
4233
4233
|
* ```typescript
|
|
@@ -4254,9 +4254,9 @@ declare class ANS {
|
|
|
4254
4254
|
* }
|
|
4255
4255
|
* runExample().catch(console.error);
|
|
4256
4256
|
* ```
|
|
4257
|
-
* @group
|
|
4257
|
+
* @group MNS
|
|
4258
4258
|
*/
|
|
4259
|
-
getAccountDomains(args: GetAccountDomainsArgs): Promise<
|
|
4259
|
+
getAccountDomains(args: GetAccountDomainsArgs): Promise<GetMNSNameResponse>;
|
|
4260
4260
|
/**
|
|
4261
4261
|
* Fetches all subdomain names for a specified account.
|
|
4262
4262
|
*
|
|
@@ -4268,7 +4268,7 @@ declare class ANS {
|
|
|
4268
4268
|
* @param args.options.orderBy - The order to sort the names by.
|
|
4269
4269
|
* @param args.options.where - Additional filters to apply to the query.
|
|
4270
4270
|
*
|
|
4271
|
-
* @returns A promise of an array of
|
|
4271
|
+
* @returns A promise of an array of MNSName.
|
|
4272
4272
|
*
|
|
4273
4273
|
* @example
|
|
4274
4274
|
* ```typescript
|
|
@@ -4292,21 +4292,21 @@ declare class ANS {
|
|
|
4292
4292
|
* }
|
|
4293
4293
|
* runExample().catch(console.error);
|
|
4294
4294
|
* ```
|
|
4295
|
-
* @group
|
|
4295
|
+
* @group MNS
|
|
4296
4296
|
*/
|
|
4297
|
-
getAccountSubdomains(args: GetAccountSubdomainsArgs): Promise<
|
|
4297
|
+
getAccountSubdomains(args: GetAccountSubdomainsArgs): Promise<GetMNSNameResponse>;
|
|
4298
4298
|
/**
|
|
4299
4299
|
* Fetches all subdomain names for a given domain, excluding the domain itself.
|
|
4300
4300
|
*
|
|
4301
4301
|
* @param args - The arguments for fetching subdomains.
|
|
4302
|
-
* @param args.domain - A string of the domain name, e.g., "test.
|
|
4302
|
+
* @param args.domain - A string of the domain name, e.g., "test.move" or "test" (without the suffix of .move).
|
|
4303
4303
|
* @param args.options - Optional parameters for fetching subdomains.
|
|
4304
4304
|
* @param args.options.offset - Optional, the offset to start from when fetching names.
|
|
4305
4305
|
* @param args.options.limit - Optional, the number of names to fetch per request.
|
|
4306
4306
|
* @param args.options.orderBy - The order to sort the names by.
|
|
4307
4307
|
* @param args.options.where - Additional filters to apply to the query.
|
|
4308
4308
|
*
|
|
4309
|
-
* @returns A promise that resolves to an array of
|
|
4309
|
+
* @returns A promise that resolves to an array of MNSName.
|
|
4310
4310
|
*
|
|
4311
4311
|
* @example
|
|
4312
4312
|
* ```typescript
|
|
@@ -4330,9 +4330,347 @@ declare class ANS {
|
|
|
4330
4330
|
* }
|
|
4331
4331
|
* runExample().catch(console.error);
|
|
4332
4332
|
* ```
|
|
4333
|
-
* @group
|
|
4333
|
+
* @group MNS
|
|
4334
|
+
*/
|
|
4335
|
+
getDomainSubdomains(args: GetDomainSubdomainsArgs): Promise<GetMNSNameResponse>;
|
|
4336
|
+
/**
|
|
4337
|
+
* Get the price to buy keys for a domain. Each domain has tradeable keys that
|
|
4338
|
+
* follow a bonding curve - price increases as more keys are bought.
|
|
4339
|
+
*
|
|
4340
|
+
* @param args - The arguments for the function.
|
|
4341
|
+
* @param args.domainName - The domain name to get the key price for.
|
|
4342
|
+
* @param args.amount - The number of keys to get the price for (default: 1).
|
|
4343
|
+
*
|
|
4344
|
+
* @returns The price in octas to buy the specified number of keys.
|
|
4345
|
+
*
|
|
4346
|
+
* @example
|
|
4347
|
+
* ```typescript
|
|
4348
|
+
* import { Movement, MovementConfig, Network } from "@moveindustries/ts-sdk";
|
|
4349
|
+
*
|
|
4350
|
+
* const config = new MovementConfig({ network: Network.TESTNET });
|
|
4351
|
+
* const movement = new Movement(config);
|
|
4352
|
+
*
|
|
4353
|
+
* async function runExample() {
|
|
4354
|
+
* // Get the price to buy 1 key for the "test" domain
|
|
4355
|
+
* const price = await movement.getKeyBuyPrice({ domainName: "test" });
|
|
4356
|
+
* console.log(`Price to buy 1 key: ${price} octas`);
|
|
4357
|
+
* }
|
|
4358
|
+
* runExample().catch(console.error);
|
|
4359
|
+
* ```
|
|
4360
|
+
* @group MNS
|
|
4361
|
+
*/
|
|
4362
|
+
getKeyBuyPrice(args: {
|
|
4363
|
+
domainName: string;
|
|
4364
|
+
amount?: number;
|
|
4365
|
+
}): Promise<bigint>;
|
|
4366
|
+
/**
|
|
4367
|
+
* Get the price when selling keys for a domain.
|
|
4368
|
+
*
|
|
4369
|
+
* @param args - The arguments for the function.
|
|
4370
|
+
* @param args.domainName - The domain name to get the sell price for.
|
|
4371
|
+
* @param args.amount - The number of keys to get the price for (default: 1).
|
|
4372
|
+
*
|
|
4373
|
+
* @returns The price in octas received when selling the specified number of keys.
|
|
4374
|
+
*
|
|
4375
|
+
* @example
|
|
4376
|
+
* ```typescript
|
|
4377
|
+
* import { Movement, MovementConfig, Network } from "@moveindustries/ts-sdk";
|
|
4378
|
+
*
|
|
4379
|
+
* const config = new MovementConfig({ network: Network.TESTNET });
|
|
4380
|
+
* const movement = new Movement(config);
|
|
4381
|
+
*
|
|
4382
|
+
* async function runExample() {
|
|
4383
|
+
* // Get the price when selling 1 key for the "test" domain
|
|
4384
|
+
* const price = await movement.getKeySellPrice({ domainName: "test" });
|
|
4385
|
+
* console.log(`Price when selling 1 key: ${price} octas`);
|
|
4386
|
+
* }
|
|
4387
|
+
* runExample().catch(console.error);
|
|
4388
|
+
* ```
|
|
4389
|
+
* @group MNS
|
|
4390
|
+
*/
|
|
4391
|
+
getKeySellPrice(args: {
|
|
4392
|
+
domainName: string;
|
|
4393
|
+
amount?: number;
|
|
4394
|
+
}): Promise<bigint>;
|
|
4395
|
+
/**
|
|
4396
|
+
* Buy a key for a domain and stake it to claim a subdomain in one transaction.
|
|
4397
|
+
* This is the primary way to register a subdomain on Movement.
|
|
4398
|
+
*
|
|
4399
|
+
* The price follows a bonding curve - use getKeyBuyPrice() to check the current price.
|
|
4400
|
+
*
|
|
4401
|
+
* @param args - The arguments for the function.
|
|
4402
|
+
* @param args.sender - The account buying and staking the key.
|
|
4403
|
+
* @param args.domainName - The parent domain name (e.g., "test" for "sub.test.move").
|
|
4404
|
+
* @param args.subdomainName - The subdomain to claim (e.g., "sub" for "sub.test.move").
|
|
4405
|
+
* @param args.targetAddress - Optional address this subdomain will resolve to (defaults to sender).
|
|
4406
|
+
* @param args.toAddress - Optional address that will own this subdomain (defaults to sender).
|
|
4407
|
+
* @param args.referrer - Optional referrer address for fee sharing.
|
|
4408
|
+
* @param args.options - Optional transaction options.
|
|
4409
|
+
*
|
|
4410
|
+
* @returns A transaction object to be signed and submitted.
|
|
4411
|
+
*
|
|
4412
|
+
* @example
|
|
4413
|
+
* ```typescript
|
|
4414
|
+
* import { Movement, MovementConfig, Network, Account } from "@moveindustries/ts-sdk";
|
|
4415
|
+
*
|
|
4416
|
+
* const config = new MovementConfig({ network: Network.TESTNET });
|
|
4417
|
+
* const movement = new Movement(config);
|
|
4418
|
+
*
|
|
4419
|
+
* async function runExample() {
|
|
4420
|
+
* const alice = Account.generate();
|
|
4421
|
+
* await movement.fundAccount({ accountAddress: alice.accountAddress, amount: 100_000_000 });
|
|
4422
|
+
*
|
|
4423
|
+
* // Buy a key and stake it to claim "mysubdomain.test.move"
|
|
4424
|
+
* const txn = await movement.buyAndStakeKeyForSubdomain({
|
|
4425
|
+
* sender: alice,
|
|
4426
|
+
* domainName: "test",
|
|
4427
|
+
* subdomainName: "mysubdomain",
|
|
4428
|
+
* });
|
|
4429
|
+
*
|
|
4430
|
+
* const result = await movement.signAndSubmitTransaction({ signer: alice, transaction: txn });
|
|
4431
|
+
* console.log("Subdomain claimed:", result.hash);
|
|
4432
|
+
* }
|
|
4433
|
+
* runExample().catch(console.error);
|
|
4434
|
+
* ```
|
|
4435
|
+
* @group MNS
|
|
4436
|
+
*/
|
|
4437
|
+
buyAndStakeKeyForSubdomain(args: {
|
|
4438
|
+
sender: Account;
|
|
4439
|
+
domainName: string;
|
|
4440
|
+
subdomainName: string;
|
|
4441
|
+
targetAddress?: AccountAddressInput;
|
|
4442
|
+
toAddress?: AccountAddressInput;
|
|
4443
|
+
referrer?: AccountAddressInput;
|
|
4444
|
+
options?: InputGenerateTransactionOptions;
|
|
4445
|
+
}): Promise<SimpleTransaction>;
|
|
4446
|
+
/**
|
|
4447
|
+
* Stake an existing key to claim a subdomain. You must already own a key for
|
|
4448
|
+
* the parent domain.
|
|
4449
|
+
*
|
|
4450
|
+
* @param args - The arguments for the function.
|
|
4451
|
+
* @param args.sender - The account staking the key.
|
|
4452
|
+
* @param args.domainName - The parent domain name.
|
|
4453
|
+
* @param args.subdomainName - The subdomain to claim.
|
|
4454
|
+
* @param args.targetAddress - Optional address this subdomain will resolve to.
|
|
4455
|
+
* @param args.toAddress - Optional address that will own this subdomain.
|
|
4456
|
+
* @param args.options - Optional transaction options.
|
|
4457
|
+
*
|
|
4458
|
+
* @returns A transaction object to be signed and submitted.
|
|
4459
|
+
* @group MNS
|
|
4460
|
+
*/
|
|
4461
|
+
stakeKeyForSubdomain(args: {
|
|
4462
|
+
sender: Account;
|
|
4463
|
+
domainName: string;
|
|
4464
|
+
subdomainName: string;
|
|
4465
|
+
targetAddress?: AccountAddressInput;
|
|
4466
|
+
toAddress?: AccountAddressInput;
|
|
4467
|
+
options?: InputGenerateTransactionOptions;
|
|
4468
|
+
}): Promise<SimpleTransaction>;
|
|
4469
|
+
/**
|
|
4470
|
+
* Unstake a key from a subdomain, giving up ownership but keeping the key.
|
|
4471
|
+
* You can sell the key later or stake it for a different subdomain.
|
|
4472
|
+
*
|
|
4473
|
+
* @param args - The arguments for the function.
|
|
4474
|
+
* @param args.sender - The account unstaking the key.
|
|
4475
|
+
* @param args.domainName - The parent domain name.
|
|
4476
|
+
* @param args.subdomainName - The subdomain to release.
|
|
4477
|
+
* @param args.options - Optional transaction options.
|
|
4478
|
+
*
|
|
4479
|
+
* @returns A transaction object to be signed and submitted.
|
|
4480
|
+
* @group MNS
|
|
4481
|
+
*/
|
|
4482
|
+
unstakeKeyForSubdomain(args: {
|
|
4483
|
+
sender: Account;
|
|
4484
|
+
domainName: string;
|
|
4485
|
+
subdomainName: string;
|
|
4486
|
+
options?: InputGenerateTransactionOptions;
|
|
4487
|
+
}): Promise<SimpleTransaction>;
|
|
4488
|
+
/**
|
|
4489
|
+
* Unstake a key from a subdomain and sell it in one transaction.
|
|
4490
|
+
* This gives up the subdomain and converts the key back to MOVE tokens.
|
|
4491
|
+
*
|
|
4492
|
+
* @param args - The arguments for the function.
|
|
4493
|
+
* @param args.sender - The account unstaking and selling the key.
|
|
4494
|
+
* @param args.domainName - The parent domain name.
|
|
4495
|
+
* @param args.subdomainName - The subdomain to release.
|
|
4496
|
+
* @param args.referrer - Optional referrer address for fee sharing.
|
|
4497
|
+
* @param args.options - Optional transaction options.
|
|
4498
|
+
*
|
|
4499
|
+
* @returns A transaction object to be signed and submitted.
|
|
4500
|
+
* @group MNS
|
|
4501
|
+
*/
|
|
4502
|
+
unstakeAndSellKeyForSubdomain(args: {
|
|
4503
|
+
sender: Account;
|
|
4504
|
+
domainName: string;
|
|
4505
|
+
subdomainName: string;
|
|
4506
|
+
referrer?: AccountAddressInput;
|
|
4507
|
+
options?: InputGenerateTransactionOptions;
|
|
4508
|
+
}): Promise<SimpleTransaction>;
|
|
4509
|
+
/**
|
|
4510
|
+
* Check if a name (domain or subdomain) is available for registration.
|
|
4511
|
+
*
|
|
4512
|
+
* @param args - The arguments for the function.
|
|
4513
|
+
* @param args.name - The name to check (e.g., "test" or "sub.test").
|
|
4514
|
+
* @param args.account - The account address that would register the name.
|
|
4515
|
+
*
|
|
4516
|
+
* @returns True if the name can be registered by the account, false otherwise.
|
|
4517
|
+
*
|
|
4518
|
+
* @example
|
|
4519
|
+
* ```typescript
|
|
4520
|
+
* const canReg = await movement.canRegister({
|
|
4521
|
+
* name: "mynewdomain",
|
|
4522
|
+
* account: alice.accountAddress,
|
|
4523
|
+
* });
|
|
4524
|
+
* console.log(canReg ? "Available!" : "Already taken");
|
|
4525
|
+
* ```
|
|
4526
|
+
* @group MNS
|
|
4527
|
+
*/
|
|
4528
|
+
canRegister(args: {
|
|
4529
|
+
name: string;
|
|
4530
|
+
account: AccountAddressInput;
|
|
4531
|
+
}): Promise<boolean>;
|
|
4532
|
+
/**
|
|
4533
|
+
* Check if a specific address owns a name.
|
|
4534
|
+
*
|
|
4535
|
+
* @param args - The arguments for the function.
|
|
4536
|
+
* @param args.name - The name to check ownership of.
|
|
4537
|
+
* @param args.account - The account address to check.
|
|
4538
|
+
*
|
|
4539
|
+
* @returns True if the account owns the name, false otherwise.
|
|
4540
|
+
*
|
|
4541
|
+
* @example
|
|
4542
|
+
* ```typescript
|
|
4543
|
+
* const isOwner = await movement.isNameOwner({
|
|
4544
|
+
* name: "test.move",
|
|
4545
|
+
* account: alice.accountAddress,
|
|
4546
|
+
* });
|
|
4547
|
+
* ```
|
|
4548
|
+
* @group MNS
|
|
4334
4549
|
*/
|
|
4335
|
-
|
|
4550
|
+
isNameOwner(args: {
|
|
4551
|
+
name: string;
|
|
4552
|
+
account: AccountAddressInput;
|
|
4553
|
+
}): Promise<boolean>;
|
|
4554
|
+
/**
|
|
4555
|
+
* Get the NFT token address for a domain or subdomain.
|
|
4556
|
+
*
|
|
4557
|
+
* @param args - The arguments for the function.
|
|
4558
|
+
* @param args.name - The name to get the token address for.
|
|
4559
|
+
*
|
|
4560
|
+
* @returns The token address, or undefined if the name doesn't exist.
|
|
4561
|
+
* @group MNS
|
|
4562
|
+
*/
|
|
4563
|
+
getTokenAddress(args: {
|
|
4564
|
+
name: string;
|
|
4565
|
+
}): Promise<AccountAddress | undefined>;
|
|
4566
|
+
/**
|
|
4567
|
+
* Clear the target address for a domain or subdomain, stopping it from resolving.
|
|
4568
|
+
*
|
|
4569
|
+
* @param args - The arguments for the function.
|
|
4570
|
+
* @param args.sender - The account that owns the name.
|
|
4571
|
+
* @param args.name - The name to clear the target address for.
|
|
4572
|
+
* @param args.options - Optional transaction options.
|
|
4573
|
+
*
|
|
4574
|
+
* @returns A transaction object to be signed and submitted.
|
|
4575
|
+
*
|
|
4576
|
+
* @example
|
|
4577
|
+
* ```typescript
|
|
4578
|
+
* // Stop "test.move" from resolving to any address
|
|
4579
|
+
* const txn = await movement.clearTargetAddress({
|
|
4580
|
+
* sender: alice,
|
|
4581
|
+
* name: "test.move",
|
|
4582
|
+
* });
|
|
4583
|
+
* ```
|
|
4584
|
+
* @group MNS
|
|
4585
|
+
*/
|
|
4586
|
+
clearTargetAddress(args: {
|
|
4587
|
+
sender: Account;
|
|
4588
|
+
name: string;
|
|
4589
|
+
options?: InputGenerateTransactionOptions;
|
|
4590
|
+
}): Promise<SimpleTransaction>;
|
|
4591
|
+
/**
|
|
4592
|
+
* Buy keys for a domain without staking them for a subdomain.
|
|
4593
|
+
* Keys can be held for speculation or staked later via stakeKeyForSubdomain.
|
|
4594
|
+
*
|
|
4595
|
+
* @param args - The arguments for the function.
|
|
4596
|
+
* @param args.sender - The account buying the keys.
|
|
4597
|
+
* @param args.domainName - The domain to buy keys for.
|
|
4598
|
+
* @param args.amount - The number of keys to buy.
|
|
4599
|
+
* @param args.referrer - Optional referrer address for fee sharing.
|
|
4600
|
+
* @param args.options - Optional transaction options.
|
|
4601
|
+
*
|
|
4602
|
+
* @returns A transaction object to be signed and submitted.
|
|
4603
|
+
*
|
|
4604
|
+
* @example
|
|
4605
|
+
* ```typescript
|
|
4606
|
+
* // Buy 2 keys for speculation
|
|
4607
|
+
* const txn = await movement.buyKeys({
|
|
4608
|
+
* sender: alice,
|
|
4609
|
+
* domainName: "popular-domain",
|
|
4610
|
+
* amount: 2,
|
|
4611
|
+
* });
|
|
4612
|
+
* ```
|
|
4613
|
+
* @group MNS
|
|
4614
|
+
*/
|
|
4615
|
+
buyKeys(args: {
|
|
4616
|
+
sender: Account;
|
|
4617
|
+
domainName: string;
|
|
4618
|
+
amount: number;
|
|
4619
|
+
referrer?: AccountAddressInput;
|
|
4620
|
+
options?: InputGenerateTransactionOptions;
|
|
4621
|
+
}): Promise<SimpleTransaction>;
|
|
4622
|
+
/**
|
|
4623
|
+
* Sell keys for a domain back to the bonding curve.
|
|
4624
|
+
*
|
|
4625
|
+
* @param args - The arguments for the function.
|
|
4626
|
+
* @param args.sender - The account selling the keys.
|
|
4627
|
+
* @param args.domainName - The domain to sell keys for.
|
|
4628
|
+
* @param args.amount - The number of keys to sell.
|
|
4629
|
+
* @param args.referrer - Optional referrer address for fee sharing.
|
|
4630
|
+
* @param args.options - Optional transaction options.
|
|
4631
|
+
*
|
|
4632
|
+
* @returns A transaction object to be signed and submitted.
|
|
4633
|
+
*
|
|
4634
|
+
* @example
|
|
4635
|
+
* ```typescript
|
|
4636
|
+
* // Sell 1 key back
|
|
4637
|
+
* const txn = await movement.sellKeys({
|
|
4638
|
+
* sender: alice,
|
|
4639
|
+
* domainName: "popular-domain",
|
|
4640
|
+
* amount: 1,
|
|
4641
|
+
* });
|
|
4642
|
+
* ```
|
|
4643
|
+
* @group MNS
|
|
4644
|
+
*/
|
|
4645
|
+
sellKeys(args: {
|
|
4646
|
+
sender: Account;
|
|
4647
|
+
domainName: string;
|
|
4648
|
+
amount: number;
|
|
4649
|
+
referrer?: AccountAddressInput;
|
|
4650
|
+
options?: InputGenerateTransactionOptions;
|
|
4651
|
+
}): Promise<SimpleTransaction>;
|
|
4652
|
+
/**
|
|
4653
|
+
* Get the registration price for a domain name.
|
|
4654
|
+
* Price varies based on domain length and registration duration.
|
|
4655
|
+
*
|
|
4656
|
+
* @param args - The arguments for the function.
|
|
4657
|
+
* @param args.name - The domain name to get the price for.
|
|
4658
|
+
* @param args.years - Number of years to register (default: 1).
|
|
4659
|
+
*
|
|
4660
|
+
* @returns The price in octas to register the domain.
|
|
4661
|
+
*
|
|
4662
|
+
* @example
|
|
4663
|
+
* ```typescript
|
|
4664
|
+
* // Check price before registering
|
|
4665
|
+
* const price = await movement.getDomainPrice({ name: "mynewdomain" });
|
|
4666
|
+
* console.log(`Registration costs ${price} octas (${Number(price) / 1e8} MOVE)`);
|
|
4667
|
+
* ```
|
|
4668
|
+
* @group MNS
|
|
4669
|
+
*/
|
|
4670
|
+
getDomainPrice(args: {
|
|
4671
|
+
name: string;
|
|
4672
|
+
years?: number;
|
|
4673
|
+
}): Promise<bigint>;
|
|
4336
4674
|
}
|
|
4337
4675
|
|
|
4338
4676
|
/**
|
|
@@ -9334,7 +9672,7 @@ declare class Transaction {
|
|
|
9334
9672
|
declare class Movement {
|
|
9335
9673
|
readonly config: MovementConfig;
|
|
9336
9674
|
readonly account: Account$1;
|
|
9337
|
-
readonly
|
|
9675
|
+
readonly mns: MNS;
|
|
9338
9676
|
readonly coin: Coin;
|
|
9339
9677
|
readonly digitalAsset: DigitalAsset;
|
|
9340
9678
|
readonly faucet: Faucet;
|
|
@@ -9369,7 +9707,7 @@ declare class Movement {
|
|
|
9369
9707
|
constructor(config?: MovementConfig);
|
|
9370
9708
|
setIgnoreTransactionSubmitter(ignore: boolean): void;
|
|
9371
9709
|
}
|
|
9372
|
-
interface Movement extends Account$1,
|
|
9710
|
+
interface Movement extends Account$1, MNS, Coin, DigitalAsset, Event, Faucet, FungibleAsset, General, Keyless, Staking, Table, MovementObject, Omit<Transaction, "build" | "simulate" | "submit" | "batch"> {
|
|
9373
9711
|
}
|
|
9374
9712
|
|
|
9375
9713
|
/**
|
|
@@ -10640,4 +10978,4 @@ declare class MovementApiError extends Error {
|
|
|
10640
10978
|
constructor({ apiType, aptosRequest, movementResponse }: MovementApiErrorOpts);
|
|
10641
10979
|
}
|
|
10642
10980
|
|
|
10643
|
-
export { AbstractKeylessAccount, AbstractPublicKey, AbstractSignature, AbstractedAccount, Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorAbstraction, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorNoAccountAuthenticator, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AccountUtils, AnyNumber, AnyPublicKey, AnyRawTransaction, AnyRawTransactionInstance, AnySignature, AnyTransactionPayloadInstance, 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,
|
|
10981
|
+
export { AbstractKeylessAccount, AbstractPublicKey, AbstractSignature, AbstractedAccount, Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorAbstraction, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorNoAccountAuthenticator, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AccountUtils, AnyNumber, AnyPublicKey, AnyRawTransaction, AnyRawTransactionInstance, AnySignature, AnyTransactionPayloadInstance, 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, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetMNSNameResponse, 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, MOVEMENT_BIP44_REGEX, MOVEMENT_HARDENED_REGEX, MimeType, MoveFunction, MoveFunctionId, MoveJWK, MoveModule, MoveModuleBytecode, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, Movement, MovementApiError, MovementApiType, MovementConfig, MovementRequest, MovementResponse, 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 };
|