@aptos-labs/ts-sdk 1.33.0 → 1.33.2-sc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -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 +56 -9
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +2126 -305
- 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 +82 -7
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +6 -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 +4 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +30 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +26 -5
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +31 -5
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +41 -5
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +5 -3
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +5 -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/api/account.d.mts +26 -4
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +19 -2
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +7 -2
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.d.mts +17 -0
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.d.mts +8 -3
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +30 -2
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/event.d.mts +7 -0
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/faucet.d.mts +12 -2
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +12 -2
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +15 -1
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +5 -2
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +10 -3
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.d.mts +4 -0
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.d.mts +6 -0
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.d.mts +6 -0
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +25 -6
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +72 -1
- 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 +9 -2
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +8 -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 +7 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +7 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.d.mts +2 -0
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/consts.d.mts +1 -0
- package/dist/esm/bcs/deserializer.d.mts +57 -2
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.d.mts +1 -0
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +11 -0
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +13 -0
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +25 -0
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +57 -0
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +61 -0
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-XVPWTWPY.mjs → chunk-32WLD3F3.mjs} +2 -2
- package/dist/esm/chunk-32WLD3F3.mjs.map +1 -0
- package/dist/esm/chunk-35DKMW7Q.mjs +2 -0
- package/dist/esm/chunk-35DKMW7Q.mjs.map +1 -0
- package/dist/esm/chunk-3OLFJ65O.mjs +2 -0
- package/dist/esm/chunk-3OLFJ65O.mjs.map +1 -0
- package/dist/esm/chunk-3XH3NNSR.mjs +2 -0
- package/dist/esm/chunk-3XH3NNSR.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-64IZ5PQR.mjs → chunk-4UYVRG5Z.mjs} +2 -2
- package/dist/esm/chunk-4UYVRG5Z.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-KKLF7DQV.mjs → chunk-4ZJJINCW.mjs} +2 -2
- package/dist/esm/chunk-4ZJJINCW.mjs.map +1 -0
- package/dist/esm/{chunk-U7UTBXJD.mjs → chunk-66AQ2MJ6.mjs} +2 -2
- package/dist/esm/chunk-66AQ2MJ6.mjs.map +1 -0
- package/dist/esm/{chunk-LZ5PSDOS.mjs → chunk-67BUAZ6O.mjs} +2 -2
- package/dist/esm/chunk-67BUAZ6O.mjs.map +1 -0
- package/dist/esm/{chunk-A3USS2NC.mjs → chunk-67ZANQ3R.mjs} +2 -2
- package/dist/esm/chunk-67ZANQ3R.mjs.map +1 -0
- package/dist/esm/{chunk-JUQBFGUD.mjs → chunk-6IIAGMDR.mjs} +2 -2
- package/dist/esm/chunk-6IIAGMDR.mjs.map +1 -0
- package/dist/esm/{chunk-BWV6OYLG.mjs → chunk-6IPM5P4L.mjs} +2 -2
- package/dist/esm/chunk-6IPM5P4L.mjs.map +1 -0
- package/dist/esm/{chunk-WXLSHECY.mjs → chunk-6XHBRRS6.mjs} +2 -2
- package/dist/esm/chunk-6XHBRRS6.mjs.map +1 -0
- package/dist/esm/chunk-7HLNV3QL.mjs +2 -0
- package/dist/esm/chunk-7HLNV3QL.mjs.map +1 -0
- package/dist/esm/{chunk-CK5NDXQT.mjs → chunk-A3NEASNH.mjs} +2 -2
- package/dist/esm/chunk-A3NEASNH.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-P74XXLE4.mjs → chunk-AD3A7DTH.mjs} +2 -2
- package/dist/esm/chunk-AD3A7DTH.mjs.map +1 -0
- package/dist/esm/chunk-AIABPCUF.mjs +2 -0
- package/dist/esm/{chunk-YQHOQJRQ.mjs.map → chunk-AIABPCUF.mjs.map} +1 -1
- package/dist/esm/{chunk-AOROYJ74.mjs → chunk-AZWVCBK2.mjs} +2 -2
- package/dist/esm/chunk-AZWVCBK2.mjs.map +1 -0
- package/dist/esm/chunk-BFIXIXHO.mjs +2 -0
- package/dist/esm/chunk-BFIXIXHO.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-KPPM2BSC.mjs → chunk-CDYLZDD2.mjs} +2 -2
- package/dist/esm/chunk-CDYLZDD2.mjs.map +1 -0
- package/dist/esm/{chunk-5XLZACVT.mjs → chunk-CGTHWGSJ.mjs} +2 -2
- package/dist/esm/chunk-CGTHWGSJ.mjs.map +1 -0
- package/dist/esm/{chunk-P6RNNESB.mjs → chunk-CNCRJ56P.mjs} +2 -2
- package/dist/esm/chunk-CNCRJ56P.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-CWRANLXZ.mjs +2 -0
- package/dist/esm/chunk-CWRANLXZ.mjs.map +1 -0
- package/dist/esm/{chunk-476F5NJ6.mjs → chunk-CYMVZJHC.mjs} +2 -2
- package/dist/esm/chunk-CYMVZJHC.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-HKVZ7CAG.mjs → chunk-DW3ETAZB.mjs} +2 -2
- package/dist/esm/chunk-DW3ETAZB.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-4IQZOAN7.mjs → chunk-EBS4BKER.mjs} +2 -2
- package/dist/esm/chunk-EBS4BKER.mjs.map +1 -0
- package/dist/esm/{chunk-VAKNMHOA.mjs → chunk-ECZYQTNN.mjs} +2 -2
- package/dist/esm/chunk-ECZYQTNN.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-F2ZTBAJJ.mjs +2 -0
- package/dist/esm/chunk-F2ZTBAJJ.mjs.map +1 -0
- package/dist/esm/chunk-FC2IYWI7.mjs +2 -0
- package/dist/esm/chunk-FC2IYWI7.mjs.map +1 -0
- package/dist/esm/chunk-FKJ3GCBI.mjs +2 -0
- package/dist/esm/chunk-FKJ3GCBI.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-6AEXQEO2.mjs → chunk-FNXO3URE.mjs} +2 -2
- package/dist/esm/chunk-FNXO3URE.mjs.map +1 -0
- package/dist/esm/{chunk-FH27D7S3.mjs → chunk-FQECACH3.mjs} +2 -2
- package/dist/esm/chunk-FQECACH3.mjs.map +1 -0
- package/dist/esm/{chunk-LK67PZX3.mjs → chunk-FQXEX2HN.mjs} +2 -2
- package/dist/esm/chunk-FQXEX2HN.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-HULCIESG.mjs → chunk-GL4OJVYH.mjs} +2 -2
- package/dist/esm/chunk-GL4OJVYH.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-ALOYOMRE.mjs → chunk-H3XZ3FZY.mjs} +2 -2
- package/dist/esm/{chunk-ALOYOMRE.mjs.map → chunk-H3XZ3FZY.mjs.map} +1 -1
- package/dist/esm/{chunk-O4MRRWRI.mjs → chunk-I7JGKVOC.mjs} +2 -2
- package/dist/esm/chunk-I7JGKVOC.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-QN7AK5PU.mjs → chunk-IJ2QKE4W.mjs} +2 -2
- package/dist/esm/chunk-IJ2QKE4W.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-TQA6HY6A.mjs → chunk-K2CSACQY.mjs} +2 -2
- package/dist/esm/chunk-K2CSACQY.mjs.map +1 -0
- package/dist/esm/{chunk-2D7OMWVL.mjs → chunk-KFCLSJC3.mjs} +2 -2
- package/dist/esm/chunk-KFGXOZ77.mjs +2 -0
- package/dist/esm/chunk-KFGXOZ77.mjs.map +1 -0
- package/dist/esm/{chunk-B5BXB2BB.mjs → chunk-KG23XFU2.mjs} +2 -2
- package/dist/esm/chunk-KG23XFU2.mjs.map +1 -0
- package/dist/esm/chunk-KNTAED2Z.mjs +2 -0
- package/dist/esm/chunk-KNTAED2Z.mjs.map +1 -0
- package/dist/esm/{chunk-4ZNSNWQL.mjs → chunk-KPLWOVKG.mjs} +2 -2
- package/dist/esm/chunk-KPLWOVKG.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-Q3CWUEXI.mjs → chunk-N4VVDQA5.mjs} +2 -2
- package/dist/esm/chunk-N4VVDQA5.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-OEM75TVE.mjs → chunk-NDUIXMIA.mjs} +2 -2
- package/dist/esm/chunk-NDUIXMIA.mjs.map +1 -0
- package/dist/esm/{chunk-FUC7SLH7.mjs → chunk-NW2WUKWV.mjs} +2 -2
- package/dist/esm/chunk-NW2WUKWV.mjs.map +1 -0
- package/dist/esm/{chunk-I3452DF5.mjs → chunk-ODEDSSQL.mjs} +2 -2
- package/dist/esm/chunk-ODEDSSQL.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-JKA22FG5.mjs → chunk-P4VF7BN4.mjs} +2 -2
- package/dist/esm/chunk-P4VF7BN4.mjs.map +1 -0
- package/dist/esm/chunk-P54RNN4V.mjs +2 -0
- package/dist/esm/chunk-P54RNN4V.mjs.map +1 -0
- package/dist/esm/{chunk-D54FD6XE.mjs → chunk-PHJRCZQ3.mjs} +2 -2
- package/dist/esm/chunk-PHJRCZQ3.mjs.map +1 -0
- package/dist/esm/{chunk-YITOC4Z6.mjs → chunk-PNDCGNVH.mjs} +2 -2
- package/dist/esm/chunk-PNDCGNVH.mjs.map +1 -0
- package/dist/esm/{chunk-Y5HLXDYG.mjs → chunk-PTS3BTOU.mjs} +2 -2
- package/dist/esm/chunk-PTS3BTOU.mjs.map +1 -0
- package/dist/esm/{chunk-737YW3CY.mjs → chunk-PUNTBVRJ.mjs} +2 -2
- package/dist/esm/chunk-PUNTBVRJ.mjs.map +1 -0
- package/dist/esm/{chunk-MWNYODWU.mjs → chunk-Q2C6ZY5N.mjs} +2 -2
- package/dist/esm/chunk-Q2C6ZY5N.mjs.map +1 -0
- package/dist/esm/{chunk-R2YT2IM5.mjs → chunk-Q3VS6AEN.mjs} +2 -2
- package/dist/esm/{chunk-R2YT2IM5.mjs.map → chunk-Q3VS6AEN.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-R7QOPBWA.mjs +2 -0
- package/dist/esm/chunk-R7QOPBWA.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-OGBU52BQ.mjs → chunk-SOLQ5VON.mjs} +2 -2
- package/dist/esm/chunk-SOLQ5VON.mjs.map +1 -0
- package/dist/esm/{chunk-L3J2QVIY.mjs → chunk-SQR3AIY7.mjs} +2 -2
- package/dist/esm/chunk-SQR3AIY7.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-YT3IP57B.mjs → chunk-SZRZ3HIL.mjs} +2 -2
- package/dist/esm/chunk-SZRZ3HIL.mjs.map +1 -0
- package/dist/esm/{chunk-QZT2M7UA.mjs → chunk-T6NQDM7D.mjs} +2 -2
- package/dist/esm/chunk-T6NQDM7D.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-4ULPBQ3M.mjs → chunk-UF6SI2QE.mjs} +2 -2
- package/dist/esm/chunk-UF6SI2QE.mjs.map +1 -0
- package/dist/esm/chunk-UIRAXHDH.mjs +1 -0
- package/dist/esm/chunk-UIRAXHDH.mjs.map +1 -0
- package/dist/esm/{chunk-S3YVCCYI.mjs → chunk-UONSJQUV.mjs} +2 -2
- package/dist/esm/chunk-UONSJQUV.mjs.map +1 -0
- package/dist/esm/{chunk-S22QVNK7.mjs → chunk-UQ7D5CSM.mjs} +2 -2
- package/dist/esm/chunk-UQ7D5CSM.mjs.map +1 -0
- package/dist/esm/{chunk-5O3RHPER.mjs → chunk-UYONA6PP.mjs} +2 -2
- package/dist/esm/chunk-UYONA6PP.mjs.map +1 -0
- package/dist/esm/{chunk-A7TJF3BX.mjs → chunk-VCIJX6R4.mjs} +2 -2
- package/dist/esm/chunk-VCIJX6R4.mjs.map +1 -0
- package/dist/esm/{chunk-FSBEKFEF.mjs → chunk-VVAKGJDN.mjs} +2 -2
- package/dist/esm/chunk-VVAKGJDN.mjs.map +1 -0
- package/dist/esm/chunk-VZELORLW.mjs +2 -0
- package/dist/esm/chunk-VZELORLW.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-WCMW2L3P.mjs +2 -0
- package/dist/esm/chunk-WCMW2L3P.mjs.map +1 -0
- package/dist/esm/{chunk-XOOYRVFK.mjs → chunk-X3SO2LDX.mjs} +2 -2
- package/dist/esm/chunk-X3SO2LDX.mjs.map +1 -0
- package/dist/esm/{chunk-TTERI67T.mjs → chunk-XGF7UNEW.mjs} +2 -2
- package/dist/esm/chunk-XGF7UNEW.mjs.map +1 -0
- package/dist/esm/chunk-XHPWHA6B.mjs +2 -0
- package/dist/esm/chunk-XHPWHA6B.mjs.map +1 -0
- package/dist/esm/{chunk-2E3BT4YW.mjs → chunk-XIFIACCB.mjs} +2 -2
- package/dist/esm/chunk-XIFIACCB.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-7ZVXQAG4.mjs → chunk-XLFX2YQA.mjs} +2 -2
- package/dist/esm/chunk-XLFX2YQA.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-RV7PNWDY.mjs → chunk-Y6QTKAQO.mjs} +2 -2
- package/dist/esm/chunk-Y6QTKAQO.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-QK32EQSF.mjs → chunk-YPGI5HAA.mjs} +2 -2
- package/dist/esm/chunk-YPGI5HAA.mjs.map +1 -0
- package/dist/esm/{chunk-GT7QFXER.mjs → chunk-ZJNPBHEI.mjs} +2 -2
- package/dist/esm/chunk-ZJNPBHEI.mjs.map +1 -0
- package/dist/esm/cli/index.d.mts +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 +36 -0
- package/dist/esm/cli/move.mjs +1 -1
- package/dist/esm/client/core.d.mts +5 -0
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +34 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +2 -1
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.d.mts +38 -0
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.d.mts +1 -0
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.d.mts +7 -0
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.d.mts +1 -0
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +47 -0
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.d.mts +2 -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 +58 -5
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +24 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +14 -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 +3 -2
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +132 -1
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +42 -1
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +39 -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 +10 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.d.mts +3 -0
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.d.mts +2 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +52 -3
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/signature.d.mts +7 -0
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +37 -2
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/utils.d.mts +3 -0
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/hex.d.mts +21 -0
- package/dist/esm/core/hex.mjs +1 -1
- package/dist/esm/core/index.d.mts +3 -2
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/errors/index.d.mts +1 -0
- package/dist/esm/errors/index.mjs +1 -1
- package/dist/esm/index.d.mts +9 -6
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/account.d.mts +25 -4
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +28 -2
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +4 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +32 -2
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/event.d.mts +6 -0
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +6 -0
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +9 -2
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +8 -0
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +7 -2
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.d.mts +3 -0
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.d.mts +6 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.d.mts +4 -0
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.d.mts +15 -0
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +17 -5
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/view.d.mts +3 -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 +29 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +3 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +24 -2
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +6 -3
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +9 -0
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.d.mts +9 -0
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +3 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +11 -0
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +9 -0
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +31 -0
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +8 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +11 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +9 -0
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +17 -0
- package/dist/esm/transactions/instances/transactionPayload.d.mts +49 -0
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +20 -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 +4 -2
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +46 -7
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/scriptComposer/index.d.mts +47 -0
- package/dist/esm/transactions/scriptComposer/index.mjs +2 -0
- package/dist/esm/transactions/scriptComposer/index.mjs.map +1 -0
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +65 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +4 -2
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +37 -3
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +11 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +43 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.d.mts +83 -0
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +9 -0
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +90 -2
- package/dist/esm/types/index.d.mts +1 -0
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/indexer.d.mts +52 -0
- package/dist/esm/types/keyless.d.mts +12 -0
- package/dist/esm/types/types.d.mts +1 -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 +21 -0
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.d.mts +1 -0
- 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 +9 -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 +10 -4
- 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 +89 -2
- 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 +42 -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/index.ts +1 -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/scriptComposer/index.ts +86 -0
- package/src/transactions/transactionBuilder/helpers.ts +82 -10
- package/src/transactions/transactionBuilder/remoteAbi.ts +75 -1
- 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 +89 -0
- package/src/types/index.ts +1 -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-42H7WETG.mjs.map +0 -1
- package/dist/esm/chunk-476F5NJ6.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-4ULPBQ3M.mjs.map +0 -1
- package/dist/esm/chunk-4ZNSNWQL.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-5O3RHPER.mjs.map +0 -1
- package/dist/esm/chunk-5XLZACVT.mjs.map +0 -1
- package/dist/esm/chunk-64IZ5PQR.mjs.map +0 -1
- package/dist/esm/chunk-6AEXQEO2.mjs.map +0 -1
- package/dist/esm/chunk-6Q2O5G3J.mjs.map +0 -1
- package/dist/esm/chunk-6ZOVTYLJ.mjs.map +0 -1
- package/dist/esm/chunk-737YW3CY.mjs.map +0 -1
- package/dist/esm/chunk-7ZA434Z3.mjs +0 -2
- package/dist/esm/chunk-7ZA434Z3.mjs.map +0 -1
- package/dist/esm/chunk-7ZVXQAG4.mjs.map +0 -1
- package/dist/esm/chunk-A3USS2NC.mjs.map +0 -1
- package/dist/esm/chunk-A7TJF3BX.mjs.map +0 -1
- package/dist/esm/chunk-ACVIE7IE.mjs.map +0 -1
- package/dist/esm/chunk-AITN3DO4.mjs +0 -2
- package/dist/esm/chunk-AITN3DO4.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-B5BXB2BB.mjs.map +0 -1
- package/dist/esm/chunk-BRV3RLKW.mjs.map +0 -1
- package/dist/esm/chunk-BWV6OYLG.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-FD6FGKYY.mjs +0 -1
- package/dist/esm/chunk-FH27D7S3.mjs.map +0 -1
- package/dist/esm/chunk-FSBEKFEF.mjs.map +0 -1
- package/dist/esm/chunk-FUC7SLH7.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-GT7QFXER.mjs.map +0 -1
- package/dist/esm/chunk-H7PDLUNP.mjs +0 -2
- package/dist/esm/chunk-H7PDLUNP.mjs.map +0 -1
- package/dist/esm/chunk-HBIDHQ2M.mjs.map +0 -1
- package/dist/esm/chunk-HKVZ7CAG.mjs.map +0 -1
- package/dist/esm/chunk-HULCIESG.mjs.map +0 -1
- package/dist/esm/chunk-I3452DF5.mjs.map +0 -1
- package/dist/esm/chunk-I5OYNCZS.mjs +0 -1
- package/dist/esm/chunk-IHGA5KAD.mjs.map +0 -1
- package/dist/esm/chunk-J7PJSK3J.mjs.map +0 -1
- package/dist/esm/chunk-JKA22FG5.mjs.map +0 -1
- package/dist/esm/chunk-JNO7KPMG.mjs.map +0 -1
- package/dist/esm/chunk-JUQBFGUD.mjs.map +0 -1
- package/dist/esm/chunk-JYGAG754.mjs +0 -2
- package/dist/esm/chunk-JYGAG754.mjs.map +0 -1
- package/dist/esm/chunk-KKLF7DQV.mjs.map +0 -1
- package/dist/esm/chunk-KPPM2BSC.mjs.map +0 -1
- package/dist/esm/chunk-L3J2QVIY.mjs.map +0 -1
- package/dist/esm/chunk-LGTOOAQI.mjs.map +0 -1
- package/dist/esm/chunk-LK67PZX3.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-LWXBEIFO.mjs +0 -2
- package/dist/esm/chunk-LWXBEIFO.mjs.map +0 -1
- package/dist/esm/chunk-LZ5PSDOS.mjs.map +0 -1
- package/dist/esm/chunk-MCWOKFVH.mjs +0 -2
- package/dist/esm/chunk-MCWOKFVH.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-MV5PGWJQ.mjs +0 -2
- package/dist/esm/chunk-MV5PGWJQ.mjs.map +0 -1
- package/dist/esm/chunk-MWNYODWU.mjs.map +0 -1
- package/dist/esm/chunk-O4MRRWRI.mjs.map +0 -1
- package/dist/esm/chunk-OEM75TVE.mjs.map +0 -1
- package/dist/esm/chunk-OGBU52BQ.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-P74XXLE4.mjs.map +0 -1
- package/dist/esm/chunk-Q3CWUEXI.mjs.map +0 -1
- package/dist/esm/chunk-QK32EQSF.mjs.map +0 -1
- package/dist/esm/chunk-QLC7SSLJ.mjs +0 -2
- package/dist/esm/chunk-QLC7SSLJ.mjs.map +0 -1
- package/dist/esm/chunk-QN7AK5PU.mjs.map +0 -1
- package/dist/esm/chunk-QZT2M7UA.mjs.map +0 -1
- package/dist/esm/chunk-RV7PNWDY.mjs.map +0 -1
- package/dist/esm/chunk-S22QVNK7.mjs.map +0 -1
- package/dist/esm/chunk-S3YVCCYI.mjs.map +0 -1
- package/dist/esm/chunk-SMFTISPN.mjs +0 -2
- package/dist/esm/chunk-SMFTISPN.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-TQA6HY6A.mjs.map +0 -1
- package/dist/esm/chunk-TTERI67T.mjs.map +0 -1
- package/dist/esm/chunk-U7UTBXJD.mjs.map +0 -1
- package/dist/esm/chunk-UGTIALNW.mjs +0 -2
- 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-VAKNMHOA.mjs.map +0 -1
- package/dist/esm/chunk-VELQA2Y3.mjs +0 -2
- package/dist/esm/chunk-VELQA2Y3.mjs.map +0 -1
- package/dist/esm/chunk-VQZMI3EZ.mjs.map +0 -1
- package/dist/esm/chunk-WTWWJWKC.mjs +0 -2
- package/dist/esm/chunk-WTWWJWKC.mjs.map +0 -1
- package/dist/esm/chunk-WXLSHECY.mjs.map +0 -1
- package/dist/esm/chunk-XOOYRVFK.mjs.map +0 -1
- package/dist/esm/chunk-XVPWTWPY.mjs.map +0 -1
- package/dist/esm/chunk-Y5HLXDYG.mjs.map +0 -1
- package/dist/esm/chunk-YITOC4Z6.mjs.map +0 -1
- package/dist/esm/chunk-YQHOQJRQ.mjs +0 -2
- package/dist/esm/chunk-YT3IP57B.mjs.map +0 -1
- package/dist/esm/chunk-ZMBXHMVQ.mjs.map +0 -1
- /package/dist/esm/{chunk-FD6FGKYY.mjs.map → account/AccountUtils.mjs.map} +0 -0
- /package/dist/esm/{chunk-GAEAYY44.mjs.map → account/utils.mjs.map} +0 -0
- /package/dist/esm/{chunk-I5OYNCZS.mjs.map → chunk-GP4TLDVZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-2D7OMWVL.mjs.map → chunk-KFCLSJC3.mjs.map} +0 -0
- /package/dist/esm/{chunk-F45G3GP3.mjs.map → chunk-QHEKBHNU.mjs.map} +0 -0
|
@@ -5,6 +5,7 @@ import '../../types/indexer.mjs';
|
|
|
5
5
|
import '../../types/generated/operations.mjs';
|
|
6
6
|
import '../../types/generated/types.mjs';
|
|
7
7
|
import '../../utils/apiEndpoints.mjs';
|
|
8
|
+
import '@aptos-labs/script-composer-pack';
|
|
8
9
|
import '../../bcs/serializer.mjs';
|
|
9
10
|
import '../../core/hex.mjs';
|
|
10
11
|
import '../../core/common.mjs';
|
|
@@ -14,6 +15,8 @@ import '../instances/identifier.mjs';
|
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* Error types related to parsing type tags, indicating various issues encountered during the parsing process.
|
|
18
|
+
* @group Implementation
|
|
19
|
+
* @category Transactions
|
|
17
20
|
*/
|
|
18
21
|
declare enum TypeTagParserErrorType {
|
|
19
22
|
InvalidTypeTag = "unknown type",
|
|
@@ -38,6 +41,8 @@ declare enum TypeTagParserErrorType {
|
|
|
38
41
|
*
|
|
39
42
|
* @param typeTagStr - The type tag string that failed to be parsed.
|
|
40
43
|
* @param invalidReason - The reason why the type tag string is considered invalid.
|
|
44
|
+
* @group Implementation
|
|
45
|
+
* @category Transactions
|
|
41
46
|
*/
|
|
42
47
|
declare class TypeTagParserError extends Error {
|
|
43
48
|
/**
|
|
@@ -46,6 +51,8 @@ declare class TypeTagParserError extends Error {
|
|
|
46
51
|
*
|
|
47
52
|
* @param typeTagStr - The string representation of the type tag that failed to parse.
|
|
48
53
|
* @param invalidReason - The reason why the type tag is considered invalid.
|
|
54
|
+
* @group Implementation
|
|
55
|
+
* @category Transactions
|
|
49
56
|
*/
|
|
50
57
|
constructor(typeTagStr: string, invalidReason: TypeTagParserErrorType);
|
|
51
58
|
}
|
|
@@ -71,6 +78,8 @@ declare class TypeTagParserError extends Error {
|
|
|
71
78
|
* @param options.allowGenerics - A flag indicating whether to allow generics in the parsing process.
|
|
72
79
|
* @returns The parsed type tag representation.
|
|
73
80
|
* @throws TypeTagParserError if the type string is malformed or does not conform to expected formats.
|
|
81
|
+
* @group Implementation
|
|
82
|
+
* @category Transactions
|
|
74
83
|
*/
|
|
75
84
|
declare function parseTypeTag(typeStr: string, options?: {
|
|
76
85
|
allowGenerics?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c}from"../../chunk-
|
|
1
|
+
import{a,b,c}from"../../chunk-AZWVCBK2.mjs";import"../../chunk-G4O6FXCF.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-E7FWVXGX.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-BI3BTSUB.mjs";import"../../chunk-HEZ2ZYZA.mjs";import"../../chunk-ODEDSSQL.mjs";import"../../chunk-3XH3NNSR.mjs";import"../../chunk-4ZJJINCW.mjs";import"../../chunk-G5ZWH5T3.mjs";import"../../chunk-NW2WUKWV.mjs";import"../../chunk-KG23XFU2.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-T6NQDM7D.mjs";import"../../chunk-XGF7UNEW.mjs";import"../../chunk-EMURYYVO.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-FN4C3CKC.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-SZRZ3HIL.mjs";import"../../chunk-FKJ3GCBI.mjs";import"../../chunk-CNCRJ56P.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4YLUM62M.mjs";import"../../chunk-QHEKBHNU.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-N4VVDQA5.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-DAFSKSZ5.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-AIABPCUF.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as TypeTagParserError,a as TypeTagParserErrorType,c as parseTypeTag};
|
|
2
2
|
//# sourceMappingURL=parser.mjs.map
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { CallArgument } from '@aptos-labs/script-composer-pack';
|
|
1
2
|
import { AptosConfig } from '../api/aptosConfig.mjs';
|
|
2
3
|
import { MoveVector, MoveOption, MoveString, Serialized } from '../bcs/serializable/moveStructs.mjs';
|
|
3
4
|
import { Bool, U8, U16, U32, U64, U128, U256 } from '../bcs/serializable/movePrimitives.mjs';
|
|
4
5
|
import { FixedBytes } from '../bcs/serializable/fixedBytes.mjs';
|
|
5
6
|
import { AccountAddress, AccountAddressInput } from '../core/accountAddress.mjs';
|
|
6
7
|
import { AnyNumber, MoveFunctionId, HexInput, MoveStructId, MoveValue, MoveFunctionGenericTypeParam } from '../types/types.mjs';
|
|
7
|
-
import { P as PublicKey } from '../publicKey-
|
|
8
|
+
import { P as PublicKey } from '../publicKey-BMtGNNLg.mjs';
|
|
8
9
|
import { RawTransaction, MultiAgentRawTransaction, FeePayerRawTransaction } from './instances/rawTransaction.mjs';
|
|
9
10
|
import { AccountAuthenticator } from './authenticator/account.mjs';
|
|
10
11
|
import { TransactionPayloadEntryFunction, TransactionPayloadScript, TransactionPayloadMultiSig } from './instances/transactionPayload.mjs';
|
|
@@ -30,17 +31,24 @@ import '../core/crypto/privateKey.mjs';
|
|
|
30
31
|
import '../core/crypto/multiEd25519.mjs';
|
|
31
32
|
import '../core/crypto/multiKey.mjs';
|
|
32
33
|
import '../core/crypto/singleKey.mjs';
|
|
34
|
+
import '../core/crypto/secp256k1.mjs';
|
|
33
35
|
|
|
34
36
|
/**
|
|
35
37
|
* Entry function arguments for building a raw transaction using remote ABI, supporting various data types including primitives and arrays.
|
|
38
|
+
* @group Implementation
|
|
39
|
+
* @category Transactions
|
|
36
40
|
*/
|
|
37
41
|
type SimpleEntryFunctionArgumentTypes = boolean | number | bigint | string | null | undefined | Uint8Array | ArrayBuffer | Array<SimpleEntryFunctionArgumentTypes | EntryFunctionArgumentTypes>;
|
|
38
42
|
/**
|
|
39
43
|
* Entry function arguments for building a raw transaction using BCS serialized arguments.
|
|
44
|
+
* @group Implementation
|
|
45
|
+
* @category Transactions
|
|
40
46
|
*/
|
|
41
47
|
type EntryFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | AccountAddress | MoveVector<EntryFunctionArgumentTypes> | MoveOption<EntryFunctionArgumentTypes> | MoveString | FixedBytes;
|
|
42
48
|
/**
|
|
43
49
|
* Script function arguments for building raw transactions using BCS serialized arguments.
|
|
50
|
+
* @group Implementation
|
|
51
|
+
* @category Transactions
|
|
44
52
|
*/
|
|
45
53
|
type ScriptFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | AccountAddress | MoveVector<ScriptFunctionArgumentTypes> | MoveString | FixedBytes | Serialized;
|
|
46
54
|
/**
|
|
@@ -61,14 +69,20 @@ type ScriptFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | A
|
|
|
61
69
|
* - vector<Type>
|
|
62
70
|
* - address::module::struct
|
|
63
71
|
* - address::module::struct<Type1, Type2>
|
|
72
|
+
* @group Implementation
|
|
73
|
+
* @category Transactions
|
|
64
74
|
*/
|
|
65
75
|
type TypeArgument = TypeTag | string;
|
|
66
76
|
/**
|
|
67
77
|
* Holds all return interfaces for generating different transaction types.
|
|
78
|
+
* @group Implementation
|
|
79
|
+
* @category Transactions
|
|
68
80
|
*/
|
|
69
81
|
type AnyRawTransactionInstance = RawTransaction | MultiAgentRawTransaction | FeePayerRawTransaction;
|
|
70
82
|
/**
|
|
71
83
|
* Optional options to set when generating a transaction, including a maximum gas amount.
|
|
84
|
+
* @group Implementation
|
|
85
|
+
* @category Transactions
|
|
72
86
|
*/
|
|
73
87
|
type InputGenerateTransactionOptions = {
|
|
74
88
|
maxGasAmount?: number;
|
|
@@ -79,19 +93,27 @@ type InputGenerateTransactionOptions = {
|
|
|
79
93
|
/**
|
|
80
94
|
* The transaction payload type generated from the `generateTransactionPayload()` function, which can be an entry function,
|
|
81
95
|
* script, or multi-signature payload.
|
|
96
|
+
* @group Implementation
|
|
97
|
+
* @category Transactions
|
|
82
98
|
*/
|
|
83
99
|
type AnyTransactionPayloadInstance = TransactionPayloadEntryFunction | TransactionPayloadScript | TransactionPayloadMultiSig;
|
|
84
100
|
/**
|
|
85
101
|
* The data needed to generate a transaction payload for Entry Function, Script, or Multi Sig types.
|
|
102
|
+
* @group Implementation
|
|
103
|
+
* @category Transactions
|
|
86
104
|
*/
|
|
87
105
|
type InputGenerateTransactionPayloadData = InputEntryFunctionData | InputScriptData | InputMultiSigData;
|
|
88
106
|
/**
|
|
89
107
|
* The payload for generating a transaction, which can be either script data, entry function data with remote ABI, or
|
|
90
108
|
* multi-signature data.
|
|
109
|
+
* @group Implementation
|
|
110
|
+
* @category Transactions
|
|
91
111
|
*/
|
|
92
112
|
type InputGenerateTransactionPayloadDataWithRemoteABI = InputScriptData | InputEntryFunctionDataWithRemoteABI | InputMultiSigDataWithRemoteABI;
|
|
93
113
|
/**
|
|
94
114
|
* The data needed to generate an Entry Function payload.
|
|
115
|
+
* @group Implementation
|
|
116
|
+
* @category Transactions
|
|
95
117
|
*/
|
|
96
118
|
type InputEntryFunctionData = {
|
|
97
119
|
function: MoveFunctionId;
|
|
@@ -101,40 +123,62 @@ type InputEntryFunctionData = {
|
|
|
101
123
|
};
|
|
102
124
|
/**
|
|
103
125
|
* The payload for generating a transaction, which can be either an entry function or a multi-signature transaction.
|
|
126
|
+
* @group Implementation
|
|
127
|
+
* @category Transactions
|
|
104
128
|
*/
|
|
105
129
|
type InputGenerateTransactionPayloadDataWithABI = InputEntryFunctionDataWithABI | InputMultiSigDataWithABI;
|
|
106
130
|
/**
|
|
107
131
|
* The input data for an entry function, including its associated ABI.
|
|
132
|
+
* @group Implementation
|
|
133
|
+
* @category Transactions
|
|
108
134
|
*/
|
|
109
135
|
type InputEntryFunctionDataWithABI = Omit<InputEntryFunctionData, "abi"> & {
|
|
110
136
|
abi: EntryFunctionABI;
|
|
111
137
|
};
|
|
112
138
|
/**
|
|
113
139
|
* The data needed to generate a Multi Sig payload, including the multisig address.
|
|
140
|
+
* @group Implementation
|
|
141
|
+
* @category Transactions
|
|
114
142
|
*/
|
|
115
143
|
type InputMultiSigDataWithABI = {
|
|
116
144
|
multisigAddress: AccountAddressInput;
|
|
117
145
|
} & InputEntryFunctionDataWithABI;
|
|
118
146
|
/**
|
|
119
147
|
* Combines input function data with Aptos configuration for remote ABI interactions.
|
|
148
|
+
* @group Implementation
|
|
149
|
+
* @category Transactions
|
|
120
150
|
*/
|
|
121
151
|
type InputEntryFunctionDataWithRemoteABI = InputEntryFunctionData & {
|
|
122
152
|
aptosConfig: AptosConfig;
|
|
123
153
|
};
|
|
154
|
+
/**
|
|
155
|
+
* The data needed to generate a batched function payload
|
|
156
|
+
*/
|
|
157
|
+
type InputBatchedFunctionData = {
|
|
158
|
+
function: MoveFunctionId;
|
|
159
|
+
typeArguments?: Array<TypeArgument>;
|
|
160
|
+
functionArguments: Array<EntryFunctionArgumentTypes | CallArgument | SimpleEntryFunctionArgumentTypes>;
|
|
161
|
+
};
|
|
124
162
|
/**
|
|
125
163
|
* The data needed to generate a Multi Sig payload
|
|
164
|
+
* @group Implementation
|
|
165
|
+
* @category Transactions
|
|
126
166
|
*/
|
|
127
167
|
type InputMultiSigData = {
|
|
128
168
|
multisigAddress: AccountAddressInput;
|
|
129
169
|
} & InputEntryFunctionData;
|
|
130
170
|
/**
|
|
131
171
|
* The data needed to generate a Multi Sig payload, including the multisig address.
|
|
172
|
+
* @group Implementation
|
|
173
|
+
* @category Transactions
|
|
132
174
|
*/
|
|
133
175
|
type InputMultiSigDataWithRemoteABI = {
|
|
134
176
|
multisigAddress: AccountAddressInput;
|
|
135
177
|
} & InputEntryFunctionDataWithRemoteABI;
|
|
136
178
|
/**
|
|
137
179
|
* The data needed to generate a Script payload.
|
|
180
|
+
* @group Implementation
|
|
181
|
+
* @category Transactions
|
|
138
182
|
*/
|
|
139
183
|
type InputScriptData = {
|
|
140
184
|
bytecode: HexInput;
|
|
@@ -143,6 +187,8 @@ type InputScriptData = {
|
|
|
143
187
|
};
|
|
144
188
|
/**
|
|
145
189
|
* The data needed to generate a View Function payload.
|
|
190
|
+
* @group Implementation
|
|
191
|
+
* @category Transactions
|
|
146
192
|
*/
|
|
147
193
|
type InputViewFunctionData = {
|
|
148
194
|
function: MoveFunctionId;
|
|
@@ -152,6 +198,8 @@ type InputViewFunctionData = {
|
|
|
152
198
|
};
|
|
153
199
|
/**
|
|
154
200
|
* The data needed to generate a View Function payload in JSON format.
|
|
201
|
+
* @group Implementation
|
|
202
|
+
* @category Transactions
|
|
155
203
|
*/
|
|
156
204
|
type InputViewFunctionJsonData = {
|
|
157
205
|
function: MoveFunctionId;
|
|
@@ -160,6 +208,8 @@ type InputViewFunctionJsonData = {
|
|
|
160
208
|
};
|
|
161
209
|
/**
|
|
162
210
|
* The payload sent to the fullnode for a JSON view request.
|
|
211
|
+
* @group Implementation
|
|
212
|
+
* @category Transactions
|
|
163
213
|
*/
|
|
164
214
|
type ViewFunctionJsonPayload = {
|
|
165
215
|
function: MoveFunctionId;
|
|
@@ -168,18 +218,24 @@ type ViewFunctionJsonPayload = {
|
|
|
168
218
|
};
|
|
169
219
|
/**
|
|
170
220
|
* Data required to create a view function payload and retrieve the remote ABI, including Aptos configuration.
|
|
221
|
+
* @group Implementation
|
|
222
|
+
* @category Transactions
|
|
171
223
|
*/
|
|
172
224
|
type InputViewFunctionDataWithRemoteABI = InputViewFunctionData & {
|
|
173
225
|
aptosConfig: AptosConfig;
|
|
174
226
|
};
|
|
175
227
|
/**
|
|
176
228
|
* Data needed to generate a view function, including the fetched ABI.
|
|
229
|
+
* @group Implementation
|
|
230
|
+
* @category Transactions
|
|
177
231
|
*/
|
|
178
232
|
type InputViewFunctionDataWithABI = InputViewFunctionData & {
|
|
179
233
|
abi: ViewFunctionABI;
|
|
180
234
|
};
|
|
181
235
|
/**
|
|
182
236
|
* Data needed for a generic function ABI, applicable to both view and entry functions.
|
|
237
|
+
* @group Implementation
|
|
238
|
+
* @category Transactions
|
|
183
239
|
*/
|
|
184
240
|
type FunctionABI = {
|
|
185
241
|
typeParameters: Array<MoveFunctionGenericTypeParam>;
|
|
@@ -187,12 +243,16 @@ type FunctionABI = {
|
|
|
187
243
|
};
|
|
188
244
|
/**
|
|
189
245
|
* Interface for an Entry function's ABI, enabling type checking and input conversion for ABI-based transaction submissions.
|
|
246
|
+
* @group Implementation
|
|
247
|
+
* @category Transactions
|
|
190
248
|
*/
|
|
191
249
|
type EntryFunctionABI = FunctionABI & {
|
|
192
250
|
signers?: number;
|
|
193
251
|
};
|
|
194
252
|
/**
|
|
195
253
|
* Interface for a view function's ABI, providing type checking and input conversion for ABI-based transaction submissions.
|
|
254
|
+
* @group Implementation
|
|
255
|
+
* @category Transactions
|
|
196
256
|
*/
|
|
197
257
|
type ViewFunctionABI = FunctionABI & {
|
|
198
258
|
returnTypes: Array<TypeTag>;
|
|
@@ -205,6 +265,8 @@ type ViewFunctionABI = FunctionABI & {
|
|
|
205
265
|
* @param payload - The transaction payload.
|
|
206
266
|
* @param options - Optional transaction generation options.
|
|
207
267
|
* @param feePayerAddress - Optional address of the fee payer.
|
|
268
|
+
* @group Implementation
|
|
269
|
+
* @category Transactions
|
|
208
270
|
*/
|
|
209
271
|
interface InputGenerateSingleSignerRawTransactionArgs {
|
|
210
272
|
aptosConfig: AptosConfig;
|
|
@@ -222,6 +284,8 @@ interface InputGenerateSingleSignerRawTransactionArgs {
|
|
|
222
284
|
* @param secondarySignerAddresses - List of secondary signer addresses.
|
|
223
285
|
* @param options - Optional settings for transaction generation.
|
|
224
286
|
* @param feePayerAddress - Optional address of the fee payer.
|
|
287
|
+
* @group Implementation
|
|
288
|
+
* @category Transactions
|
|
225
289
|
*/
|
|
226
290
|
interface InputGenerateMultiAgentRawTransactionArgs {
|
|
227
291
|
aptosConfig: AptosConfig;
|
|
@@ -233,37 +297,53 @@ interface InputGenerateMultiAgentRawTransactionArgs {
|
|
|
233
297
|
}
|
|
234
298
|
/**
|
|
235
299
|
* A unified type for generating various transaction types.
|
|
300
|
+
* @group Implementation
|
|
301
|
+
* @category Transactions
|
|
236
302
|
*/
|
|
237
303
|
type InputGenerateRawTransactionArgs = InputGenerateSingleSignerRawTransactionArgs | InputGenerateMultiAgentRawTransactionArgs;
|
|
238
304
|
/**
|
|
239
305
|
* Unified type that holds all the return interfaces when generating different transaction types
|
|
306
|
+
* @group Implementation
|
|
307
|
+
* @category Transactions
|
|
240
308
|
*/
|
|
241
309
|
type AnyRawTransaction = SimpleTransaction | MultiAgentTransaction;
|
|
242
310
|
/**
|
|
243
311
|
* The data required to simulate a transaction, typically generated by `generateTransaction()`.
|
|
312
|
+
* @group Implementation
|
|
313
|
+
* @category Transactions
|
|
244
314
|
*/
|
|
245
315
|
type InputSimulateTransactionData = {
|
|
246
316
|
/**
|
|
247
317
|
* The transaction to simulate, probably generated by `generateTransaction()`
|
|
318
|
+
* @group Implementation
|
|
319
|
+
* @category Transactions
|
|
248
320
|
*/
|
|
249
321
|
transaction: AnyRawTransaction;
|
|
250
322
|
/**
|
|
251
323
|
* For a single signer transaction
|
|
324
|
+
* @group Implementation
|
|
325
|
+
* @category Transactions
|
|
252
326
|
* This is optional and can be undefined to skip the public/auth key check during the transaction simulation.
|
|
253
327
|
*/
|
|
254
328
|
signerPublicKey?: PublicKey;
|
|
255
329
|
/**
|
|
256
330
|
* For a fee payer or multi-agent transaction that requires additional signers in
|
|
331
|
+
* @group Implementation
|
|
332
|
+
* @category Transactions
|
|
257
333
|
*/
|
|
258
334
|
secondarySignersPublicKeys?: Array<PublicKey | undefined>;
|
|
259
335
|
/**
|
|
260
336
|
* For a fee payer transaction (aka Sponsored Transaction)
|
|
337
|
+
* @group Implementation
|
|
338
|
+
* @category Transactions
|
|
261
339
|
*/
|
|
262
340
|
feePayerPublicKey?: PublicKey;
|
|
263
341
|
options?: InputSimulateTransactionOptions;
|
|
264
342
|
};
|
|
265
343
|
/**
|
|
266
344
|
* Options for simulating a transaction input, including whether to estimate the gas unit price.
|
|
345
|
+
* @group Implementation
|
|
346
|
+
* @category Transactions
|
|
267
347
|
*/
|
|
268
348
|
type InputSimulateTransactionOptions = {
|
|
269
349
|
estimateGasUnitPrice?: boolean;
|
|
@@ -278,6 +358,8 @@ type InputSimulateTransactionOptions = {
|
|
|
278
358
|
* @param options - Optional transaction options.
|
|
279
359
|
* @param withFeePayer - Indicates if the fee payer is included.
|
|
280
360
|
* @param secondarySignerAddresses - Addresses for any secondary signers (not used in single signer transactions).
|
|
361
|
+
* @group Implementation
|
|
362
|
+
* @category Transactions
|
|
281
363
|
*/
|
|
282
364
|
interface InputGenerateSingleSignerRawTransactionData {
|
|
283
365
|
sender: AccountAddressInput;
|
|
@@ -294,6 +376,8 @@ interface InputGenerateSingleSignerRawTransactionData {
|
|
|
294
376
|
* @param secondarySignerAddresses - An array of addresses for secondary signers.
|
|
295
377
|
* @param options - Optional transaction options.
|
|
296
378
|
* @param withFeePayer - Indicates if a fee payer is included.
|
|
379
|
+
* @group Implementation
|
|
380
|
+
* @category Transactions
|
|
297
381
|
*/
|
|
298
382
|
interface InputGenerateMultiAgentRawTransactionData {
|
|
299
383
|
sender: AccountAddressInput;
|
|
@@ -304,6 +388,8 @@ interface InputGenerateMultiAgentRawTransactionData {
|
|
|
304
388
|
}
|
|
305
389
|
/**
|
|
306
390
|
* Unified type holding user data input interfaces for generating various transaction types.
|
|
391
|
+
* @group Implementation
|
|
392
|
+
* @category Transactions
|
|
307
393
|
*/
|
|
308
394
|
type InputGenerateTransactionData = InputGenerateSingleSignerRawTransactionData | InputGenerateMultiAgentRawTransactionData;
|
|
309
395
|
/**
|
|
@@ -313,6 +399,8 @@ type InputGenerateTransactionData = InputGenerateSingleSignerRawTransactionData
|
|
|
313
399
|
* @param senderAuthenticator - The authenticator for the sender's account.
|
|
314
400
|
* @param feePayerAuthenticator - Optional authenticator for the fee payer's account.
|
|
315
401
|
* @param additionalSignersAuthenticators - Optional array of authenticators for additional signers.
|
|
402
|
+
* @group Implementation
|
|
403
|
+
* @category Transactions
|
|
316
404
|
*/
|
|
317
405
|
interface InputSubmitTransactionData {
|
|
318
406
|
transaction: AnyRawTransaction;
|
|
@@ -321,4 +409,4 @@ interface InputSubmitTransactionData {
|
|
|
321
409
|
additionalSignersAuthenticators?: Array<AccountAuthenticator>;
|
|
322
410
|
}
|
|
323
411
|
|
|
324
|
-
export type { AnyRawTransaction, AnyRawTransactionInstance, AnyTransactionPayloadInstance, EntryFunctionABI, EntryFunctionArgumentTypes, FunctionABI, InputEntryFunctionData, InputEntryFunctionDataWithABI, InputEntryFunctionDataWithRemoteABI, InputGenerateMultiAgentRawTransactionArgs, InputGenerateMultiAgentRawTransactionData, InputGenerateRawTransactionArgs, InputGenerateSingleSignerRawTransactionArgs, InputGenerateSingleSignerRawTransactionData, InputGenerateTransactionData, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData, InputGenerateTransactionPayloadDataWithABI, InputGenerateTransactionPayloadDataWithRemoteABI, InputMultiSigData, InputMultiSigDataWithABI, InputMultiSigDataWithRemoteABI, InputScriptData, InputSimulateTransactionData, InputSimulateTransactionOptions, InputSubmitTransactionData, InputViewFunctionData, InputViewFunctionDataWithABI, InputViewFunctionDataWithRemoteABI, InputViewFunctionJsonData, ScriptFunctionArgumentTypes, SimpleEntryFunctionArgumentTypes, TypeArgument, ViewFunctionABI, ViewFunctionJsonPayload };
|
|
412
|
+
export type { AnyRawTransaction, AnyRawTransactionInstance, AnyTransactionPayloadInstance, EntryFunctionABI, EntryFunctionArgumentTypes, FunctionABI, InputBatchedFunctionData, InputEntryFunctionData, InputEntryFunctionDataWithABI, InputEntryFunctionDataWithRemoteABI, InputGenerateMultiAgentRawTransactionArgs, InputGenerateMultiAgentRawTransactionData, InputGenerateRawTransactionArgs, InputGenerateSingleSignerRawTransactionArgs, InputGenerateSingleSignerRawTransactionData, InputGenerateTransactionData, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData, InputGenerateTransactionPayloadDataWithABI, InputGenerateTransactionPayloadDataWithRemoteABI, InputMultiSigData, InputMultiSigDataWithABI, InputMultiSigDataWithRemoteABI, InputScriptData, InputSimulateTransactionData, InputSimulateTransactionOptions, InputSubmitTransactionData, InputViewFunctionData, InputViewFunctionDataWithABI, InputViewFunctionDataWithRemoteABI, InputViewFunctionJsonData, ScriptFunctionArgumentTypes, SimpleEntryFunctionArgumentTypes, TypeArgument, ViewFunctionABI, ViewFunctionJsonPayload };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, OrderBy, OrderByValue, TokenStandard } from './indexer.mjs';
|
|
2
2
|
export { AccountAuthenticatorVariant, AccountData, AccountSignature, AnyNumber, AnyPublicKeyVariant, AnySignatureVariant, AptosRequest, AptosResponse, AptosSettings, AuthenticationKeyScheme, Block, BlockEndInfo, BlockEpilogueTransactionResponse, BlockMetadataTransactionResponse, Client, ClientConfig, ClientHeadersType, ClientRequest, ClientResponse, CommittedTransactionResponse, DecodedTableData, DeletedTableData, DeriveScheme, DirectWriteSet, EntryFunctionPayloadResponse, EphemeralCertificateVariant, EphemeralPublicKeyVariant, EphemeralSignatureVariant, Event, EventGuid, FaucetConfig, FullNodeConfig, GasEstimation, GenerateAccount, GenerateAccountWithEd25519, GenerateAccountWithSingleSignerSecp256k1Key, GenesisPayload, GenesisTransactionResponse, HexInput, IndexerConfig, LedgerInfo, LedgerVersionArg, MimeType, MoveAbility, MoveAddressType, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveFunctionVisibility, MoveModule, MoveModuleBytecode, MoveModuleId, MoveObjectType, MoveOptionType, MoveResource, MoveScriptBytecode, MoveStruct, MoveStructField, MoveStructId, MoveStructType, MoveType, MoveUint128Type, MoveUint16Type, MoveUint256Type, MoveUint32Type, MoveUint64Type, MoveUint8Type, MoveValue, MultisigPayloadResponse, OrderByArg, PaginationArgs, PendingTransactionResponse, PrivateKeyVariants, RoleType, ScriptPayloadResponse, ScriptTransactionArgumentVariants, ScriptWriteSet, SigningScheme, SigningSchemeInput, StateCheckpointTransactionResponse, TableItemRequest, TokenStandardArg, TransactionAuthenticatorVariant, TransactionEd25519Signature, TransactionFeePayerSignature, TransactionMultiAgentSignature, TransactionMultiEd25519Signature, TransactionPayloadResponse, TransactionPayloadVariants, TransactionResponse, TransactionResponseType, TransactionSecp256k1Signature, TransactionSignature, TransactionVariants, TypeTagVariants, Uint128, Uint16, Uint256, Uint32, Uint64, Uint8, UserTransactionResponse, ValidatorTransactionResponse, WaitForTransactionOptions, WhereArg, WriteSet, WriteSetChange, WriteSetChangeDeleteModule, WriteSetChangeDeleteResource, WriteSetChangeDeleteTableItem, WriteSetChangeWriteModule, WriteSetChangeWriteResource, WriteSetChangeWriteTableItem, ZkpVariant, isBlockEpilogueTransactionResponse, isBlockMetadataTransactionResponse, isEd25519Signature, isFeePayerSignature, isGenesisTransactionResponse, isMultiAgentSignature, isMultiEd25519Signature, isPendingTransactionResponse, isSecp256k1Signature, isStateCheckpointTransactionResponse, isUserTransactionResponse, isValidatorTransactionResponse } from './types.mjs';
|
|
3
|
+
export { CallArgument } from '@aptos-labs/script-composer-pack';
|
|
3
4
|
import './generated/operations.mjs';
|
|
4
5
|
import './generated/types.mjs';
|
|
5
6
|
import '../utils/apiEndpoints.mjs';
|
package/dist/esm/types/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-
|
|
1
|
+
import{a as H}from"../chunk-3OLFJ65O.mjs";import{A,B,C,D,E,F,G,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-U2PRGW4O.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-KDMSOCZY.mjs";export{g as AccountAuthenticatorVariant,i as AnyPublicKeyVariant,j as AnySignatureVariant,H as CallArgument,G as DeriveScheme,m as EphemeralCertificateVariant,k as EphemeralPublicKeyVariant,l as EphemeralSignatureVariant,a as MimeType,C as MoveAbility,B as MoveFunctionVisibility,h as PrivateKeyVariants,D as RoleType,c as ScriptTransactionArgumentVariants,E as SigningScheme,F as SigningSchemeInput,f as TransactionAuthenticatorVariant,d as TransactionPayloadVariants,o as TransactionResponseType,e as TransactionVariants,b as TypeTagVariants,n as ZkpVariant,v as isBlockEpilogueTransactionResponse,s as isBlockMetadataTransactionResponse,w as isEd25519Signature,z as isFeePayerSignature,r as isGenesisTransactionResponse,y as isMultiAgentSignature,A as isMultiEd25519Signature,p as isPendingTransactionResponse,x as isSecp256k1Signature,t as isStateCheckpointTransactionResponse,q as isUserTransactionResponse,u as isValidatorTransactionResponse};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -9,6 +9,8 @@ import './generated/types.mjs';
|
|
|
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
|
/**
|
|
@@ -20,105 +22,155 @@ import './generated/types.mjs';
|
|
|
20
22
|
*
|
|
21
23
|
* These types are used as the return type when calling a sdk api function
|
|
22
24
|
* that calls the function that queries the server (usually under the /api/ folder)
|
|
25
|
+
* @group Implementation
|
|
26
|
+
* @category Types
|
|
23
27
|
*/
|
|
24
28
|
type GetObjectDataQueryResponse = GetObjectDataQuery["current_objects"];
|
|
25
29
|
/**
|
|
26
30
|
* The response structure for querying tokens owned by an account.
|
|
31
|
+
* @group Implementation
|
|
32
|
+
* @category Types
|
|
27
33
|
*/
|
|
28
34
|
type GetAccountOwnedTokensQueryResponse = GetAccountOwnedTokensQuery["current_token_ownerships_v2"];
|
|
29
35
|
/**
|
|
30
36
|
* The response containing the current token ownerships for an account from a specific collection.
|
|
37
|
+
* @group Implementation
|
|
38
|
+
* @category Types
|
|
31
39
|
*/
|
|
32
40
|
type GetAccountOwnedTokensFromCollectionResponse = GetAccountOwnedTokensFromCollectionQuery["current_token_ownerships_v2"];
|
|
33
41
|
/**
|
|
34
42
|
* The response structure for retrieving account collections associated with owned tokens.
|
|
43
|
+
* @group Implementation
|
|
44
|
+
* @category Types
|
|
35
45
|
*/
|
|
36
46
|
type GetAccountCollectionsWithOwnedTokenResponse = GetAccountCollectionsWithOwnedTokensQuery["current_collection_ownership_v2_view"];
|
|
37
47
|
/**
|
|
38
48
|
* The current balances of fungible assets for an account.
|
|
49
|
+
* @group Implementation
|
|
50
|
+
* @category Types
|
|
39
51
|
*/
|
|
40
52
|
type GetAccountCoinsDataResponse = GetAccountCoinsDataQuery["current_fungible_asset_balances"];
|
|
41
53
|
/**
|
|
42
54
|
* The response structure for retrieving user transactions from the top of the blockchain.
|
|
55
|
+
* @group Implementation
|
|
56
|
+
* @category Types
|
|
43
57
|
*/
|
|
44
58
|
type GetChainTopUserTransactionsResponse = GetChainTopUserTransactionsQuery["user_transactions"];
|
|
45
59
|
/**
|
|
46
60
|
* The response containing the events from the GetEventsQuery.
|
|
61
|
+
* @group Implementation
|
|
62
|
+
* @category Types
|
|
47
63
|
*/
|
|
48
64
|
type GetEventsResponse = GetEventsQuery["events"];
|
|
49
65
|
/**
|
|
50
66
|
* The number of active delegators per pool in response to a query.
|
|
67
|
+
* @group Implementation
|
|
68
|
+
* @category Types
|
|
51
69
|
*/
|
|
52
70
|
type GetNumberOfDelegatorsResponse = GetNumberOfDelegatorsQuery["num_active_delegator_per_pool"];
|
|
53
71
|
/**
|
|
54
72
|
* The response containing the delegated staking activities from the query.
|
|
73
|
+
* @group Implementation
|
|
74
|
+
* @category Types
|
|
55
75
|
*/
|
|
56
76
|
type GetDelegatedStakingActivitiesResponse = GetDelegatedStakingActivitiesQuery["delegated_staking_activities"];
|
|
57
77
|
/**
|
|
58
78
|
* The response structure for retrieving data from the current collections.
|
|
79
|
+
* @group Implementation
|
|
80
|
+
* @category Types
|
|
59
81
|
*/
|
|
60
82
|
type GetCollectionDataResponse = GetCollectionDataQuery["current_collections_v2"][0];
|
|
61
83
|
/**
|
|
62
84
|
* The response structure for retrieving token data, containing the current token information.
|
|
85
|
+
* @group Implementation
|
|
86
|
+
* @category Types
|
|
63
87
|
*/
|
|
64
88
|
type GetTokenDataResponse = GetTokenDataQuery["current_token_datas_v2"][0];
|
|
65
89
|
/**
|
|
66
90
|
* The status of the processor as returned by the GetProcessorStatusQuery.
|
|
91
|
+
* @group Implementation
|
|
92
|
+
* @category Types
|
|
67
93
|
*/
|
|
68
94
|
type GetProcessorStatusResponse = GetProcessorStatusQuery["processor_status"];
|
|
69
95
|
/**
|
|
70
96
|
* The response containing metadata for a fungible asset.
|
|
97
|
+
* @group Implementation
|
|
98
|
+
* @category Types
|
|
71
99
|
*/
|
|
72
100
|
type GetFungibleAssetMetadataResponse = GetFungibleAssetMetadataQuery["fungible_asset_metadata"];
|
|
73
101
|
/**
|
|
74
102
|
* The response containing the activities related to fungible assets.
|
|
103
|
+
* @group Implementation
|
|
104
|
+
* @category Types
|
|
75
105
|
*/
|
|
76
106
|
type GetFungibleAssetActivitiesResponse = GetFungibleAssetActivitiesQuery["fungible_asset_activities"];
|
|
77
107
|
/**
|
|
78
108
|
* The current balances of fungible assets for a specific query.
|
|
109
|
+
* @group Implementation
|
|
110
|
+
* @category Types
|
|
79
111
|
*/
|
|
80
112
|
type GetCurrentFungibleAssetBalancesResponse = GetCurrentFungibleAssetBalancesQuery["current_fungible_asset_balances"];
|
|
81
113
|
/**
|
|
82
114
|
* The response structure for retrieving token activity data.
|
|
115
|
+
* @group Implementation
|
|
116
|
+
* @category Types
|
|
83
117
|
*/
|
|
84
118
|
type GetTokenActivityResponse = GetTokenActivityQuery["token_activities_v2"];
|
|
85
119
|
/**
|
|
86
120
|
* The response structure for retrieving the current token ownership details.
|
|
121
|
+
* @group Implementation
|
|
122
|
+
* @category Types
|
|
87
123
|
*/
|
|
88
124
|
type GetCurrentTokenOwnershipResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"][0];
|
|
89
125
|
/**
|
|
90
126
|
* The response containing the current token ownerships for a user.
|
|
127
|
+
* @group Implementation
|
|
128
|
+
* @category Types
|
|
91
129
|
*/
|
|
92
130
|
type GetOwnedTokensResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"];
|
|
93
131
|
/**
|
|
94
132
|
* The response structure for retrieving items from a table.
|
|
133
|
+
* @group Implementation
|
|
134
|
+
* @category Types
|
|
95
135
|
*/
|
|
96
136
|
type GetTableItemsDataResponse = GetTableItemsDataQuery["table_items"];
|
|
97
137
|
/**
|
|
98
138
|
* The metadata for table items retrieved from a query.
|
|
139
|
+
* @group Implementation
|
|
140
|
+
* @category Types
|
|
99
141
|
*/
|
|
100
142
|
type GetTableItemsMetadataResponse = GetTableItemsMetadataQuery["table_metadatas"];
|
|
101
143
|
/**
|
|
102
144
|
* The response containing the current Aptos names from the GetNamesQuery.
|
|
145
|
+
* @group Implementation
|
|
146
|
+
* @category Types
|
|
103
147
|
*/
|
|
104
148
|
type GetANSNameResponse = GetNamesQuery["current_aptos_names"];
|
|
105
149
|
/**
|
|
106
150
|
* A generic type that being passed by each function and holds an
|
|
107
151
|
* array of properties we can sort the query by
|
|
152
|
+
* @group Implementation
|
|
153
|
+
* @category Types
|
|
108
154
|
*/
|
|
109
155
|
type OrderBy<T> = Array<{
|
|
110
156
|
[K in keyof T]?: OrderByValue;
|
|
111
157
|
}>;
|
|
112
158
|
/**
|
|
113
159
|
* Specifies the order direction for sorting, including options for handling null values.
|
|
160
|
+
* @group Implementation
|
|
161
|
+
* @category Types
|
|
114
162
|
*/
|
|
115
163
|
type OrderByValue = "asc" | "asc_nulls_first" | "asc_nulls_last" | "desc" | "desc_nulls_first" | "desc_nulls_last";
|
|
116
164
|
/**
|
|
117
165
|
* The token standard to query for, which can be either version "v1" or "v2".
|
|
166
|
+
* @group Implementation
|
|
167
|
+
* @category Types
|
|
118
168
|
*/
|
|
119
169
|
type TokenStandard = "v1" | "v2";
|
|
120
170
|
/**
|
|
121
171
|
* The GraphQL query to pass into the `queryIndexer` function.
|
|
172
|
+
* @group Implementation
|
|
173
|
+
* @category Types
|
|
122
174
|
*/
|
|
123
175
|
type GraphqlQuery = {
|
|
124
176
|
query: string;
|
|
@@ -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
|
type ProverRequest = {
|
|
5
7
|
jwt_b64: string;
|
|
@@ -12,6 +14,8 @@ type ProverRequest = {
|
|
|
12
14
|
};
|
|
13
15
|
/**
|
|
14
16
|
* The response from the prover containing the proof data.
|
|
17
|
+
* @group Implementation
|
|
18
|
+
* @category Types
|
|
15
19
|
*/
|
|
16
20
|
type ProverResponse = {
|
|
17
21
|
proof: {
|
|
@@ -24,6 +28,8 @@ type ProverResponse = {
|
|
|
24
28
|
};
|
|
25
29
|
/**
|
|
26
30
|
* The request payload for fetching data, containing a base64 encoded JWT.
|
|
31
|
+
* @group Implementation
|
|
32
|
+
* @category Types
|
|
27
33
|
*/
|
|
28
34
|
type PepperFetchRequest = {
|
|
29
35
|
jwt_b64: number;
|
|
@@ -35,6 +41,8 @@ type PepperFetchRequest = {
|
|
|
35
41
|
};
|
|
36
42
|
/**
|
|
37
43
|
* The response object containing the fetched pepper string.
|
|
44
|
+
* @group Implementation
|
|
45
|
+
* @category Types
|
|
38
46
|
*/
|
|
39
47
|
type PepperFetchResponse = {
|
|
40
48
|
pepper: string;
|
|
@@ -42,6 +50,8 @@ type PepperFetchResponse = {
|
|
|
42
50
|
};
|
|
43
51
|
/**
|
|
44
52
|
* The response for keyless configuration containing the maximum committed EPK bytes.
|
|
53
|
+
* @group Implementation
|
|
54
|
+
* @category Types
|
|
45
55
|
*/
|
|
46
56
|
type KeylessConfigurationResponse = {
|
|
47
57
|
max_commited_epk_bytes: number;
|
|
@@ -57,6 +67,8 @@ type KeylessConfigurationResponse = {
|
|
|
57
67
|
};
|
|
58
68
|
/**
|
|
59
69
|
* The response containing the Groth16 verification key, including the alpha_g1 component.
|
|
70
|
+
* @group Implementation
|
|
71
|
+
* @category Types
|
|
60
72
|
*/
|
|
61
73
|
type Groth16VerificationKeyResponse = {
|
|
62
74
|
alpha_g1: string;
|