@aptos-labs/ts-sdk 1.33.0-sc.0 → 1.33.0-sc.2
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 +4 -6
- package/dist/common/{accountAddress-fJZJVSBc.d.ts → accountAddress-Cf1amU98.d.ts} +293 -1
- package/dist/common/{chunk-F43XVDYJ.js → chunk-IHUCZKG2.js} +1 -1
- package/dist/common/chunk-IHUCZKG2.js.map +1 -0
- package/dist/common/cli/index.d.ts +47 -9
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +1945 -226
- package/dist/common/index.js +33 -33
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-B3xHXAQe.d.mts → Ed25519Account-D4j3_WIS.d.mts} +122 -12
- package/dist/esm/account/AbstractKeylessAccount.d.mts +81 -7
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +5 -4
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/AccountUtils.d.mts +65 -0
- package/dist/esm/account/AccountUtils.mjs +2 -0
- package/dist/esm/account/Ed25519Account.d.mts +3 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +29 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +25 -5
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +30 -5
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +40 -5
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +4 -3
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +4 -2
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/account/utils.d.mts +19 -0
- package/dist/esm/account/utils.mjs +2 -0
- package/dist/esm/account/utils.mjs.map +1 -0
- package/dist/esm/api/account.d.mts +25 -4
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +18 -2
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +5 -2
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.d.mts +16 -0
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.d.mts +5 -1
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +29 -2
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/event.d.mts +6 -0
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/faucet.d.mts +11 -2
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +11 -2
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +14 -1
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +3 -2
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +8 -2
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.d.mts +3 -0
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.d.mts +5 -0
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.d.mts +5 -0
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +23 -6
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +7 -2
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/helpers.d.mts +2 -0
- package/dist/esm/api/transactionSubmission/helpers.mjs +1 -1
- package/dist/esm/api/transactionSubmission/management.d.mts +8 -2
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +7 -2
- package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/simulate.d.mts +6 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +6 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.d.mts +1 -0
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/deserializer.d.mts +56 -2
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +10 -0
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +12 -0
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +24 -0
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +56 -0
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +60 -0
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-B77HJ77O.mjs → chunk-2E7ZURV4.mjs} +2 -2
- package/dist/esm/chunk-2E7ZURV4.mjs.map +1 -0
- package/dist/esm/{chunk-YM6SNW4X.mjs → chunk-2N7W6DEV.mjs} +2 -2
- package/dist/esm/chunk-2N7W6DEV.mjs.map +1 -0
- package/dist/esm/{chunk-7M3NKATD.mjs → chunk-2TKNO5VP.mjs} +2 -2
- package/dist/esm/chunk-2TKNO5VP.mjs.map +1 -0
- package/dist/esm/{chunk-FZDEGDUY.mjs → chunk-35DKMW7Q.mjs} +1 -1
- package/dist/esm/chunk-35DKMW7Q.mjs.map +1 -0
- package/dist/esm/{chunk-P6RNNESB.mjs → chunk-3MZNK25Y.mjs} +2 -2
- package/dist/esm/chunk-3MZNK25Y.mjs.map +1 -0
- package/dist/esm/{chunk-YT3IP57B.mjs → chunk-463TSKJJ.mjs} +2 -2
- package/dist/esm/chunk-463TSKJJ.mjs.map +1 -0
- package/dist/esm/chunk-4RXKALLC.mjs +2 -0
- package/dist/esm/chunk-4RXKALLC.mjs.map +1 -0
- package/dist/esm/chunk-4YLUM62M.mjs +2 -0
- package/dist/esm/chunk-4YLUM62M.mjs.map +1 -0
- package/dist/esm/{chunk-TQA6HY6A.mjs → chunk-4ZYPDCSP.mjs} +2 -2
- package/dist/esm/chunk-4ZYPDCSP.mjs.map +1 -0
- package/dist/esm/{chunk-2E3EAJPC.mjs → chunk-5CBYEU5M.mjs} +2 -2
- package/dist/esm/chunk-5CBYEU5M.mjs.map +1 -0
- package/dist/esm/{chunk-4GNR3AQF.mjs → chunk-5J3ENG7I.mjs} +2 -2
- package/dist/esm/{chunk-4GNR3AQF.mjs.map → chunk-5J3ENG7I.mjs.map} +1 -1
- package/dist/esm/{chunk-2VDQXUT4.mjs → chunk-6CUW6UK5.mjs} +2 -2
- package/dist/esm/chunk-6CUW6UK5.mjs.map +1 -0
- package/dist/esm/{chunk-DULHBLPY.mjs → chunk-6FW3RGYH.mjs} +2 -2
- package/dist/esm/chunk-6FW3RGYH.mjs.map +1 -0
- package/dist/esm/{chunk-TIKXNQYC.mjs → chunk-6HFKPYDO.mjs} +2 -2
- package/dist/esm/chunk-6HFKPYDO.mjs.map +1 -0
- package/dist/esm/{chunk-D54FD6XE.mjs → chunk-7IY3DTEF.mjs} +2 -2
- package/dist/esm/chunk-7IY3DTEF.mjs.map +1 -0
- package/dist/esm/{chunk-BU6PBOHF.mjs → chunk-7M36JLME.mjs} +2 -2
- package/dist/esm/chunk-7M36JLME.mjs.map +1 -0
- package/dist/esm/{chunk-CGDYWQSB.mjs → chunk-7TVQGK2Z.mjs} +2 -2
- package/dist/esm/chunk-7TVQGK2Z.mjs.map +1 -0
- package/dist/esm/{chunk-BFBRLEQM.mjs → chunk-7YHXJ2VZ.mjs} +2 -2
- package/dist/esm/chunk-7YHXJ2VZ.mjs.map +1 -0
- package/dist/esm/{chunk-2CJC43CV.mjs → chunk-A5L76YP7.mjs} +1 -1
- package/dist/esm/chunk-A5L76YP7.mjs.map +1 -0
- package/dist/esm/chunk-A6JOTYKI.mjs +2 -0
- package/dist/esm/chunk-A6JOTYKI.mjs.map +1 -0
- package/dist/esm/{chunk-AOROYJ74.mjs → chunk-AZWVCBK2.mjs} +2 -2
- package/dist/esm/chunk-AZWVCBK2.mjs.map +1 -0
- package/dist/esm/{chunk-6ZOVTYLJ.mjs → chunk-BI3BTSUB.mjs} +2 -2
- package/dist/esm/chunk-BI3BTSUB.mjs.map +1 -0
- package/dist/esm/{chunk-OIOGOW6I.mjs → chunk-C3Q23D22.mjs} +1 -1
- package/dist/esm/chunk-C3Q23D22.mjs.map +1 -0
- package/dist/esm/{chunk-T6QKKUEK.mjs → chunk-C7EPP6YK.mjs} +2 -2
- package/dist/esm/chunk-C7EPP6YK.mjs.map +1 -0
- package/dist/esm/{chunk-VUZFKJBB.mjs → chunk-CBISVLO4.mjs} +2 -2
- package/dist/esm/chunk-CBISVLO4.mjs.map +1 -0
- package/dist/esm/chunk-CNGG6O55.mjs +2 -0
- package/dist/esm/chunk-CNGG6O55.mjs.map +1 -0
- package/dist/esm/{chunk-VQZMI3EZ.mjs → chunk-CWKNJZB6.mjs} +2 -2
- package/dist/esm/chunk-CWKNJZB6.mjs.map +1 -0
- package/dist/esm/chunk-CX3MN3BM.mjs +2 -0
- package/dist/esm/chunk-CX3MN3BM.mjs.map +1 -0
- package/dist/esm/{chunk-V4FKFCBL.mjs → chunk-DAFSKSZ5.mjs} +1 -1
- package/dist/esm/chunk-DAFSKSZ5.mjs.map +1 -0
- package/dist/esm/chunk-DPW6ELCQ.mjs +2 -0
- package/dist/esm/chunk-DPW6ELCQ.mjs.map +1 -0
- package/dist/esm/{chunk-4FIBPKCN.mjs → chunk-EBFY5RGU.mjs} +2 -2
- package/dist/esm/chunk-EBFY5RGU.mjs.map +1 -0
- package/dist/esm/{chunk-AJ5JHBAE.mjs → chunk-EBMEXURY.mjs} +2 -2
- package/dist/esm/chunk-EBMEXURY.mjs.map +1 -0
- package/dist/esm/chunk-EMURYYVO.mjs +2 -0
- package/dist/esm/chunk-EMURYYVO.mjs.map +1 -0
- package/dist/esm/{chunk-JEKZN7SO.mjs → chunk-EQI5C3T7.mjs} +2 -2
- package/dist/esm/chunk-EQI5C3T7.mjs.map +1 -0
- package/dist/esm/chunk-F2ZTBAJJ.mjs +2 -0
- package/dist/esm/chunk-F2ZTBAJJ.mjs.map +1 -0
- package/dist/esm/chunk-FAPRBYNZ.mjs +2 -0
- package/dist/esm/chunk-FAPRBYNZ.mjs.map +1 -0
- package/dist/esm/{chunk-CW6P2DDJ.mjs → chunk-FI4HBHWL.mjs} +2 -2
- package/dist/esm/{chunk-CW6P2DDJ.mjs.map → chunk-FI4HBHWL.mjs.map} +1 -1
- package/dist/esm/chunk-FJGHHXPV.mjs +2 -0
- package/dist/esm/chunk-FJGHHXPV.mjs.map +1 -0
- package/dist/esm/{chunk-L365GPP2.mjs → chunk-FJMZQTTO.mjs} +2 -2
- package/dist/esm/chunk-FJMZQTTO.mjs.map +1 -0
- package/dist/esm/{chunk-AKIO3OIT.mjs → chunk-FN4C3CKC.mjs} +2 -2
- package/dist/esm/chunk-FN4C3CKC.mjs.map +1 -0
- package/dist/esm/{chunk-T6ADNZE5.mjs → chunk-G4O6FXCF.mjs} +2 -2
- package/dist/esm/chunk-G4O6FXCF.mjs.map +1 -0
- package/dist/esm/chunk-G5ZWH5T3.mjs +2 -0
- package/dist/esm/chunk-G5ZWH5T3.mjs.map +1 -0
- package/dist/esm/{chunk-5BZEH4H5.mjs → chunk-GJALBHGP.mjs} +2 -2
- package/dist/esm/chunk-GJALBHGP.mjs.map +1 -0
- package/dist/esm/{chunk-GMKKHGXK.mjs → chunk-GOXRBEIJ.mjs} +1 -1
- package/dist/esm/chunk-GOXRBEIJ.mjs.map +1 -0
- package/dist/esm/chunk-GP4TLDVZ.mjs +1 -0
- package/dist/esm/chunk-GP4TLDVZ.mjs.map +1 -0
- package/dist/esm/{chunk-UKXLESMW.mjs → chunk-GXFJ4HTV.mjs} +2 -2
- package/dist/esm/chunk-GXFJ4HTV.mjs.map +1 -0
- package/dist/esm/{chunk-5O3RHPER.mjs → chunk-HBH2NQKU.mjs} +2 -2
- package/dist/esm/chunk-HBH2NQKU.mjs.map +1 -0
- package/dist/esm/{chunk-RKMIDNYX.mjs → chunk-HGF6GLTW.mjs} +2 -2
- package/dist/esm/chunk-HGF6GLTW.mjs.map +1 -0
- package/dist/esm/{chunk-Q3CWUEXI.mjs → chunk-IDTLNF4M.mjs} +2 -2
- package/dist/esm/chunk-IDTLNF4M.mjs.map +1 -0
- package/dist/esm/{chunk-6Q2O5G3J.mjs → chunk-IF4UU2MT.mjs} +1 -1
- package/dist/esm/chunk-IF4UU2MT.mjs.map +1 -0
- package/dist/esm/{chunk-A6AAR5TS.mjs → chunk-IZGNT64R.mjs} +2 -2
- package/dist/esm/chunk-IZGNT64R.mjs.map +1 -0
- package/dist/esm/chunk-JJM6ELMS.mjs +2 -0
- package/dist/esm/chunk-JJM6ELMS.mjs.map +1 -0
- package/dist/esm/{chunk-QCUXDDCU.mjs → chunk-KRBBSE7F.mjs} +2 -2
- package/dist/esm/chunk-KRBBSE7F.mjs.map +1 -0
- package/dist/esm/{chunk-4IQZOAN7.mjs → chunk-MCLYDS3O.mjs} +2 -2
- package/dist/esm/chunk-MCLYDS3O.mjs.map +1 -0
- package/dist/esm/{chunk-YFIXGTWP.mjs → chunk-MKGDMRM6.mjs} +2 -2
- package/dist/esm/chunk-MKGDMRM6.mjs.map +1 -0
- package/dist/esm/{chunk-HMDLBOCN.mjs → chunk-MQZWLAZH.mjs} +2 -2
- package/dist/esm/chunk-MQZWLAZH.mjs.map +1 -0
- package/dist/esm/{chunk-BRV3RLKW.mjs → chunk-MT2RJ7H3.mjs} +2 -2
- package/dist/esm/chunk-MT2RJ7H3.mjs.map +1 -0
- package/dist/esm/{chunk-ACVIE7IE.mjs → chunk-N4DM5FYH.mjs} +2 -2
- package/dist/esm/chunk-N4DM5FYH.mjs.map +1 -0
- package/dist/esm/{chunk-LGTOOAQI.mjs → chunk-N6YTF76Q.mjs} +2 -2
- package/dist/esm/chunk-N6YTF76Q.mjs.map +1 -0
- package/dist/esm/{chunk-HPYBNJ7J.mjs → chunk-NXQJWO3F.mjs} +2 -2
- package/dist/esm/chunk-NXQJWO3F.mjs.map +1 -0
- package/dist/esm/{chunk-QQM47PHZ.mjs → chunk-ODEDSSQL.mjs} +2 -2
- package/dist/esm/chunk-ODEDSSQL.mjs.map +1 -0
- package/dist/esm/{chunk-2E3BT4YW.mjs → chunk-OHZURQPY.mjs} +2 -2
- package/dist/esm/chunk-OHZURQPY.mjs.map +1 -0
- package/dist/esm/{chunk-A3USS2NC.mjs → chunk-ONTWK5FU.mjs} +2 -2
- package/dist/esm/chunk-ONTWK5FU.mjs.map +1 -0
- package/dist/esm/{chunk-7RYYUO4V.mjs → chunk-OPOIWSNQ.mjs} +2 -2
- package/dist/esm/chunk-OPOIWSNQ.mjs.map +1 -0
- package/dist/esm/{chunk-42H7WETG.mjs → chunk-ORMOQWWH.mjs} +2 -2
- package/dist/esm/chunk-ORMOQWWH.mjs.map +1 -0
- package/dist/esm/chunk-PCEQYYQN.mjs +2 -0
- package/dist/esm/{chunk-YQHOQJRQ.mjs.map → chunk-PCEQYYQN.mjs.map} +1 -1
- package/dist/esm/{chunk-JNO7KPMG.mjs → chunk-Q4C4U6I4.mjs} +2 -2
- package/dist/esm/chunk-Q4C4U6I4.mjs.map +1 -0
- package/dist/esm/{chunk-F45G3GP3.mjs → chunk-QHEKBHNU.mjs} +2 -2
- package/dist/esm/{chunk-BMAIA7QJ.mjs → chunk-QR7MBETX.mjs} +2 -2
- package/dist/esm/{chunk-CK5NDXQT.mjs → chunk-QY46YWI4.mjs} +2 -2
- package/dist/esm/chunk-QY46YWI4.mjs.map +1 -0
- package/dist/esm/{chunk-UZGSDK63.mjs → chunk-REH6COWO.mjs} +2 -2
- package/dist/esm/chunk-REH6COWO.mjs.map +1 -0
- package/dist/esm/{chunk-J7PJSK3J.mjs → chunk-RJ7F4JDV.mjs} +1 -1
- package/dist/esm/chunk-RJ7F4JDV.mjs.map +1 -0
- package/dist/esm/chunk-ROT6S6BM.mjs +2 -0
- package/dist/esm/chunk-ROT6S6BM.mjs.map +1 -0
- package/dist/esm/chunk-RUJGUBO6.mjs +2 -0
- package/dist/esm/chunk-RUJGUBO6.mjs.map +1 -0
- package/dist/esm/{chunk-SPRNSFUV.mjs → chunk-STY74NUA.mjs} +2 -2
- package/dist/esm/chunk-STY74NUA.mjs.map +1 -0
- package/dist/esm/{chunk-TXD342Q6.mjs → chunk-T6NQDM7D.mjs} +2 -2
- package/dist/esm/chunk-T6NQDM7D.mjs.map +1 -0
- package/dist/esm/{chunk-SFSQ2TIU.mjs → chunk-THLQVL5U.mjs} +2 -2
- package/dist/esm/chunk-THLQVL5U.mjs.map +1 -0
- package/dist/esm/chunk-TKNOP7T6.mjs +2 -0
- package/dist/esm/chunk-TKNOP7T6.mjs.map +1 -0
- package/dist/esm/{chunk-ZMBXHMVQ.mjs → chunk-TOBQ5UE6.mjs} +2 -2
- package/dist/esm/chunk-TOBQ5UE6.mjs.map +1 -0
- package/dist/esm/{chunk-THRFTTUG.mjs → chunk-UBAFRK6R.mjs} +2 -2
- package/dist/esm/chunk-UBAFRK6R.mjs.map +1 -0
- package/dist/esm/{chunk-O4MRRWRI.mjs → chunk-UC23V7PU.mjs} +2 -2
- package/dist/esm/chunk-UC23V7PU.mjs.map +1 -0
- package/dist/esm/chunk-UKIQD7F3.mjs +2 -0
- package/dist/esm/chunk-UKIQD7F3.mjs.map +1 -0
- package/dist/esm/{chunk-YSBSCW5S.mjs → chunk-URLNFC5B.mjs} +2 -2
- package/dist/esm/chunk-URLNFC5B.mjs.map +1 -0
- package/dist/esm/chunk-UXX6DVWF.mjs +2 -0
- package/dist/esm/chunk-UXX6DVWF.mjs.map +1 -0
- package/dist/esm/{chunk-SBQJ3A7H.mjs → chunk-UY3DN5PG.mjs} +2 -2
- package/dist/esm/chunk-UY3DN5PG.mjs.map +1 -0
- package/dist/esm/{chunk-UTOO6IVJ.mjs → chunk-VDHHKO7S.mjs} +2 -2
- package/dist/esm/chunk-VDHHKO7S.mjs.map +1 -0
- package/dist/esm/{chunk-NQW2T6H6.mjs → chunk-VJBBLDN3.mjs} +2 -2
- package/dist/esm/chunk-VJBBLDN3.mjs.map +1 -0
- package/dist/esm/{chunk-632VRZYX.mjs → chunk-VQJTY7C6.mjs} +2 -2
- package/dist/esm/chunk-VQJTY7C6.mjs.map +1 -0
- package/dist/esm/chunk-VRQNGGQX.mjs +2 -0
- package/dist/esm/chunk-VRQNGGQX.mjs.map +1 -0
- package/dist/esm/chunk-VYDITG4M.mjs +2 -0
- package/dist/esm/chunk-VYDITG4M.mjs.map +1 -0
- package/dist/esm/{chunk-IHGA5KAD.mjs → chunk-W4BSN6SK.mjs} +1 -1
- package/dist/esm/chunk-W4BSN6SK.mjs.map +1 -0
- package/dist/esm/{chunk-353SWAAB.mjs → chunk-W62GQRCS.mjs} +2 -2
- package/dist/esm/chunk-W62GQRCS.mjs.map +1 -0
- package/dist/esm/chunk-WCMW2L3P.mjs +2 -0
- package/dist/esm/chunk-WCMW2L3P.mjs.map +1 -0
- package/dist/esm/{chunk-XWUMN7TI.mjs → chunk-WM4DXMLN.mjs} +2 -2
- package/dist/esm/chunk-WM4DXMLN.mjs.map +1 -0
- package/dist/esm/{chunk-6NEN65HA.mjs → chunk-XAUI2DUN.mjs} +2 -2
- package/dist/esm/chunk-XAUI2DUN.mjs.map +1 -0
- package/dist/esm/{chunk-WF3HSWHT.mjs → chunk-XCRBVUJ7.mjs} +2 -2
- package/dist/esm/chunk-XCRBVUJ7.mjs.map +1 -0
- package/dist/esm/{chunk-6H5QNZRH.mjs → chunk-XEWJESJJ.mjs} +2 -2
- package/dist/esm/chunk-XEWJESJJ.mjs.map +1 -0
- package/dist/esm/{chunk-L2SDI7PI.mjs → chunk-XGF7UNEW.mjs} +2 -2
- package/dist/esm/chunk-XGF7UNEW.mjs.map +1 -0
- package/dist/esm/{chunk-3R3XGOPC.mjs → chunk-XHLPZMWO.mjs} +2 -2
- package/dist/esm/chunk-XHLPZMWO.mjs.map +1 -0
- package/dist/esm/{chunk-S22QVNK7.mjs → chunk-XIAC52YK.mjs} +2 -2
- package/dist/esm/chunk-XIAC52YK.mjs.map +1 -0
- package/dist/esm/chunk-XJJVJOX5.mjs +2 -0
- package/dist/esm/{chunk-UGTIALNW.mjs.map → chunk-XJJVJOX5.mjs.map} +1 -1
- package/dist/esm/{chunk-OPO5EYF7.mjs → chunk-XKUIMGKU.mjs} +2 -2
- package/dist/esm/chunk-XKUIMGKU.mjs.map +1 -0
- package/dist/esm/chunk-XTOIL6MB.mjs +2 -0
- package/dist/esm/chunk-XTOIL6MB.mjs.map +1 -0
- package/dist/esm/{chunk-3NPN2MSI.mjs → chunk-YJPYSM2B.mjs} +2 -2
- package/dist/esm/chunk-YJPYSM2B.mjs.map +1 -0
- package/dist/esm/{chunk-HBIDHQ2M.mjs → chunk-YOZBVVKL.mjs} +1 -1
- package/dist/esm/chunk-YOZBVVKL.mjs.map +1 -0
- package/dist/esm/{chunk-DSKXYJFZ.mjs → chunk-Z3J7ZDPN.mjs} +2 -2
- package/dist/esm/chunk-Z3J7ZDPN.mjs.map +1 -0
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.d.mts +20 -8
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/cli/move.d.mts +26 -0
- package/dist/esm/cli/move.mjs +1 -1
- package/dist/esm/client/core.d.mts +4 -0
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +33 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +1 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.d.mts +37 -0
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.d.mts +6 -0
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +46 -0
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.d.mts +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/common.d.mts +14 -0
- package/dist/esm/core/common.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +57 -5
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +23 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +13 -1
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
- package/dist/esm/core/crypto/hdKey.d.mts +28 -0
- package/dist/esm/core/crypto/hdKey.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/keyless.d.mts +131 -1
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +41 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +38 -1
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/poseidon.d.mts +10 -0
- package/dist/esm/core/crypto/poseidon.mjs +1 -1
- package/dist/esm/core/crypto/privateKey.d.mts +9 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.d.mts +2 -0
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.d.mts +1 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +51 -3
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/signature.d.mts +6 -0
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +36 -2
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/utils.d.mts +2 -0
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/hex.d.mts +20 -0
- 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/errors/index.mjs +1 -1
- package/dist/esm/index.d.mts +5 -4
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/account.d.mts +24 -4
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +27 -2
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +3 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +31 -2
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/event.d.mts +5 -0
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +5 -0
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +8 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +7 -0
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +6 -2
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.d.mts +2 -0
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.d.mts +5 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.d.mts +3 -0
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.d.mts +14 -0
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +16 -5
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/view.d.mts +2 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/{publicKey-BVXX1nVl.d.mts → publicKey-BMtGNNLg.d.mts} +36 -0
- package/dist/esm/transactions/authenticator/account.d.mts +28 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +2 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +23 -2
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +2 -1
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +8 -0
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.d.mts +8 -0
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +2 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +10 -0
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +8 -0
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +30 -0
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +7 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +10 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +8 -0
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +16 -0
- package/dist/esm/transactions/instances/transactionPayload.d.mts +48 -0
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +19 -2
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/asyncQueue.d.mts +16 -0
- package/dist/esm/transactions/management/asyncQueue.mjs +1 -1
- package/dist/esm/transactions/management/index.d.mts +3 -2
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +45 -7
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/script-composer/index.d.mts +5 -2
- package/dist/esm/transactions/script-composer/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +64 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +2 -1
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +14 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +10 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +42 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.d.mts +82 -0
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +8 -0
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +80 -1
- package/dist/esm/types/indexer.d.mts +52 -0
- package/dist/esm/types/keyless.d.mts +12 -0
- package/dist/esm/utils/apiEndpoints.d.mts +30 -0
- package/dist/esm/utils/apiEndpoints.mjs +1 -1
- package/dist/esm/utils/const.d.mts +24 -0
- package/dist/esm/utils/const.mjs +1 -1
- package/dist/esm/utils/helpers.d.mts +20 -0
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/memoize.d.mts +4 -0
- package/dist/esm/utils/memoize.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.d.mts +8 -0
- 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 +20 -21
- package/src/account/AbstractKeylessAccount.ts +80 -9
- package/src/account/Account.ts +51 -6
- package/src/account/AccountUtils.ts +216 -0
- package/src/account/Ed25519Account.ts +26 -0
- package/src/account/EphemeralKeyPair.ts +30 -0
- package/src/account/FederatedKeylessAccount.ts +10 -3
- package/src/account/KeylessAccount.ts +13 -1
- package/src/account/MultiKeyAccount.ts +75 -12
- package/src/account/SingleKeyAccount.ts +63 -6
- package/src/account/index.ts +1 -0
- package/src/account/utils.ts +16 -0
- package/src/api/account.ts +22 -2
- package/src/api/ans.ts +15 -0
- package/src/api/aptos.ts +3 -0
- package/src/api/aptosConfig.ts +24 -0
- package/src/api/coin.ts +3 -0
- package/src/api/digitalAsset.ts +26 -0
- package/src/api/event.ts +6 -0
- package/src/api/faucet.ts +11 -2
- package/src/api/fungibleAsset.ts +8 -0
- package/src/api/general.ts +12 -0
- package/src/api/keyless.ts +6 -0
- package/src/api/object.ts +3 -0
- package/src/api/staking.ts +5 -0
- package/src/api/table.ts +5 -0
- package/src/api/transaction.ts +19 -3
- package/src/api/transactionSubmission/build.ts +10 -4
- package/src/api/transactionSubmission/helpers.ts +2 -0
- package/src/api/transactionSubmission/management.ts +5 -0
- package/src/api/transactionSubmission/sign.ts +4 -0
- package/src/api/transactionSubmission/simulate.ts +4 -0
- package/src/api/transactionSubmission/submit.ts +4 -0
- package/src/api/utils.ts +1 -0
- package/src/bcs/deserializer.ts +64 -2
- package/src/bcs/serializable/entryFunctionBytes.ts +10 -0
- package/src/bcs/serializable/fixedBytes.ts +12 -0
- package/src/bcs/serializable/movePrimitives.ts +26 -0
- package/src/bcs/serializable/moveStructs.ts +56 -0
- package/src/bcs/serializer.ts +64 -1
- package/src/cli/localNode.ts +22 -8
- package/src/cli/move.ts +26 -0
- package/src/client/core.ts +4 -0
- package/src/client/get.ts +75 -1
- package/src/client/post.ts +37 -0
- package/src/core/account/utils/address.ts +6 -0
- package/src/core/accountAddress.ts +46 -0
- package/src/core/authenticationKey.ts +22 -0
- package/src/core/common.ts +14 -0
- package/src/core/crypto/ed25519.ts +58 -4
- package/src/core/crypto/ephemeral.ts +22 -0
- package/src/core/crypto/federatedKeyless.ts +12 -0
- package/src/core/crypto/hdKey.ts +29 -0
- package/src/core/crypto/keyless.ts +134 -0
- package/src/core/crypto/multiEd25519.ts +40 -0
- package/src/core/crypto/multiKey.ts +37 -1
- package/src/core/crypto/poseidon.ts +20 -0
- package/src/core/crypto/privateKey.ts +17 -8
- package/src/core/crypto/proof.ts +2 -0
- package/src/core/crypto/publicKey.ts +14 -0
- package/src/core/crypto/secp256k1.ts +62 -5
- package/src/core/crypto/signature.ts +8 -0
- package/src/core/crypto/singleKey.ts +34 -2
- package/src/core/crypto/utils.ts +2 -0
- package/src/core/hex.ts +20 -0
- package/src/internal/account.ts +27 -7
- package/src/internal/ans.ts +27 -0
- package/src/internal/coin.ts +1 -0
- package/src/internal/digitalAsset.ts +30 -0
- package/src/internal/event.ts +6 -0
- package/src/internal/faucet.ts +5 -0
- package/src/internal/fungibleAsset.ts +5 -0
- package/src/internal/general.ts +7 -0
- package/src/internal/keyless.ts +4 -0
- package/src/internal/object.ts +2 -0
- package/src/internal/staking.ts +5 -1
- package/src/internal/table.ts +3 -0
- package/src/internal/transaction.ts +16 -0
- package/src/internal/transactionSubmission.ts +15 -2
- package/src/transactions/authenticator/account.ts +26 -0
- package/src/transactions/authenticator/transaction.ts +20 -0
- package/src/transactions/instances/chainId.ts +8 -0
- package/src/transactions/instances/identifier.ts +8 -0
- package/src/transactions/instances/moduleId.ts +10 -0
- package/src/transactions/instances/multiAgentTransaction.ts +8 -0
- package/src/transactions/instances/rawTransaction.ts +30 -0
- package/src/transactions/instances/rotationProofChallenge.ts +6 -0
- package/src/transactions/instances/signedTransaction.ts +8 -0
- package/src/transactions/instances/simpleTransaction.ts +8 -0
- package/src/transactions/instances/transactionArgument.ts +16 -0
- package/src/transactions/instances/transactionPayload.ts +50 -0
- package/src/transactions/management/accountSequenceNumber.ts +16 -0
- package/src/transactions/management/asyncQueue.ts +16 -0
- package/src/transactions/management/transactionWorker.ts +42 -5
- package/src/transactions/script-composer/index.ts +17 -8
- package/src/transactions/transactionBuilder/helpers.ts +82 -10
- package/src/transactions/transactionBuilder/remoteAbi.ts +20 -0
- package/src/transactions/transactionBuilder/signingMessage.ts +10 -0
- package/src/transactions/transactionBuilder/transactionBuilder.ts +58 -0
- package/src/transactions/typeTag/index.ts +82 -0
- package/src/transactions/typeTag/parser.ts +24 -0
- package/src/transactions/types.ts +78 -0
- package/src/types/indexer.ts +52 -0
- package/src/types/keyless.ts +12 -0
- package/src/utils/apiEndpoints.ts +30 -2
- package/src/utils/const.ts +24 -1
- package/src/utils/helpers.ts +22 -0
- package/src/utils/memoize.ts +6 -0
- package/src/utils/normalizeBundle.ts +8 -1
- package/src/version.ts +1 -1
- package/dist/common/chunk-F43XVDYJ.js.map +0 -1
- package/dist/esm/chunk-2CJC43CV.mjs.map +0 -1
- package/dist/esm/chunk-2E3BT4YW.mjs.map +0 -1
- package/dist/esm/chunk-2E3EAJPC.mjs.map +0 -1
- package/dist/esm/chunk-2OF44LP4.mjs +0 -2
- package/dist/esm/chunk-2OF44LP4.mjs.map +0 -1
- package/dist/esm/chunk-2VDQXUT4.mjs.map +0 -1
- package/dist/esm/chunk-353SWAAB.mjs.map +0 -1
- package/dist/esm/chunk-3NPN2MSI.mjs.map +0 -1
- package/dist/esm/chunk-3R3XGOPC.mjs.map +0 -1
- package/dist/esm/chunk-42H7WETG.mjs.map +0 -1
- package/dist/esm/chunk-4FIBPKCN.mjs.map +0 -1
- package/dist/esm/chunk-4IQZOAN7.mjs.map +0 -1
- package/dist/esm/chunk-4O5XDQDO.mjs +0 -2
- package/dist/esm/chunk-4O5XDQDO.mjs.map +0 -1
- package/dist/esm/chunk-5B3SMBXQ.mjs +0 -2
- package/dist/esm/chunk-5B3SMBXQ.mjs.map +0 -1
- package/dist/esm/chunk-5BZEH4H5.mjs.map +0 -1
- package/dist/esm/chunk-5O3RHPER.mjs.map +0 -1
- package/dist/esm/chunk-632VRZYX.mjs.map +0 -1
- package/dist/esm/chunk-6H5QNZRH.mjs.map +0 -1
- package/dist/esm/chunk-6NEN65HA.mjs.map +0 -1
- package/dist/esm/chunk-6Q2O5G3J.mjs.map +0 -1
- package/dist/esm/chunk-6YJW6OC5.mjs +0 -2
- package/dist/esm/chunk-6YJW6OC5.mjs.map +0 -1
- package/dist/esm/chunk-6ZOVTYLJ.mjs.map +0 -1
- package/dist/esm/chunk-7M3NKATD.mjs.map +0 -1
- package/dist/esm/chunk-7RYYUO4V.mjs.map +0 -1
- package/dist/esm/chunk-A3USS2NC.mjs.map +0 -1
- package/dist/esm/chunk-A6AAR5TS.mjs.map +0 -1
- package/dist/esm/chunk-ACVIE7IE.mjs.map +0 -1
- package/dist/esm/chunk-AJ5JHBAE.mjs.map +0 -1
- package/dist/esm/chunk-AKIO3OIT.mjs.map +0 -1
- package/dist/esm/chunk-AOROYJ74.mjs.map +0 -1
- package/dist/esm/chunk-AVZYJAXR.mjs +0 -2
- package/dist/esm/chunk-AVZYJAXR.mjs.map +0 -1
- package/dist/esm/chunk-B77HJ77O.mjs.map +0 -1
- package/dist/esm/chunk-BFBRLEQM.mjs.map +0 -1
- package/dist/esm/chunk-BRV3RLKW.mjs.map +0 -1
- package/dist/esm/chunk-BU6PBOHF.mjs.map +0 -1
- package/dist/esm/chunk-CGDYWQSB.mjs.map +0 -1
- package/dist/esm/chunk-CK5NDXQT.mjs.map +0 -1
- package/dist/esm/chunk-D3OEQLUE.mjs +0 -2
- package/dist/esm/chunk-D3OEQLUE.mjs.map +0 -1
- package/dist/esm/chunk-D52UKPQF.mjs +0 -2
- package/dist/esm/chunk-D52UKPQF.mjs.map +0 -1
- package/dist/esm/chunk-D54FD6XE.mjs.map +0 -1
- package/dist/esm/chunk-DSKXYJFZ.mjs.map +0 -1
- package/dist/esm/chunk-DULHBLPY.mjs.map +0 -1
- package/dist/esm/chunk-FZDEGDUY.mjs.map +0 -1
- package/dist/esm/chunk-GAEAYY44.mjs +0 -1
- package/dist/esm/chunk-GMKKHGXK.mjs.map +0 -1
- package/dist/esm/chunk-HBIDHQ2M.mjs.map +0 -1
- package/dist/esm/chunk-HMDLBOCN.mjs.map +0 -1
- package/dist/esm/chunk-HPYBNJ7J.mjs.map +0 -1
- package/dist/esm/chunk-IHGA5KAD.mjs.map +0 -1
- package/dist/esm/chunk-IT42PQ4G.mjs +0 -2
- package/dist/esm/chunk-IT42PQ4G.mjs.map +0 -1
- package/dist/esm/chunk-J7PJSK3J.mjs.map +0 -1
- package/dist/esm/chunk-JEKZN7SO.mjs.map +0 -1
- package/dist/esm/chunk-JNO7KPMG.mjs.map +0 -1
- package/dist/esm/chunk-KUL55M2H.mjs +0 -2
- package/dist/esm/chunk-KUL55M2H.mjs.map +0 -1
- package/dist/esm/chunk-L2SDI7PI.mjs.map +0 -1
- package/dist/esm/chunk-L365GPP2.mjs.map +0 -1
- package/dist/esm/chunk-LGTOOAQI.mjs.map +0 -1
- package/dist/esm/chunk-LRN4ALMT.mjs +0 -2
- package/dist/esm/chunk-LRN4ALMT.mjs.map +0 -1
- package/dist/esm/chunk-MHN6XY4Z.mjs +0 -2
- package/dist/esm/chunk-MHN6XY4Z.mjs.map +0 -1
- package/dist/esm/chunk-MPEPVGWG.mjs +0 -2
- package/dist/esm/chunk-MPEPVGWG.mjs.map +0 -1
- package/dist/esm/chunk-MWWYVW65.mjs +0 -2
- package/dist/esm/chunk-MWWYVW65.mjs.map +0 -1
- package/dist/esm/chunk-NQW2T6H6.mjs.map +0 -1
- package/dist/esm/chunk-O4MRRWRI.mjs.map +0 -1
- package/dist/esm/chunk-OCE3XXUA.mjs +0 -2
- package/dist/esm/chunk-OCE3XXUA.mjs.map +0 -1
- package/dist/esm/chunk-OIOGOW6I.mjs.map +0 -1
- package/dist/esm/chunk-OPO5EYF7.mjs.map +0 -1
- package/dist/esm/chunk-P6RNNESB.mjs.map +0 -1
- package/dist/esm/chunk-PKWX45UR.mjs +0 -2
- package/dist/esm/chunk-PKWX45UR.mjs.map +0 -1
- package/dist/esm/chunk-Q3CWUEXI.mjs.map +0 -1
- package/dist/esm/chunk-QAYDBQJZ.mjs +0 -2
- package/dist/esm/chunk-QAYDBQJZ.mjs.map +0 -1
- package/dist/esm/chunk-QCUXDDCU.mjs.map +0 -1
- package/dist/esm/chunk-QQM47PHZ.mjs.map +0 -1
- package/dist/esm/chunk-RKMIDNYX.mjs.map +0 -1
- package/dist/esm/chunk-S22QVNK7.mjs.map +0 -1
- package/dist/esm/chunk-SBQJ3A7H.mjs.map +0 -1
- package/dist/esm/chunk-SFSQ2TIU.mjs.map +0 -1
- package/dist/esm/chunk-SPRNSFUV.mjs.map +0 -1
- package/dist/esm/chunk-T6ADNZE5.mjs.map +0 -1
- package/dist/esm/chunk-T6QKKUEK.mjs.map +0 -1
- package/dist/esm/chunk-THRFTTUG.mjs.map +0 -1
- package/dist/esm/chunk-TIKXNQYC.mjs.map +0 -1
- package/dist/esm/chunk-TQA6HY6A.mjs.map +0 -1
- package/dist/esm/chunk-TXD342Q6.mjs.map +0 -1
- package/dist/esm/chunk-UGTIALNW.mjs +0 -2
- package/dist/esm/chunk-UKXLESMW.mjs.map +0 -1
- package/dist/esm/chunk-UTOO6IVJ.mjs.map +0 -1
- package/dist/esm/chunk-UZGSDK63.mjs.map +0 -1
- package/dist/esm/chunk-UZTJWOLS.mjs +0 -2
- package/dist/esm/chunk-UZTJWOLS.mjs.map +0 -1
- package/dist/esm/chunk-V4FKFCBL.mjs.map +0 -1
- package/dist/esm/chunk-V5NDNR36.mjs +0 -2
- package/dist/esm/chunk-V5NDNR36.mjs.map +0 -1
- package/dist/esm/chunk-VQZMI3EZ.mjs.map +0 -1
- package/dist/esm/chunk-VUZFKJBB.mjs.map +0 -1
- package/dist/esm/chunk-WF3HSWHT.mjs.map +0 -1
- package/dist/esm/chunk-XWUMN7TI.mjs.map +0 -1
- package/dist/esm/chunk-YFIXGTWP.mjs.map +0 -1
- package/dist/esm/chunk-YM6SNW4X.mjs.map +0 -1
- package/dist/esm/chunk-YQHOQJRQ.mjs +0 -2
- package/dist/esm/chunk-YSBSCW5S.mjs.map +0 -1
- package/dist/esm/chunk-YT3IP57B.mjs.map +0 -1
- package/dist/esm/chunk-YZFMBFJN.mjs +0 -2
- package/dist/esm/chunk-YZFMBFJN.mjs.map +0 -1
- package/dist/esm/chunk-ZMBXHMVQ.mjs.map +0 -1
- /package/dist/esm/{chunk-GAEAYY44.mjs.map → account/AccountUtils.mjs.map} +0 -0
- /package/dist/esm/{chunk-F45G3GP3.mjs.map → chunk-QHEKBHNU.mjs.map} +0 -0
- /package/dist/esm/{chunk-BMAIA7QJ.mjs.map → chunk-QR7MBETX.mjs.map} +0 -0
|
@@ -25,6 +25,8 @@ import { Serialized } from "../bcs";
|
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Entry function arguments for building a raw transaction using remote ABI, supporting various data types including primitives and arrays.
|
|
28
|
+
* @group Implementation
|
|
29
|
+
* @category Transactions
|
|
28
30
|
*/
|
|
29
31
|
export type SimpleEntryFunctionArgumentTypes =
|
|
30
32
|
| boolean
|
|
@@ -39,6 +41,8 @@ export type SimpleEntryFunctionArgumentTypes =
|
|
|
39
41
|
|
|
40
42
|
/**
|
|
41
43
|
* Entry function arguments for building a raw transaction using BCS serialized arguments.
|
|
44
|
+
* @group Implementation
|
|
45
|
+
* @category Transactions
|
|
42
46
|
*/
|
|
43
47
|
export type EntryFunctionArgumentTypes =
|
|
44
48
|
| Bool
|
|
@@ -56,6 +60,8 @@ export type EntryFunctionArgumentTypes =
|
|
|
56
60
|
|
|
57
61
|
/**
|
|
58
62
|
* Script function arguments for building raw transactions using BCS serialized arguments.
|
|
63
|
+
* @group Implementation
|
|
64
|
+
* @category Transactions
|
|
59
65
|
*/
|
|
60
66
|
export type ScriptFunctionArgumentTypes =
|
|
61
67
|
| Bool
|
|
@@ -89,11 +95,15 @@ export type ScriptFunctionArgumentTypes =
|
|
|
89
95
|
* - vector<Type>
|
|
90
96
|
* - address::module::struct
|
|
91
97
|
* - address::module::struct<Type1, Type2>
|
|
98
|
+
* @group Implementation
|
|
99
|
+
* @category Transactions
|
|
92
100
|
*/
|
|
93
101
|
export type TypeArgument = TypeTag | string;
|
|
94
102
|
|
|
95
103
|
/**
|
|
96
104
|
* Holds all return interfaces for generating different transaction types.
|
|
105
|
+
* @group Implementation
|
|
106
|
+
* @category Transactions
|
|
97
107
|
*/
|
|
98
108
|
export type AnyRawTransactionInstance = RawTransaction | MultiAgentRawTransaction | FeePayerRawTransaction;
|
|
99
109
|
|
|
@@ -101,6 +111,8 @@ export type AnyRawTransactionInstance = RawTransaction | MultiAgentRawTransactio
|
|
|
101
111
|
|
|
102
112
|
/**
|
|
103
113
|
* Optional options to set when generating a transaction, including a maximum gas amount.
|
|
114
|
+
* @group Implementation
|
|
115
|
+
* @category Transactions
|
|
104
116
|
*/
|
|
105
117
|
export type InputGenerateTransactionOptions = {
|
|
106
118
|
maxGasAmount?: number;
|
|
@@ -112,6 +124,8 @@ export type InputGenerateTransactionOptions = {
|
|
|
112
124
|
/**
|
|
113
125
|
* The transaction payload type generated from the `generateTransactionPayload()` function, which can be an entry function,
|
|
114
126
|
* script, or multi-signature payload.
|
|
127
|
+
* @group Implementation
|
|
128
|
+
* @category Transactions
|
|
115
129
|
*/
|
|
116
130
|
export type AnyTransactionPayloadInstance =
|
|
117
131
|
| TransactionPayloadEntryFunction
|
|
@@ -120,12 +134,16 @@ export type AnyTransactionPayloadInstance =
|
|
|
120
134
|
|
|
121
135
|
/**
|
|
122
136
|
* The data needed to generate a transaction payload for Entry Function, Script, or Multi Sig types.
|
|
137
|
+
* @group Implementation
|
|
138
|
+
* @category Transactions
|
|
123
139
|
*/
|
|
124
140
|
export type InputGenerateTransactionPayloadData = InputEntryFunctionData | InputScriptData | InputMultiSigData;
|
|
125
141
|
|
|
126
142
|
/**
|
|
127
143
|
* The payload for generating a transaction, which can be either script data, entry function data with remote ABI, or
|
|
128
144
|
* multi-signature data.
|
|
145
|
+
* @group Implementation
|
|
146
|
+
* @category Transactions
|
|
129
147
|
*/
|
|
130
148
|
export type InputGenerateTransactionPayloadDataWithRemoteABI =
|
|
131
149
|
| InputScriptData
|
|
@@ -134,6 +152,8 @@ export type InputGenerateTransactionPayloadDataWithRemoteABI =
|
|
|
134
152
|
|
|
135
153
|
/**
|
|
136
154
|
* The data needed to generate an Entry Function payload.
|
|
155
|
+
* @group Implementation
|
|
156
|
+
* @category Transactions
|
|
137
157
|
*/
|
|
138
158
|
export type InputEntryFunctionData = {
|
|
139
159
|
function: MoveFunctionId;
|
|
@@ -144,11 +164,15 @@ export type InputEntryFunctionData = {
|
|
|
144
164
|
|
|
145
165
|
/**
|
|
146
166
|
* The payload for generating a transaction, which can be either an entry function or a multi-signature transaction.
|
|
167
|
+
* @group Implementation
|
|
168
|
+
* @category Transactions
|
|
147
169
|
*/
|
|
148
170
|
export type InputGenerateTransactionPayloadDataWithABI = InputEntryFunctionDataWithABI | InputMultiSigDataWithABI;
|
|
149
171
|
|
|
150
172
|
/**
|
|
151
173
|
* The input data for an entry function, including its associated ABI.
|
|
174
|
+
* @group Implementation
|
|
175
|
+
* @category Transactions
|
|
152
176
|
*/
|
|
153
177
|
export type InputEntryFunctionDataWithABI = Omit<InputEntryFunctionData, "abi"> & {
|
|
154
178
|
abi: EntryFunctionABI;
|
|
@@ -156,6 +180,8 @@ export type InputEntryFunctionDataWithABI = Omit<InputEntryFunctionData, "abi">
|
|
|
156
180
|
|
|
157
181
|
/**
|
|
158
182
|
* The data needed to generate a Multi Sig payload, including the multisig address.
|
|
183
|
+
* @group Implementation
|
|
184
|
+
* @category Transactions
|
|
159
185
|
*/
|
|
160
186
|
export type InputMultiSigDataWithABI = {
|
|
161
187
|
multisigAddress: AccountAddressInput;
|
|
@@ -163,6 +189,8 @@ export type InputMultiSigDataWithABI = {
|
|
|
163
189
|
|
|
164
190
|
/**
|
|
165
191
|
* Combines input function data with Aptos configuration for remote ABI interactions.
|
|
192
|
+
* @group Implementation
|
|
193
|
+
* @category Transactions
|
|
166
194
|
*/
|
|
167
195
|
export type InputEntryFunctionDataWithRemoteABI = InputEntryFunctionData & { aptosConfig: AptosConfig };
|
|
168
196
|
|
|
@@ -177,6 +205,8 @@ export type InputBatchedFunctionData = {
|
|
|
177
205
|
|
|
178
206
|
/**
|
|
179
207
|
* The data needed to generate a Multi Sig payload
|
|
208
|
+
* @group Implementation
|
|
209
|
+
* @category Transactions
|
|
180
210
|
*/
|
|
181
211
|
export type InputMultiSigData = {
|
|
182
212
|
multisigAddress: AccountAddressInput;
|
|
@@ -184,6 +214,8 @@ export type InputMultiSigData = {
|
|
|
184
214
|
|
|
185
215
|
/**
|
|
186
216
|
* The data needed to generate a Multi Sig payload, including the multisig address.
|
|
217
|
+
* @group Implementation
|
|
218
|
+
* @category Transactions
|
|
187
219
|
*/
|
|
188
220
|
export type InputMultiSigDataWithRemoteABI = {
|
|
189
221
|
multisigAddress: AccountAddressInput;
|
|
@@ -191,6 +223,8 @@ export type InputMultiSigDataWithRemoteABI = {
|
|
|
191
223
|
|
|
192
224
|
/**
|
|
193
225
|
* The data needed to generate a Script payload.
|
|
226
|
+
* @group Implementation
|
|
227
|
+
* @category Transactions
|
|
194
228
|
*/
|
|
195
229
|
export type InputScriptData = {
|
|
196
230
|
bytecode: HexInput;
|
|
@@ -200,6 +234,8 @@ export type InputScriptData = {
|
|
|
200
234
|
|
|
201
235
|
/**
|
|
202
236
|
* The data needed to generate a View Function payload.
|
|
237
|
+
* @group Implementation
|
|
238
|
+
* @category Transactions
|
|
203
239
|
*/
|
|
204
240
|
export type InputViewFunctionData = {
|
|
205
241
|
function: MoveFunctionId;
|
|
@@ -210,6 +246,8 @@ export type InputViewFunctionData = {
|
|
|
210
246
|
|
|
211
247
|
/**
|
|
212
248
|
* The data needed to generate a View Function payload in JSON format.
|
|
249
|
+
* @group Implementation
|
|
250
|
+
* @category Transactions
|
|
213
251
|
*/
|
|
214
252
|
export type InputViewFunctionJsonData = {
|
|
215
253
|
function: MoveFunctionId;
|
|
@@ -219,6 +257,8 @@ export type InputViewFunctionJsonData = {
|
|
|
219
257
|
|
|
220
258
|
/**
|
|
221
259
|
* The payload sent to the fullnode for a JSON view request.
|
|
260
|
+
* @group Implementation
|
|
261
|
+
* @category Transactions
|
|
222
262
|
*/
|
|
223
263
|
export type ViewFunctionJsonPayload = {
|
|
224
264
|
function: MoveFunctionId;
|
|
@@ -228,16 +268,22 @@ export type ViewFunctionJsonPayload = {
|
|
|
228
268
|
|
|
229
269
|
/**
|
|
230
270
|
* Data required to create a view function payload and retrieve the remote ABI, including Aptos configuration.
|
|
271
|
+
* @group Implementation
|
|
272
|
+
* @category Transactions
|
|
231
273
|
*/
|
|
232
274
|
export type InputViewFunctionDataWithRemoteABI = InputViewFunctionData & { aptosConfig: AptosConfig };
|
|
233
275
|
|
|
234
276
|
/**
|
|
235
277
|
* Data needed to generate a view function, including the fetched ABI.
|
|
278
|
+
* @group Implementation
|
|
279
|
+
* @category Transactions
|
|
236
280
|
*/
|
|
237
281
|
export type InputViewFunctionDataWithABI = InputViewFunctionData & { abi: ViewFunctionABI };
|
|
238
282
|
|
|
239
283
|
/**
|
|
240
284
|
* Data needed for a generic function ABI, applicable to both view and entry functions.
|
|
285
|
+
* @group Implementation
|
|
286
|
+
* @category Transactions
|
|
241
287
|
*/
|
|
242
288
|
export type FunctionABI = {
|
|
243
289
|
typeParameters: Array<MoveFunctionGenericTypeParam>;
|
|
@@ -246,6 +292,8 @@ export type FunctionABI = {
|
|
|
246
292
|
|
|
247
293
|
/**
|
|
248
294
|
* Interface for an Entry function's ABI, enabling type checking and input conversion for ABI-based transaction submissions.
|
|
295
|
+
* @group Implementation
|
|
296
|
+
* @category Transactions
|
|
249
297
|
*/
|
|
250
298
|
export type EntryFunctionABI = FunctionABI & {
|
|
251
299
|
signers?: number;
|
|
@@ -253,6 +301,8 @@ export type EntryFunctionABI = FunctionABI & {
|
|
|
253
301
|
|
|
254
302
|
/**
|
|
255
303
|
* Interface for a view function's ABI, providing type checking and input conversion for ABI-based transaction submissions.
|
|
304
|
+
* @group Implementation
|
|
305
|
+
* @category Transactions
|
|
256
306
|
*/
|
|
257
307
|
export type ViewFunctionABI = FunctionABI & {
|
|
258
308
|
returnTypes: Array<TypeTag>;
|
|
@@ -266,6 +316,8 @@ export type ViewFunctionABI = FunctionABI & {
|
|
|
266
316
|
* @param payload - The transaction payload.
|
|
267
317
|
* @param options - Optional transaction generation options.
|
|
268
318
|
* @param feePayerAddress - Optional address of the fee payer.
|
|
319
|
+
* @group Implementation
|
|
320
|
+
* @category Transactions
|
|
269
321
|
*/
|
|
270
322
|
export interface InputGenerateSingleSignerRawTransactionArgs {
|
|
271
323
|
aptosConfig: AptosConfig;
|
|
@@ -284,6 +336,8 @@ export interface InputGenerateSingleSignerRawTransactionArgs {
|
|
|
284
336
|
* @param secondarySignerAddresses - List of secondary signer addresses.
|
|
285
337
|
* @param options - Optional settings for transaction generation.
|
|
286
338
|
* @param feePayerAddress - Optional address of the fee payer.
|
|
339
|
+
* @group Implementation
|
|
340
|
+
* @category Transactions
|
|
287
341
|
*/
|
|
288
342
|
export interface InputGenerateMultiAgentRawTransactionArgs {
|
|
289
343
|
aptosConfig: AptosConfig;
|
|
@@ -296,6 +350,8 @@ export interface InputGenerateMultiAgentRawTransactionArgs {
|
|
|
296
350
|
|
|
297
351
|
/**
|
|
298
352
|
* A unified type for generating various transaction types.
|
|
353
|
+
* @group Implementation
|
|
354
|
+
* @category Transactions
|
|
299
355
|
*/
|
|
300
356
|
export type InputGenerateRawTransactionArgs =
|
|
301
357
|
| InputGenerateSingleSignerRawTransactionArgs
|
|
@@ -303,6 +359,8 @@ export type InputGenerateRawTransactionArgs =
|
|
|
303
359
|
|
|
304
360
|
/**
|
|
305
361
|
* Unified type that holds all the return interfaces when generating different transaction types
|
|
362
|
+
* @group Implementation
|
|
363
|
+
* @category Transactions
|
|
306
364
|
*/
|
|
307
365
|
export type AnyRawTransaction = SimpleTransaction | MultiAgentTransaction;
|
|
308
366
|
|
|
@@ -310,23 +368,33 @@ export type AnyRawTransaction = SimpleTransaction | MultiAgentTransaction;
|
|
|
310
368
|
|
|
311
369
|
/**
|
|
312
370
|
* The data required to simulate a transaction, typically generated by `generateTransaction()`.
|
|
371
|
+
* @group Implementation
|
|
372
|
+
* @category Transactions
|
|
313
373
|
*/
|
|
314
374
|
export type InputSimulateTransactionData = {
|
|
315
375
|
/**
|
|
316
376
|
* The transaction to simulate, probably generated by `generateTransaction()`
|
|
377
|
+
* @group Implementation
|
|
378
|
+
* @category Transactions
|
|
317
379
|
*/
|
|
318
380
|
transaction: AnyRawTransaction;
|
|
319
381
|
/**
|
|
320
382
|
* For a single signer transaction
|
|
383
|
+
* @group Implementation
|
|
384
|
+
* @category Transactions
|
|
321
385
|
* This is optional and can be undefined to skip the public/auth key check during the transaction simulation.
|
|
322
386
|
*/
|
|
323
387
|
signerPublicKey?: PublicKey;
|
|
324
388
|
/**
|
|
325
389
|
* For a fee payer or multi-agent transaction that requires additional signers in
|
|
390
|
+
* @group Implementation
|
|
391
|
+
* @category Transactions
|
|
326
392
|
*/
|
|
327
393
|
secondarySignersPublicKeys?: Array<PublicKey | undefined>;
|
|
328
394
|
/**
|
|
329
395
|
* For a fee payer transaction (aka Sponsored Transaction)
|
|
396
|
+
* @group Implementation
|
|
397
|
+
* @category Transactions
|
|
330
398
|
*/
|
|
331
399
|
feePayerPublicKey?: PublicKey;
|
|
332
400
|
options?: InputSimulateTransactionOptions;
|
|
@@ -334,6 +402,8 @@ export type InputSimulateTransactionData = {
|
|
|
334
402
|
|
|
335
403
|
/**
|
|
336
404
|
* Options for simulating a transaction input, including whether to estimate the gas unit price.
|
|
405
|
+
* @group Implementation
|
|
406
|
+
* @category Transactions
|
|
337
407
|
*/
|
|
338
408
|
export type InputSimulateTransactionOptions = {
|
|
339
409
|
estimateGasUnitPrice?: boolean;
|
|
@@ -351,6 +421,8 @@ export type InputSimulateTransactionOptions = {
|
|
|
351
421
|
* @param options - Optional transaction options.
|
|
352
422
|
* @param withFeePayer - Indicates if the fee payer is included.
|
|
353
423
|
* @param secondarySignerAddresses - Addresses for any secondary signers (not used in single signer transactions).
|
|
424
|
+
* @group Implementation
|
|
425
|
+
* @category Transactions
|
|
354
426
|
*/
|
|
355
427
|
export interface InputGenerateSingleSignerRawTransactionData {
|
|
356
428
|
sender: AccountAddressInput;
|
|
@@ -368,6 +440,8 @@ export interface InputGenerateSingleSignerRawTransactionData {
|
|
|
368
440
|
* @param secondarySignerAddresses - An array of addresses for secondary signers.
|
|
369
441
|
* @param options - Optional transaction options.
|
|
370
442
|
* @param withFeePayer - Indicates if a fee payer is included.
|
|
443
|
+
* @group Implementation
|
|
444
|
+
* @category Transactions
|
|
371
445
|
*/
|
|
372
446
|
export interface InputGenerateMultiAgentRawTransactionData {
|
|
373
447
|
sender: AccountAddressInput;
|
|
@@ -379,6 +453,8 @@ export interface InputGenerateMultiAgentRawTransactionData {
|
|
|
379
453
|
|
|
380
454
|
/**
|
|
381
455
|
* Unified type holding user data input interfaces for generating various transaction types.
|
|
456
|
+
* @group Implementation
|
|
457
|
+
* @category Transactions
|
|
382
458
|
*/
|
|
383
459
|
export type InputGenerateTransactionData =
|
|
384
460
|
| InputGenerateSingleSignerRawTransactionData
|
|
@@ -391,6 +467,8 @@ export type InputGenerateTransactionData =
|
|
|
391
467
|
* @param senderAuthenticator - The authenticator for the sender's account.
|
|
392
468
|
* @param feePayerAuthenticator - Optional authenticator for the fee payer's account.
|
|
393
469
|
* @param additionalSignersAuthenticators - Optional array of authenticators for additional signers.
|
|
470
|
+
* @group Implementation
|
|
471
|
+
* @category Transactions
|
|
394
472
|
*/
|
|
395
473
|
export interface InputSubmitTransactionData {
|
|
396
474
|
transaction: AnyRawTransaction;
|
package/src/types/indexer.ts
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
*
|
|
10
10
|
* These types are used as the return type when making the actual request (usually
|
|
11
11
|
* under the /internal/ folder)
|
|
12
|
+
* @group Implementation
|
|
13
|
+
* @category Types
|
|
12
14
|
*/
|
|
13
15
|
|
|
14
16
|
import {
|
|
@@ -43,120 +45,166 @@ import {
|
|
|
43
45
|
*
|
|
44
46
|
* These types are used as the return type when calling a sdk api function
|
|
45
47
|
* that calls the function that queries the server (usually under the /api/ folder)
|
|
48
|
+
* @group Implementation
|
|
49
|
+
* @category Types
|
|
46
50
|
*/
|
|
47
51
|
export type GetObjectDataQueryResponse = GetObjectDataQuery["current_objects"];
|
|
48
52
|
|
|
49
53
|
/**
|
|
50
54
|
* The response structure for querying tokens owned by an account.
|
|
55
|
+
* @group Implementation
|
|
56
|
+
* @category Types
|
|
51
57
|
*/
|
|
52
58
|
export type GetAccountOwnedTokensQueryResponse = GetAccountOwnedTokensQuery["current_token_ownerships_v2"];
|
|
53
59
|
|
|
54
60
|
/**
|
|
55
61
|
* The response containing the current token ownerships for an account from a specific collection.
|
|
62
|
+
* @group Implementation
|
|
63
|
+
* @category Types
|
|
56
64
|
*/
|
|
57
65
|
export type GetAccountOwnedTokensFromCollectionResponse =
|
|
58
66
|
GetAccountOwnedTokensFromCollectionQuery["current_token_ownerships_v2"];
|
|
59
67
|
|
|
60
68
|
/**
|
|
61
69
|
* The response structure for retrieving account collections associated with owned tokens.
|
|
70
|
+
* @group Implementation
|
|
71
|
+
* @category Types
|
|
62
72
|
*/
|
|
63
73
|
export type GetAccountCollectionsWithOwnedTokenResponse =
|
|
64
74
|
GetAccountCollectionsWithOwnedTokensQuery["current_collection_ownership_v2_view"];
|
|
65
75
|
|
|
66
76
|
/**
|
|
67
77
|
* The current balances of fungible assets for an account.
|
|
78
|
+
* @group Implementation
|
|
79
|
+
* @category Types
|
|
68
80
|
*/
|
|
69
81
|
export type GetAccountCoinsDataResponse = GetAccountCoinsDataQuery["current_fungible_asset_balances"];
|
|
70
82
|
|
|
71
83
|
/**
|
|
72
84
|
* The response structure for retrieving user transactions from the top of the blockchain.
|
|
85
|
+
* @group Implementation
|
|
86
|
+
* @category Types
|
|
73
87
|
*/
|
|
74
88
|
export type GetChainTopUserTransactionsResponse = GetChainTopUserTransactionsQuery["user_transactions"];
|
|
75
89
|
|
|
76
90
|
/**
|
|
77
91
|
* The response containing the events from the GetEventsQuery.
|
|
92
|
+
* @group Implementation
|
|
93
|
+
* @category Types
|
|
78
94
|
*/
|
|
79
95
|
export type GetEventsResponse = GetEventsQuery["events"];
|
|
80
96
|
|
|
81
97
|
/**
|
|
82
98
|
* The number of active delegators per pool in response to a query.
|
|
99
|
+
* @group Implementation
|
|
100
|
+
* @category Types
|
|
83
101
|
*/
|
|
84
102
|
export type GetNumberOfDelegatorsResponse = GetNumberOfDelegatorsQuery["num_active_delegator_per_pool"];
|
|
85
103
|
|
|
86
104
|
/**
|
|
87
105
|
* The response containing the delegated staking activities from the query.
|
|
106
|
+
* @group Implementation
|
|
107
|
+
* @category Types
|
|
88
108
|
*/
|
|
89
109
|
export type GetDelegatedStakingActivitiesResponse = GetDelegatedStakingActivitiesQuery["delegated_staking_activities"];
|
|
90
110
|
|
|
91
111
|
/**
|
|
92
112
|
* The response structure for retrieving data from the current collections.
|
|
113
|
+
* @group Implementation
|
|
114
|
+
* @category Types
|
|
93
115
|
*/
|
|
94
116
|
export type GetCollectionDataResponse = GetCollectionDataQuery["current_collections_v2"][0];
|
|
95
117
|
|
|
96
118
|
/**
|
|
97
119
|
* The response structure for retrieving token data, containing the current token information.
|
|
120
|
+
* @group Implementation
|
|
121
|
+
* @category Types
|
|
98
122
|
*/
|
|
99
123
|
export type GetTokenDataResponse = GetTokenDataQuery["current_token_datas_v2"][0];
|
|
100
124
|
|
|
101
125
|
/**
|
|
102
126
|
* The status of the processor as returned by the GetProcessorStatusQuery.
|
|
127
|
+
* @group Implementation
|
|
128
|
+
* @category Types
|
|
103
129
|
*/
|
|
104
130
|
export type GetProcessorStatusResponse = GetProcessorStatusQuery["processor_status"];
|
|
105
131
|
|
|
106
132
|
/**
|
|
107
133
|
* The response containing metadata for a fungible asset.
|
|
134
|
+
* @group Implementation
|
|
135
|
+
* @category Types
|
|
108
136
|
*/
|
|
109
137
|
export type GetFungibleAssetMetadataResponse = GetFungibleAssetMetadataQuery["fungible_asset_metadata"];
|
|
110
138
|
|
|
111
139
|
/**
|
|
112
140
|
* The response containing the activities related to fungible assets.
|
|
141
|
+
* @group Implementation
|
|
142
|
+
* @category Types
|
|
113
143
|
*/
|
|
114
144
|
export type GetFungibleAssetActivitiesResponse = GetFungibleAssetActivitiesQuery["fungible_asset_activities"];
|
|
115
145
|
|
|
116
146
|
/**
|
|
117
147
|
* The current balances of fungible assets for a specific query.
|
|
148
|
+
* @group Implementation
|
|
149
|
+
* @category Types
|
|
118
150
|
*/
|
|
119
151
|
export type GetCurrentFungibleAssetBalancesResponse =
|
|
120
152
|
GetCurrentFungibleAssetBalancesQuery["current_fungible_asset_balances"];
|
|
121
153
|
|
|
122
154
|
/**
|
|
123
155
|
* The response structure for retrieving token activity data.
|
|
156
|
+
* @group Implementation
|
|
157
|
+
* @category Types
|
|
124
158
|
*/
|
|
125
159
|
export type GetTokenActivityResponse = GetTokenActivityQuery["token_activities_v2"];
|
|
126
160
|
|
|
127
161
|
/**
|
|
128
162
|
* The response structure for retrieving the current token ownership details.
|
|
163
|
+
* @group Implementation
|
|
164
|
+
* @category Types
|
|
129
165
|
*/
|
|
130
166
|
export type GetCurrentTokenOwnershipResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"][0];
|
|
131
167
|
|
|
132
168
|
/**
|
|
133
169
|
* The response containing the current token ownerships for a user.
|
|
170
|
+
* @group Implementation
|
|
171
|
+
* @category Types
|
|
134
172
|
*/
|
|
135
173
|
export type GetOwnedTokensResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"];
|
|
136
174
|
|
|
137
175
|
/**
|
|
138
176
|
* The response structure for retrieving items from a table.
|
|
177
|
+
* @group Implementation
|
|
178
|
+
* @category Types
|
|
139
179
|
*/
|
|
140
180
|
export type GetTableItemsDataResponse = GetTableItemsDataQuery["table_items"];
|
|
141
181
|
|
|
142
182
|
/**
|
|
143
183
|
* The metadata for table items retrieved from a query.
|
|
184
|
+
* @group Implementation
|
|
185
|
+
* @category Types
|
|
144
186
|
*/
|
|
145
187
|
export type GetTableItemsMetadataResponse = GetTableItemsMetadataQuery["table_metadatas"];
|
|
146
188
|
|
|
147
189
|
/**
|
|
148
190
|
* The response containing the current Aptos names from the GetNamesQuery.
|
|
191
|
+
* @group Implementation
|
|
192
|
+
* @category Types
|
|
149
193
|
*/
|
|
150
194
|
export type GetANSNameResponse = GetNamesQuery["current_aptos_names"];
|
|
151
195
|
|
|
152
196
|
/**
|
|
153
197
|
* A generic type that being passed by each function and holds an
|
|
154
198
|
* array of properties we can sort the query by
|
|
199
|
+
* @group Implementation
|
|
200
|
+
* @category Types
|
|
155
201
|
*/
|
|
156
202
|
export type OrderBy<T> = Array<{ [K in keyof T]?: OrderByValue }>;
|
|
157
203
|
|
|
158
204
|
/**
|
|
159
205
|
* Specifies the order direction for sorting, including options for handling null values.
|
|
206
|
+
* @group Implementation
|
|
207
|
+
* @category Types
|
|
160
208
|
*/
|
|
161
209
|
export type OrderByValue =
|
|
162
210
|
| "asc"
|
|
@@ -168,11 +216,15 @@ export type OrderByValue =
|
|
|
168
216
|
|
|
169
217
|
/**
|
|
170
218
|
* The token standard to query for, which can be either version "v1" or "v2".
|
|
219
|
+
* @group Implementation
|
|
220
|
+
* @category Types
|
|
171
221
|
*/
|
|
172
222
|
export type TokenStandard = "v1" | "v2";
|
|
173
223
|
|
|
174
224
|
/**
|
|
175
225
|
* The GraphQL query to pass into the `queryIndexer` function.
|
|
226
|
+
* @group Implementation
|
|
227
|
+
* @category Types
|
|
176
228
|
*/
|
|
177
229
|
export type GraphqlQuery = {
|
|
178
230
|
query: string;
|
package/src/types/keyless.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The payload for a prover request, containing a Base64-encoded JWT.
|
|
3
|
+
* @group Implementation
|
|
4
|
+
* @category Types
|
|
3
5
|
*/
|
|
4
6
|
export type ProverRequest = {
|
|
5
7
|
jwt_b64: string;
|
|
@@ -13,6 +15,8 @@ export type ProverRequest = {
|
|
|
13
15
|
|
|
14
16
|
/**
|
|
15
17
|
* The response from the prover containing the proof data.
|
|
18
|
+
* @group Implementation
|
|
19
|
+
* @category Types
|
|
16
20
|
*/
|
|
17
21
|
export type ProverResponse = {
|
|
18
22
|
proof: { a: string; b: string; c: string };
|
|
@@ -22,6 +26,8 @@ export type ProverResponse = {
|
|
|
22
26
|
|
|
23
27
|
/**
|
|
24
28
|
* The request payload for fetching data, containing a base64 encoded JWT.
|
|
29
|
+
* @group Implementation
|
|
30
|
+
* @category Types
|
|
25
31
|
*/
|
|
26
32
|
export type PepperFetchRequest = {
|
|
27
33
|
jwt_b64: number;
|
|
@@ -34,11 +40,15 @@ export type PepperFetchRequest = {
|
|
|
34
40
|
|
|
35
41
|
/**
|
|
36
42
|
* The response object containing the fetched pepper string.
|
|
43
|
+
* @group Implementation
|
|
44
|
+
* @category Types
|
|
37
45
|
*/
|
|
38
46
|
export type PepperFetchResponse = { pepper: string; address: string };
|
|
39
47
|
|
|
40
48
|
/**
|
|
41
49
|
* The response for keyless configuration containing the maximum committed EPK bytes.
|
|
50
|
+
* @group Implementation
|
|
51
|
+
* @category Types
|
|
42
52
|
*/
|
|
43
53
|
export type KeylessConfigurationResponse = {
|
|
44
54
|
max_commited_epk_bytes: number;
|
|
@@ -53,6 +63,8 @@ export type KeylessConfigurationResponse = {
|
|
|
53
63
|
|
|
54
64
|
/**
|
|
55
65
|
* The response containing the Groth16 verification key, including the alpha_g1 component.
|
|
66
|
+
* @group Implementation
|
|
67
|
+
* @category Types
|
|
56
68
|
*/
|
|
57
69
|
export type Groth16VerificationKeyResponse = {
|
|
58
70
|
alpha_g1: string;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
// Copyright © Aptos Foundation
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* @group Implementation
|
|
6
|
+
* @category Network
|
|
7
|
+
*/
|
|
4
8
|
export const NetworkToIndexerAPI: Record<string, string> = {
|
|
5
9
|
mainnet: "https://api.mainnet.aptoslabs.com/v1/graphql",
|
|
6
10
|
testnet: "https://api.testnet.aptoslabs.com/v1/graphql",
|
|
@@ -8,6 +12,10 @@ export const NetworkToIndexerAPI: Record<string, string> = {
|
|
|
8
12
|
local: "http://127.0.0.1:8090/v1/graphql",
|
|
9
13
|
};
|
|
10
14
|
|
|
15
|
+
/**
|
|
16
|
+
* @group Implementation
|
|
17
|
+
* @category Network
|
|
18
|
+
*/
|
|
11
19
|
export const NetworkToNodeAPI: Record<string, string> = {
|
|
12
20
|
mainnet: "https://api.mainnet.aptoslabs.com/v1",
|
|
13
21
|
testnet: "https://api.testnet.aptoslabs.com/v1",
|
|
@@ -15,13 +23,19 @@ export const NetworkToNodeAPI: Record<string, string> = {
|
|
|
15
23
|
local: "http://127.0.0.1:8080/v1",
|
|
16
24
|
};
|
|
17
25
|
|
|
26
|
+
/**
|
|
27
|
+
* @group Implementation
|
|
28
|
+
* @category Network
|
|
29
|
+
*/
|
|
18
30
|
export const NetworkToFaucetAPI: Record<string, string> = {
|
|
19
|
-
mainnet: "https://faucet.mainnet.aptoslabs.com",
|
|
20
|
-
testnet: "https://faucet.testnet.aptoslabs.com",
|
|
21
31
|
devnet: "https://faucet.devnet.aptoslabs.com",
|
|
22
32
|
local: "http://127.0.0.1:8081",
|
|
23
33
|
};
|
|
24
34
|
|
|
35
|
+
/**
|
|
36
|
+
* @group Implementation
|
|
37
|
+
* @category Network
|
|
38
|
+
*/
|
|
25
39
|
export const NetworkToPepperAPI: Record<string, string> = {
|
|
26
40
|
mainnet: "https://api.mainnet.aptoslabs.com/keyless/pepper/v0",
|
|
27
41
|
testnet: "https://api.testnet.aptoslabs.com/keyless/pepper/v0",
|
|
@@ -30,6 +44,10 @@ export const NetworkToPepperAPI: Record<string, string> = {
|
|
|
30
44
|
local: "https://api.devnet.aptoslabs.com/keyless/pepper/v0",
|
|
31
45
|
};
|
|
32
46
|
|
|
47
|
+
/**
|
|
48
|
+
* @group Implementation
|
|
49
|
+
* @category Network
|
|
50
|
+
*/
|
|
33
51
|
export const NetworkToProverAPI: Record<string, string> = {
|
|
34
52
|
mainnet: "https://api.mainnet.aptoslabs.com/keyless/prover/v0",
|
|
35
53
|
testnet: "https://api.testnet.aptoslabs.com/keyless/prover/v0",
|
|
@@ -40,6 +58,8 @@ export const NetworkToProverAPI: Record<string, string> = {
|
|
|
40
58
|
|
|
41
59
|
/**
|
|
42
60
|
* Different network environments for connecting to services, ranging from production to development setups.
|
|
61
|
+
* @group Implementation
|
|
62
|
+
* @category Network
|
|
43
63
|
*/
|
|
44
64
|
export enum Network {
|
|
45
65
|
MAINNET = "mainnet",
|
|
@@ -49,12 +69,20 @@ export enum Network {
|
|
|
49
69
|
CUSTOM = "custom",
|
|
50
70
|
}
|
|
51
71
|
|
|
72
|
+
/**
|
|
73
|
+
* @group Implementation
|
|
74
|
+
* @category Network
|
|
75
|
+
*/
|
|
52
76
|
export const NetworkToChainId: Record<string, number> = {
|
|
53
77
|
mainnet: 1,
|
|
54
78
|
testnet: 2,
|
|
55
79
|
local: 4,
|
|
56
80
|
};
|
|
57
81
|
|
|
82
|
+
/**
|
|
83
|
+
* @group Implementation
|
|
84
|
+
* @category Network
|
|
85
|
+
*/
|
|
58
86
|
export const NetworkToNetworkName: Record<string, Network> = {
|
|
59
87
|
mainnet: Network.MAINNET,
|
|
60
88
|
testnet: Network.TESTNET,
|