@aptos-labs/ts-sdk 0.0.6 → 0.0.8
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 +26 -5
- package/dist/browser/index.d.ts +1097 -519
- package/dist/browser/index.global.js +49 -28
- package/dist/browser/index.global.js.map +1 -1
- package/dist/common/index.d.ts +1097 -519
- package/dist/common/index.js +48 -27
- package/dist/common/index.js.map +1 -1
- package/dist/esm/api/account.d.mts +72 -47
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +214 -18
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +9 -0
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.d.mts +2 -2
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.d.mts +6 -5
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +24 -21
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/event.d.mts +12 -14
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/faucet.d.mts +4 -4
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +71 -30
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +12 -5
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +5 -0
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/staking.d.mts +13 -9
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +36 -2
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +54 -0
- package/dist/esm/api/transactionSubmission/build.mjs +2 -0
- package/dist/esm/api/transactionSubmission/sign.d.mts +51 -0
- package/dist/esm/api/transactionSubmission/sign.mjs +2 -0
- package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -0
- package/dist/esm/api/transactionSubmission/simulate.d.mts +54 -0
- package/dist/esm/api/transactionSubmission/simulate.mjs +2 -0
- package/dist/esm/api/transactionSubmission/simulate.mjs.map +1 -0
- package/dist/esm/api/transactionSubmission/submit.d.mts +52 -0
- package/dist/esm/api/transactionSubmission/submit.mjs +2 -0
- package/dist/esm/api/transactionSubmission/submit.mjs.map +1 -0
- package/dist/esm/api/transactionSubmission.d.mts +25 -54
- package/dist/esm/api/transactionSubmission.mjs +1 -1
- package/dist/esm/api/utils.d.mts +21 -0
- package/dist/esm/api/utils.mjs +2 -0
- package/dist/esm/api/utils.mjs.map +1 -0
- package/dist/esm/bcs/deserializer.d.mts +4 -4
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +4 -4
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-UAAI3NCA.mjs → chunk-2SAKPC5Q.mjs} +2 -2
- package/dist/esm/chunk-2YQXX64E.mjs +2 -0
- package/dist/esm/chunk-2YQXX64E.mjs.map +1 -0
- package/dist/esm/chunk-3F5WV6US.mjs +2 -0
- package/dist/esm/chunk-3F5WV6US.mjs.map +1 -0
- package/dist/esm/{chunk-ARVSIDVB.mjs → chunk-3RMXGSHK.mjs} +2 -2
- package/dist/esm/chunk-3RMXGSHK.mjs.map +1 -0
- package/dist/esm/{chunk-4ADA5BE7.mjs → chunk-53DS6NBQ.mjs} +2 -2
- package/dist/esm/chunk-5CUNY7X2.mjs +2 -0
- package/dist/esm/chunk-5CUNY7X2.mjs.map +1 -0
- package/dist/esm/{chunk-QWVR4RCV.mjs → chunk-5OPOJ43H.mjs} +2 -2
- package/dist/esm/{chunk-V45RFKH7.mjs → chunk-5UY5OKXR.mjs} +2 -2
- package/dist/esm/chunk-5UY5OKXR.mjs.map +1 -0
- package/dist/esm/chunk-5ZVCSKFX.mjs +2 -0
- package/dist/esm/chunk-5ZVCSKFX.mjs.map +1 -0
- package/dist/esm/{chunk-HVADSXTB.mjs → chunk-73VWOS4Z.mjs} +2 -2
- package/dist/esm/chunk-ALFESCPU.mjs +2 -0
- package/dist/esm/chunk-ALFESCPU.mjs.map +1 -0
- package/dist/esm/chunk-APSQ4M23.mjs +2 -0
- package/dist/esm/chunk-APSQ4M23.mjs.map +1 -0
- package/dist/esm/{chunk-U25N2VWA.mjs → chunk-AZUWHKN5.mjs} +2 -2
- package/dist/esm/{chunk-WX43AJTD.mjs → chunk-BQSE5HHW.mjs} +45 -24
- package/dist/esm/chunk-BQSE5HHW.mjs.map +1 -0
- package/dist/esm/chunk-CCXMVVXD.mjs +2 -0
- package/dist/esm/chunk-CCXMVVXD.mjs.map +1 -0
- package/dist/esm/{chunk-JZNLZMUC.mjs → chunk-CJPCOS4R.mjs} +2 -2
- package/dist/esm/{chunk-S36IYY6K.mjs → chunk-CL5B2QNS.mjs} +2 -2
- package/dist/esm/chunk-CLJLQXFQ.mjs +2 -0
- package/dist/esm/chunk-CLJLQXFQ.mjs.map +1 -0
- package/dist/esm/{chunk-EWTHPMEE.mjs → chunk-CU2DINU4.mjs} +2 -2
- package/dist/esm/chunk-EFRFDFS4.mjs +2 -0
- package/dist/esm/chunk-EFRFDFS4.mjs.map +1 -0
- package/dist/esm/chunk-EOC4UI5B.mjs +2 -0
- package/dist/esm/{chunk-KC64ESLO.mjs.map → chunk-EOC4UI5B.mjs.map} +1 -1
- package/dist/esm/{chunk-HA6JD5R6.mjs → chunk-F6K26WV5.mjs} +2 -2
- package/dist/esm/{chunk-HA6JD5R6.mjs.map → chunk-F6K26WV5.mjs.map} +1 -1
- package/dist/esm/chunk-F7EWDYTE.mjs +2 -0
- package/dist/esm/chunk-F7EWDYTE.mjs.map +1 -0
- package/dist/esm/{chunk-44MGBJ73.mjs → chunk-FZ56IS3E.mjs} +2 -2
- package/dist/esm/chunk-G36AY4R7.mjs +2 -0
- package/dist/esm/chunk-G36AY4R7.mjs.map +1 -0
- package/dist/esm/chunk-GEZSEAL5.mjs +2 -0
- package/dist/esm/chunk-GEZSEAL5.mjs.map +1 -0
- package/dist/esm/chunk-GIZLK7M7.mjs +2 -0
- package/dist/esm/chunk-GIZLK7M7.mjs.map +1 -0
- package/dist/esm/chunk-GMG4VR3K.mjs +2 -0
- package/dist/esm/chunk-GMG4VR3K.mjs.map +1 -0
- package/dist/esm/{chunk-U6SZNNVL.mjs → chunk-GXPGRCSW.mjs} +2 -2
- package/dist/esm/{chunk-U6SZNNVL.mjs.map → chunk-GXPGRCSW.mjs.map} +1 -1
- package/dist/esm/{chunk-GEFQFRL3.mjs → chunk-HC5VMNXA.mjs} +2 -2
- package/dist/esm/chunk-HTI5LEST.mjs +2 -0
- package/dist/esm/chunk-HTI5LEST.mjs.map +1 -0
- package/dist/esm/chunk-IELTCGLP.mjs +2 -0
- package/dist/esm/chunk-IELTCGLP.mjs.map +1 -0
- package/dist/esm/chunk-IHYTP2EW.mjs +1 -0
- package/dist/esm/chunk-IHYTP2EW.mjs.map +1 -0
- package/dist/esm/chunk-JI2BBZ2W.mjs +2 -0
- package/dist/esm/{chunk-3JVGSFHP.mjs.map → chunk-JI2BBZ2W.mjs.map} +1 -1
- package/dist/esm/chunk-KKER5KL4.mjs +2 -0
- package/dist/esm/chunk-KKER5KL4.mjs.map +1 -0
- package/dist/esm/chunk-KNMWDGP4.mjs +2 -0
- package/dist/esm/chunk-KNMWDGP4.mjs.map +1 -0
- package/dist/esm/{chunk-YYRDFZE6.mjs → chunk-KZSJ5MFF.mjs} +2 -2
- package/dist/esm/{chunk-YYRDFZE6.mjs.map → chunk-KZSJ5MFF.mjs.map} +1 -1
- package/dist/esm/chunk-MWAMLQ25.mjs +2 -0
- package/dist/esm/chunk-MWAMLQ25.mjs.map +1 -0
- package/dist/esm/chunk-NL72WE3E.mjs +2 -0
- package/dist/esm/{chunk-TIH6ARYP.mjs.map → chunk-NL72WE3E.mjs.map} +1 -1
- package/dist/esm/chunk-NZSGGL25.mjs +2 -0
- package/dist/esm/chunk-NZSGGL25.mjs.map +1 -0
- package/dist/esm/chunk-OBOOY2QD.mjs +2 -0
- package/dist/esm/chunk-OBOOY2QD.mjs.map +1 -0
- package/dist/esm/chunk-OT2UDMUU.mjs +2 -0
- package/dist/esm/chunk-OT2UDMUU.mjs.map +1 -0
- package/dist/esm/chunk-OZZDXS26.mjs +2 -0
- package/dist/esm/chunk-OZZDXS26.mjs.map +1 -0
- package/dist/esm/chunk-P5747ZYC.mjs +2 -0
- package/dist/esm/chunk-P5747ZYC.mjs.map +1 -0
- package/dist/esm/{chunk-BPYLPPEQ.mjs → chunk-PL2VA73L.mjs} +2 -2
- package/dist/esm/chunk-PXTMLJKO.mjs +2 -0
- package/dist/esm/{chunk-JDS7K2WI.mjs → chunk-QCBIJCU4.mjs} +2 -2
- package/dist/esm/chunk-QEXAMHPU.mjs +2 -0
- package/dist/esm/chunk-QEXAMHPU.mjs.map +1 -0
- package/dist/esm/{chunk-KQXRH5FK.mjs → chunk-QNTV5NMH.mjs} +2 -2
- package/dist/esm/{chunk-EQ5BEDJ7.mjs → chunk-RCM3K5JL.mjs} +2 -2
- package/dist/esm/chunk-RLG3WOTH.mjs +2 -0
- package/dist/esm/chunk-RLG3WOTH.mjs.map +1 -0
- package/dist/esm/chunk-SDPICQ5B.mjs +2 -0
- package/dist/esm/{chunk-FYIFBLHU.mjs.map → chunk-SDPICQ5B.mjs.map} +1 -1
- package/dist/esm/chunk-SGTFMSOG.mjs +2 -0
- package/dist/esm/chunk-SGTFMSOG.mjs.map +1 -0
- package/dist/esm/chunk-SO6EE5DX.mjs +2 -0
- package/dist/esm/chunk-SO6EE5DX.mjs.map +1 -0
- package/dist/esm/chunk-SRGPSANH.mjs +2 -0
- package/dist/esm/chunk-SRGPSANH.mjs.map +1 -0
- package/dist/esm/{chunk-UPLWWSB4.mjs → chunk-SSJQOXEP.mjs} +2 -2
- package/dist/esm/chunk-TZ623H2V.mjs +2 -0
- package/dist/esm/chunk-TZ623H2V.mjs.map +1 -0
- package/dist/esm/chunk-U6Z4FNB7.mjs +2 -0
- package/dist/esm/chunk-U6Z4FNB7.mjs.map +1 -0
- package/dist/esm/{chunk-GTC7WHMV.mjs → chunk-UDMADMVO.mjs} +1 -1
- package/dist/esm/{chunk-GTC7WHMV.mjs.map → chunk-UDMADMVO.mjs.map} +1 -1
- package/dist/esm/chunk-UIVJXLRM.mjs +1 -0
- package/dist/esm/chunk-UIVJXLRM.mjs.map +1 -0
- package/dist/esm/chunk-UKSA4H2O.mjs +2 -0
- package/dist/esm/chunk-UKSA4H2O.mjs.map +1 -0
- package/dist/esm/chunk-UW6HQ643.mjs +2 -0
- package/dist/esm/chunk-UW6HQ643.mjs.map +1 -0
- package/dist/esm/chunk-UWXDXOFK.mjs +2 -0
- package/dist/esm/chunk-UWXDXOFK.mjs.map +1 -0
- package/dist/esm/chunk-VQ7LYNMD.mjs +2 -0
- package/dist/esm/chunk-VQ7LYNMD.mjs.map +1 -0
- package/dist/esm/{chunk-U3LO2FSJ.mjs → chunk-WTGGCH34.mjs} +2 -2
- package/dist/esm/{chunk-X32O46IB.mjs → chunk-XITLXPBK.mjs} +2 -2
- package/dist/esm/chunk-XMUUI6HG.mjs +2 -0
- package/dist/esm/{chunk-R3KWVOFG.mjs.map → chunk-XMUUI6HG.mjs.map} +1 -1
- package/dist/esm/chunk-XX2Z26FH.mjs +2 -0
- package/dist/esm/chunk-XX2Z26FH.mjs.map +1 -0
- package/dist/esm/chunk-Y6PVFMBS.mjs +2 -0
- package/dist/esm/chunk-Y6PVFMBS.mjs.map +1 -0
- package/dist/esm/{chunk-VWVEDCBM.mjs → chunk-YN6UIVFB.mjs} +2 -2
- package/dist/esm/chunk-ZFK7QD3B.mjs +2 -0
- package/dist/esm/chunk-ZFK7QD3B.mjs.map +1 -0
- package/dist/esm/chunk-ZJUDDSWN.mjs +2 -0
- package/dist/esm/chunk-ZJUDDSWN.mjs.map +1 -0
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +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/account.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +9 -9
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/crypto/anyPublicKey.d.mts +5 -0
- package/dist/esm/core/crypto/anyPublicKey.mjs +1 -1
- package/dist/esm/core/crypto/anySignature.mjs +1 -1
- package/dist/esm/core/crypto/asymmetricCrypto.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +3 -0
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +2 -2
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +2 -0
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +3 -0
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/hex.mjs +1 -1
- package/dist/esm/core/index.d.mts +2 -2
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/index.d.mts +17 -10
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/account.d.mts +20 -33
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +78 -14
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +6 -5
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +12 -21
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/event.d.mts +5 -12
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +2 -2
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +40 -22
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +9 -5
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/staking.d.mts +4 -6
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/transaction.d.mts +12 -4
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +29 -41
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/transactions/authenticator/account.d.mts +5 -0
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +1 -0
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +1 -0
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +5 -4
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +1 -0
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.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.d.mts +1 -0
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +89 -0
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +2 -0
- package/dist/esm/transactions/management/accountSequenceNumber.mjs.map +1 -0
- package/dist/esm/transactions/management/asyncQueue.d.mts +58 -0
- package/dist/esm/transactions/management/asyncQueue.mjs +2 -0
- package/dist/esm/transactions/management/asyncQueue.mjs.map +1 -0
- package/dist/esm/transactions/management/index.d.mts +36 -0
- package/dist/esm/transactions/management/index.mjs +2 -0
- package/dist/esm/transactions/management/index.mjs.map +1 -0
- package/dist/esm/transactions/management/transactionWorker.d.mts +135 -0
- package/dist/esm/transactions/management/transactionWorker.mjs +2 -0
- package/dist/esm/transactions/management/transactionWorker.mjs.map +1 -0
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +3 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +4 -3
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +3 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +6 -8
- 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/transactions/types.d.mts +18 -43
- package/dist/esm/types/generated/operations.d.mts +30 -4
- package/dist/esm/types/generated/queries.d.mts +8 -5
- package/dist/esm/types/generated/queries.mjs +1 -1
- package/dist/esm/types/index.d.mts +27 -9
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/indexer.d.mts +3 -2
- package/dist/esm/utils/const.d.mts +18 -1
- package/dist/esm/utils/const.mjs +1 -1
- package/dist/esm/utils/index.d.mts +1 -1
- package/dist/esm/utils/index.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/api/account.ts +150 -53
- package/src/api/ans.ts +252 -16
- package/src/api/aptos.ts +20 -0
- package/src/api/aptosConfig.ts +2 -2
- package/src/api/coin.ts +4 -8
- package/src/api/digitalAsset.ts +75 -25
- package/src/api/event.ts +28 -17
- package/src/api/faucet.ts +12 -9
- package/src/api/fungibleAsset.ts +76 -35
- package/src/api/general.ts +19 -3
- package/src/api/staking.ts +30 -11
- package/src/api/transaction.ts +16 -1
- package/src/api/transactionSubmission/build.ts +42 -0
- package/src/api/transactionSubmission/sign.ts +44 -0
- package/src/api/transactionSubmission/simulate.ts +56 -0
- package/src/api/transactionSubmission/submit.ts +53 -0
- package/src/api/transactionSubmission.ts +31 -128
- package/src/api/utils.ts +37 -0
- package/src/bcs/deserializer.ts +4 -4
- package/src/bcs/serializer.ts +4 -4
- package/src/client/core.ts +6 -4
- package/src/client/get.ts +7 -6
- package/src/core/accountAddress.ts +20 -22
- package/src/core/crypto/anyPublicKey.ts +12 -0
- package/src/core/crypto/ed25519.ts +13 -0
- package/src/core/crypto/index.ts +2 -0
- package/src/core/crypto/secp256k1.ts +12 -0
- package/src/core/hex.ts +5 -7
- package/src/index.ts +1 -0
- package/src/internal/account.ts +56 -50
- package/src/internal/ans.ts +423 -24
- package/src/internal/coin.ts +6 -8
- package/src/internal/digitalAsset.ts +15 -25
- package/src/internal/event.ts +7 -14
- package/src/internal/faucet.ts +10 -6
- package/src/internal/fungibleAsset.ts +36 -18
- package/src/internal/general.ts +30 -3
- package/src/internal/queries/ansTokenFragment.graphql +9 -0
- package/src/internal/queries/getNames.graphql +11 -0
- package/src/internal/queries/getNumberOfDelegatorsQuery.graphql +5 -5
- package/src/internal/queries/getProcessorStatus.graphql +2 -2
- package/src/internal/staking.ts +12 -14
- package/src/internal/transaction.ts +23 -26
- package/src/internal/transactionSubmission.ts +63 -25
- package/src/transactions/authenticator/account.ts +16 -0
- package/src/transactions/instances/moduleId.ts +1 -1
- package/src/transactions/management/accountSequenceNumber.ts +186 -0
- package/src/transactions/management/asyncQueue.ts +107 -0
- package/src/transactions/management/index.ts +2 -0
- package/src/transactions/management/transactionWorker.ts +275 -0
- package/src/transactions/transactionBuilder/helpers.ts +28 -1
- package/src/transactions/transactionBuilder/remoteAbi.ts +35 -28
- package/src/transactions/transactionBuilder/transactionBuilder.ts +46 -67
- package/src/transactions/typeTag/parser.ts +1 -1
- package/src/transactions/types.ts +16 -47
- package/src/types/generated/operations.ts +33 -2
- package/src/types/generated/queries.ts +38 -4
- package/src/types/index.ts +67 -11
- package/src/types/indexer.ts +3 -0
- package/src/utils/const.ts +18 -0
- package/src/version.ts +1 -1
- package/dist/esm/chunk-2W744GUN.mjs +0 -2
- package/dist/esm/chunk-2W744GUN.mjs.map +0 -1
- package/dist/esm/chunk-3JVGSFHP.mjs +0 -2
- package/dist/esm/chunk-4RVIA63I.mjs +0 -2
- package/dist/esm/chunk-4RVIA63I.mjs.map +0 -1
- package/dist/esm/chunk-62SCW5NH.mjs +0 -2
- package/dist/esm/chunk-62SCW5NH.mjs.map +0 -1
- package/dist/esm/chunk-7MNEEVXY.mjs +0 -2
- package/dist/esm/chunk-7MNEEVXY.mjs.map +0 -1
- package/dist/esm/chunk-AAIBCWZY.mjs +0 -2
- package/dist/esm/chunk-AAIBCWZY.mjs.map +0 -1
- package/dist/esm/chunk-ARVSIDVB.mjs.map +0 -1
- package/dist/esm/chunk-BFSEVKNA.mjs +0 -2
- package/dist/esm/chunk-BFSEVKNA.mjs.map +0 -1
- package/dist/esm/chunk-BP5ZO7NK.mjs +0 -2
- package/dist/esm/chunk-BP5ZO7NK.mjs.map +0 -1
- package/dist/esm/chunk-BV4OOU5Y.mjs +0 -2
- package/dist/esm/chunk-BV4OOU5Y.mjs.map +0 -1
- package/dist/esm/chunk-BWMNPUTK.mjs +0 -2
- package/dist/esm/chunk-BWMNPUTK.mjs.map +0 -1
- package/dist/esm/chunk-EFIYW4WK.mjs +0 -2
- package/dist/esm/chunk-EGOYLZBU.mjs +0 -2
- package/dist/esm/chunk-EGOYLZBU.mjs.map +0 -1
- package/dist/esm/chunk-EYXHVA6W.mjs +0 -2
- package/dist/esm/chunk-EYXHVA6W.mjs.map +0 -1
- package/dist/esm/chunk-FYIFBLHU.mjs +0 -2
- package/dist/esm/chunk-IG5CHHSI.mjs +0 -2
- package/dist/esm/chunk-IG5CHHSI.mjs.map +0 -1
- package/dist/esm/chunk-IXMB2GOK.mjs +0 -2
- package/dist/esm/chunk-IXMB2GOK.mjs.map +0 -1
- package/dist/esm/chunk-J5ZFOJN2.mjs +0 -2
- package/dist/esm/chunk-J5ZFOJN2.mjs.map +0 -1
- package/dist/esm/chunk-KC64ESLO.mjs +0 -2
- package/dist/esm/chunk-NGCFPQ22.mjs +0 -2
- package/dist/esm/chunk-NGCFPQ22.mjs.map +0 -1
- package/dist/esm/chunk-NTD3H2S4.mjs +0 -2
- package/dist/esm/chunk-NTD3H2S4.mjs.map +0 -1
- package/dist/esm/chunk-NYFVEKF6.mjs +0 -2
- package/dist/esm/chunk-NYFVEKF6.mjs.map +0 -1
- package/dist/esm/chunk-NZIJV4O2.mjs +0 -2
- package/dist/esm/chunk-NZIJV4O2.mjs.map +0 -1
- package/dist/esm/chunk-P32MY5YF.mjs +0 -2
- package/dist/esm/chunk-P32MY5YF.mjs.map +0 -1
- package/dist/esm/chunk-Q6N6QACD.mjs +0 -2
- package/dist/esm/chunk-Q6N6QACD.mjs.map +0 -1
- package/dist/esm/chunk-R26XML3D.mjs +0 -2
- package/dist/esm/chunk-R26XML3D.mjs.map +0 -1
- package/dist/esm/chunk-R3KWVOFG.mjs +0 -2
- package/dist/esm/chunk-RYETO74W.mjs +0 -2
- package/dist/esm/chunk-RYETO74W.mjs.map +0 -1
- package/dist/esm/chunk-TCTZCPQ6.mjs +0 -1
- package/dist/esm/chunk-TIH6ARYP.mjs +0 -2
- package/dist/esm/chunk-TQD4IGUM.mjs +0 -2
- package/dist/esm/chunk-TQD4IGUM.mjs.map +0 -1
- package/dist/esm/chunk-UNQNACJT.mjs +0 -2
- package/dist/esm/chunk-UNQNACJT.mjs.map +0 -1
- package/dist/esm/chunk-V45RFKH7.mjs.map +0 -1
- package/dist/esm/chunk-VMQWW5UT.mjs +0 -2
- package/dist/esm/chunk-VMQWW5UT.mjs.map +0 -1
- package/dist/esm/chunk-VOYW2TZW.mjs +0 -2
- package/dist/esm/chunk-VOYW2TZW.mjs.map +0 -1
- package/dist/esm/chunk-VYAVLUPJ.mjs +0 -2
- package/dist/esm/chunk-VYAVLUPJ.mjs.map +0 -1
- package/dist/esm/chunk-WKY5ENCK.mjs +0 -2
- package/dist/esm/chunk-WKY5ENCK.mjs.map +0 -1
- package/dist/esm/chunk-WX43AJTD.mjs.map +0 -1
- package/dist/esm/chunk-Y5DJPHJT.mjs +0 -2
- package/dist/esm/chunk-Y5DJPHJT.mjs.map +0 -1
- package/dist/esm/chunk-Y7VR7X5W.mjs +0 -2
- package/dist/esm/chunk-Y7VR7X5W.mjs.map +0 -1
- package/dist/esm/chunk-Z2UDRTHA.mjs +0 -2
- package/dist/esm/chunk-Z2UDRTHA.mjs.map +0 -1
- /package/dist/esm/{chunk-TCTZCPQ6.mjs.map → api/transactionSubmission/build.mjs.map} +0 -0
- /package/dist/esm/{chunk-UAAI3NCA.mjs.map → chunk-2SAKPC5Q.mjs.map} +0 -0
- /package/dist/esm/{chunk-4ADA5BE7.mjs.map → chunk-53DS6NBQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-QWVR4RCV.mjs.map → chunk-5OPOJ43H.mjs.map} +0 -0
- /package/dist/esm/{chunk-HVADSXTB.mjs.map → chunk-73VWOS4Z.mjs.map} +0 -0
- /package/dist/esm/{chunk-U25N2VWA.mjs.map → chunk-AZUWHKN5.mjs.map} +0 -0
- /package/dist/esm/{chunk-JZNLZMUC.mjs.map → chunk-CJPCOS4R.mjs.map} +0 -0
- /package/dist/esm/{chunk-S36IYY6K.mjs.map → chunk-CL5B2QNS.mjs.map} +0 -0
- /package/dist/esm/{chunk-EWTHPMEE.mjs.map → chunk-CU2DINU4.mjs.map} +0 -0
- /package/dist/esm/{chunk-44MGBJ73.mjs.map → chunk-FZ56IS3E.mjs.map} +0 -0
- /package/dist/esm/{chunk-GEFQFRL3.mjs.map → chunk-HC5VMNXA.mjs.map} +0 -0
- /package/dist/esm/{chunk-BPYLPPEQ.mjs.map → chunk-PL2VA73L.mjs.map} +0 -0
- /package/dist/esm/{chunk-EFIYW4WK.mjs.map → chunk-PXTMLJKO.mjs.map} +0 -0
- /package/dist/esm/{chunk-JDS7K2WI.mjs.map → chunk-QCBIJCU4.mjs.map} +0 -0
- /package/dist/esm/{chunk-KQXRH5FK.mjs.map → chunk-QNTV5NMH.mjs.map} +0 -0
- /package/dist/esm/{chunk-EQ5BEDJ7.mjs.map → chunk-RCM3K5JL.mjs.map} +0 -0
- /package/dist/esm/{chunk-UPLWWSB4.mjs.map → chunk-SSJQOXEP.mjs.map} +0 -0
- /package/dist/esm/{chunk-U3LO2FSJ.mjs.map → chunk-WTGGCH34.mjs.map} +0 -0
- /package/dist/esm/{chunk-X32O46IB.mjs.map → chunk-XITLXPBK.mjs.map} +0 -0
- /package/dist/esm/{chunk-VWVEDCBM.mjs.map → chunk-YN6UIVFB.mjs.map} +0 -0
package/dist/esm/api/coin.d.mts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { AptosConfig } from './aptosConfig.mjs';
|
|
2
1
|
import { Account } from '../core/account.mjs';
|
|
3
2
|
import { AccountAddressInput } from '../core/accountAddress.mjs';
|
|
4
3
|
import { AnyNumber, MoveStructId } from '../types/index.mjs';
|
|
5
|
-
import { InputGenerateTransactionOptions,
|
|
6
|
-
import '
|
|
7
|
-
import '../utils/const.mjs';
|
|
4
|
+
import { InputGenerateTransactionOptions, SingleSignerTransaction } from '../transactions/types.mjs';
|
|
5
|
+
import { AptosConfig } from './aptosConfig.mjs';
|
|
8
6
|
import '../core/authenticationKey.mjs';
|
|
9
7
|
import '../core/crypto/asymmetricCrypto.mjs';
|
|
10
8
|
import '../bcs/serializer.mjs';
|
|
@@ -12,6 +10,7 @@ import '../core/hex.mjs';
|
|
|
12
10
|
import '../core/common.mjs';
|
|
13
11
|
import '../bcs/deserializer.mjs';
|
|
14
12
|
import '../transactions/instances/transactionArgument.mjs';
|
|
13
|
+
import '../utils/apiEndpoints.mjs';
|
|
15
14
|
import '../types/indexer.mjs';
|
|
16
15
|
import '../types/generated/operations.mjs';
|
|
17
16
|
import '../types/generated/types.mjs';
|
|
@@ -28,8 +27,10 @@ import '../transactions/authenticator/account.mjs';
|
|
|
28
27
|
import '../core/crypto/anyPublicKey.mjs';
|
|
29
28
|
import '../core/crypto/anySignature.mjs';
|
|
30
29
|
import '../core/crypto/ed25519.mjs';
|
|
30
|
+
import '../core/crypto/secp256k1.mjs';
|
|
31
31
|
import '../core/crypto/multiEd25519.mjs';
|
|
32
32
|
import '../core/crypto/multiKey.mjs';
|
|
33
|
+
import '../utils/const.mjs';
|
|
33
34
|
|
|
34
35
|
/**
|
|
35
36
|
* A class to handle all `Coin` operations
|
|
@@ -53,7 +54,7 @@ declare class Coin {
|
|
|
53
54
|
amount: AnyNumber;
|
|
54
55
|
coinType?: MoveStructId;
|
|
55
56
|
options?: InputGenerateTransactionOptions;
|
|
56
|
-
}): Promise<
|
|
57
|
+
}): Promise<SingleSignerTransaction>;
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
export { Coin };
|
package/dist/esm/api/coin.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-5UY5OKXR.mjs";import"../chunk-TZ623H2V.mjs";import"../chunk-CLJLQXFQ.mjs";import"../chunk-GIZLK7M7.mjs";import"../chunk-5CUNY7X2.mjs";import"../chunk-F7EWDYTE.mjs";import"../chunk-GXPGRCSW.mjs";import"../chunk-HTZTTZQJ.mjs";import"../chunk-2SAKPC5Q.mjs";import"../chunk-QCBIJCU4.mjs";import"../chunk-RCM3K5JL.mjs";import"../chunk-HTI5LEST.mjs";import"../chunk-CJPCOS4R.mjs";import"../chunk-CL5B2QNS.mjs";import"../chunk-YN6UIVFB.mjs";import"../chunk-QNTV5NMH.mjs";import"../chunk-XMUUI6HG.mjs";import"../chunk-CU2DINU4.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-SGTFMSOG.mjs";import"../chunk-GEZSEAL5.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-UIVJXLRM.mjs";import"../chunk-5OPOJ43H.mjs";import"../chunk-SSJQOXEP.mjs";import"../chunk-WTGGCH34.mjs";import"../chunk-AZUWHKN5.mjs";import"../chunk-FZ56IS3E.mjs";import"../chunk-KZSJ5MFF.mjs";import"../chunk-3F5WV6US.mjs";import"../chunk-UW6HQ643.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-PXTMLJKO.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-53DS6NBQ.mjs";import"../chunk-73VWOS4Z.mjs";import"../chunk-PL2VA73L.mjs";import"../chunk-XITLXPBK.mjs";import"../chunk-UDMADMVO.mjs";import"../chunk-G36AY4R7.mjs";import"../chunk-F6K26WV5.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-NL72WE3E.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-OT2UDMUU.mjs";import"../chunk-BQSE5HHW.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-JI2BBZ2W.mjs";import"../chunk-HC5VMNXA.mjs";import"../chunk-SO6EE5DX.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-ALFESCPU.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-SDPICQ5B.mjs";import"../chunk-EOC4UI5B.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as Coin};
|
|
2
2
|
//# sourceMappingURL=coin.mjs.map
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { PaginationArgs } from '../types/index.mjs';
|
|
2
|
-
import { AptosConfig } from './aptosConfig.mjs';
|
|
1
|
+
import { AnyNumber, TokenStandardArg, PaginationArgs, OrderByArg } from '../types/index.mjs';
|
|
3
2
|
import { Account } from '../core/account.mjs';
|
|
4
3
|
import { AccountAddressInput } from '../core/accountAddress.mjs';
|
|
5
|
-
import { InputGenerateTransactionOptions,
|
|
4
|
+
import { InputGenerateTransactionOptions, SingleSignerTransaction } from '../transactions/types.mjs';
|
|
6
5
|
import { CreateCollectionOptions } from '../internal/digitalAsset.mjs';
|
|
7
|
-
import {
|
|
6
|
+
import { AptosConfig } from './aptosConfig.mjs';
|
|
7
|
+
import { GetCollectionDataResponse, GetTokenDataResponse, GetCurrentTokenOwnershipResponse, GetOwnedTokensResponse, GetTokenActivityResponse } from '../types/indexer.mjs';
|
|
8
8
|
import '../utils/apiEndpoints.mjs';
|
|
9
|
-
import '../utils/const.mjs';
|
|
10
9
|
import '../core/authenticationKey.mjs';
|
|
11
10
|
import '../core/crypto/asymmetricCrypto.mjs';
|
|
12
11
|
import '../bcs/serializer.mjs';
|
|
@@ -27,8 +26,10 @@ import '../transactions/authenticator/account.mjs';
|
|
|
27
26
|
import '../core/crypto/anyPublicKey.mjs';
|
|
28
27
|
import '../core/crypto/anySignature.mjs';
|
|
29
28
|
import '../core/crypto/ed25519.mjs';
|
|
29
|
+
import '../core/crypto/secp256k1.mjs';
|
|
30
30
|
import '../core/crypto/multiEd25519.mjs';
|
|
31
31
|
import '../core/crypto/multiKey.mjs';
|
|
32
|
+
import '../utils/const.mjs';
|
|
32
33
|
import '../types/generated/operations.mjs';
|
|
33
34
|
import '../types/generated/types.mjs';
|
|
34
35
|
|
|
@@ -69,7 +70,7 @@ declare class DigitalAsset {
|
|
|
69
70
|
name: string;
|
|
70
71
|
uri: string;
|
|
71
72
|
options?: InputGenerateTransactionOptions;
|
|
72
|
-
} & CreateCollectionOptions): Promise<
|
|
73
|
+
} & CreateCollectionOptions): Promise<SingleSignerTransaction>;
|
|
73
74
|
/**
|
|
74
75
|
* Queries data of a specific collection by the collection creator address and the collection name.
|
|
75
76
|
*
|
|
@@ -78,15 +79,15 @@ declare class DigitalAsset {
|
|
|
78
79
|
*
|
|
79
80
|
* @param args.creatorAddress the address of the collection's creator
|
|
80
81
|
* @param args.collectionName the name of the collection
|
|
82
|
+
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
81
83
|
* @param args.options.tokenStandard the token standard to query
|
|
82
84
|
* @returns GetCollectionDataResponse response type
|
|
83
85
|
*/
|
|
84
86
|
getCollectionData(args: {
|
|
85
87
|
creatorAddress: AccountAddressInput;
|
|
86
88
|
collectionName: string;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
};
|
|
89
|
+
minimumLedgerVersion?: AnyNumber;
|
|
90
|
+
options?: TokenStandardArg;
|
|
90
91
|
}): Promise<GetCollectionDataResponse>;
|
|
91
92
|
/**
|
|
92
93
|
* Queries a collection's ID.
|
|
@@ -96,15 +97,15 @@ declare class DigitalAsset {
|
|
|
96
97
|
*
|
|
97
98
|
* @param args.creatorAddress the address of the collection's creator
|
|
98
99
|
* @param args.collectionName the name of the collection
|
|
100
|
+
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
99
101
|
* @param args.options.tokenStandard the token standard to query
|
|
100
102
|
* @returns the collection id
|
|
101
103
|
*/
|
|
102
104
|
getCollectionId(args: {
|
|
103
105
|
creatorAddress: AccountAddressInput;
|
|
104
106
|
collectionName: string;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
};
|
|
107
|
+
minimumLedgerVersion?: AnyNumber;
|
|
108
|
+
options?: TokenStandardArg;
|
|
108
109
|
}): Promise<string>;
|
|
109
110
|
/**
|
|
110
111
|
* Create a transaction to mint a token into the creators account within an existing collection.
|
|
@@ -124,50 +125,52 @@ declare class DigitalAsset {
|
|
|
124
125
|
name: string;
|
|
125
126
|
uri: string;
|
|
126
127
|
options?: InputGenerateTransactionOptions;
|
|
127
|
-
}): Promise<
|
|
128
|
+
}): Promise<SingleSignerTransaction>;
|
|
128
129
|
/**
|
|
129
130
|
* Gets token data given the address of a token.
|
|
130
131
|
*
|
|
131
132
|
* @param args.tokenAddress The address of the token
|
|
133
|
+
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
132
134
|
* @returns GetTokenDataResponse containing relevant data to the token.
|
|
133
135
|
*/
|
|
134
136
|
getTokenData(args: {
|
|
135
137
|
tokenAddress: AccountAddressInput;
|
|
138
|
+
minimumLedgerVersion?: AnyNumber;
|
|
136
139
|
}): Promise<GetTokenDataResponse>;
|
|
137
140
|
/**
|
|
138
141
|
* Gets token ownership data given the address of a token.
|
|
139
142
|
*
|
|
140
143
|
* @param args.tokenAddress The address of the token
|
|
144
|
+
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
141
145
|
* @returns GetCurrentTokenOwnershipResponse containing relevant ownership data of the token.
|
|
142
146
|
*/
|
|
143
147
|
getCurrentTokenOwnership(args: {
|
|
144
148
|
tokenAddress: AccountAddressInput;
|
|
149
|
+
minimumLedgerVersion?: AnyNumber;
|
|
145
150
|
}): Promise<GetCurrentTokenOwnershipResponse>;
|
|
146
151
|
/**
|
|
147
152
|
* Gets the tokens that the given address owns.
|
|
148
153
|
*
|
|
149
154
|
* @param args.ownerAddress The address of the owner
|
|
155
|
+
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
150
156
|
* @returns GetOwnedTokensResponse containing ownership data of the tokens belonging to the ownerAddresss.
|
|
151
157
|
*/
|
|
152
158
|
getOwnedTokens(args: {
|
|
153
159
|
ownerAddress: AccountAddressInput;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
orderBy?: OrderBy<GetOwnedTokensResponse[0]>;
|
|
157
|
-
};
|
|
160
|
+
minimumLedgerVersion?: AnyNumber;
|
|
161
|
+
options?: PaginationArgs & OrderByArg<GetOwnedTokensResponse[0]>;
|
|
158
162
|
}): Promise<GetOwnedTokensResponse>;
|
|
159
163
|
/**
|
|
160
164
|
* Gets the activity data given the address of a token.
|
|
161
165
|
*
|
|
162
166
|
* @param args.tokenAddress The address of the token
|
|
167
|
+
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
163
168
|
* @returns GetTokenActivityResponse containing relevant activity data to the token.
|
|
164
169
|
*/
|
|
165
170
|
getTokenActivity(args: {
|
|
166
171
|
tokenAddress: AccountAddressInput;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
orderBy?: OrderBy<GetTokenActivityResponse[0]>;
|
|
170
|
-
};
|
|
172
|
+
minimumLedgerVersion?: AnyNumber;
|
|
173
|
+
options?: PaginationArgs & OrderByArg<GetTokenActivityResponse[0]>;
|
|
171
174
|
}): Promise<GetTokenActivityResponse>;
|
|
172
175
|
}
|
|
173
176
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-IELTCGLP.mjs";import"../chunk-UKSA4H2O.mjs";import"../chunk-APSQ4M23.mjs";import"../chunk-CLJLQXFQ.mjs";import"../chunk-GIZLK7M7.mjs";import"../chunk-5CUNY7X2.mjs";import"../chunk-F7EWDYTE.mjs";import"../chunk-GXPGRCSW.mjs";import"../chunk-HTZTTZQJ.mjs";import"../chunk-2SAKPC5Q.mjs";import"../chunk-QCBIJCU4.mjs";import"../chunk-RCM3K5JL.mjs";import"../chunk-HTI5LEST.mjs";import"../chunk-CJPCOS4R.mjs";import"../chunk-CL5B2QNS.mjs";import"../chunk-YN6UIVFB.mjs";import"../chunk-QNTV5NMH.mjs";import"../chunk-XMUUI6HG.mjs";import"../chunk-CU2DINU4.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-SGTFMSOG.mjs";import"../chunk-GEZSEAL5.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-UIVJXLRM.mjs";import"../chunk-5OPOJ43H.mjs";import"../chunk-SSJQOXEP.mjs";import"../chunk-WTGGCH34.mjs";import"../chunk-AZUWHKN5.mjs";import"../chunk-FZ56IS3E.mjs";import"../chunk-KZSJ5MFF.mjs";import"../chunk-3F5WV6US.mjs";import"../chunk-UW6HQ643.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-PXTMLJKO.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-53DS6NBQ.mjs";import"../chunk-73VWOS4Z.mjs";import"../chunk-PL2VA73L.mjs";import"../chunk-XITLXPBK.mjs";import"../chunk-UDMADMVO.mjs";import"../chunk-G36AY4R7.mjs";import"../chunk-F6K26WV5.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-NL72WE3E.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-OT2UDMUU.mjs";import"../chunk-BQSE5HHW.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-JI2BBZ2W.mjs";import"../chunk-HC5VMNXA.mjs";import"../chunk-SO6EE5DX.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-ALFESCPU.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-SDPICQ5B.mjs";import"../chunk-EOC4UI5B.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as DigitalAsset};
|
|
2
2
|
//# sourceMappingURL=digitalAsset.mjs.map
|
package/dist/esm/api/event.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AnyNumber, MoveStructId, PaginationArgs } from '../types/index.mjs';
|
|
1
|
+
import { AnyNumber, MoveStructId, PaginationArgs, OrderByArg, WhereArg } from '../types/index.mjs';
|
|
3
2
|
import { EventsBoolExp } from '../types/generated/types.mjs';
|
|
4
3
|
import { AccountAddressInput } from '../core/accountAddress.mjs';
|
|
5
|
-
import {
|
|
4
|
+
import { AptosConfig } from './aptosConfig.mjs';
|
|
5
|
+
import { GetEventsResponse } from '../types/indexer.mjs';
|
|
6
6
|
import '../utils/apiEndpoints.mjs';
|
|
7
|
-
import '../utils/const.mjs';
|
|
8
7
|
import '../bcs/serializer.mjs';
|
|
9
8
|
import '../core/hex.mjs';
|
|
10
9
|
import '../core/common.mjs';
|
|
11
10
|
import '../bcs/deserializer.mjs';
|
|
12
11
|
import '../transactions/instances/transactionArgument.mjs';
|
|
12
|
+
import '../utils/const.mjs';
|
|
13
13
|
import '../types/generated/operations.mjs';
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -23,34 +23,35 @@ declare class Event {
|
|
|
23
23
|
*
|
|
24
24
|
* @param args.accountAddress - The account address
|
|
25
25
|
* @param args.creationNumber - The event creation number
|
|
26
|
+
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
26
27
|
*
|
|
27
28
|
* @returns Promise<GetEventsResponse>
|
|
28
29
|
*/
|
|
29
30
|
getAccountEventsByCreationNumber(args: {
|
|
30
31
|
accountAddress: AccountAddressInput;
|
|
31
32
|
creationNumber: AnyNumber;
|
|
33
|
+
minimumLedgerVersion?: AnyNumber;
|
|
32
34
|
}): Promise<GetEventsResponse>;
|
|
33
35
|
/**
|
|
34
36
|
* Get events by event type and an account address
|
|
35
37
|
*
|
|
36
38
|
* @param args.accountAddress - The account address
|
|
37
39
|
* @param args.eventType - The event type
|
|
40
|
+
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
38
41
|
*
|
|
39
42
|
* @returns Promise<GetEventsResponse>
|
|
40
43
|
*/
|
|
41
44
|
getAccountEventsByEventType(args: {
|
|
42
45
|
accountAddress: AccountAddressInput;
|
|
43
46
|
eventType: MoveStructId;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
orderBy?: OrderBy<GetEventsResponse[0]>;
|
|
47
|
-
};
|
|
47
|
+
minimumLedgerVersion?: AnyNumber;
|
|
48
|
+
options?: PaginationArgs & OrderByArg<GetEventsResponse[0]>;
|
|
48
49
|
}): Promise<GetEventsResponse>;
|
|
49
50
|
/**
|
|
50
51
|
* Get all events
|
|
51
52
|
*
|
|
52
53
|
* An optional `where` can be passed in to filter out the response.
|
|
53
|
-
|
|
54
|
+
*@param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
54
55
|
* @example
|
|
55
56
|
* ```
|
|
56
57
|
* { where:
|
|
@@ -63,11 +64,8 @@ declare class Event {
|
|
|
63
64
|
* @returns GetEventsQuery response type
|
|
64
65
|
*/
|
|
65
66
|
getEvents(args?: {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
pagination?: PaginationArgs;
|
|
69
|
-
orderBy?: OrderBy<GetEventsResponse[0]>;
|
|
70
|
-
};
|
|
67
|
+
minimumLedgerVersion?: AnyNumber;
|
|
68
|
+
options?: PaginationArgs & OrderByArg<GetEventsResponse[0]> & WhereArg<EventsBoolExp>;
|
|
71
69
|
}): Promise<GetEventsResponse>;
|
|
72
70
|
}
|
|
73
71
|
|
package/dist/esm/api/event.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-MWAMLQ25.mjs";import"../chunk-OBOOY2QD.mjs";import"../chunk-APSQ4M23.mjs";import"../chunk-GEZSEAL5.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-UIVJXLRM.mjs";import"../chunk-5OPOJ43H.mjs";import"../chunk-SSJQOXEP.mjs";import"../chunk-WTGGCH34.mjs";import"../chunk-AZUWHKN5.mjs";import"../chunk-FZ56IS3E.mjs";import"../chunk-KZSJ5MFF.mjs";import"../chunk-3F5WV6US.mjs";import"../chunk-UW6HQ643.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-PXTMLJKO.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-53DS6NBQ.mjs";import"../chunk-73VWOS4Z.mjs";import"../chunk-PL2VA73L.mjs";import"../chunk-XITLXPBK.mjs";import"../chunk-UDMADMVO.mjs";import"../chunk-G36AY4R7.mjs";import"../chunk-F6K26WV5.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-NL72WE3E.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-OT2UDMUU.mjs";import"../chunk-BQSE5HHW.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-JI2BBZ2W.mjs";import"../chunk-HC5VMNXA.mjs";import"../chunk-SO6EE5DX.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-ALFESCPU.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-SDPICQ5B.mjs";import"../chunk-EOC4UI5B.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as Event};
|
|
2
2
|
//# sourceMappingURL=event.mjs.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { WaitForTransactionOptions } from '../types/index.mjs';
|
|
1
|
+
import { WaitForTransactionOptions, UserTransactionResponse } from '../types/index.mjs';
|
|
3
2
|
import { AccountAddressInput } from '../core/accountAddress.mjs';
|
|
3
|
+
import { AptosConfig } from './aptosConfig.mjs';
|
|
4
4
|
import '../utils/apiEndpoints.mjs';
|
|
5
|
-
import '../utils/const.mjs';
|
|
6
5
|
import '../types/indexer.mjs';
|
|
7
6
|
import '../types/generated/operations.mjs';
|
|
8
7
|
import '../types/generated/types.mjs';
|
|
@@ -11,6 +10,7 @@ import '../core/hex.mjs';
|
|
|
11
10
|
import '../core/common.mjs';
|
|
12
11
|
import '../bcs/deserializer.mjs';
|
|
13
12
|
import '../transactions/instances/transactionArgument.mjs';
|
|
13
|
+
import '../utils/const.mjs';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* A class to query all `Faucet` related queries on Aptos.
|
|
@@ -31,7 +31,7 @@ declare class Faucet {
|
|
|
31
31
|
accountAddress: AccountAddressInput;
|
|
32
32
|
amount: number;
|
|
33
33
|
options?: WaitForTransactionOptions;
|
|
34
|
-
}): Promise<
|
|
34
|
+
}): Promise<UserTransactionResponse>;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
export { Faucet };
|
package/dist/esm/api/faucet.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-SRGPSANH.mjs";import"../chunk-GMG4VR3K.mjs";import"../chunk-GEZSEAL5.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-UIVJXLRM.mjs";import"../chunk-5OPOJ43H.mjs";import"../chunk-SSJQOXEP.mjs";import"../chunk-WTGGCH34.mjs";import"../chunk-AZUWHKN5.mjs";import"../chunk-FZ56IS3E.mjs";import"../chunk-KZSJ5MFF.mjs";import"../chunk-3F5WV6US.mjs";import"../chunk-UW6HQ643.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-PXTMLJKO.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-53DS6NBQ.mjs";import"../chunk-73VWOS4Z.mjs";import"../chunk-PL2VA73L.mjs";import"../chunk-XITLXPBK.mjs";import"../chunk-UDMADMVO.mjs";import"../chunk-G36AY4R7.mjs";import"../chunk-F6K26WV5.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-NL72WE3E.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-OT2UDMUU.mjs";import"../chunk-BQSE5HHW.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-JI2BBZ2W.mjs";import"../chunk-HC5VMNXA.mjs";import"../chunk-SO6EE5DX.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-ALFESCPU.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-SDPICQ5B.mjs";import"../chunk-EOC4UI5B.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as Faucet};
|
|
2
2
|
//# sourceMappingURL=faucet.mjs.map
|
|
@@ -1,9 +1,35 @@
|
|
|
1
|
-
import { PaginationArgs } from '../types/index.mjs';
|
|
2
|
-
import { AptosConfig } from './aptosConfig.mjs';
|
|
1
|
+
import { AnyNumber, PaginationArgs, WhereArg } from '../types/index.mjs';
|
|
3
2
|
import { FungibleAssetMetadataBoolExp, FungibleAssetActivitiesBoolExp, CurrentFungibleAssetBalancesBoolExp } from '../types/generated/types.mjs';
|
|
3
|
+
import { AptosConfig } from './aptosConfig.mjs';
|
|
4
|
+
import { Account } from '../core/account.mjs';
|
|
5
|
+
import { AccountAddress } from '../core/accountAddress.mjs';
|
|
6
|
+
import { InputGenerateTransactionOptions, SingleSignerTransaction } from '../transactions/types.mjs';
|
|
4
7
|
import { GetFungibleAssetMetadataResponse, GetFungibleAssetActivitiesResponse, GetCurrentFungibleAssetBalancesResponse } from '../types/indexer.mjs';
|
|
5
8
|
import '../utils/apiEndpoints.mjs';
|
|
6
9
|
import '../utils/const.mjs';
|
|
10
|
+
import '../core/authenticationKey.mjs';
|
|
11
|
+
import '../core/crypto/asymmetricCrypto.mjs';
|
|
12
|
+
import '../bcs/serializer.mjs';
|
|
13
|
+
import '../core/hex.mjs';
|
|
14
|
+
import '../core/common.mjs';
|
|
15
|
+
import '../bcs/deserializer.mjs';
|
|
16
|
+
import '../transactions/instances/transactionArgument.mjs';
|
|
17
|
+
import '../bcs/serializable/moveStructs.mjs';
|
|
18
|
+
import '../bcs/serializable/movePrimitives.mjs';
|
|
19
|
+
import '../bcs/serializable/fixedBytes.mjs';
|
|
20
|
+
import '../transactions/instances/rawTransaction.mjs';
|
|
21
|
+
import '../transactions/instances/chainId.mjs';
|
|
22
|
+
import '../transactions/instances/transactionPayload.mjs';
|
|
23
|
+
import '../transactions/instances/identifier.mjs';
|
|
24
|
+
import '../transactions/instances/moduleId.mjs';
|
|
25
|
+
import '../transactions/typeTag/index.mjs';
|
|
26
|
+
import '../transactions/authenticator/account.mjs';
|
|
27
|
+
import '../core/crypto/anyPublicKey.mjs';
|
|
28
|
+
import '../core/crypto/anySignature.mjs';
|
|
29
|
+
import '../core/crypto/ed25519.mjs';
|
|
30
|
+
import '../core/crypto/secp256k1.mjs';
|
|
31
|
+
import '../core/crypto/multiEd25519.mjs';
|
|
32
|
+
import '../core/crypto/multiKey.mjs';
|
|
7
33
|
import '../types/generated/operations.mjs';
|
|
8
34
|
|
|
9
35
|
/**
|
|
@@ -13,60 +39,75 @@ declare class FungibleAsset {
|
|
|
13
39
|
readonly config: AptosConfig;
|
|
14
40
|
constructor(config: AptosConfig);
|
|
15
41
|
/**
|
|
16
|
-
* Queries
|
|
42
|
+
* Queries all fungible asset metadata.
|
|
17
43
|
*
|
|
18
|
-
*
|
|
19
|
-
* It can be filtered by creator address and asset type.
|
|
44
|
+
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
20
45
|
*
|
|
21
|
-
* @returns
|
|
46
|
+
* @returns A list of fungible asset metadata
|
|
22
47
|
*/
|
|
23
48
|
getFungibleAssetMetadata(args?: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
where?: FungibleAssetMetadataBoolExp;
|
|
27
|
-
};
|
|
49
|
+
minimumLedgerVersion?: AnyNumber;
|
|
50
|
+
options?: PaginationArgs & WhereArg<FungibleAssetMetadataBoolExp>;
|
|
28
51
|
}): Promise<GetFungibleAssetMetadataResponse>;
|
|
29
52
|
/**
|
|
30
|
-
* Queries
|
|
53
|
+
* Queries a fungible asset metadata
|
|
31
54
|
*
|
|
32
55
|
* This query returns the fungible asset metadata for a specific fungible asset.
|
|
33
56
|
*
|
|
34
|
-
* @param
|
|
57
|
+
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
58
|
+
* @param args.assetType The asset type of the fungible asset.
|
|
35
59
|
* e.g
|
|
36
60
|
* "0x1::aptos_coin::AptosCoin" for Aptos Coin
|
|
37
61
|
* "0xc2948283c2ce03aafbb294821de7ee684b06116bb378ab614fa2de07a99355a8" - address format if this is fungible asset
|
|
38
62
|
*
|
|
39
|
-
* @returns
|
|
63
|
+
* @returns A fungible asset metadata item
|
|
40
64
|
*/
|
|
41
|
-
getFungibleAssetMetadataByAssetType(
|
|
65
|
+
getFungibleAssetMetadataByAssetType(args: {
|
|
66
|
+
assetType: string;
|
|
67
|
+
minimumLedgerVersion?: AnyNumber;
|
|
68
|
+
}): Promise<GetFungibleAssetMetadataResponse[0]>;
|
|
42
69
|
/**
|
|
43
|
-
* Queries
|
|
70
|
+
* Queries all fungible asset activities
|
|
44
71
|
*
|
|
45
|
-
*
|
|
46
|
-
* It can be filtered by owner address, asset type, and type.
|
|
72
|
+
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
47
73
|
*
|
|
48
|
-
* @returns
|
|
74
|
+
* @returns A list of fungible asset metadata
|
|
49
75
|
*/
|
|
50
76
|
getFungibleAssetActivities(args?: {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
where?: FungibleAssetActivitiesBoolExp;
|
|
54
|
-
};
|
|
77
|
+
minimumLedgerVersion?: AnyNumber;
|
|
78
|
+
options?: PaginationArgs & WhereArg<FungibleAssetActivitiesBoolExp>;
|
|
55
79
|
}): Promise<GetFungibleAssetActivitiesResponse>;
|
|
56
80
|
/**
|
|
57
|
-
* Queries
|
|
81
|
+
* Queries all fungible asset balances
|
|
58
82
|
*
|
|
59
|
-
*
|
|
60
|
-
* It can be filtered by owner address, and asset type
|
|
83
|
+
* @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
|
|
61
84
|
*
|
|
62
|
-
* @returns
|
|
85
|
+
* @returns A list of fungible asset metadata
|
|
63
86
|
*/
|
|
64
87
|
getCurrentFungibleAssetBalances(args?: {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
where?: CurrentFungibleAssetBalancesBoolExp;
|
|
68
|
-
};
|
|
88
|
+
minimumLedgerVersion?: AnyNumber;
|
|
89
|
+
options?: PaginationArgs & WhereArg<CurrentFungibleAssetBalancesBoolExp>;
|
|
69
90
|
}): Promise<GetCurrentFungibleAssetBalancesResponse>;
|
|
91
|
+
/**
|
|
92
|
+
* Transfer `amount` of fungible asset from sender's primary store to recipient's primary store.
|
|
93
|
+
*
|
|
94
|
+
* Use this method to transfer any fungible asset including fungible token.
|
|
95
|
+
*
|
|
96
|
+
* @param sender The sender account
|
|
97
|
+
* @param fungibleAssetMetadataAddress The fungible asset account address.
|
|
98
|
+
* For example if you’re transferring USDT this would be the USDT address
|
|
99
|
+
* @param recipient The recipient account address
|
|
100
|
+
* @param amount Number of assets to transfer
|
|
101
|
+
*
|
|
102
|
+
* @returns A SingleSignerTransaction that can be simulated or submitted to chain.
|
|
103
|
+
*/
|
|
104
|
+
transferFungibleAsset(args: {
|
|
105
|
+
sender: Account;
|
|
106
|
+
fungibleAssetMetadataAddress: AccountAddress;
|
|
107
|
+
recipient: AccountAddress;
|
|
108
|
+
amount: AnyNumber;
|
|
109
|
+
options?: InputGenerateTransactionOptions;
|
|
110
|
+
}): Promise<SingleSignerTransaction>;
|
|
70
111
|
}
|
|
71
112
|
|
|
72
113
|
export { FungibleAsset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-QEXAMHPU.mjs";import"../chunk-CCXMVVXD.mjs";import"../chunk-APSQ4M23.mjs";import"../chunk-CLJLQXFQ.mjs";import"../chunk-GIZLK7M7.mjs";import"../chunk-5CUNY7X2.mjs";import"../chunk-F7EWDYTE.mjs";import"../chunk-GXPGRCSW.mjs";import"../chunk-HTZTTZQJ.mjs";import"../chunk-2SAKPC5Q.mjs";import"../chunk-QCBIJCU4.mjs";import"../chunk-RCM3K5JL.mjs";import"../chunk-HTI5LEST.mjs";import"../chunk-CJPCOS4R.mjs";import"../chunk-CL5B2QNS.mjs";import"../chunk-YN6UIVFB.mjs";import"../chunk-QNTV5NMH.mjs";import"../chunk-XMUUI6HG.mjs";import"../chunk-CU2DINU4.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-SGTFMSOG.mjs";import"../chunk-GEZSEAL5.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-UIVJXLRM.mjs";import"../chunk-5OPOJ43H.mjs";import"../chunk-SSJQOXEP.mjs";import"../chunk-WTGGCH34.mjs";import"../chunk-AZUWHKN5.mjs";import"../chunk-FZ56IS3E.mjs";import"../chunk-KZSJ5MFF.mjs";import"../chunk-3F5WV6US.mjs";import"../chunk-UW6HQ643.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-PXTMLJKO.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-53DS6NBQ.mjs";import"../chunk-73VWOS4Z.mjs";import"../chunk-PL2VA73L.mjs";import"../chunk-XITLXPBK.mjs";import"../chunk-UDMADMVO.mjs";import"../chunk-G36AY4R7.mjs";import"../chunk-F6K26WV5.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-NL72WE3E.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-OT2UDMUU.mjs";import"../chunk-BQSE5HHW.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-JI2BBZ2W.mjs";import"../chunk-HC5VMNXA.mjs";import"../chunk-SO6EE5DX.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-ALFESCPU.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-SDPICQ5B.mjs";import"../chunk-EOC4UI5B.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as FungibleAsset};
|
|
2
2
|
//# sourceMappingURL=fungibleAsset.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AptosConfig } from './aptosConfig.mjs';
|
|
2
|
-
import { LedgerInfo, AnyNumber, Block, TableItemRequest,
|
|
3
|
-
import {
|
|
2
|
+
import { LedgerInfo, AnyNumber, Block, TableItemRequest, LedgerVersionArg, MoveValue, InputViewRequestData } from '../types/index.mjs';
|
|
3
|
+
import { ProcessorType } from '../utils/const.mjs';
|
|
4
|
+
import { GetChainTopUserTransactionsResponse, GraphqlQuery, GetProcessorStatusResponse } from '../types/indexer.mjs';
|
|
4
5
|
import '../utils/apiEndpoints.mjs';
|
|
5
|
-
import '../utils/const.mjs';
|
|
6
6
|
import '../types/generated/operations.mjs';
|
|
7
7
|
import '../types/generated/types.mjs';
|
|
8
8
|
|
|
@@ -86,7 +86,7 @@ declare class General {
|
|
|
86
86
|
getTableItem<T>(args: {
|
|
87
87
|
handle: string;
|
|
88
88
|
data: TableItemRequest;
|
|
89
|
-
options?:
|
|
89
|
+
options?: LedgerVersionArg;
|
|
90
90
|
}): Promise<T>;
|
|
91
91
|
/**
|
|
92
92
|
* Queries for a Move view function
|
|
@@ -105,7 +105,7 @@ declare class General {
|
|
|
105
105
|
*/
|
|
106
106
|
view<T extends Array<MoveValue>>(args: {
|
|
107
107
|
payload: InputViewRequestData;
|
|
108
|
-
options?:
|
|
108
|
+
options?: LedgerVersionArg;
|
|
109
109
|
}): Promise<T>;
|
|
110
110
|
/**
|
|
111
111
|
* Queries top user transactions
|
|
@@ -145,6 +145,13 @@ declare class General {
|
|
|
145
145
|
* This is useful to tell what ledger version the indexer is updated to, as it can be behind the full nodes.
|
|
146
146
|
*/
|
|
147
147
|
getIndexerLastSuccessVersion(): Promise<number>;
|
|
148
|
+
/**
|
|
149
|
+
* Query the processor status for a specific processor type.
|
|
150
|
+
*
|
|
151
|
+
* @param processorType The processor type to query
|
|
152
|
+
* @returns
|
|
153
|
+
*/
|
|
154
|
+
getProcessorStatus(processorType: ProcessorType): Promise<GetProcessorStatusResponse[0]>;
|
|
148
155
|
}
|
|
149
156
|
|
|
150
157
|
export { General };
|
package/dist/esm/api/general.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-VQ7LYNMD.mjs";import"../chunk-OT2UDMUU.mjs";import"../chunk-BQSE5HHW.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-JI2BBZ2W.mjs";import"../chunk-HC5VMNXA.mjs";import"../chunk-SO6EE5DX.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-ALFESCPU.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-SDPICQ5B.mjs";import"../chunk-EOC4UI5B.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as General};
|
|
2
2
|
//# sourceMappingURL=general.mjs.map
|
package/dist/esm/api/index.d.mts
CHANGED
|
@@ -31,6 +31,7 @@ import '../transactions/authenticator/account.mjs';
|
|
|
31
31
|
import '../core/crypto/anyPublicKey.mjs';
|
|
32
32
|
import '../core/crypto/anySignature.mjs';
|
|
33
33
|
import '../core/crypto/ed25519.mjs';
|
|
34
|
+
import '../core/crypto/secp256k1.mjs';
|
|
34
35
|
import '../core/crypto/multiEd25519.mjs';
|
|
35
36
|
import '../core/crypto/multiKey.mjs';
|
|
36
37
|
import './digitalAsset.mjs';
|
|
@@ -44,3 +45,7 @@ import '../internal/ans.mjs';
|
|
|
44
45
|
import './staking.mjs';
|
|
45
46
|
import './transaction.mjs';
|
|
46
47
|
import './transactionSubmission.mjs';
|
|
48
|
+
import './transactionSubmission/build.mjs';
|
|
49
|
+
import './transactionSubmission/sign.mjs';
|
|
50
|
+
import './transactionSubmission/simulate.mjs';
|
|
51
|
+
import './transactionSubmission/submit.mjs';
|
package/dist/esm/api/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-RMMOF53Q.mjs";import{a as b}from"../chunk-
|
|
1
|
+
import"../chunk-RMMOF53Q.mjs";import{a as b}from"../chunk-2YQXX64E.mjs";import"../chunk-EFRFDFS4.mjs";import"../chunk-RLG3WOTH.mjs";import"../chunk-P5747ZYC.mjs";import"../chunk-ZFK7QD3B.mjs";import"../chunk-MWAMLQ25.mjs";import"../chunk-OBOOY2QD.mjs";import"../chunk-SRGPSANH.mjs";import"../chunk-GMG4VR3K.mjs";import"../chunk-QEXAMHPU.mjs";import"../chunk-CCXMVVXD.mjs";import"../chunk-VQ7LYNMD.mjs";import"../chunk-KNMWDGP4.mjs";import"../chunk-ZJUDDSWN.mjs";import"../chunk-5ZVCSKFX.mjs";import"../chunk-XX2Z26FH.mjs";import"../chunk-IHYTP2EW.mjs";import"../chunk-OZZDXS26.mjs";import"../chunk-Y6PVFMBS.mjs";import"../chunk-U6Z4FNB7.mjs";import"../chunk-NZSGGL25.mjs";import"../chunk-UWXDXOFK.mjs";import"../chunk-KKER5KL4.mjs";import{a}from"../chunk-3RMXGSHK.mjs";import"../chunk-5UY5OKXR.mjs";import"../chunk-TZ623H2V.mjs";import"../chunk-IELTCGLP.mjs";import"../chunk-UKSA4H2O.mjs";import"../chunk-APSQ4M23.mjs";import"../chunk-CLJLQXFQ.mjs";import"../chunk-GIZLK7M7.mjs";import"../chunk-5CUNY7X2.mjs";import"../chunk-F7EWDYTE.mjs";import"../chunk-GXPGRCSW.mjs";import"../chunk-HTZTTZQJ.mjs";import"../chunk-2SAKPC5Q.mjs";import"../chunk-QCBIJCU4.mjs";import"../chunk-RCM3K5JL.mjs";import"../chunk-HTI5LEST.mjs";import"../chunk-CJPCOS4R.mjs";import"../chunk-CL5B2QNS.mjs";import"../chunk-YN6UIVFB.mjs";import"../chunk-QNTV5NMH.mjs";import"../chunk-XMUUI6HG.mjs";import"../chunk-CU2DINU4.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-SGTFMSOG.mjs";import"../chunk-GEZSEAL5.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-UIVJXLRM.mjs";import"../chunk-5OPOJ43H.mjs";import"../chunk-SSJQOXEP.mjs";import"../chunk-WTGGCH34.mjs";import"../chunk-AZUWHKN5.mjs";import"../chunk-FZ56IS3E.mjs";import"../chunk-KZSJ5MFF.mjs";import"../chunk-3F5WV6US.mjs";import"../chunk-UW6HQ643.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-PXTMLJKO.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-53DS6NBQ.mjs";import"../chunk-73VWOS4Z.mjs";import"../chunk-PL2VA73L.mjs";import"../chunk-XITLXPBK.mjs";import"../chunk-UDMADMVO.mjs";import"../chunk-G36AY4R7.mjs";import"../chunk-F6K26WV5.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-NL72WE3E.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-OT2UDMUU.mjs";import"../chunk-BQSE5HHW.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-JI2BBZ2W.mjs";import"../chunk-HC5VMNXA.mjs";import"../chunk-SO6EE5DX.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-ALFESCPU.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-SDPICQ5B.mjs";import"../chunk-EOC4UI5B.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{b as Aptos,a as AptosConfig};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|