@aptos-labs/ts-sdk 0.0.5 → 0.0.6
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 +3 -3
- package/dist/browser/index.d.ts +340 -288
- package/dist/browser/index.global.js +54 -30
- package/dist/browser/index.global.js.map +1 -1
- package/dist/common/index.d.ts +340 -288
- package/dist/common/index.js +24 -24
- package/dist/common/index.js.map +1 -1
- package/dist/esm/api/{account.d.ts → account.d.mts} +17 -17
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/{ans.d.ts → ans.d.mts} +33 -33
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +72 -0
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/{aptosConfig.d.ts → aptosConfig.d.mts} +6 -6
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.d.mts +59 -0
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/{digitalAsset.d.ts → digitalAsset.d.mts} +33 -33
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/{event.d.ts → event.d.mts} +14 -14
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/{faucet.d.ts → faucet.d.mts} +13 -13
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/{fungibleAsset.d.ts → fungibleAsset.d.mts} +7 -7
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/{general.d.ts → general.d.mts} +11 -11
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +46 -0
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/{staking.d.ts → staking.d.mts} +13 -13
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/{transaction.d.ts → transaction.d.mts} +7 -7
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/{transactionSubmission.d.ts → transactionSubmission.d.mts} +33 -33
- package/dist/esm/api/transactionSubmission.mjs +1 -1
- package/dist/esm/bcs/{consts.d.ts → consts.d.mts} +5 -5
- package/dist/esm/bcs/consts.mjs +1 -1
- package/dist/esm/bcs/{deserializer.d.ts → deserializer.d.mts} +5 -5
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.d.mts +14 -0
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/{entryFunctionBytes.d.ts → entryFunctionBytes.d.mts} +11 -11
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/{fixedBytes.d.ts → fixedBytes.d.mts} +10 -10
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/{movePrimitives.d.ts → movePrimitives.d.mts} +10 -10
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/{moveStructs.d.ts → moveStructs.d.mts} +11 -11
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/{serializer.d.ts → serializer.d.mts} +7 -7
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-WVMDCC4V.mjs → chunk-2W744GUN.mjs} +2 -2
- package/dist/esm/{chunk-WVMDCC4V.mjs.map → chunk-2W744GUN.mjs.map} +1 -1
- package/dist/esm/chunk-3JVGSFHP.mjs +2 -0
- package/dist/esm/chunk-3JVGSFHP.mjs.map +1 -0
- package/dist/esm/chunk-44MGBJ73.mjs +2 -0
- package/dist/esm/{chunk-CZZJAR3B.mjs.map → chunk-44MGBJ73.mjs.map} +1 -1
- package/dist/esm/chunk-4ADA5BE7.mjs +2 -0
- package/dist/esm/{chunk-7AQXAH6Q.mjs.map → chunk-4ADA5BE7.mjs.map} +1 -1
- package/dist/esm/{chunk-KYWYIK5P.mjs → chunk-4RVIA63I.mjs} +2 -2
- package/dist/esm/chunk-4RVIA63I.mjs.map +1 -0
- package/dist/esm/chunk-62SCW5NH.mjs +2 -0
- package/dist/esm/{chunk-YS2OX7AB.mjs.map → chunk-62SCW5NH.mjs.map} +1 -1
- package/dist/esm/{chunk-MIBLZSNS.mjs → chunk-7MNEEVXY.mjs} +2 -2
- package/dist/esm/chunk-7MNEEVXY.mjs.map +1 -0
- package/dist/esm/{chunk-KPESAXVI.mjs → chunk-AAIBCWZY.mjs} +2 -2
- package/dist/esm/{chunk-N6XWY4UT.mjs → chunk-ARVSIDVB.mjs} +1 -1
- package/dist/esm/{chunk-N6XWY4UT.mjs.map → chunk-ARVSIDVB.mjs.map} +1 -1
- package/dist/esm/{chunk-IXMH6AXJ.mjs → chunk-BFSEVKNA.mjs} +2 -2
- package/dist/esm/chunk-BP5ZO7NK.mjs +2 -0
- package/dist/esm/{chunk-FHJ7F7Z6.mjs.map → chunk-BP5ZO7NK.mjs.map} +1 -1
- package/dist/esm/chunk-BPYLPPEQ.mjs +2 -0
- package/dist/esm/{chunk-V6AAQLLJ.mjs.map → chunk-BPYLPPEQ.mjs.map} +1 -1
- package/dist/esm/{chunk-3OJN4I42.mjs → chunk-BV4OOU5Y.mjs} +2 -2
- package/dist/esm/{chunk-3OJN4I42.mjs.map → chunk-BV4OOU5Y.mjs.map} +1 -1
- package/dist/esm/{chunk-VAGYTPSI.mjs → chunk-BWMNPUTK.mjs} +2 -2
- package/dist/esm/chunk-CYDWEPFL.mjs +1 -0
- package/dist/esm/chunk-EFIYW4WK.mjs +2 -0
- package/dist/esm/{chunk-2MQZUGO6.mjs → chunk-EGOYLZBU.mjs} +2 -2
- package/dist/esm/chunk-EGOYLZBU.mjs.map +1 -0
- package/dist/esm/chunk-EQ5BEDJ7.mjs +2 -0
- package/dist/esm/{chunk-ADR4XQPR.mjs.map → chunk-EQ5BEDJ7.mjs.map} +1 -1
- package/dist/esm/chunk-EWTHPMEE.mjs +2 -0
- package/dist/esm/{chunk-LAXIJRYU.mjs.map → chunk-EWTHPMEE.mjs.map} +1 -1
- package/dist/esm/chunk-EYXHVA6W.mjs +2 -0
- package/dist/esm/chunk-EYXHVA6W.mjs.map +1 -0
- package/dist/esm/chunk-GEFQFRL3.mjs +2 -0
- package/dist/esm/chunk-GEFQFRL3.mjs.map +1 -0
- package/dist/esm/{chunk-BC2NOUYT.mjs → chunk-GTC7WHMV.mjs} +2 -2
- package/dist/esm/{chunk-BC2NOUYT.mjs.map → chunk-GTC7WHMV.mjs.map} +1 -1
- package/dist/esm/{chunk-27P7PELS.mjs → chunk-HA6JD5R6.mjs} +2 -2
- package/dist/esm/{chunk-27P7PELS.mjs.map → chunk-HA6JD5R6.mjs.map} +1 -1
- package/dist/esm/chunk-HVADSXTB.mjs +2 -0
- package/dist/esm/{chunk-LU6VS7PJ.mjs.map → chunk-HVADSXTB.mjs.map} +1 -1
- package/dist/esm/{chunk-Z56AKXJ7.mjs → chunk-IG5CHHSI.mjs} +2 -2
- package/dist/esm/chunk-IXMB2GOK.mjs +2 -0
- package/dist/esm/chunk-IXMB2GOK.mjs.map +1 -0
- package/dist/esm/{chunk-TYHBYRUA.mjs → chunk-J5ZFOJN2.mjs} +2 -2
- package/dist/esm/chunk-J5ZFOJN2.mjs.map +1 -0
- package/dist/esm/chunk-JDS7K2WI.mjs +2 -0
- package/dist/esm/{chunk-KNLMUSIO.mjs.map → chunk-JDS7K2WI.mjs.map} +1 -1
- package/dist/esm/chunk-JZNLZMUC.mjs +2 -0
- package/dist/esm/{chunk-WGXAIQ7K.mjs.map → chunk-JZNLZMUC.mjs.map} +1 -1
- package/dist/esm/chunk-KQXRH5FK.mjs +2 -0
- package/dist/esm/{chunk-UQIOMAXE.mjs.map → chunk-KQXRH5FK.mjs.map} +1 -1
- package/dist/esm/{chunk-2B5QXKPU.mjs → chunk-NGCFPQ22.mjs} +2 -2
- package/dist/esm/chunk-NGCFPQ22.mjs.map +1 -0
- package/dist/esm/chunk-NTD3H2S4.mjs +2 -0
- package/dist/esm/chunk-NTD3H2S4.mjs.map +1 -0
- package/dist/esm/{chunk-KFP7MDSD.mjs → chunk-NYFVEKF6.mjs} +2 -2
- package/dist/esm/chunk-NZIJV4O2.mjs +2 -0
- package/dist/esm/{chunk-HH5RSP2H.mjs.map → chunk-NZIJV4O2.mjs.map} +1 -1
- package/dist/esm/{chunk-TXUMB5ZO.mjs → chunk-P32MY5YF.mjs} +2 -2
- package/dist/esm/{chunk-TXUMB5ZO.mjs.map → chunk-P32MY5YF.mjs.map} +1 -1
- package/dist/esm/{chunk-DNYVUM3K.mjs → chunk-Q6N6QACD.mjs} +2 -2
- package/dist/esm/{chunk-DNYVUM3K.mjs.map → chunk-Q6N6QACD.mjs.map} +1 -1
- package/dist/esm/chunk-QWVR4RCV.mjs +2 -0
- package/dist/esm/{chunk-IPJKGHQY.mjs.map → chunk-QWVR4RCV.mjs.map} +1 -1
- package/dist/esm/chunk-R26XML3D.mjs +2 -0
- package/dist/esm/chunk-R26XML3D.mjs.map +1 -0
- package/dist/esm/chunk-R3KWVOFG.mjs +2 -0
- package/dist/esm/{chunk-KWJ6XKNF.mjs.map → chunk-R3KWVOFG.mjs.map} +1 -1
- package/dist/esm/chunk-RYETO74W.mjs +2 -0
- package/dist/esm/{chunk-BIUGRAMO.mjs.map → chunk-RYETO74W.mjs.map} +1 -1
- package/dist/esm/chunk-S36IYY6K.mjs +2 -0
- package/dist/esm/{chunk-DXUIJ6KA.mjs.map → chunk-S36IYY6K.mjs.map} +1 -1
- package/dist/esm/chunk-TIH6ARYP.mjs +2 -0
- package/dist/esm/{chunk-IZHPCZE3.mjs.map → chunk-TIH6ARYP.mjs.map} +1 -1
- package/dist/esm/{chunk-O243HOP3.mjs → chunk-TQD4IGUM.mjs} +2 -2
- package/dist/esm/chunk-TQD4IGUM.mjs.map +1 -0
- package/dist/esm/chunk-U25N2VWA.mjs +2 -0
- package/dist/esm/{chunk-FNB6CFQR.mjs.map → chunk-U25N2VWA.mjs.map} +1 -1
- package/dist/esm/chunk-U3LO2FSJ.mjs +2 -0
- package/dist/esm/{chunk-ZXJ5ZBTL.mjs.map → chunk-U3LO2FSJ.mjs.map} +1 -1
- package/dist/esm/chunk-U6SZNNVL.mjs +2 -0
- package/dist/esm/chunk-U6SZNNVL.mjs.map +1 -0
- package/dist/esm/{chunk-EKAOAGNQ.mjs → chunk-UAAI3NCA.mjs} +2 -2
- package/dist/esm/chunk-UNQNACJT.mjs +2 -0
- package/dist/esm/chunk-UPLWWSB4.mjs +2 -0
- package/dist/esm/{chunk-J3QOSJFP.mjs.map → chunk-UPLWWSB4.mjs.map} +1 -1
- package/dist/esm/{chunk-XFSL7O6Q.mjs → chunk-V45RFKH7.mjs} +2 -2
- package/dist/esm/chunk-V45RFKH7.mjs.map +1 -0
- package/dist/esm/{chunk-PJDVHU7X.mjs → chunk-VMQWW5UT.mjs} +2 -2
- package/dist/esm/{chunk-PJDVHU7X.mjs.map → chunk-VMQWW5UT.mjs.map} +1 -1
- package/dist/esm/chunk-VOYW2TZW.mjs +2 -0
- package/dist/esm/{chunk-KJDY66XF.mjs.map → chunk-VOYW2TZW.mjs.map} +1 -1
- package/dist/esm/chunk-VWVEDCBM.mjs +2 -0
- package/dist/esm/{chunk-BREUBEPM.mjs.map → chunk-VWVEDCBM.mjs.map} +1 -1
- package/dist/esm/{chunk-ZT2A5ABR.mjs → chunk-VYAVLUPJ.mjs} +2 -2
- package/dist/esm/{chunk-ZT2A5ABR.mjs.map → chunk-VYAVLUPJ.mjs.map} +1 -1
- package/dist/esm/{chunk-XFS5O5GJ.mjs → chunk-WKY5ENCK.mjs} +2 -2
- package/dist/esm/{chunk-XFS5O5GJ.mjs.map → chunk-WKY5ENCK.mjs.map} +1 -1
- package/dist/esm/{chunk-BTK34A5U.mjs → chunk-WX43AJTD.mjs} +10 -10
- package/dist/esm/chunk-WX43AJTD.mjs.map +1 -0
- package/dist/esm/chunk-X32O46IB.mjs +2 -0
- package/dist/esm/{chunk-PDLUCVJB.mjs.map → chunk-X32O46IB.mjs.map} +1 -1
- package/dist/esm/chunk-Y5DJPHJT.mjs +2 -0
- package/dist/esm/chunk-Y5DJPHJT.mjs.map +1 -0
- package/dist/esm/{chunk-GUT3G5CG.mjs → chunk-Y7VR7X5W.mjs} +2 -2
- package/dist/esm/chunk-Y7VR7X5W.mjs.map +1 -0
- package/dist/esm/chunk-YYRDFZE6.mjs +2 -0
- package/dist/esm/{chunk-UVGCVCNG.mjs.map → chunk-YYRDFZE6.mjs.map} +1 -1
- package/dist/esm/chunk-Z2UDRTHA.mjs +2 -0
- package/dist/esm/{chunk-JTGGMXB7.mjs.map → chunk-Z2UDRTHA.mjs.map} +1 -1
- package/dist/esm/{chunk-XNFEUXDS.mjs → chunk-ZWH2ESXT.mjs} +1 -1
- package/dist/esm/chunk-ZWH2ESXT.mjs.map +1 -0
- package/dist/esm/client/{core.d.ts → core.d.mts} +9 -9
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/{get.d.ts → get.d.mts} +12 -12
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +11 -0
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/{post.d.ts → post.d.mts} +14 -14
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/client/{types.d.ts → types.d.mts} +5 -5
- package/dist/esm/client/types.mjs +1 -1
- package/dist/esm/core/{account.d.ts → account.d.mts} +13 -13
- package/dist/esm/core/account.mjs +1 -1
- package/dist/esm/core/{accountAddress.d.ts → accountAddress.d.mts} +11 -11
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/{authenticationKey.d.ts → authenticationKey.d.mts} +12 -12
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/{common.d.ts → common.d.mts} +1 -1
- package/dist/esm/core/common.mjs +1 -1
- package/dist/esm/core/crypto/{anyPublicKey.d.ts → anyPublicKey.d.mts} +11 -11
- package/dist/esm/core/crypto/anyPublicKey.mjs +1 -1
- package/dist/esm/core/crypto/{anySignature.d.ts → anySignature.d.mts} +10 -10
- package/dist/esm/core/crypto/anySignature.mjs +1 -1
- package/dist/esm/core/crypto/{asymmetricCrypto.d.ts → asymmetricCrypto.d.mts} +8 -8
- package/dist/esm/core/crypto/asymmetricCrypto.mjs +1 -1
- package/dist/esm/core/crypto/{ed25519.d.ts → ed25519.d.mts} +10 -10
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/{hdKey.d.ts → hdKey.d.mts} +1 -1
- package/dist/esm/core/crypto/hdKey.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +17 -0
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/{multiEd25519.d.ts → multiEd25519.d.mts} +11 -11
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/{multiKey.d.ts → multiKey.d.mts} +12 -12
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/{secp256k1.d.ts → secp256k1.d.mts} +10 -10
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/{hex.d.ts → hex.d.mts} +6 -6
- package/dist/esm/core/hex.mjs +1 -1
- package/dist/esm/core/index.d.mts +21 -0
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/{index.d.ts → index.d.mts} +60 -60
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/{account.d.ts → account.d.mts} +17 -17
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/{ans.d.ts → ans.d.mts} +32 -32
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +43 -0
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/{digitalAsset.d.ts → digitalAsset.d.mts} +32 -32
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/{event.d.ts → event.d.mts} +14 -14
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +29 -0
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/{fungibleAsset.d.ts → fungibleAsset.d.mts} +7 -7
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/{general.d.ts → general.d.mts} +11 -11
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/{staking.d.ts → staking.d.mts} +13 -13
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/{transaction.d.ts → transaction.d.mts} +7 -7
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/{transactionSubmission.d.ts → transactionSubmission.d.mts} +32 -32
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/transactions/authenticator/{account.d.ts → account.d.mts} +15 -15
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +19 -0
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/{transaction.d.ts → transaction.d.mts} +18 -18
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/{index.d.ts → index.d.mts} +39 -39
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +21 -0
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/{identifier.d.ts → identifier.d.mts} +9 -9
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +29 -0
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/{moduleId.d.ts → moduleId.d.mts} +12 -12
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/{rawTransaction.d.ts → rawTransaction.d.mts} +16 -16
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/{rotationProofChallenge.d.ts → rotationProofChallenge.d.mts} +14 -14
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/{signedTransaction.d.ts → signedTransaction.d.mts} +25 -25
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/{transactionArgument.d.ts → transactionArgument.d.mts} +8 -8
- package/dist/esm/transactions/instances/{transactionPayload.d.ts → transactionPayload.d.mts} +14 -14
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/{helpers.d.ts → helpers.d.mts} +31 -31
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +35 -0
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +54 -0
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/{transactionBuilder.d.ts → transactionBuilder.d.mts} +33 -35
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/{index.d.ts → index.d.mts} +12 -12
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/{parser.d.ts → parser.d.mts} +14 -13
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/{types.d.ts → types.d.mts} +49 -60
- package/dist/esm/types/generated/{operations.d.ts → operations.d.mts} +78 -78
- package/dist/esm/types/generated/{queries.d.ts → queries.d.mts} +31 -31
- package/dist/esm/types/generated/queries.mjs +1 -1
- package/dist/esm/types/generated/{types.d.ts → types.d.mts} +3184 -3146
- package/dist/esm/types/generated/types.mjs +1 -1
- package/dist/esm/types/generated/types.mjs.map +1 -1
- package/dist/esm/types/{index.d.ts → index.d.mts} +94 -92
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/indexer.d.mts +62 -0
- package/dist/esm/utils/apiEndpoints.mjs +1 -1
- package/dist/esm/utils/const.mjs +1 -1
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.d.mts +2 -0
- package/dist/esm/utils/index.mjs +2 -0
- package/dist/esm/utils/index.mjs.map +1 -0
- package/dist/esm/utils/memoize.mjs +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +30 -30
- package/src/api/account.ts +2 -2
- package/src/api/coin.ts +2 -2
- package/src/api/event.ts +2 -2
- package/src/api/general.ts +4 -4
- package/src/api/transactionSubmission.ts +7 -2
- package/src/client/core.ts +1 -1
- package/src/client/get.ts +6 -2
- package/src/client/post.ts +12 -4
- package/src/index.ts +1 -1
- package/src/internal/account.ts +2 -2
- package/src/internal/ans.ts +2 -2
- package/src/internal/coin.ts +2 -2
- package/src/internal/event.ts +2 -2
- package/src/internal/general.ts +7 -6
- package/src/internal/transactionSubmission.ts +41 -9
- package/src/transactions/transactionBuilder/helpers.ts +2 -2
- package/src/transactions/transactionBuilder/transactionBuilder.ts +15 -16
- package/src/transactions/typeTag/parser.ts +10 -2
- package/src/transactions/types.ts +3 -12
- package/src/types/generated/operations.ts +33 -33
- package/src/types/generated/queries.ts +22 -22
- package/src/types/generated/types.ts +2253 -2251
- package/src/types/index.ts +16 -10
- package/src/utils/index.ts +2 -0
- package/dist/esm/api/aptos.d.ts +0 -72
- package/dist/esm/api/coin.d.ts +0 -59
- package/dist/esm/api/index.d.ts +0 -46
- package/dist/esm/bcs/index.d.ts +0 -14
- package/dist/esm/chunk-2444YR3Y.mjs +0 -2
- package/dist/esm/chunk-2444YR3Y.mjs.map +0 -1
- package/dist/esm/chunk-2B5QXKPU.mjs.map +0 -1
- package/dist/esm/chunk-2MQZUGO6.mjs.map +0 -1
- package/dist/esm/chunk-3YOV42H5.mjs +0 -2
- package/dist/esm/chunk-3YOV42H5.mjs.map +0 -1
- package/dist/esm/chunk-7AIV5FEN.mjs +0 -2
- package/dist/esm/chunk-7AIV5FEN.mjs.map +0 -1
- package/dist/esm/chunk-7AQXAH6Q.mjs +0 -2
- package/dist/esm/chunk-7TL2MY2B.mjs +0 -2
- package/dist/esm/chunk-7TL2MY2B.mjs.map +0 -1
- package/dist/esm/chunk-ADR4XQPR.mjs +0 -2
- package/dist/esm/chunk-AY2HWVDO.mjs +0 -2
- package/dist/esm/chunk-AY2HWVDO.mjs.map +0 -1
- package/dist/esm/chunk-BIUGRAMO.mjs +0 -2
- package/dist/esm/chunk-BREUBEPM.mjs +0 -2
- package/dist/esm/chunk-BTK34A5U.mjs.map +0 -1
- package/dist/esm/chunk-CZZJAR3B.mjs +0 -2
- package/dist/esm/chunk-DXUIJ6KA.mjs +0 -2
- package/dist/esm/chunk-E72CFUU4.mjs +0 -2
- package/dist/esm/chunk-FHJ7F7Z6.mjs +0 -2
- package/dist/esm/chunk-FNB6CFQR.mjs +0 -2
- package/dist/esm/chunk-GUT3G5CG.mjs.map +0 -1
- package/dist/esm/chunk-HH5RSP2H.mjs +0 -2
- package/dist/esm/chunk-IPJKGHQY.mjs +0 -2
- package/dist/esm/chunk-IZHPCZE3.mjs +0 -2
- package/dist/esm/chunk-J3QOSJFP.mjs +0 -2
- package/dist/esm/chunk-J5OKXARS.mjs +0 -2
- package/dist/esm/chunk-J5OKXARS.mjs.map +0 -1
- package/dist/esm/chunk-JTGGMXB7.mjs +0 -2
- package/dist/esm/chunk-KJDY66XF.mjs +0 -2
- package/dist/esm/chunk-KNLMUSIO.mjs +0 -2
- package/dist/esm/chunk-KWJ6XKNF.mjs +0 -2
- package/dist/esm/chunk-KYWYIK5P.mjs.map +0 -1
- package/dist/esm/chunk-LAXIJRYU.mjs +0 -2
- package/dist/esm/chunk-LU6VS7PJ.mjs +0 -2
- package/dist/esm/chunk-MIBLZSNS.mjs.map +0 -1
- package/dist/esm/chunk-NKTKHC3Z.mjs +0 -2
- package/dist/esm/chunk-NKTKHC3Z.mjs.map +0 -1
- package/dist/esm/chunk-O243HOP3.mjs.map +0 -1
- package/dist/esm/chunk-PDLUCVJB.mjs +0 -2
- package/dist/esm/chunk-SJLO3JIH.mjs +0 -2
- package/dist/esm/chunk-TYHBYRUA.mjs.map +0 -1
- package/dist/esm/chunk-UQIOMAXE.mjs +0 -2
- package/dist/esm/chunk-UVGCVCNG.mjs +0 -2
- package/dist/esm/chunk-V6AAQLLJ.mjs +0 -2
- package/dist/esm/chunk-WGXAIQ7K.mjs +0 -2
- package/dist/esm/chunk-WNEZCERQ.mjs +0 -2
- package/dist/esm/chunk-WNEZCERQ.mjs.map +0 -1
- package/dist/esm/chunk-XFSL7O6Q.mjs.map +0 -1
- package/dist/esm/chunk-YS2OX7AB.mjs +0 -2
- package/dist/esm/chunk-ZXJ5ZBTL.mjs +0 -2
- package/dist/esm/client/index.d.ts +0 -11
- package/dist/esm/core/crypto/index.d.ts +0 -17
- package/dist/esm/core/index.d.ts +0 -21
- package/dist/esm/internal/coin.d.ts +0 -43
- package/dist/esm/internal/faucet.d.ts +0 -29
- package/dist/esm/transactions/authenticator/index.d.ts +0 -19
- package/dist/esm/transactions/instances/chainId.d.ts +0 -21
- package/dist/esm/transactions/instances/index.d.ts +0 -29
- package/dist/esm/transactions/transactionBuilder/index.d.ts +0 -35
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.ts +0 -54
- package/dist/esm/types/indexer.d.ts +0 -62
- /package/dist/esm/{chunk-KPESAXVI.mjs.map → chunk-AAIBCWZY.mjs.map} +0 -0
- /package/dist/esm/{chunk-IXMH6AXJ.mjs.map → chunk-BFSEVKNA.mjs.map} +0 -0
- /package/dist/esm/{chunk-VAGYTPSI.mjs.map → chunk-BWMNPUTK.mjs.map} +0 -0
- /package/dist/esm/{chunk-XNFEUXDS.mjs.map → chunk-CYDWEPFL.mjs.map} +0 -0
- /package/dist/esm/{chunk-E72CFUU4.mjs.map → chunk-EFIYW4WK.mjs.map} +0 -0
- /package/dist/esm/{chunk-Z56AKXJ7.mjs.map → chunk-IG5CHHSI.mjs.map} +0 -0
- /package/dist/esm/{chunk-KFP7MDSD.mjs.map → chunk-NYFVEKF6.mjs.map} +0 -0
- /package/dist/esm/{chunk-EKAOAGNQ.mjs.map → chunk-UAAI3NCA.mjs.map} +0 -0
- /package/dist/esm/{chunk-SJLO3JIH.mjs.map → chunk-UNQNACJT.mjs.map} +0 -0
- /package/dist/esm/utils/{apiEndpoints.d.ts → apiEndpoints.d.mts} +0 -0
- /package/dist/esm/utils/{const.d.ts → const.d.mts} +0 -0
- /package/dist/esm/utils/{helpers.d.ts → helpers.d.mts} +0 -0
- /package/dist/esm/utils/{memoize.d.ts → memoize.d.mts} +0 -0
- /package/dist/esm/{version.d.ts → version.d.mts} +0 -0
package/dist/common/index.d.ts
CHANGED
|
@@ -11,91 +11,121 @@ declare enum Network {
|
|
|
11
11
|
declare const NetworkToChainId: Record<string, number>;
|
|
12
12
|
declare const NetworkToNetworkName: Record<string, Network>;
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
type Maybe<T> = T | null;
|
|
15
|
+
type InputMaybe<T> = Maybe<T>;
|
|
16
16
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
17
|
-
|
|
18
|
-
ID:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
17
|
+
type Scalars = {
|
|
18
|
+
ID: {
|
|
19
|
+
input: string;
|
|
20
|
+
output: string;
|
|
21
|
+
};
|
|
22
|
+
String: {
|
|
23
|
+
input: string;
|
|
24
|
+
output: string;
|
|
25
|
+
};
|
|
26
|
+
Boolean: {
|
|
27
|
+
input: boolean;
|
|
28
|
+
output: boolean;
|
|
29
|
+
};
|
|
30
|
+
Int: {
|
|
31
|
+
input: number;
|
|
32
|
+
output: number;
|
|
33
|
+
};
|
|
34
|
+
Float: {
|
|
35
|
+
input: number;
|
|
36
|
+
output: number;
|
|
37
|
+
};
|
|
38
|
+
bigint: {
|
|
39
|
+
input: any;
|
|
40
|
+
output: any;
|
|
41
|
+
};
|
|
42
|
+
jsonb: {
|
|
43
|
+
input: any;
|
|
44
|
+
output: any;
|
|
45
|
+
};
|
|
46
|
+
numeric: {
|
|
47
|
+
input: any;
|
|
48
|
+
output: any;
|
|
49
|
+
};
|
|
50
|
+
timestamp: {
|
|
51
|
+
input: any;
|
|
52
|
+
output: any;
|
|
53
|
+
};
|
|
54
|
+
timestamptz: {
|
|
55
|
+
input: any;
|
|
56
|
+
output: any;
|
|
57
|
+
};
|
|
28
58
|
};
|
|
29
59
|
/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */
|
|
30
|
-
|
|
31
|
-
_eq?: InputMaybe<Scalars["Boolean"]>;
|
|
32
|
-
_gt?: InputMaybe<Scalars["Boolean"]>;
|
|
33
|
-
_gte?: InputMaybe<Scalars["Boolean"]>;
|
|
34
|
-
_in?: InputMaybe<Array<Scalars["Boolean"]>>;
|
|
35
|
-
_is_null?: InputMaybe<Scalars["Boolean"]>;
|
|
36
|
-
_lt?: InputMaybe<Scalars["Boolean"]>;
|
|
37
|
-
_lte?: InputMaybe<Scalars["Boolean"]>;
|
|
38
|
-
_neq?: InputMaybe<Scalars["Boolean"]>;
|
|
39
|
-
_nin?: InputMaybe<Array<Scalars["Boolean"]>>;
|
|
60
|
+
type BooleanComparisonExp = {
|
|
61
|
+
_eq?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
62
|
+
_gt?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
63
|
+
_gte?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
64
|
+
_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
|
|
65
|
+
_is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
66
|
+
_lt?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
67
|
+
_lte?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
68
|
+
_neq?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
69
|
+
_nin?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
|
|
40
70
|
};
|
|
41
71
|
/** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */
|
|
42
|
-
|
|
43
|
-
_eq?: InputMaybe<Scalars["Int"]>;
|
|
44
|
-
_gt?: InputMaybe<Scalars["Int"]>;
|
|
45
|
-
_gte?: InputMaybe<Scalars["Int"]>;
|
|
46
|
-
_in?: InputMaybe<Array<Scalars["Int"]>>;
|
|
47
|
-
_is_null?: InputMaybe<Scalars["Boolean"]>;
|
|
48
|
-
_lt?: InputMaybe<Scalars["Int"]>;
|
|
49
|
-
_lte?: InputMaybe<Scalars["Int"]>;
|
|
50
|
-
_neq?: InputMaybe<Scalars["Int"]>;
|
|
51
|
-
_nin?: InputMaybe<Array<Scalars["Int"]>>;
|
|
72
|
+
type IntComparisonExp = {
|
|
73
|
+
_eq?: InputMaybe<Scalars["Int"]["input"]>;
|
|
74
|
+
_gt?: InputMaybe<Scalars["Int"]["input"]>;
|
|
75
|
+
_gte?: InputMaybe<Scalars["Int"]["input"]>;
|
|
76
|
+
_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
|
|
77
|
+
_is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
78
|
+
_lt?: InputMaybe<Scalars["Int"]["input"]>;
|
|
79
|
+
_lte?: InputMaybe<Scalars["Int"]["input"]>;
|
|
80
|
+
_neq?: InputMaybe<Scalars["Int"]["input"]>;
|
|
81
|
+
_nin?: InputMaybe<Array<Scalars["Int"]["input"]>>;
|
|
52
82
|
};
|
|
53
83
|
/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */
|
|
54
|
-
|
|
55
|
-
_eq?: InputMaybe<Scalars["String"]>;
|
|
56
|
-
_gt?: InputMaybe<Scalars["String"]>;
|
|
57
|
-
_gte?: InputMaybe<Scalars["String"]>;
|
|
84
|
+
type StringComparisonExp = {
|
|
85
|
+
_eq?: InputMaybe<Scalars["String"]["input"]>;
|
|
86
|
+
_gt?: InputMaybe<Scalars["String"]["input"]>;
|
|
87
|
+
_gte?: InputMaybe<Scalars["String"]["input"]>;
|
|
58
88
|
/** does the column match the given case-insensitive pattern */
|
|
59
|
-
_ilike?: InputMaybe<Scalars["String"]>;
|
|
60
|
-
_in?: InputMaybe<Array<Scalars["String"]>>;
|
|
89
|
+
_ilike?: InputMaybe<Scalars["String"]["input"]>;
|
|
90
|
+
_in?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
61
91
|
/** does the column match the given POSIX regular expression, case insensitive */
|
|
62
|
-
_iregex?: InputMaybe<Scalars["String"]>;
|
|
63
|
-
_is_null?: InputMaybe<Scalars["Boolean"]>;
|
|
92
|
+
_iregex?: InputMaybe<Scalars["String"]["input"]>;
|
|
93
|
+
_is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
64
94
|
/** does the column match the given pattern */
|
|
65
|
-
_like?: InputMaybe<Scalars["String"]>;
|
|
66
|
-
_lt?: InputMaybe<Scalars["String"]>;
|
|
67
|
-
_lte?: InputMaybe<Scalars["String"]>;
|
|
68
|
-
_neq?: InputMaybe<Scalars["String"]>;
|
|
95
|
+
_like?: InputMaybe<Scalars["String"]["input"]>;
|
|
96
|
+
_lt?: InputMaybe<Scalars["String"]["input"]>;
|
|
97
|
+
_lte?: InputMaybe<Scalars["String"]["input"]>;
|
|
98
|
+
_neq?: InputMaybe<Scalars["String"]["input"]>;
|
|
69
99
|
/** does the column NOT match the given case-insensitive pattern */
|
|
70
|
-
_nilike?: InputMaybe<Scalars["String"]>;
|
|
71
|
-
_nin?: InputMaybe<Array<Scalars["String"]>>;
|
|
100
|
+
_nilike?: InputMaybe<Scalars["String"]["input"]>;
|
|
101
|
+
_nin?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
72
102
|
/** does the column NOT match the given POSIX regular expression, case insensitive */
|
|
73
|
-
_niregex?: InputMaybe<Scalars["String"]>;
|
|
103
|
+
_niregex?: InputMaybe<Scalars["String"]["input"]>;
|
|
74
104
|
/** does the column NOT match the given pattern */
|
|
75
|
-
_nlike?: InputMaybe<Scalars["String"]>;
|
|
105
|
+
_nlike?: InputMaybe<Scalars["String"]["input"]>;
|
|
76
106
|
/** does the column NOT match the given POSIX regular expression, case sensitive */
|
|
77
|
-
_nregex?: InputMaybe<Scalars["String"]>;
|
|
107
|
+
_nregex?: InputMaybe<Scalars["String"]["input"]>;
|
|
78
108
|
/** does the column NOT match the given SQL regular expression */
|
|
79
|
-
_nsimilar?: InputMaybe<Scalars["String"]>;
|
|
109
|
+
_nsimilar?: InputMaybe<Scalars["String"]["input"]>;
|
|
80
110
|
/** does the column match the given POSIX regular expression, case sensitive */
|
|
81
|
-
_regex?: InputMaybe<Scalars["String"]>;
|
|
111
|
+
_regex?: InputMaybe<Scalars["String"]["input"]>;
|
|
82
112
|
/** does the column match the given SQL regular expression */
|
|
83
|
-
_similar?: InputMaybe<Scalars["String"]>;
|
|
113
|
+
_similar?: InputMaybe<Scalars["String"]["input"]>;
|
|
84
114
|
};
|
|
85
115
|
/** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */
|
|
86
|
-
|
|
87
|
-
_eq?: InputMaybe<Scalars["bigint"]>;
|
|
88
|
-
_gt?: InputMaybe<Scalars["bigint"]>;
|
|
89
|
-
_gte?: InputMaybe<Scalars["bigint"]>;
|
|
90
|
-
_in?: InputMaybe<Array<Scalars["bigint"]>>;
|
|
91
|
-
_is_null?: InputMaybe<Scalars["Boolean"]>;
|
|
92
|
-
_lt?: InputMaybe<Scalars["bigint"]>;
|
|
93
|
-
_lte?: InputMaybe<Scalars["bigint"]>;
|
|
94
|
-
_neq?: InputMaybe<Scalars["bigint"]>;
|
|
95
|
-
_nin?: InputMaybe<Array<Scalars["bigint"]>>;
|
|
116
|
+
type BigintComparisonExp = {
|
|
117
|
+
_eq?: InputMaybe<Scalars["bigint"]["input"]>;
|
|
118
|
+
_gt?: InputMaybe<Scalars["bigint"]["input"]>;
|
|
119
|
+
_gte?: InputMaybe<Scalars["bigint"]["input"]>;
|
|
120
|
+
_in?: InputMaybe<Array<Scalars["bigint"]["input"]>>;
|
|
121
|
+
_is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
122
|
+
_lt?: InputMaybe<Scalars["bigint"]["input"]>;
|
|
123
|
+
_lte?: InputMaybe<Scalars["bigint"]["input"]>;
|
|
124
|
+
_neq?: InputMaybe<Scalars["bigint"]["input"]>;
|
|
125
|
+
_nin?: InputMaybe<Array<Scalars["bigint"]["input"]>>;
|
|
96
126
|
};
|
|
97
127
|
/** Boolean expression to filter rows from the table "current_aptos_names". All fields are combined with a logical 'AND'. */
|
|
98
|
-
|
|
128
|
+
type CurrentAptosNamesBoolExp = {
|
|
99
129
|
_and?: InputMaybe<Array<CurrentAptosNamesBoolExp>>;
|
|
100
130
|
_not?: InputMaybe<CurrentAptosNamesBoolExp>;
|
|
101
131
|
_or?: InputMaybe<Array<CurrentAptosNamesBoolExp>>;
|
|
@@ -113,7 +143,7 @@ declare type CurrentAptosNamesBoolExp = {
|
|
|
113
143
|
token_standard?: InputMaybe<StringComparisonExp>;
|
|
114
144
|
};
|
|
115
145
|
/** Boolean expression to filter rows from the table "current_fungible_asset_balances". All fields are combined with a logical 'AND'. */
|
|
116
|
-
|
|
146
|
+
type CurrentFungibleAssetBalancesBoolExp = {
|
|
117
147
|
_and?: InputMaybe<Array<CurrentFungibleAssetBalancesBoolExp>>;
|
|
118
148
|
_not?: InputMaybe<CurrentFungibleAssetBalancesBoolExp>;
|
|
119
149
|
_or?: InputMaybe<Array<CurrentFungibleAssetBalancesBoolExp>>;
|
|
@@ -129,7 +159,7 @@ declare type CurrentFungibleAssetBalancesBoolExp = {
|
|
|
129
159
|
token_standard?: InputMaybe<StringComparisonExp>;
|
|
130
160
|
};
|
|
131
161
|
/** Boolean expression to filter rows from the table "events". All fields are combined with a logical 'AND'. */
|
|
132
|
-
|
|
162
|
+
type EventsBoolExp = {
|
|
133
163
|
_and?: InputMaybe<Array<EventsBoolExp>>;
|
|
134
164
|
_not?: InputMaybe<EventsBoolExp>;
|
|
135
165
|
_or?: InputMaybe<Array<EventsBoolExp>>;
|
|
@@ -144,7 +174,7 @@ declare type EventsBoolExp = {
|
|
|
144
174
|
type?: InputMaybe<StringComparisonExp>;
|
|
145
175
|
};
|
|
146
176
|
/** Boolean expression to filter rows from the table "fungible_asset_activities". All fields are combined with a logical 'AND'. */
|
|
147
|
-
|
|
177
|
+
type FungibleAssetActivitiesBoolExp = {
|
|
148
178
|
_and?: InputMaybe<Array<FungibleAssetActivitiesBoolExp>>;
|
|
149
179
|
_not?: InputMaybe<FungibleAssetActivitiesBoolExp>;
|
|
150
180
|
_or?: InputMaybe<Array<FungibleAssetActivitiesBoolExp>>;
|
|
@@ -168,7 +198,7 @@ declare type FungibleAssetActivitiesBoolExp = {
|
|
|
168
198
|
type?: InputMaybe<StringComparisonExp>;
|
|
169
199
|
};
|
|
170
200
|
/** Boolean expression to filter rows from the table "fungible_asset_metadata". All fields are combined with a logical 'AND'. */
|
|
171
|
-
|
|
201
|
+
type FungibleAssetMetadataBoolExp = {
|
|
172
202
|
_and?: InputMaybe<Array<FungibleAssetMetadataBoolExp>>;
|
|
173
203
|
_not?: InputMaybe<FungibleAssetMetadataBoolExp>;
|
|
174
204
|
_or?: InputMaybe<Array<FungibleAssetMetadataBoolExp>>;
|
|
@@ -185,58 +215,58 @@ declare type FungibleAssetMetadataBoolExp = {
|
|
|
185
215
|
symbol?: InputMaybe<StringComparisonExp>;
|
|
186
216
|
token_standard?: InputMaybe<StringComparisonExp>;
|
|
187
217
|
};
|
|
188
|
-
|
|
218
|
+
type JsonbCastExp = {
|
|
189
219
|
String?: InputMaybe<StringComparisonExp>;
|
|
190
220
|
};
|
|
191
221
|
/** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */
|
|
192
|
-
|
|
222
|
+
type JsonbComparisonExp = {
|
|
193
223
|
_cast?: InputMaybe<JsonbCastExp>;
|
|
194
224
|
/** is the column contained in the given json value */
|
|
195
|
-
_contained_in?: InputMaybe<Scalars["jsonb"]>;
|
|
225
|
+
_contained_in?: InputMaybe<Scalars["jsonb"]["input"]>;
|
|
196
226
|
/** does the column contain the given json value at the top level */
|
|
197
|
-
_contains?: InputMaybe<Scalars["jsonb"]>;
|
|
198
|
-
_eq?: InputMaybe<Scalars["jsonb"]>;
|
|
199
|
-
_gt?: InputMaybe<Scalars["jsonb"]>;
|
|
200
|
-
_gte?: InputMaybe<Scalars["jsonb"]>;
|
|
227
|
+
_contains?: InputMaybe<Scalars["jsonb"]["input"]>;
|
|
228
|
+
_eq?: InputMaybe<Scalars["jsonb"]["input"]>;
|
|
229
|
+
_gt?: InputMaybe<Scalars["jsonb"]["input"]>;
|
|
230
|
+
_gte?: InputMaybe<Scalars["jsonb"]["input"]>;
|
|
201
231
|
/** does the string exist as a top-level key in the column */
|
|
202
|
-
_has_key?: InputMaybe<Scalars["String"]>;
|
|
232
|
+
_has_key?: InputMaybe<Scalars["String"]["input"]>;
|
|
203
233
|
/** do all of these strings exist as top-level keys in the column */
|
|
204
|
-
_has_keys_all?: InputMaybe<Array<Scalars["String"]>>;
|
|
234
|
+
_has_keys_all?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
205
235
|
/** do any of these strings exist as top-level keys in the column */
|
|
206
|
-
_has_keys_any?: InputMaybe<Array<Scalars["String"]>>;
|
|
207
|
-
_in?: InputMaybe<Array<Scalars["jsonb"]>>;
|
|
208
|
-
_is_null?: InputMaybe<Scalars["Boolean"]>;
|
|
209
|
-
_lt?: InputMaybe<Scalars["jsonb"]>;
|
|
210
|
-
_lte?: InputMaybe<Scalars["jsonb"]>;
|
|
211
|
-
_neq?: InputMaybe<Scalars["jsonb"]>;
|
|
212
|
-
_nin?: InputMaybe<Array<Scalars["jsonb"]>>;
|
|
236
|
+
_has_keys_any?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
237
|
+
_in?: InputMaybe<Array<Scalars["jsonb"]["input"]>>;
|
|
238
|
+
_is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
239
|
+
_lt?: InputMaybe<Scalars["jsonb"]["input"]>;
|
|
240
|
+
_lte?: InputMaybe<Scalars["jsonb"]["input"]>;
|
|
241
|
+
_neq?: InputMaybe<Scalars["jsonb"]["input"]>;
|
|
242
|
+
_nin?: InputMaybe<Array<Scalars["jsonb"]["input"]>>;
|
|
213
243
|
};
|
|
214
244
|
/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */
|
|
215
|
-
|
|
216
|
-
_eq?: InputMaybe<Scalars["numeric"]>;
|
|
217
|
-
_gt?: InputMaybe<Scalars["numeric"]>;
|
|
218
|
-
_gte?: InputMaybe<Scalars["numeric"]>;
|
|
219
|
-
_in?: InputMaybe<Array<Scalars["numeric"]>>;
|
|
220
|
-
_is_null?: InputMaybe<Scalars["Boolean"]>;
|
|
221
|
-
_lt?: InputMaybe<Scalars["numeric"]>;
|
|
222
|
-
_lte?: InputMaybe<Scalars["numeric"]>;
|
|
223
|
-
_neq?: InputMaybe<Scalars["numeric"]>;
|
|
224
|
-
_nin?: InputMaybe<Array<Scalars["numeric"]>>;
|
|
245
|
+
type NumericComparisonExp = {
|
|
246
|
+
_eq?: InputMaybe<Scalars["numeric"]["input"]>;
|
|
247
|
+
_gt?: InputMaybe<Scalars["numeric"]["input"]>;
|
|
248
|
+
_gte?: InputMaybe<Scalars["numeric"]["input"]>;
|
|
249
|
+
_in?: InputMaybe<Array<Scalars["numeric"]["input"]>>;
|
|
250
|
+
_is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
251
|
+
_lt?: InputMaybe<Scalars["numeric"]["input"]>;
|
|
252
|
+
_lte?: InputMaybe<Scalars["numeric"]["input"]>;
|
|
253
|
+
_neq?: InputMaybe<Scalars["numeric"]["input"]>;
|
|
254
|
+
_nin?: InputMaybe<Array<Scalars["numeric"]["input"]>>;
|
|
225
255
|
};
|
|
226
256
|
/** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */
|
|
227
|
-
|
|
228
|
-
_eq?: InputMaybe<Scalars["timestamp"]>;
|
|
229
|
-
_gt?: InputMaybe<Scalars["timestamp"]>;
|
|
230
|
-
_gte?: InputMaybe<Scalars["timestamp"]>;
|
|
231
|
-
_in?: InputMaybe<Array<Scalars["timestamp"]>>;
|
|
232
|
-
_is_null?: InputMaybe<Scalars["Boolean"]>;
|
|
233
|
-
_lt?: InputMaybe<Scalars["timestamp"]>;
|
|
234
|
-
_lte?: InputMaybe<Scalars["timestamp"]>;
|
|
235
|
-
_neq?: InputMaybe<Scalars["timestamp"]>;
|
|
236
|
-
_nin?: InputMaybe<Array<Scalars["timestamp"]>>;
|
|
257
|
+
type TimestampComparisonExp = {
|
|
258
|
+
_eq?: InputMaybe<Scalars["timestamp"]["input"]>;
|
|
259
|
+
_gt?: InputMaybe<Scalars["timestamp"]["input"]>;
|
|
260
|
+
_gte?: InputMaybe<Scalars["timestamp"]["input"]>;
|
|
261
|
+
_in?: InputMaybe<Array<Scalars["timestamp"]["input"]>>;
|
|
262
|
+
_is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
263
|
+
_lt?: InputMaybe<Scalars["timestamp"]["input"]>;
|
|
264
|
+
_lte?: InputMaybe<Scalars["timestamp"]["input"]>;
|
|
265
|
+
_neq?: InputMaybe<Scalars["timestamp"]["input"]>;
|
|
266
|
+
_nin?: InputMaybe<Array<Scalars["timestamp"]["input"]>>;
|
|
237
267
|
};
|
|
238
268
|
|
|
239
|
-
|
|
269
|
+
type GetAccountCoinsDataQuery = {
|
|
240
270
|
current_fungible_asset_balances: Array<{
|
|
241
271
|
amount: any;
|
|
242
272
|
asset_type: string;
|
|
@@ -263,7 +293,7 @@ declare type GetAccountCoinsDataQuery = {
|
|
|
263
293
|
} | null;
|
|
264
294
|
}>;
|
|
265
295
|
};
|
|
266
|
-
|
|
296
|
+
type GetAccountCollectionsWithOwnedTokensQuery = {
|
|
267
297
|
current_collection_ownership_v2_view: Array<{
|
|
268
298
|
collection_id?: string | null;
|
|
269
299
|
collection_name?: string | null;
|
|
@@ -291,7 +321,7 @@ declare type GetAccountCollectionsWithOwnedTokensQuery = {
|
|
|
291
321
|
} | null;
|
|
292
322
|
}>;
|
|
293
323
|
};
|
|
294
|
-
|
|
324
|
+
type GetAccountOwnedObjectsQuery = {
|
|
295
325
|
current_objects: Array<{
|
|
296
326
|
allow_ungated_transfer: boolean;
|
|
297
327
|
state_key_hash: string;
|
|
@@ -302,7 +332,7 @@ declare type GetAccountOwnedObjectsQuery = {
|
|
|
302
332
|
is_deleted: boolean;
|
|
303
333
|
}>;
|
|
304
334
|
};
|
|
305
|
-
|
|
335
|
+
type GetAccountOwnedTokensQuery = {
|
|
306
336
|
current_token_ownerships_v2: Array<{
|
|
307
337
|
token_standard: string;
|
|
308
338
|
token_properties_mutated_v1?: any | null;
|
|
@@ -349,7 +379,7 @@ declare type GetAccountOwnedTokensQuery = {
|
|
|
349
379
|
} | null;
|
|
350
380
|
}>;
|
|
351
381
|
};
|
|
352
|
-
|
|
382
|
+
type GetAccountOwnedTokensFromCollectionQuery = {
|
|
353
383
|
current_token_ownerships_v2: Array<{
|
|
354
384
|
token_standard: string;
|
|
355
385
|
token_properties_mutated_v1?: any | null;
|
|
@@ -396,12 +426,12 @@ declare type GetAccountOwnedTokensFromCollectionQuery = {
|
|
|
396
426
|
} | null;
|
|
397
427
|
}>;
|
|
398
428
|
};
|
|
399
|
-
|
|
429
|
+
type GetChainTopUserTransactionsQuery = {
|
|
400
430
|
user_transactions: Array<{
|
|
401
431
|
version: any;
|
|
402
432
|
}>;
|
|
403
433
|
};
|
|
404
|
-
|
|
434
|
+
type GetCollectionDataQuery = {
|
|
405
435
|
current_collections_v2: Array<{
|
|
406
436
|
collection_id: string;
|
|
407
437
|
collection_name: string;
|
|
@@ -419,7 +449,7 @@ declare type GetCollectionDataQuery = {
|
|
|
419
449
|
uri: string;
|
|
420
450
|
}>;
|
|
421
451
|
};
|
|
422
|
-
|
|
452
|
+
type GetCurrentFungibleAssetBalancesQuery = {
|
|
423
453
|
current_fungible_asset_balances: Array<{
|
|
424
454
|
amount: any;
|
|
425
455
|
asset_type: string;
|
|
@@ -432,7 +462,7 @@ declare type GetCurrentFungibleAssetBalancesQuery = {
|
|
|
432
462
|
token_standard: string;
|
|
433
463
|
}>;
|
|
434
464
|
};
|
|
435
|
-
|
|
465
|
+
type GetDelegatedStakingActivitiesQuery = {
|
|
436
466
|
delegated_staking_activities: Array<{
|
|
437
467
|
amount: any;
|
|
438
468
|
delegator_address: string;
|
|
@@ -442,7 +472,7 @@ declare type GetDelegatedStakingActivitiesQuery = {
|
|
|
442
472
|
transaction_version: any;
|
|
443
473
|
}>;
|
|
444
474
|
};
|
|
445
|
-
|
|
475
|
+
type GetEventsQuery = {
|
|
446
476
|
events: Array<{
|
|
447
477
|
account_address: string;
|
|
448
478
|
creation_number: any;
|
|
@@ -455,7 +485,7 @@ declare type GetEventsQuery = {
|
|
|
455
485
|
indexed_type: string;
|
|
456
486
|
}>;
|
|
457
487
|
};
|
|
458
|
-
|
|
488
|
+
type GetFungibleAssetActivitiesQuery = {
|
|
459
489
|
fungible_asset_activities: Array<{
|
|
460
490
|
amount?: any | null;
|
|
461
491
|
asset_type: string;
|
|
@@ -475,7 +505,7 @@ declare type GetFungibleAssetActivitiesQuery = {
|
|
|
475
505
|
type: string;
|
|
476
506
|
}>;
|
|
477
507
|
};
|
|
478
|
-
|
|
508
|
+
type GetFungibleAssetMetadataQuery = {
|
|
479
509
|
fungible_asset_metadata: Array<{
|
|
480
510
|
icon_uri?: string | null;
|
|
481
511
|
project_uri?: string | null;
|
|
@@ -491,20 +521,20 @@ declare type GetFungibleAssetMetadataQuery = {
|
|
|
491
521
|
token_standard: string;
|
|
492
522
|
}>;
|
|
493
523
|
};
|
|
494
|
-
|
|
524
|
+
type GetNumberOfDelegatorsQuery = {
|
|
495
525
|
num_active_delegator_per_pool: Array<{
|
|
496
526
|
num_active_delegator?: any | null;
|
|
497
527
|
pool_address?: string | null;
|
|
498
528
|
}>;
|
|
499
529
|
};
|
|
500
|
-
|
|
530
|
+
type GetProcessorStatusQuery = {
|
|
501
531
|
processor_status: Array<{
|
|
502
532
|
last_success_version: any;
|
|
503
533
|
processor: string;
|
|
504
534
|
last_updated: any;
|
|
505
535
|
}>;
|
|
506
536
|
};
|
|
507
|
-
|
|
537
|
+
type GetTokenActivityQuery = {
|
|
508
538
|
token_activities_v2: Array<{
|
|
509
539
|
after_value?: string | null;
|
|
510
540
|
before_value?: string | null;
|
|
@@ -523,7 +553,7 @@ declare type GetTokenActivityQuery = {
|
|
|
523
553
|
type: string;
|
|
524
554
|
}>;
|
|
525
555
|
};
|
|
526
|
-
|
|
556
|
+
type GetCurrentTokenOwnershipQuery = {
|
|
527
557
|
current_token_ownerships_v2: Array<{
|
|
528
558
|
token_standard: string;
|
|
529
559
|
token_properties_mutated_v1?: any | null;
|
|
@@ -570,7 +600,7 @@ declare type GetCurrentTokenOwnershipQuery = {
|
|
|
570
600
|
} | null;
|
|
571
601
|
}>;
|
|
572
602
|
};
|
|
573
|
-
|
|
603
|
+
type GetTokenDataQuery = {
|
|
574
604
|
current_token_datas_v2: Array<{
|
|
575
605
|
collection_id: string;
|
|
576
606
|
description: string;
|
|
@@ -624,40 +654,40 @@ declare type GetTokenDataQuery = {
|
|
|
624
654
|
* These types are used as the return type when calling a sdk api function
|
|
625
655
|
* that calls the function that queries the server (usually under the /api/ folder)
|
|
626
656
|
*/
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
657
|
+
type GetAccountOwnedObjectsResponse = GetAccountOwnedObjectsQuery["current_objects"];
|
|
658
|
+
type GetAccountOwnedTokensQueryResponse = GetAccountOwnedTokensQuery["current_token_ownerships_v2"];
|
|
659
|
+
type GetAccountOwnedTokensFromCollectionResponse = GetAccountOwnedTokensFromCollectionQuery["current_token_ownerships_v2"];
|
|
660
|
+
type GetAccountCollectionsWithOwnedTokenResponse = GetAccountCollectionsWithOwnedTokensQuery["current_collection_ownership_v2_view"];
|
|
661
|
+
type GetAccountCoinsDataResponse = GetAccountCoinsDataQuery["current_fungible_asset_balances"];
|
|
662
|
+
type GetChainTopUserTransactionsResponse = GetChainTopUserTransactionsQuery["user_transactions"];
|
|
663
|
+
type GetEventsResponse = GetEventsQuery["events"];
|
|
664
|
+
type GetNumberOfDelegatorsResponse = GetNumberOfDelegatorsQuery["num_active_delegator_per_pool"];
|
|
665
|
+
type GetDelegatedStakingActivitiesResponse = GetDelegatedStakingActivitiesQuery["delegated_staking_activities"];
|
|
666
|
+
type GetCollectionDataResponse = GetCollectionDataQuery["current_collections_v2"][0];
|
|
667
|
+
type GetTokenDataResponse = GetTokenDataQuery["current_token_datas_v2"][0];
|
|
668
|
+
type GetProcessorStatusResponse = GetProcessorStatusQuery["processor_status"];
|
|
669
|
+
type GetFungibleAssetMetadataResponse = GetFungibleAssetMetadataQuery["fungible_asset_metadata"];
|
|
670
|
+
type GetFungibleAssetActivitiesResponse = GetFungibleAssetActivitiesQuery["fungible_asset_activities"];
|
|
671
|
+
type GetCurrentFungibleAssetBalancesResponse = GetCurrentFungibleAssetBalancesQuery["current_fungible_asset_balances"];
|
|
672
|
+
type GetTokenActivityResponse = GetTokenActivityQuery["token_activities_v2"];
|
|
673
|
+
type GetCurrentTokenOwnershipResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"][0];
|
|
674
|
+
type GetOwnedTokensResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"];
|
|
645
675
|
/**
|
|
646
676
|
* A generic type that being passed by each function and holds an
|
|
647
677
|
* array of properties we can sort the query by
|
|
648
678
|
*/
|
|
649
|
-
|
|
679
|
+
type OrderBy<T> = Array<{
|
|
650
680
|
[K in keyof T]?: OrderByValue;
|
|
651
681
|
}>;
|
|
652
|
-
|
|
682
|
+
type OrderByValue = "asc" | "asc_nulls_first" | "asc_nulls_last" | "desc" | "desc_nulls_first" | "desc_nulls_last";
|
|
653
683
|
/**
|
|
654
684
|
* Refers to the token standard we want to query for
|
|
655
685
|
*/
|
|
656
|
-
|
|
686
|
+
type TokenStandard = "v1" | "v2";
|
|
657
687
|
/**
|
|
658
688
|
* The graphql query type to pass into the `queryIndexer` function
|
|
659
689
|
*/
|
|
660
|
-
|
|
690
|
+
type GraphqlQuery = {
|
|
661
691
|
query: string;
|
|
662
692
|
variables?: {};
|
|
663
693
|
};
|
|
@@ -679,7 +709,7 @@ declare enum MimeType {
|
|
|
679
709
|
/**
|
|
680
710
|
* Hex data as input to a function
|
|
681
711
|
*/
|
|
682
|
-
|
|
712
|
+
type HexInput = string | Uint8Array;
|
|
683
713
|
/**
|
|
684
714
|
* TypeTag enum as they are represented in Rust
|
|
685
715
|
* {@link https://github.com/aptos-labs/aptos-core/blob/main/third_party/move/move-core/types/src/language_storage.rs#L27}
|
|
@@ -763,19 +793,19 @@ declare enum AnySignatureVariant {
|
|
|
763
793
|
/**
|
|
764
794
|
* BCS types
|
|
765
795
|
*/
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
796
|
+
type Uint8 = number;
|
|
797
|
+
type Uint16 = number;
|
|
798
|
+
type Uint32 = number;
|
|
799
|
+
type Uint64 = bigint;
|
|
800
|
+
type Uint128 = bigint;
|
|
801
|
+
type Uint256 = bigint;
|
|
802
|
+
type AnyNumber = number | bigint;
|
|
773
803
|
/**
|
|
774
804
|
* Set of configuration options that can be provided when initializing the SDK.
|
|
775
805
|
* The purpose of these options is to configure various aspects of the SDK's
|
|
776
806
|
* behavior and interaction with the Aptos network
|
|
777
807
|
*/
|
|
778
|
-
|
|
808
|
+
type AptosSettings = {
|
|
779
809
|
readonly network?: Network;
|
|
780
810
|
readonly fullnode?: string;
|
|
781
811
|
readonly faucet?: string;
|
|
@@ -804,7 +834,7 @@ interface PaginationArgs {
|
|
|
804
834
|
* @param HEADERS - extra headers we want to send with the request
|
|
805
835
|
* @param WITH_CREDENTIALS - whether to carry cookies. By default, it is set to true and cookies will be sent
|
|
806
836
|
*/
|
|
807
|
-
|
|
837
|
+
type ClientConfig = {
|
|
808
838
|
AUTH_TOKEN?: string;
|
|
809
839
|
API_KEY?: string;
|
|
810
840
|
HEADERS?: Record<string, string | number | boolean>;
|
|
@@ -844,7 +874,7 @@ interface Client {
|
|
|
844
874
|
* @param originMethod (optional) - the local method the request came from
|
|
845
875
|
* @param overrides (optional) - a `ClientConfig` object type to override request data
|
|
846
876
|
*/
|
|
847
|
-
|
|
877
|
+
type AptosRequest = {
|
|
848
878
|
url: string;
|
|
849
879
|
method: "GET" | "POST";
|
|
850
880
|
path?: string;
|
|
@@ -858,7 +888,7 @@ declare type AptosRequest = {
|
|
|
858
888
|
/**
|
|
859
889
|
* Specifies ledger version of transactions. By default latest version will be used
|
|
860
890
|
*/
|
|
861
|
-
|
|
891
|
+
type LedgerVersion = {
|
|
862
892
|
ledgerVersion?: AnyNumber;
|
|
863
893
|
};
|
|
864
894
|
/**
|
|
@@ -867,7 +897,7 @@ declare type LedgerVersion = {
|
|
|
867
897
|
/**
|
|
868
898
|
* Type holding the outputs of the estimate gas API
|
|
869
899
|
*/
|
|
870
|
-
|
|
900
|
+
type GasEstimation = {
|
|
871
901
|
/**
|
|
872
902
|
* The deprioritized estimate for the gas unit price
|
|
873
903
|
*/
|
|
@@ -881,15 +911,15 @@ declare type GasEstimation = {
|
|
|
881
911
|
*/
|
|
882
912
|
prioritized_gas_estimate?: number;
|
|
883
913
|
};
|
|
884
|
-
|
|
885
|
-
type:
|
|
914
|
+
type MoveResource = {
|
|
915
|
+
type: MoveStructId;
|
|
886
916
|
data: {};
|
|
887
917
|
};
|
|
888
|
-
|
|
918
|
+
type AccountData = {
|
|
889
919
|
sequence_number: string;
|
|
890
920
|
authentication_key: string;
|
|
891
921
|
};
|
|
892
|
-
|
|
922
|
+
type MoveModuleBytecode = {
|
|
893
923
|
bytecode: string;
|
|
894
924
|
abi?: MoveModule;
|
|
895
925
|
};
|
|
@@ -903,8 +933,8 @@ declare enum TransactionResponseType {
|
|
|
903
933
|
BlockMetadata = "block_metadata_transaction",
|
|
904
934
|
StateCheckpoint = "state_checkpoint_transaction"
|
|
905
935
|
}
|
|
906
|
-
|
|
907
|
-
|
|
936
|
+
type TransactionResponse = PendingTransactionResponse | UserTransactionResponse | GenesisTransactionResponse | BlockMetadataTransactionResponse | StateCheckpointTransactionResponse;
|
|
937
|
+
type PendingTransactionResponse = {
|
|
908
938
|
type: TransactionResponseType.Pending;
|
|
909
939
|
hash: string;
|
|
910
940
|
sender: string;
|
|
@@ -915,7 +945,7 @@ declare type PendingTransactionResponse = {
|
|
|
915
945
|
payload: TransactionPayloadResponse;
|
|
916
946
|
signature?: TransactionSignature;
|
|
917
947
|
};
|
|
918
|
-
|
|
948
|
+
type UserTransactionResponse = {
|
|
919
949
|
type: TransactionResponseType.User;
|
|
920
950
|
version: string;
|
|
921
951
|
hash: string;
|
|
@@ -949,7 +979,7 @@ declare type UserTransactionResponse = {
|
|
|
949
979
|
events: Array<Event$1>;
|
|
950
980
|
timestamp: string;
|
|
951
981
|
};
|
|
952
|
-
|
|
982
|
+
type GenesisTransactionResponse = {
|
|
953
983
|
type: TransactionResponseType.Genesis;
|
|
954
984
|
version: string;
|
|
955
985
|
hash: string;
|
|
@@ -976,7 +1006,7 @@ declare type GenesisTransactionResponse = {
|
|
|
976
1006
|
*/
|
|
977
1007
|
events: Array<Event$1>;
|
|
978
1008
|
};
|
|
979
|
-
|
|
1009
|
+
type BlockMetadataTransactionResponse = {
|
|
980
1010
|
type: TransactionResponseType.BlockMetadata;
|
|
981
1011
|
version: string;
|
|
982
1012
|
hash: string;
|
|
@@ -1015,7 +1045,7 @@ declare type BlockMetadataTransactionResponse = {
|
|
|
1015
1045
|
failed_proposer_indices: Array<number>;
|
|
1016
1046
|
timestamp: string;
|
|
1017
1047
|
};
|
|
1018
|
-
|
|
1048
|
+
type StateCheckpointTransactionResponse = {
|
|
1019
1049
|
type: TransactionResponseType.StateCheckpoint;
|
|
1020
1050
|
version: string;
|
|
1021
1051
|
hash: string;
|
|
@@ -1041,8 +1071,8 @@ declare type StateCheckpointTransactionResponse = {
|
|
|
1041
1071
|
/**
|
|
1042
1072
|
* WRITESET CHANGE TYPES
|
|
1043
1073
|
*/
|
|
1044
|
-
|
|
1045
|
-
|
|
1074
|
+
type WriteSetChange = WriteSetChangeDeleteModule | WriteSetChangeDeleteResource | WriteSetChangeDeleteTableItem | WriteSetChangeWriteModule | WriteSetChangeWriteResource | WriteSetChangeWriteTableItem;
|
|
1075
|
+
type WriteSetChangeDeleteModule = {
|
|
1046
1076
|
type: string;
|
|
1047
1077
|
address: string;
|
|
1048
1078
|
/**
|
|
@@ -1051,32 +1081,32 @@ declare type WriteSetChangeDeleteModule = {
|
|
|
1051
1081
|
state_key_hash: string;
|
|
1052
1082
|
module: MoveModuleId;
|
|
1053
1083
|
};
|
|
1054
|
-
|
|
1084
|
+
type WriteSetChangeDeleteResource = {
|
|
1055
1085
|
type: string;
|
|
1056
1086
|
address: string;
|
|
1057
1087
|
state_key_hash: string;
|
|
1058
1088
|
resource: string;
|
|
1059
1089
|
};
|
|
1060
|
-
|
|
1090
|
+
type WriteSetChangeDeleteTableItem = {
|
|
1061
1091
|
type: string;
|
|
1062
1092
|
state_key_hash: string;
|
|
1063
1093
|
handle: string;
|
|
1064
1094
|
key: string;
|
|
1065
1095
|
data?: DeletedTableData;
|
|
1066
1096
|
};
|
|
1067
|
-
|
|
1097
|
+
type WriteSetChangeWriteModule = {
|
|
1068
1098
|
type: string;
|
|
1069
1099
|
address: string;
|
|
1070
1100
|
state_key_hash: string;
|
|
1071
1101
|
data: MoveModuleBytecode;
|
|
1072
1102
|
};
|
|
1073
|
-
|
|
1103
|
+
type WriteSetChangeWriteResource = {
|
|
1074
1104
|
type: string;
|
|
1075
1105
|
address: string;
|
|
1076
1106
|
state_key_hash: string;
|
|
1077
1107
|
data: MoveResource;
|
|
1078
1108
|
};
|
|
1079
|
-
|
|
1109
|
+
type WriteSetChangeWriteTableItem = {
|
|
1080
1110
|
type: string;
|
|
1081
1111
|
state_key_hash: string;
|
|
1082
1112
|
handle: string;
|
|
@@ -1084,7 +1114,7 @@ declare type WriteSetChangeWriteTableItem = {
|
|
|
1084
1114
|
value: string;
|
|
1085
1115
|
data?: DecodedTableData;
|
|
1086
1116
|
};
|
|
1087
|
-
|
|
1117
|
+
type DecodedTableData = {
|
|
1088
1118
|
/**
|
|
1089
1119
|
* Key of table in JSON
|
|
1090
1120
|
*/
|
|
@@ -1105,7 +1135,7 @@ declare type DecodedTableData = {
|
|
|
1105
1135
|
/**
|
|
1106
1136
|
* Deleted table data
|
|
1107
1137
|
*/
|
|
1108
|
-
|
|
1138
|
+
type DeletedTableData = {
|
|
1109
1139
|
/**
|
|
1110
1140
|
* Deleted key
|
|
1111
1141
|
*/
|
|
@@ -1115,10 +1145,10 @@ declare type DeletedTableData = {
|
|
|
1115
1145
|
*/
|
|
1116
1146
|
key_type: string;
|
|
1117
1147
|
};
|
|
1118
|
-
|
|
1119
|
-
|
|
1148
|
+
type TransactionPayloadResponse = EntryFunctionPayloadResponse | ScriptPayloadResponse | MultisigPayloadResponse;
|
|
1149
|
+
type EntryFunctionPayloadResponse = {
|
|
1120
1150
|
type: string;
|
|
1121
|
-
function:
|
|
1151
|
+
function: MoveFunctionId;
|
|
1122
1152
|
/**
|
|
1123
1153
|
* Type arguments of the function
|
|
1124
1154
|
*/
|
|
@@ -1128,7 +1158,7 @@ declare type EntryFunctionPayloadResponse = {
|
|
|
1128
1158
|
*/
|
|
1129
1159
|
arguments: Array<any>;
|
|
1130
1160
|
};
|
|
1131
|
-
|
|
1161
|
+
type ScriptPayloadResponse = {
|
|
1132
1162
|
type: string;
|
|
1133
1163
|
code: MoveScriptBytecode;
|
|
1134
1164
|
/**
|
|
@@ -1140,37 +1170,37 @@ declare type ScriptPayloadResponse = {
|
|
|
1140
1170
|
*/
|
|
1141
1171
|
arguments: Array<any>;
|
|
1142
1172
|
};
|
|
1143
|
-
|
|
1173
|
+
type MultisigPayloadResponse = {
|
|
1144
1174
|
type: string;
|
|
1145
1175
|
multisig_address: string;
|
|
1146
1176
|
transaction_payload?: EntryFunctionPayloadResponse;
|
|
1147
1177
|
};
|
|
1148
|
-
|
|
1178
|
+
type GenesisPayload = {
|
|
1149
1179
|
type: string;
|
|
1150
1180
|
write_set: WriteSet;
|
|
1151
1181
|
};
|
|
1152
1182
|
/**
|
|
1153
1183
|
* Move script bytecode
|
|
1154
1184
|
*/
|
|
1155
|
-
|
|
1185
|
+
type MoveScriptBytecode = {
|
|
1156
1186
|
bytecode: string;
|
|
1157
1187
|
abi?: MoveFunction;
|
|
1158
1188
|
};
|
|
1159
1189
|
/**
|
|
1160
1190
|
* These are the JSON representations of transaction signatures returned from the node API.
|
|
1161
1191
|
*/
|
|
1162
|
-
|
|
1163
|
-
|
|
1192
|
+
type TransactionSignature = TransactionEd25519Signature | TransactionSecp256k1Signature | TransactionMultiEd25519Signature | TransactionMultiAgentSignature | TransactionFeePayerSignature;
|
|
1193
|
+
type TransactionEd25519Signature = {
|
|
1164
1194
|
type: string;
|
|
1165
1195
|
public_key: string;
|
|
1166
1196
|
signature: "ed25519_signature";
|
|
1167
1197
|
};
|
|
1168
|
-
|
|
1198
|
+
type TransactionSecp256k1Signature = {
|
|
1169
1199
|
type: string;
|
|
1170
1200
|
public_key: string;
|
|
1171
1201
|
signature: "secp256k1_ecdsa_signature";
|
|
1172
1202
|
};
|
|
1173
|
-
|
|
1203
|
+
type TransactionMultiEd25519Signature = {
|
|
1174
1204
|
type: "multi_ed25519_signature";
|
|
1175
1205
|
/**
|
|
1176
1206
|
* The public keys for the Ed25519 signature
|
|
@@ -1186,7 +1216,7 @@ declare type TransactionMultiEd25519Signature = {
|
|
|
1186
1216
|
threshold: number;
|
|
1187
1217
|
bitmap: string;
|
|
1188
1218
|
};
|
|
1189
|
-
|
|
1219
|
+
type TransactionMultiAgentSignature = {
|
|
1190
1220
|
type: "multi_agent_signature";
|
|
1191
1221
|
sender: AccountSignature;
|
|
1192
1222
|
/**
|
|
@@ -1198,7 +1228,7 @@ declare type TransactionMultiAgentSignature = {
|
|
|
1198
1228
|
*/
|
|
1199
1229
|
secondary_signers: Array<AccountSignature>;
|
|
1200
1230
|
};
|
|
1201
|
-
|
|
1231
|
+
type TransactionFeePayerSignature = {
|
|
1202
1232
|
type: "fee_payer_signature";
|
|
1203
1233
|
sender: AccountSignature;
|
|
1204
1234
|
/**
|
|
@@ -1215,26 +1245,26 @@ declare type TransactionFeePayerSignature = {
|
|
|
1215
1245
|
/**
|
|
1216
1246
|
* The union of all single account signatures.
|
|
1217
1247
|
*/
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1248
|
+
type AccountSignature = AccountEd25519Signature | AccountSecp256k1Signature | AccountMultiEd25519Signature;
|
|
1249
|
+
type AccountEd25519Signature = TransactionEd25519Signature;
|
|
1250
|
+
type AccountSecp256k1Signature = TransactionSecp256k1Signature;
|
|
1251
|
+
type AccountMultiEd25519Signature = TransactionMultiEd25519Signature;
|
|
1252
|
+
type WriteSet = ScriptWriteSet | DirectWriteSet;
|
|
1253
|
+
type ScriptWriteSet = {
|
|
1224
1254
|
type: string;
|
|
1225
1255
|
execute_as: string;
|
|
1226
1256
|
script: ScriptPayloadResponse;
|
|
1227
1257
|
};
|
|
1228
|
-
|
|
1258
|
+
type DirectWriteSet = {
|
|
1229
1259
|
type: string;
|
|
1230
1260
|
changes: Array<WriteSetChange>;
|
|
1231
1261
|
events: Array<Event$1>;
|
|
1232
1262
|
};
|
|
1233
|
-
|
|
1263
|
+
type EventGuid = {
|
|
1234
1264
|
creation_number: string;
|
|
1235
1265
|
account_address: string;
|
|
1236
1266
|
};
|
|
1237
|
-
|
|
1267
|
+
type Event$1 = {
|
|
1238
1268
|
guid: EventGuid;
|
|
1239
1269
|
sequence_number: string;
|
|
1240
1270
|
type: string;
|
|
@@ -1246,20 +1276,22 @@ declare type Event$1 = {
|
|
|
1246
1276
|
/**
|
|
1247
1277
|
* Map of Move types to local TypeScript types
|
|
1248
1278
|
*/
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1279
|
+
type MoveUint8Type = number;
|
|
1280
|
+
type MoveUint16Type = number;
|
|
1281
|
+
type MoveUint32Type = number;
|
|
1282
|
+
type MoveUint64Type = string;
|
|
1283
|
+
type MoveUint128Type = string;
|
|
1284
|
+
type MoveUint256Type = string;
|
|
1285
|
+
type MoveAddressType = string;
|
|
1286
|
+
type MoveObjectType = string;
|
|
1287
|
+
type MoveOptionType = MoveType | null | undefined;
|
|
1258
1288
|
/**
|
|
1259
1289
|
* This is the format for a fully qualified struct, resource, or entry function in Move.
|
|
1260
1290
|
*/
|
|
1261
|
-
|
|
1262
|
-
|
|
1291
|
+
type MoveStructId = `${string}::${string}::${string}`;
|
|
1292
|
+
type MoveFunctionId = MoveStructId;
|
|
1293
|
+
type MoveStructType = {};
|
|
1294
|
+
type MoveType = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveAddressType | MoveObjectType | MoveStructType | Array<MoveType>;
|
|
1263
1295
|
/**
|
|
1264
1296
|
* Possible Move values acceptable by move functions (entry, view)
|
|
1265
1297
|
*
|
|
@@ -1283,12 +1315,12 @@ declare type MoveType = boolean | string | MoveUint8Type | MoveUint16Type | Move
|
|
|
1283
1315
|
*
|
|
1284
1316
|
* `Option -> MoveValue | null | undefined`
|
|
1285
1317
|
*/
|
|
1286
|
-
|
|
1318
|
+
type MoveValue = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveAddressType | MoveObjectType | MoveStructId | MoveOptionType | Array<MoveValue>;
|
|
1287
1319
|
/**
|
|
1288
1320
|
* Move module id is a string representation of Move module.
|
|
1289
1321
|
* Module name is case-sensitive.
|
|
1290
1322
|
*/
|
|
1291
|
-
|
|
1323
|
+
type MoveModuleId = `${string}::${string}`;
|
|
1292
1324
|
/**
|
|
1293
1325
|
* Move function visibility
|
|
1294
1326
|
*/
|
|
@@ -1309,20 +1341,20 @@ declare enum MoveAbility {
|
|
|
1309
1341
|
/**
|
|
1310
1342
|
* Move abilities tied to the generic type param and associated with the function that uses it
|
|
1311
1343
|
*/
|
|
1312
|
-
|
|
1344
|
+
type MoveFunctionGenericTypeParam = {
|
|
1313
1345
|
constraints: Array<MoveAbility>;
|
|
1314
1346
|
};
|
|
1315
1347
|
/**
|
|
1316
1348
|
* Move struct field
|
|
1317
1349
|
*/
|
|
1318
|
-
|
|
1350
|
+
type MoveStructField = {
|
|
1319
1351
|
name: string;
|
|
1320
1352
|
type: string;
|
|
1321
1353
|
};
|
|
1322
1354
|
/**
|
|
1323
1355
|
* A Move module
|
|
1324
1356
|
*/
|
|
1325
|
-
|
|
1357
|
+
type MoveModule = {
|
|
1326
1358
|
address: string;
|
|
1327
1359
|
name: string;
|
|
1328
1360
|
/**
|
|
@@ -1341,7 +1373,7 @@ declare type MoveModule = {
|
|
|
1341
1373
|
/**
|
|
1342
1374
|
* A move struct
|
|
1343
1375
|
*/
|
|
1344
|
-
|
|
1376
|
+
type MoveStruct = {
|
|
1345
1377
|
name: string;
|
|
1346
1378
|
/**
|
|
1347
1379
|
* Whether the struct is a native struct of Move
|
|
@@ -1363,7 +1395,7 @@ declare type MoveStruct = {
|
|
|
1363
1395
|
/**
|
|
1364
1396
|
* Move function
|
|
1365
1397
|
*/
|
|
1366
|
-
|
|
1398
|
+
type MoveFunction = {
|
|
1367
1399
|
name: string;
|
|
1368
1400
|
visibility: MoveFunctionVisibility;
|
|
1369
1401
|
/**
|
|
@@ -1391,7 +1423,7 @@ declare enum RoleType {
|
|
|
1391
1423
|
VALIDATOR = "validator",
|
|
1392
1424
|
FULL_NODE = "full_node"
|
|
1393
1425
|
}
|
|
1394
|
-
|
|
1426
|
+
type LedgerInfo = {
|
|
1395
1427
|
/**
|
|
1396
1428
|
* Chain ID of the current chain
|
|
1397
1429
|
*/
|
|
@@ -1412,7 +1444,7 @@ declare type LedgerInfo = {
|
|
|
1412
1444
|
/**
|
|
1413
1445
|
* A Block type
|
|
1414
1446
|
*/
|
|
1415
|
-
|
|
1447
|
+
type Block = {
|
|
1416
1448
|
block_height: string;
|
|
1417
1449
|
block_hash: string;
|
|
1418
1450
|
block_timestamp: string;
|
|
@@ -1426,22 +1458,22 @@ declare type Block = {
|
|
|
1426
1458
|
/**
|
|
1427
1459
|
* The data needed to generate a View Request payload
|
|
1428
1460
|
*/
|
|
1429
|
-
|
|
1430
|
-
function:
|
|
1431
|
-
typeArguments?: Array<
|
|
1461
|
+
type InputViewRequestData = {
|
|
1462
|
+
function: MoveFunctionId;
|
|
1463
|
+
typeArguments?: Array<MoveStructId>;
|
|
1432
1464
|
functionArguments?: Array<MoveValue>;
|
|
1433
1465
|
};
|
|
1434
1466
|
/**
|
|
1435
1467
|
* View request for the Move view function API
|
|
1436
1468
|
*
|
|
1437
|
-
* `type
|
|
1469
|
+
* `type MoveFunctionId = ${string}::${string}::${string}`;
|
|
1438
1470
|
*/
|
|
1439
|
-
|
|
1440
|
-
function:
|
|
1471
|
+
type ViewRequest = {
|
|
1472
|
+
function: MoveFunctionId;
|
|
1441
1473
|
/**
|
|
1442
1474
|
* Type arguments of the function
|
|
1443
1475
|
*/
|
|
1444
|
-
|
|
1476
|
+
typeArguments: Array<MoveStructId>;
|
|
1445
1477
|
/**
|
|
1446
1478
|
* Arguments of the function
|
|
1447
1479
|
*/
|
|
@@ -1450,7 +1482,7 @@ declare type ViewRequest = {
|
|
|
1450
1482
|
/**
|
|
1451
1483
|
* Table Item request for the GetTableItem API
|
|
1452
1484
|
*/
|
|
1453
|
-
|
|
1485
|
+
type TableItemRequest = {
|
|
1454
1486
|
key_type: MoveValue;
|
|
1455
1487
|
value_type: MoveValue;
|
|
1456
1488
|
/**
|
|
@@ -1463,7 +1495,7 @@ declare type TableItemRequest = {
|
|
|
1463
1495
|
*
|
|
1464
1496
|
* They are combinations of signing schemes and derive schemes.
|
|
1465
1497
|
*/
|
|
1466
|
-
|
|
1498
|
+
type AuthenticationKeyScheme = SigningScheme | DeriveScheme;
|
|
1467
1499
|
declare enum SigningScheme {
|
|
1468
1500
|
/**
|
|
1469
1501
|
* For Ed25519PublicKey
|
|
@@ -1517,7 +1549,7 @@ declare enum DeriveScheme {
|
|
|
1517
1549
|
/**
|
|
1518
1550
|
* Option properties to pass for waitForTransaction() function
|
|
1519
1551
|
*/
|
|
1520
|
-
|
|
1552
|
+
type WaitForTransactionOptions = {
|
|
1521
1553
|
timeoutSecs?: number;
|
|
1522
1554
|
checkSuccess?: boolean;
|
|
1523
1555
|
indexerVersionCheck?: boolean;
|
|
@@ -1526,7 +1558,7 @@ declare type WaitForTransactionOptions = {
|
|
|
1526
1558
|
* Input type to generate an account using Single Signer
|
|
1527
1559
|
* Ed25519 or Legacy Ed25519
|
|
1528
1560
|
*/
|
|
1529
|
-
|
|
1561
|
+
type GenerateAccountWithEd25519 = {
|
|
1530
1562
|
scheme: SigningSchemeInput.Ed25519;
|
|
1531
1563
|
legacy: boolean;
|
|
1532
1564
|
};
|
|
@@ -1534,11 +1566,11 @@ declare type GenerateAccountWithEd25519 = {
|
|
|
1534
1566
|
* Input type to generate an account using Single Signer
|
|
1535
1567
|
* Secp256k1
|
|
1536
1568
|
*/
|
|
1537
|
-
|
|
1569
|
+
type GenerateAccountWithSingleSignerSecp256k1Key = {
|
|
1538
1570
|
scheme: SigningSchemeInput.Secp256k1Ecdsa;
|
|
1539
1571
|
legacy?: false;
|
|
1540
1572
|
};
|
|
1541
|
-
|
|
1573
|
+
type GenerateAccount = GenerateAccountWithEd25519 | GenerateAccountWithSingleSignerSecp256k1Key;
|
|
1542
1574
|
|
|
1543
1575
|
/**
|
|
1544
1576
|
* Type of API endpoint for request routing
|
|
@@ -1548,6 +1580,38 @@ declare enum AptosApiType {
|
|
|
1548
1580
|
INDEXER = 1,
|
|
1549
1581
|
FAUCET = 2
|
|
1550
1582
|
}
|
|
1583
|
+
declare const DEFAULT_NETWORK = Network.DEVNET;
|
|
1584
|
+
/**
|
|
1585
|
+
* The default max gas amount when none is given.
|
|
1586
|
+
*
|
|
1587
|
+
* This is the maximum number of gas units that will be used by a transaction before being rejected.
|
|
1588
|
+
*
|
|
1589
|
+
* Note that max gas amount varies based on the transaction. A larger transaction will go over this
|
|
1590
|
+
* default gas amount, and the value will need to be changed for the specific transaction.
|
|
1591
|
+
*/
|
|
1592
|
+
declare const DEFAULT_MAX_GAS_AMOUNT = 200000;
|
|
1593
|
+
/**
|
|
1594
|
+
* The default transaction expiration seconds from now.
|
|
1595
|
+
*
|
|
1596
|
+
* This time is how long until the blockchain nodes will reject the transaction.
|
|
1597
|
+
*
|
|
1598
|
+
* Note that the transaction expiration time varies based on network connection and network load. It may need to be
|
|
1599
|
+
* increased for the transaction to be processed.
|
|
1600
|
+
*/
|
|
1601
|
+
declare const DEFAULT_TXN_EXP_SEC_FROM_NOW = 20;
|
|
1602
|
+
/**
|
|
1603
|
+
* The default number of seconds to wait for a transaction to be processed.
|
|
1604
|
+
*
|
|
1605
|
+
* This time is the amount of time that the SDK will wait for a transaction to be processed when waiting for
|
|
1606
|
+
* the results of the transaction. It may take longer based on network connection and network load.
|
|
1607
|
+
*/
|
|
1608
|
+
declare const DEFAULT_TXN_TIMEOUT_SEC = 20;
|
|
1609
|
+
/**
|
|
1610
|
+
* The default gas currency for the network.
|
|
1611
|
+
*/
|
|
1612
|
+
declare const APTOS_COIN = "0x1::aptos_coin::AptosCoin";
|
|
1613
|
+
declare const RAW_TRANSACTION_SALT = "APTOS::RawTransaction";
|
|
1614
|
+
declare const RAW_TRANSACTION_WITH_DATA_SALT = "APTOS::RawTransactionWithData";
|
|
1551
1615
|
|
|
1552
1616
|
/**
|
|
1553
1617
|
* This class holds the config information for the SDK client instance.
|
|
@@ -1608,7 +1672,7 @@ declare class ParsingError<T> extends Error {
|
|
|
1608
1672
|
* Whereas ParsingError is thrown when parsing fails, e.g. in a fromString function,
|
|
1609
1673
|
* this type is returned from "defensive" functions like isValid.
|
|
1610
1674
|
*/
|
|
1611
|
-
|
|
1675
|
+
type ParsingResult<T> = {
|
|
1612
1676
|
/**
|
|
1613
1677
|
* True if valid, false otherwise.
|
|
1614
1678
|
*/
|
|
@@ -2088,7 +2152,7 @@ declare enum AddressInvalidReason {
|
|
|
2088
2152
|
LONG_FORM_REQUIRED_UNLESS_SPECIAL = "long_form_required_unless_special",
|
|
2089
2153
|
INVALID_PADDING_ZEROES = "INVALID_PADDING_ZEROES"
|
|
2090
2154
|
}
|
|
2091
|
-
|
|
2155
|
+
type AccountAddressInput = HexInput | AccountAddress;
|
|
2092
2156
|
/**
|
|
2093
2157
|
* NOTE: Only use this class for account addresses. For other hex data, e.g. transaction
|
|
2094
2158
|
* hashes, use the Hex class.
|
|
@@ -3517,7 +3581,7 @@ declare class MultiKey extends PublicKey {
|
|
|
3517
3581
|
static deserialize(deserializer: Deserializer): MultiKey;
|
|
3518
3582
|
}
|
|
3519
3583
|
|
|
3520
|
-
|
|
3584
|
+
type DerivedKeys = {
|
|
3521
3585
|
key: Uint8Array;
|
|
3522
3586
|
chainCode: Uint8Array;
|
|
3523
3587
|
};
|
|
@@ -3696,7 +3760,7 @@ declare class Account {
|
|
|
3696
3760
|
*/
|
|
3697
3761
|
getAccountResource<T extends {} = any>(args: {
|
|
3698
3762
|
accountAddress: AccountAddressInput;
|
|
3699
|
-
resourceType:
|
|
3763
|
+
resourceType: MoveStructId;
|
|
3700
3764
|
options?: LedgerVersion;
|
|
3701
3765
|
}): Promise<T>;
|
|
3702
3766
|
/**
|
|
@@ -4478,23 +4542,23 @@ declare class SignedTransaction extends Serializable {
|
|
|
4478
4542
|
/**
|
|
4479
4543
|
* Entry function arguments to be used when building a raw transaction using remote ABI
|
|
4480
4544
|
*/
|
|
4481
|
-
|
|
4545
|
+
type SimpleEntryFunctionArgumentTypes = boolean | number | bigint | string | null | undefined | Uint8Array | Array<SimpleEntryFunctionArgumentTypes>;
|
|
4482
4546
|
/**
|
|
4483
4547
|
* Entry function arguments to be used when building a raw transaction using BCS serialized arguments
|
|
4484
4548
|
*/
|
|
4485
|
-
|
|
4549
|
+
type EntryFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | AccountAddress | MoveVector<EntryFunctionArgumentTypes> | MoveOption<EntryFunctionArgumentTypes> | MoveString | FixedBytes;
|
|
4486
4550
|
/**
|
|
4487
4551
|
* Script function arguments to be used when building a raw transaction using BCS serialized arguments
|
|
4488
4552
|
*/
|
|
4489
|
-
|
|
4553
|
+
type ScriptFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | AccountAddress | MoveVector<U8> | MoveString | FixedBytes;
|
|
4490
4554
|
/**
|
|
4491
4555
|
* Type that holds all raw transaction instances Aptos SDK supports
|
|
4492
4556
|
*/
|
|
4493
|
-
|
|
4557
|
+
type AnyRawTransactionInstance = RawTransaction | MultiAgentRawTransaction | FeePayerRawTransaction;
|
|
4494
4558
|
/**
|
|
4495
4559
|
* Optional options to set when generating a transaction
|
|
4496
4560
|
*/
|
|
4497
|
-
|
|
4561
|
+
type InputGenerateTransactionOptions = {
|
|
4498
4562
|
maxGasAmount?: AnyNumber;
|
|
4499
4563
|
gasUnitPrice?: AnyNumber;
|
|
4500
4564
|
expireTimestamp?: AnyNumber;
|
|
@@ -4503,42 +4567,40 @@ declare type InputGenerateTransactionOptions = {
|
|
|
4503
4567
|
/**
|
|
4504
4568
|
* The generated transaction payload type that was produces from `generateTransactionPayload()` function.
|
|
4505
4569
|
*/
|
|
4506
|
-
|
|
4570
|
+
type AnyTransactionPayloadInstance = TransactionPayloadEntryFunction | TransactionPayloadScript | TransactionPayloadMultisig;
|
|
4507
4571
|
/**
|
|
4508
4572
|
* Unified type for the data needed to generate a transaction payload of types:
|
|
4509
4573
|
* Entry Function | Script | Multi Sig
|
|
4510
4574
|
*/
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
aptosConfig?: undefined;
|
|
4514
|
-
}) | InputEntryFunctionDataWithRemoteABI | InputMultiSigDataWithRemoteABI;
|
|
4575
|
+
type InputGenerateTransactionPayloadData = InputEntryFunctionData | InputScriptData | InputMultiSigData;
|
|
4576
|
+
type InputGenerateTransactionPayloadDataWithRemoteABI = InputScriptData | InputEntryFunctionDataWithRemoteABI | InputMultiSigDataWithRemoteABI;
|
|
4515
4577
|
/**
|
|
4516
4578
|
* The data needed to generate an Entry Function payload
|
|
4517
4579
|
*/
|
|
4518
|
-
|
|
4519
|
-
function:
|
|
4580
|
+
type InputEntryFunctionData = {
|
|
4581
|
+
function: MoveFunctionId;
|
|
4520
4582
|
typeArguments?: Array<TypeTag | string>;
|
|
4521
4583
|
functionArguments: Array<EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes>;
|
|
4522
4584
|
};
|
|
4523
|
-
|
|
4585
|
+
type InputEntryFunctionDataWithRemoteABI = InputEntryFunctionData & {
|
|
4524
4586
|
aptosConfig: AptosConfig;
|
|
4525
4587
|
};
|
|
4526
4588
|
/**
|
|
4527
4589
|
* The data needed to generate a Multi Sig payload
|
|
4528
4590
|
*/
|
|
4529
|
-
|
|
4591
|
+
type InputMultiSigData = {
|
|
4530
4592
|
multisigAddress: AccountAddress;
|
|
4531
4593
|
} & InputEntryFunctionData;
|
|
4532
4594
|
/**
|
|
4533
4595
|
* The data needed to generate a Multi Sig payload
|
|
4534
4596
|
*/
|
|
4535
|
-
|
|
4597
|
+
type InputMultiSigDataWithRemoteABI = {
|
|
4536
4598
|
multisigAddress: AccountAddressInput;
|
|
4537
4599
|
} & InputEntryFunctionDataWithRemoteABI;
|
|
4538
4600
|
/**
|
|
4539
4601
|
* The data needed to generate a Script payload
|
|
4540
4602
|
*/
|
|
4541
|
-
|
|
4603
|
+
type InputScriptData = {
|
|
4542
4604
|
bytecode: HexInput;
|
|
4543
4605
|
typeArguments?: Array<TypeTag>;
|
|
4544
4606
|
functionArguments: Array<ScriptFunctionArgumentTypes>;
|
|
@@ -4548,7 +4610,7 @@ declare type InputScriptData = {
|
|
|
4548
4610
|
*
|
|
4549
4611
|
* This is used to provide type checking and simple input conversion on ABI based transaction submission.
|
|
4550
4612
|
*/
|
|
4551
|
-
|
|
4613
|
+
type EntryFunctionABI = {
|
|
4552
4614
|
typeParameters: Array<MoveFunctionGenericTypeParam>;
|
|
4553
4615
|
parameters: Array<TypeTag>;
|
|
4554
4616
|
};
|
|
@@ -4560,8 +4622,6 @@ interface InputGenerateSingleSignerRawTransactionArgs {
|
|
|
4560
4622
|
aptosConfig: AptosConfig;
|
|
4561
4623
|
sender: AccountAddressInput;
|
|
4562
4624
|
payload: AnyTransactionPayloadInstance;
|
|
4563
|
-
feePayerAddress?: undefined;
|
|
4564
|
-
secondarySignerAddresses?: undefined;
|
|
4565
4625
|
options?: InputGenerateTransactionOptions;
|
|
4566
4626
|
}
|
|
4567
4627
|
/**
|
|
@@ -4585,13 +4645,12 @@ interface InputGenerateMultiAgentRawTransactionArgs {
|
|
|
4585
4645
|
sender: AccountAddressInput;
|
|
4586
4646
|
payload: AnyTransactionPayloadInstance;
|
|
4587
4647
|
secondarySignerAddresses: AccountAddressInput[];
|
|
4588
|
-
feePayerAddress?: undefined;
|
|
4589
4648
|
options?: InputGenerateTransactionOptions;
|
|
4590
4649
|
}
|
|
4591
4650
|
/**
|
|
4592
4651
|
* Unified type that holds all the interfaces to generate different transaction types
|
|
4593
4652
|
*/
|
|
4594
|
-
|
|
4653
|
+
type InputGenerateRawTransactionArgs = InputGenerateSingleSignerRawTransactionArgs | InputGenerateFeePayerRawTransactionArgs | InputGenerateMultiAgentRawTransactionArgs;
|
|
4595
4654
|
/**
|
|
4596
4655
|
* Interface that holds the return data when generating a single signer transaction
|
|
4597
4656
|
*
|
|
@@ -4599,8 +4658,6 @@ declare type InputGenerateRawTransactionArgs = InputGenerateSingleSignerRawTrans
|
|
|
4599
4658
|
*/
|
|
4600
4659
|
interface InputSingleSignerTransaction {
|
|
4601
4660
|
rawTransaction: RawTransaction;
|
|
4602
|
-
feePayerAddress?: undefined;
|
|
4603
|
-
secondarySignerAddresses?: undefined;
|
|
4604
4661
|
}
|
|
4605
4662
|
/**
|
|
4606
4663
|
* Interface that holds the return data when generating a fee payer transaction
|
|
@@ -4623,13 +4680,12 @@ interface InputFeePayerTransaction {
|
|
|
4623
4680
|
interface InputMultiAgentTransaction {
|
|
4624
4681
|
rawTransaction: RawTransaction;
|
|
4625
4682
|
secondarySignerAddresses: AccountAddress[];
|
|
4626
|
-
feePayerAddress?: undefined;
|
|
4627
4683
|
}
|
|
4628
4684
|
/**
|
|
4629
4685
|
* Unified type that holds all the return interfaces when generating different transaction types
|
|
4630
4686
|
*/
|
|
4631
|
-
|
|
4632
|
-
|
|
4687
|
+
type AnyRawTransaction = InputSingleSignerTransaction | InputFeePayerTransaction | InputMultiAgentTransaction;
|
|
4688
|
+
type InputSimulateTransactionData = {
|
|
4633
4689
|
/**
|
|
4634
4690
|
* The transaction to simulate, probably generated by `generateTransaction()`
|
|
4635
4691
|
*/
|
|
@@ -4648,7 +4704,7 @@ declare type InputSimulateTransactionData = {
|
|
|
4648
4704
|
feePayerPublicKey?: PublicKey;
|
|
4649
4705
|
options?: InputSimulateTransactionOptions;
|
|
4650
4706
|
};
|
|
4651
|
-
|
|
4707
|
+
type InputSimulateTransactionOptions = {
|
|
4652
4708
|
estimateGasUnitPrice?: boolean;
|
|
4653
4709
|
estimateMaxGasAmount?: boolean;
|
|
4654
4710
|
estimatePrioritizedGasUnitPrice?: boolean;
|
|
@@ -4658,8 +4714,6 @@ declare type InputSimulateTransactionOptions = {
|
|
|
4658
4714
|
*/
|
|
4659
4715
|
interface InputGenerateSingleSignerRawTransactionData {
|
|
4660
4716
|
sender: AccountAddressInput;
|
|
4661
|
-
hasFeePayer?: undefined;
|
|
4662
|
-
secondarySignerAddresses?: undefined;
|
|
4663
4717
|
options?: InputGenerateTransactionOptions;
|
|
4664
4718
|
data: InputGenerateTransactionPayloadData;
|
|
4665
4719
|
}
|
|
@@ -4679,14 +4733,13 @@ interface InputGenerateFeePayerRawTransactionData {
|
|
|
4679
4733
|
interface InputGenerateMultiAgentRawTransactionData {
|
|
4680
4734
|
sender: AccountAddressInput;
|
|
4681
4735
|
secondarySignerAddresses: AccountAddressInput[];
|
|
4682
|
-
hasFeePayer?: undefined;
|
|
4683
4736
|
options?: InputGenerateTransactionOptions;
|
|
4684
4737
|
data: InputGenerateTransactionPayloadData;
|
|
4685
4738
|
}
|
|
4686
4739
|
/**
|
|
4687
4740
|
* Unified type that holds all the user data input interfaces when generating different transaction types
|
|
4688
4741
|
*/
|
|
4689
|
-
|
|
4742
|
+
type InputGenerateTransactionData = InputGenerateMultiAgentRawTransactionData | InputGenerateFeePayerRawTransactionData | InputGenerateSingleSignerRawTransactionData;
|
|
4690
4743
|
/**
|
|
4691
4744
|
* Interface that holds the user data input when submitting a transaction
|
|
4692
4745
|
*/
|
|
@@ -4717,7 +4770,7 @@ declare class Coin {
|
|
|
4717
4770
|
sender: Account$1;
|
|
4718
4771
|
recipient: AccountAddressInput;
|
|
4719
4772
|
amount: AnyNumber;
|
|
4720
|
-
coinType?:
|
|
4773
|
+
coinType?: MoveStructId;
|
|
4721
4774
|
options?: InputGenerateTransactionOptions;
|
|
4722
4775
|
}): Promise<InputSingleSignerTransaction>;
|
|
4723
4776
|
}
|
|
@@ -4911,7 +4964,7 @@ declare class Event {
|
|
|
4911
4964
|
*/
|
|
4912
4965
|
getAccountEventsByEventType(args: {
|
|
4913
4966
|
accountAddress: AccountAddressInput;
|
|
4914
|
-
eventType:
|
|
4967
|
+
eventType: MoveStructId;
|
|
4915
4968
|
options?: {
|
|
4916
4969
|
pagination?: PaginationArgs;
|
|
4917
4970
|
orderBy?: OrderBy<GetEventsResponse[0]>;
|
|
@@ -5124,10 +5177,10 @@ declare class General {
|
|
|
5124
5177
|
*
|
|
5125
5178
|
* @returns an array of Move values
|
|
5126
5179
|
*/
|
|
5127
|
-
view(args: {
|
|
5128
|
-
payload:
|
|
5180
|
+
view<T extends Array<MoveValue>>(args: {
|
|
5181
|
+
payload: InputViewRequestData;
|
|
5129
5182
|
options?: LedgerVersion;
|
|
5130
|
-
}): Promise<
|
|
5183
|
+
}): Promise<T>;
|
|
5131
5184
|
/**
|
|
5132
5185
|
* Queries top user transactions
|
|
5133
5186
|
*
|
|
@@ -5157,7 +5210,7 @@ declare class General {
|
|
|
5157
5210
|
*
|
|
5158
5211
|
* @return The provided T type
|
|
5159
5212
|
*/
|
|
5160
|
-
queryIndexer<T>(args: {
|
|
5213
|
+
queryIndexer<T extends {}>(args: {
|
|
5161
5214
|
query: GraphqlQuery;
|
|
5162
5215
|
}): Promise<T>;
|
|
5163
5216
|
/**
|
|
@@ -5390,7 +5443,7 @@ declare class TransactionSubmission {
|
|
|
5390
5443
|
* ```
|
|
5391
5444
|
* {
|
|
5392
5445
|
* rawTransaction: RawTransaction,
|
|
5393
|
-
* secondarySignerAddresses
|
|
5446
|
+
* secondarySignerAddresses?: Array<AccountAddress>,
|
|
5394
5447
|
* feePayerAddress?: AccountAddress
|
|
5395
5448
|
* }
|
|
5396
5449
|
* ```
|
|
@@ -5552,9 +5605,9 @@ declare function request<Req, Res>(options: ClientRequest<Req>, client: Client):
|
|
|
5552
5605
|
* @param aptosConfig The config information for the SDK client instance
|
|
5553
5606
|
* @returns the response or AptosApiError
|
|
5554
5607
|
*/
|
|
5555
|
-
declare function aptosRequest<Req, Res>(options: AptosRequest, aptosConfig: AptosConfig): Promise<AptosResponse<Req, Res>>;
|
|
5608
|
+
declare function aptosRequest<Req extends {}, Res extends {}>(options: AptosRequest, aptosConfig: AptosConfig): Promise<AptosResponse<Req, Res>>;
|
|
5556
5609
|
|
|
5557
|
-
|
|
5610
|
+
type GetRequestOptions = {
|
|
5558
5611
|
/**
|
|
5559
5612
|
* The config for the API client
|
|
5560
5613
|
*/
|
|
@@ -5588,18 +5641,18 @@ declare type GetRequestOptions = {
|
|
|
5588
5641
|
*/
|
|
5589
5642
|
overrides?: ClientConfig;
|
|
5590
5643
|
};
|
|
5591
|
-
|
|
5644
|
+
type GetAptosRequestOptions = Omit<GetRequestOptions, "type">;
|
|
5592
5645
|
/**
|
|
5593
5646
|
* Main function to do a Get request
|
|
5594
5647
|
*
|
|
5595
5648
|
* @param options GetRequestOptions
|
|
5596
5649
|
* @returns
|
|
5597
5650
|
*/
|
|
5598
|
-
declare function get<Req, Res>(options: GetRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
5599
|
-
declare function getAptosFullNode<Req, Res>(options: GetAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
5651
|
+
declare function get<Req extends {}, Res extends {}>(options: GetRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
5652
|
+
declare function getAptosFullNode<Req extends {}, Res extends {}>(options: GetAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
5600
5653
|
declare function paginateWithCursor<Req extends Record<string, any>, Res extends any[]>(options: GetAptosRequestOptions): Promise<Res>;
|
|
5601
5654
|
|
|
5602
|
-
|
|
5655
|
+
type PostRequestOptions = {
|
|
5603
5656
|
/**
|
|
5604
5657
|
* The config for the API client
|
|
5605
5658
|
*/
|
|
@@ -5637,17 +5690,17 @@ declare type PostRequestOptions = {
|
|
|
5637
5690
|
*/
|
|
5638
5691
|
overrides?: ClientConfig;
|
|
5639
5692
|
};
|
|
5640
|
-
|
|
5693
|
+
type PostAptosRequestOptions = Omit<PostRequestOptions, "type">;
|
|
5641
5694
|
/**
|
|
5642
5695
|
* Main function to do a Post request
|
|
5643
5696
|
*
|
|
5644
5697
|
* @param options PostRequestOptions
|
|
5645
5698
|
* @returns
|
|
5646
5699
|
*/
|
|
5647
|
-
declare function post<Req, Res>(options: PostRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
5648
|
-
declare function postAptosFullNode<Req, Res>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
5649
|
-
declare function postAptosIndexer<Req, Res>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
5650
|
-
declare function postAptosFaucet<Req, Res>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
5700
|
+
declare function post<Req extends {}, Res extends {}>(options: PostRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
5701
|
+
declare function postAptosFullNode<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
5702
|
+
declare function postAptosIndexer<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
5703
|
+
declare function postAptosFaucet<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
5651
5704
|
|
|
5652
5705
|
declare function isBool(arg: SimpleEntryFunctionArgumentTypes): arg is boolean;
|
|
5653
5706
|
declare function isString(arg: any): arg is string;
|
|
@@ -5674,7 +5727,7 @@ declare function throwTypeMismatch(expectedType: string, position: number): void
|
|
|
5674
5727
|
* @param functionAbi
|
|
5675
5728
|
*/
|
|
5676
5729
|
declare function findFirstNonSignerArg(functionAbi: MoveFunction): number;
|
|
5677
|
-
declare function getFunctionParts(functionArg:
|
|
5730
|
+
declare function getFunctionParts(functionArg: MoveFunctionId): {
|
|
5678
5731
|
moduleAddress: string;
|
|
5679
5732
|
moduleName: string;
|
|
5680
5733
|
functionName: string;
|
|
@@ -5686,9 +5739,7 @@ declare function getFunctionParts(functionArg: MoveStructType): {
|
|
|
5686
5739
|
* When we call our `generateTransactionPayload` function with the relevant type properties,
|
|
5687
5740
|
* Typescript can infer the return type based on the appropriate function overload.
|
|
5688
5741
|
*/
|
|
5689
|
-
declare function generateTransactionPayload(args: InputScriptData
|
|
5690
|
-
aptosConfig?: undefined;
|
|
5691
|
-
}): Promise<TransactionPayloadScript>;
|
|
5742
|
+
declare function generateTransactionPayload(args: InputScriptData): Promise<TransactionPayloadScript>;
|
|
5692
5743
|
declare function generateTransactionPayload(args: InputEntryFunctionDataWithRemoteABI): Promise<TransactionPayloadEntryFunction>;
|
|
5693
5744
|
declare function generateTransactionPayload(args: InputMultiSigDataWithRemoteABI): Promise<TransactionPayloadMultisig>;
|
|
5694
5745
|
declare function generateTransactionPayload(args: InputGenerateTransactionPayloadDataWithRemoteABI): Promise<AnyTransactionPayloadInstance>;
|
|
@@ -5798,6 +5849,7 @@ declare function convertArgument(functionName: string, functionAbi: EntryFunctio
|
|
|
5798
5849
|
|
|
5799
5850
|
declare enum TypeTagParserErrorType {
|
|
5800
5851
|
InvalidTypeTag = "unknown type",
|
|
5852
|
+
UnexpectedGenericType = "unexpected generic type",
|
|
5801
5853
|
UnexpectedTypeArgumentClose = "unexpected '>'",
|
|
5802
5854
|
UnexpectedWhitespaceCharacter = "unexpected whitespace character",
|
|
5803
5855
|
UnexpectedComma = "unexpected ','",
|
|
@@ -5828,4 +5880,4 @@ declare function parseTypeTag(typeStr: string, options?: {
|
|
|
5828
5880
|
allowGenerics?: boolean;
|
|
5829
5881
|
}): TypeTag;
|
|
5830
5882
|
|
|
5831
|
-
export { APTOS_BIP44_REGEX, APTOS_HARDENED_REGEX, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey, AccountAuthenticatorVariant, AccountData, AccountEd25519Signature, AccountMultiEd25519Signature, AccountSecp256k1Signature, AccountSignature, AddressInvalidReason, AnyNumber, AnyPublicKeyVariant, AnyRawTransaction, AnyRawTransactionInstance, AnySignatureVariant, AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosConfig, AptosRequest, AptosResponse, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, BlockMetadataTransactionResponse, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, DecodedTableData, DeletedTableData, DeriveScheme, DerivedKeys, Deserializable, Deserializer, DirectWriteSet, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, EntryFunction, EntryFunctionABI, EntryFunctionArgument, EntryFunctionArgumentTypes, EntryFunctionBytes, EntryFunctionPayloadResponse, Event$1 as Event, EventGuid, FeePayerRawTransaction, FixedBytes, GasEstimation, GenerateAccount, GenerateAccountWithEd25519, GenerateAccountWithSingleSignerSecp256k1Key, GenesisPayload, GenesisTransactionResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, GetRequestOptions, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, HARDENED_OFFSET, Hex, HexInput, HexInvalidReason, Identifier, InputEntryFunctionData, InputEntryFunctionDataWithRemoteABI, InputFeePayerTransaction, InputGenerateFeePayerRawTransactionArgs, InputGenerateFeePayerRawTransactionData, InputGenerateMultiAgentRawTransactionArgs, InputGenerateMultiAgentRawTransactionData, InputGenerateRawTransactionArgs, InputGenerateSingleSignerRawTransactionArgs, InputGenerateSingleSignerRawTransactionData, InputGenerateTransactionData, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData, InputGenerateTransactionPayloadDataWithRemoteABI, InputMultiAgentTransaction, InputMultiSigData, InputMultiSigDataWithRemoteABI, InputScriptData, InputSimulateTransactionData, InputSimulateTransactionOptions, InputSingleSignerTransaction, InputSubmitTransactionData, KeyType, LedgerInfo, LedgerVersion, MimeType, ModuleId, MoveAbility, MoveAddressType, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionVisibility, MoveModule, MoveModuleBytecode, MoveModuleId, MoveObjectType, MoveOption, MoveOptionType, MoveResource, MoveScriptBytecode, MoveString, MoveStruct, MoveStructField, MoveStructType, MoveType, MoveUint128Type, MoveUint16Type, MoveUint256Type, MoveUint32Type, MoveUint64Type, MoveUint8Type, MoveValue, MoveVector, MultiAgentRawTransaction, MultiEd25519PublicKey, MultiEd25519Signature, MultiKey, MultiSig, MultisigPayloadResponse, MultisigTransactionPayload, Network, NetworkToChainId, NetworkToFaucetAPI, NetworkToIndexerAPI, NetworkToNetworkName, NetworkToNodeAPI, OrderBy, OrderByValue, PaginationArgs, ParsingError, ParsingResult, PendingTransactionResponse, PostAptosRequestOptions, PostRequestOptions, PrivateKey, PublicKey, RawTransaction, RawTransactionWithData, RoleType, RotationProofChallenge, Script, ScriptFunctionArgument, ScriptFunctionArgumentTypes, ScriptPayloadResponse, ScriptTransactionArgumentVariants, ScriptWriteSet, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, SimpleEntryFunctionArgumentTypes, StateCheckpointTransactionResponse, StructTag, TableItemRequest, TokenStandard, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionAuthenticatorVariant, TransactionEd25519Signature, TransactionFeePayerSignature, TransactionMultiAgentSignature, TransactionMultiEd25519Signature, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultisig, TransactionPayloadResponse, TransactionPayloadScript, TransactionPayloadVariants, TransactionResponse, TransactionResponseType, TransactionSecp256k1Signature, TransactionSignature, TransactionVariants, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVariants, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint128, Uint16, Uint256, Uint32, Uint64, Uint8, UserTransactionResponse, ViewRequest,
|
|
5883
|
+
export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_HARDENED_REGEX, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey, AccountAuthenticatorVariant, AccountData, AccountEd25519Signature, AccountMultiEd25519Signature, AccountSecp256k1Signature, AccountSignature, AddressInvalidReason, AnyNumber, AnyPublicKeyVariant, AnyRawTransaction, AnyRawTransactionInstance, AnySignatureVariant, AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, AptosResponse, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, BlockMetadataTransactionResponse, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_NETWORK, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, DecodedTableData, DeletedTableData, DeriveScheme, DerivedKeys, Deserializable, Deserializer, DirectWriteSet, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, EntryFunction, EntryFunctionABI, EntryFunctionArgument, EntryFunctionArgumentTypes, EntryFunctionBytes, EntryFunctionPayloadResponse, Event$1 as Event, EventGuid, FeePayerRawTransaction, FixedBytes, GasEstimation, GenerateAccount, GenerateAccountWithEd25519, GenerateAccountWithSingleSignerSecp256k1Key, GenesisPayload, GenesisTransactionResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, GetRequestOptions, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, HARDENED_OFFSET, Hex, HexInput, HexInvalidReason, Identifier, InputEntryFunctionData, InputEntryFunctionDataWithRemoteABI, InputFeePayerTransaction, InputGenerateFeePayerRawTransactionArgs, InputGenerateFeePayerRawTransactionData, InputGenerateMultiAgentRawTransactionArgs, InputGenerateMultiAgentRawTransactionData, InputGenerateRawTransactionArgs, InputGenerateSingleSignerRawTransactionArgs, InputGenerateSingleSignerRawTransactionData, InputGenerateTransactionData, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData, InputGenerateTransactionPayloadDataWithRemoteABI, InputMultiAgentTransaction, InputMultiSigData, InputMultiSigDataWithRemoteABI, InputScriptData, InputSimulateTransactionData, InputSimulateTransactionOptions, InputSingleSignerTransaction, InputSubmitTransactionData, InputViewRequestData, KeyType, LedgerInfo, LedgerVersion, MimeType, ModuleId, MoveAbility, MoveAddressType, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveFunctionVisibility, MoveModule, MoveModuleBytecode, MoveModuleId, MoveObjectType, MoveOption, MoveOptionType, MoveResource, MoveScriptBytecode, MoveString, MoveStruct, MoveStructField, MoveStructId, MoveStructType, MoveType, MoveUint128Type, MoveUint16Type, MoveUint256Type, MoveUint32Type, MoveUint64Type, MoveUint8Type, MoveValue, MoveVector, MultiAgentRawTransaction, MultiEd25519PublicKey, MultiEd25519Signature, MultiKey, MultiSig, MultisigPayloadResponse, MultisigTransactionPayload, Network, NetworkToChainId, NetworkToFaucetAPI, NetworkToIndexerAPI, NetworkToNetworkName, NetworkToNodeAPI, OrderBy, OrderByValue, PaginationArgs, ParsingError, ParsingResult, PendingTransactionResponse, PostAptosRequestOptions, PostRequestOptions, PrivateKey, PublicKey, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT, RawTransaction, RawTransactionWithData, RoleType, RotationProofChallenge, Script, ScriptFunctionArgument, ScriptFunctionArgumentTypes, ScriptPayloadResponse, ScriptTransactionArgumentVariants, ScriptWriteSet, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, SimpleEntryFunctionArgumentTypes, StateCheckpointTransactionResponse, StructTag, TableItemRequest, TokenStandard, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionAuthenticatorVariant, TransactionEd25519Signature, TransactionFeePayerSignature, TransactionMultiAgentSignature, TransactionMultiEd25519Signature, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultisig, TransactionPayloadResponse, TransactionPayloadScript, TransactionPayloadVariants, TransactionResponse, TransactionResponseType, TransactionSecp256k1Signature, TransactionSignature, TransactionVariants, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVariants, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint128, Uint16, Uint256, Uint32, Uint64, Uint8, UserTransactionResponse, ViewRequest, WaitForTransactionOptions, WriteSet, WriteSetChange, WriteSetChangeDeleteModule, WriteSetChangeDeleteResource, WriteSetChangeDeleteTableItem, WriteSetChangeWriteModule, WriteSetChangeWriteResource, WriteSetChangeWriteTableItem, aptosCoinStructTag, aptosRequest, buildTransaction, convertArgument, deriveKey, deriveTransactionType, deserializeFromScriptArgument, ensureBoolean, fetchEntryFunctionAbi, findFirstNonSignerArg, generateMultiSignersSignedTransaction, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateTransactionPayload, generateTransactionPayloadWithABI, get, getAptosFullNode, getAuthenticatorForSimulation, getFunctionParts, getSigningMessage, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isLargeNumber, isNull, isNumber, isScriptDataInput, isString, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, objectStructTag, optionStructTag, outOfRangeErrorMessage, paginateWithCursor, parseTypeTag, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, request, sign, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch, validateNumberInRange };
|