@aptos-labs/ts-sdk 1.34.0 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -9
- package/dist/common/{accountAddress-CDtCLtJA.d.ts → accountAddress-CuHovHdK.d.ts} +19 -0
- package/dist/common/chunk-RX5UBAME.js +4 -0
- package/dist/common/chunk-RX5UBAME.js.map +1 -0
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +489 -241
- package/dist/common/index.js +32 -32
- package/dist/common/index.js.map +1 -1
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/AbstractedAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +1 -1
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/AccountUtils.mjs +1 -1
- package/dist/esm/account/Ed25519Account.d.mts +2 -2
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiEd25519Account.d.mts +108 -0
- package/dist/esm/account/MultiEd25519Account.mjs +2 -0
- package/dist/esm/account/MultiKeyAccount.d.mts +1 -2
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +1 -0
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/account/utils.mjs +1 -1
- package/dist/esm/api/account/abstraction.mjs +1 -1
- package/dist/esm/api/account.d.mts +1 -1
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +3 -1
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.mjs +1 -1
- package/dist/esm/api/coin.d.mts +2 -2
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/experimental.d.mts +83 -0
- package/dist/esm/api/experimental.mjs +2 -0
- package/dist/esm/api/experimental.mjs.map +1 -0
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +1 -0
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-P7SE5LQE.mjs → chunk-27ESCVVC.mjs} +2 -2
- package/dist/esm/chunk-2SAYQUUX.mjs +2 -0
- package/dist/esm/chunk-2SAYQUUX.mjs.map +1 -0
- package/dist/esm/{chunk-UTXEW2FT.mjs → chunk-2TRQERBL.mjs} +2 -2
- package/dist/esm/chunk-2V636AYW.mjs +2 -0
- package/dist/esm/{chunk-L6FONDPA.mjs → chunk-2YKERRHD.mjs} +2 -2
- package/dist/esm/chunk-2ZLFQBT2.mjs +2 -0
- package/dist/esm/chunk-2ZLFQBT2.mjs.map +1 -0
- package/dist/esm/{chunk-XDIX7NIP.mjs → chunk-3LDVJ2YK.mjs} +2 -2
- package/dist/esm/{chunk-J7HRQ2IH.mjs → chunk-44EHAKKW.mjs} +2 -2
- package/dist/esm/{chunk-2FNFUTFJ.mjs → chunk-53IBOHXB.mjs} +2 -2
- package/dist/esm/{chunk-X6IHNXWY.mjs → chunk-5H5D6QVX.mjs} +2 -2
- package/dist/esm/{chunk-G4O6FXCF.mjs → chunk-5W2ERBGY.mjs} +2 -2
- package/dist/esm/{chunk-VOCI2675.mjs → chunk-67A5U2X6.mjs} +2 -2
- package/dist/esm/{chunk-XXHZQFYW.mjs → chunk-6IJZRG3U.mjs} +2 -2
- package/dist/esm/{chunk-N4DM5FYH.mjs → chunk-6KZT3KFZ.mjs} +2 -2
- package/dist/esm/chunk-752TOOCA.mjs +2 -0
- package/dist/esm/chunk-752TOOCA.mjs.map +1 -0
- package/dist/esm/{chunk-ZP5EBIBE.mjs → chunk-7A2KHJ3D.mjs} +2 -2
- package/dist/esm/{chunk-ROT6S6BM.mjs → chunk-7CRQNXR5.mjs} +2 -2
- package/dist/esm/{chunk-TM6IKHMX.mjs → chunk-7OUPEQRN.mjs} +2 -2
- package/dist/esm/chunk-A3VO773Q.mjs +2 -0
- package/dist/esm/{chunk-DWJ3PGWE.mjs → chunk-AEGA5N2W.mjs} +2 -2
- package/dist/esm/{chunk-BI3BTSUB.mjs → chunk-AIPHJFJL.mjs} +2 -2
- package/dist/esm/{chunk-HLJE5XGE.mjs → chunk-AQWKKSRN.mjs} +2 -2
- package/dist/esm/{chunk-D6T3NYOA.mjs → chunk-B23VO5TB.mjs} +2 -2
- package/dist/esm/{chunk-42T3UGSW.mjs → chunk-BHVSIRNF.mjs} +2 -2
- package/dist/esm/chunk-BMPHQ3E7.mjs +2 -0
- package/dist/esm/{chunk-EGZI6EJ2.mjs → chunk-BPHCRTHD.mjs} +2 -2
- package/dist/esm/{chunk-XH3BEKII.mjs → chunk-BQYKFATL.mjs} +2 -2
- package/dist/esm/chunk-BY3XFRUM.mjs +2 -0
- package/dist/esm/{chunk-EY2JUXEC.mjs.map → chunk-BY3XFRUM.mjs.map} +1 -1
- package/dist/esm/{chunk-DBIZE7G6.mjs → chunk-CGTMSLVZ.mjs} +2 -2
- package/dist/esm/{chunk-4T75XRI2.mjs → chunk-CPAAEEF4.mjs} +2 -2
- package/dist/esm/{chunk-DMS7K76O.mjs → chunk-CPFQUFVD.mjs} +2 -2
- package/dist/esm/chunk-CXLNTATW.mjs +2 -0
- package/dist/esm/chunk-CXLNTATW.mjs.map +1 -0
- package/dist/esm/{chunk-Q7RG7KQS.mjs → chunk-DAJFOJ3L.mjs} +2 -2
- package/dist/esm/chunk-DOVH6HPL.mjs +2 -0
- package/dist/esm/{chunk-U2SJIG2T.mjs → chunk-E5PAUR4N.mjs} +2 -2
- package/dist/esm/{chunk-6LGXFXXR.mjs → chunk-EGCL6KA6.mjs} +2 -2
- package/dist/esm/{chunk-TOBQ5UE6.mjs → chunk-ERLDXTIY.mjs} +2 -2
- package/dist/esm/{chunk-CSG67JHZ.mjs → chunk-FJ5J7CVW.mjs} +2 -2
- package/dist/esm/{chunk-DLLDRANJ.mjs → chunk-FOEPRHAC.mjs} +2 -2
- package/dist/esm/{chunk-6JTNS5O6.mjs → chunk-G5F5ZOH5.mjs} +2 -2
- package/dist/esm/chunk-GFPEB22G.mjs +1 -0
- package/dist/esm/chunk-GFPEB22G.mjs.map +1 -0
- package/dist/esm/{chunk-AZWVCBK2.mjs → chunk-GI4AR6DQ.mjs} +2 -2
- package/dist/esm/{chunk-Y3Y4DVCK.mjs → chunk-GRRBXHVG.mjs} +2 -2
- package/dist/esm/{chunk-HT2WC3QV.mjs → chunk-GTVMJJQQ.mjs} +2 -2
- package/dist/esm/{chunk-HL2O3T57.mjs → chunk-GU4MD5ST.mjs} +2 -2
- package/dist/esm/chunk-H4YAL2IL.mjs +2 -0
- package/dist/esm/{chunk-X24PSWCX.mjs → chunk-HBTJN4RJ.mjs} +2 -2
- package/dist/esm/{chunk-IDTLNF4M.mjs → chunk-HHWJHOFZ.mjs} +2 -2
- package/dist/esm/{chunk-OURSLL3I.mjs → chunk-HKL4MFNL.mjs} +2 -2
- package/dist/esm/{chunk-G6RLN6ET.mjs → chunk-HVIF6DW6.mjs} +2 -2
- package/dist/esm/{chunk-VKDTI6NX.mjs → chunk-HYJQHVDZ.mjs} +2 -2
- package/dist/esm/chunk-HYJQHVDZ.mjs.map +1 -0
- package/dist/esm/{chunk-XAPQNCTN.mjs → chunk-ILUFGYLO.mjs} +2 -2
- package/dist/esm/{chunk-ABXES4FS.mjs → chunk-IMYNN4TW.mjs} +2 -2
- package/dist/esm/{chunk-2GIPNLDO.mjs → chunk-IOHESHLR.mjs} +2 -2
- package/dist/esm/{chunk-GQX5KMF7.mjs → chunk-JNNFNYDO.mjs} +2 -2
- package/dist/esm/{chunk-3HFZN7L5.mjs → chunk-K233I26C.mjs} +2 -2
- package/dist/esm/{chunk-AC3BISWL.mjs → chunk-KK5HUWF6.mjs} +2 -2
- package/dist/esm/chunk-KSLLV3ZC.mjs +2 -0
- package/dist/esm/chunk-KSLLV3ZC.mjs.map +1 -0
- package/dist/esm/{chunk-N7C6LQPZ.mjs → chunk-L6KVC7CJ.mjs} +2 -2
- package/dist/esm/{chunk-Q4C4U6I4.mjs → chunk-LQOSHBB7.mjs} +2 -2
- package/dist/esm/{chunk-XKUIMGKU.mjs → chunk-LS3IDL2N.mjs} +2 -2
- package/dist/esm/{chunk-HFCWJ6QL.mjs → chunk-MAWGZICD.mjs} +2 -2
- package/dist/esm/{chunk-JF66JS2R.mjs → chunk-MFLHAVIW.mjs} +2 -2
- package/dist/esm/chunk-OLGEN23M.mjs +2 -0
- package/dist/esm/{chunk-4UK4MUSD.mjs → chunk-ONGH5DXZ.mjs} +2 -2
- package/dist/esm/{chunk-4776UXL6.mjs → chunk-OPD5EKOA.mjs} +2 -2
- package/dist/esm/{chunk-V2EXS6TM.mjs → chunk-P5CM4C2G.mjs} +2 -2
- package/dist/esm/{chunk-BBUN4IO4.mjs → chunk-PC25RPDV.mjs} +2 -2
- package/dist/esm/{chunk-N6YTF76Q.mjs → chunk-PDAWVDI7.mjs} +2 -2
- package/dist/esm/chunk-PIPDQFL2.mjs +2 -0
- package/dist/esm/chunk-PIPDQFL2.mjs.map +1 -0
- package/dist/esm/{chunk-6PBMD2BQ.mjs → chunk-PWGTRRSJ.mjs} +2 -2
- package/dist/esm/{chunk-PWYJWTEM.mjs → chunk-PYY2RXFP.mjs} +2 -2
- package/dist/esm/chunk-PYY2RXFP.mjs.map +1 -0
- package/dist/esm/chunk-QUJM5W4L.mjs +2 -0
- package/dist/esm/chunk-QUJM5W4L.mjs.map +1 -0
- package/dist/esm/{chunk-H4GZWYIG.mjs → chunk-QYJKCRVA.mjs} +2 -2
- package/dist/esm/{chunk-X2CPDUOS.mjs → chunk-R6QCPXQG.mjs} +2 -2
- package/dist/esm/chunk-R6QCPXQG.mjs.map +1 -0
- package/dist/esm/{chunk-33CBJFX2.mjs → chunk-RDPWCN4B.mjs} +2 -2
- package/dist/esm/{chunk-MT2RJ7H3.mjs → chunk-RIINVEZA.mjs} +2 -2
- package/dist/esm/{chunk-EBMEXURY.mjs → chunk-RXHER6EA.mjs} +2 -2
- package/dist/esm/chunk-SJDHW55X.mjs +2 -0
- package/dist/esm/chunk-SJDHW55X.mjs.map +1 -0
- package/dist/esm/{chunk-KEJAUCQF.mjs → chunk-T7X4GZDU.mjs} +2 -2
- package/dist/esm/{chunk-BUTMGMSD.mjs → chunk-TH5JCPN2.mjs} +2 -2
- package/dist/esm/{chunk-ORMOQWWH.mjs → chunk-TKXEVD7A.mjs} +2 -2
- package/dist/esm/{chunk-FN4C3CKC.mjs → chunk-TTY5GFMN.mjs} +2 -2
- package/dist/esm/chunk-TWETGZ3W.mjs +2 -0
- package/dist/esm/chunk-TWETGZ3W.mjs.map +1 -0
- package/dist/esm/{chunk-PR3W2QEH.mjs → chunk-U4DEYWFT.mjs} +2 -2
- package/dist/esm/{chunk-7CYCKCVU.mjs → chunk-UJJGIPOA.mjs} +2 -2
- package/dist/esm/{chunk-ZCEBDPBJ.mjs → chunk-US2HZFOM.mjs} +2 -2
- package/dist/esm/{chunk-S47HA7O7.mjs → chunk-VDYUMBOT.mjs} +2 -2
- package/dist/esm/chunk-VHY6ZATX.mjs +2 -0
- package/dist/esm/chunk-VHY6ZATX.mjs.map +1 -0
- package/dist/esm/{chunk-TDGUMBON.mjs → chunk-VWZEJTGP.mjs} +2 -2
- package/dist/esm/{chunk-TDGUMBON.mjs.map → chunk-VWZEJTGP.mjs.map} +1 -1
- package/dist/esm/{chunk-3EY7MT2M.mjs → chunk-W2C5KRUQ.mjs} +2 -2
- package/dist/esm/{chunk-O37BZP2G.mjs → chunk-W4SMZ6IW.mjs} +2 -2
- package/dist/esm/chunk-WFKPVKU3.mjs +2 -0
- package/dist/esm/chunk-WFKPVKU3.mjs.map +1 -0
- package/dist/esm/{chunk-CXNF73OX.mjs → chunk-WHVCUVZP.mjs} +2 -2
- package/dist/esm/{chunk-QBFGY74I.mjs → chunk-WLDYBSOG.mjs} +2 -2
- package/dist/esm/{chunk-HEAWDTLG.mjs → chunk-XRVZAEQO.mjs} +2 -2
- package/dist/esm/chunk-XSBUL2WP.mjs +2 -0
- package/dist/esm/chunk-XSBUL2WP.mjs.map +1 -0
- package/dist/esm/{chunk-DNWFDS7F.mjs → chunk-XW3BXTCZ.mjs} +2 -2
- package/dist/esm/{chunk-L2AQG3G3.mjs → chunk-Y65PKZLK.mjs} +2 -2
- package/dist/esm/{chunk-WXDA4CCR.mjs → chunk-YAGIE4GN.mjs} +2 -2
- package/dist/esm/{chunk-CRFLR3ZY.mjs → chunk-YLUULY6G.mjs} +2 -2
- package/dist/esm/{chunk-SCBYJU6K.mjs → chunk-YWSDONJJ.mjs} +2 -2
- package/dist/esm/{chunk-BYHCW7MI.mjs → chunk-YXYYII5S.mjs} +2 -2
- package/dist/esm/{chunk-XTOIL6MB.mjs → chunk-ZD2TY5N3.mjs} +2 -2
- package/dist/esm/{chunk-5BSMF22B.mjs → chunk-ZS2IVRHT.mjs} +2 -2
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/client/core.d.mts +36 -1
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +35 -1
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +3 -3
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.d.mts +34 -1
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/crypto/abstraction.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +1 -1
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +17 -2
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +33 -15
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/hex.mjs +1 -1
- package/dist/esm/core/index.d.mts +1 -1
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/errors/index.mjs +1 -1
- package/dist/esm/index.d.mts +6 -4
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/abstraction.mjs +1 -1
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/experimental.d.mts +52 -0
- package/dist/esm/internal/experimental.mjs +2 -0
- package/dist/esm/internal/experimental.mjs.map +1 -0
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/scriptComposer/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +2 -2
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/types.d.mts +19 -0
- package/dist/esm/types/types.mjs +1 -1
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -7
- package/src/account/MultiEd25519Account.ts +154 -0
- package/src/account/MultiKeyAccount.ts +1 -2
- package/src/account/index.ts +1 -0
- package/src/api/account.ts +1 -1
- package/src/api/aptos.ts +6 -0
- package/src/api/aptosConfig.ts +2 -2
- package/src/api/experimental.ts +64 -0
- package/src/client/core.ts +120 -0
- package/src/client/get.ts +73 -1
- package/src/client/post.ts +70 -1
- package/src/core/crypto/multiEd25519.ts +19 -3
- package/src/core/crypto/multiKey.ts +76 -52
- package/src/core/hex.ts +3 -1
- package/src/internal/experimental.ts +55 -0
- package/src/internal/view.ts +4 -4
- package/src/transactions/transactionBuilder/transactionBuilder.ts +7 -0
- package/src/types/types.ts +20 -0
- package/src/version.ts +1 -1
- package/dist/common/chunk-ZYPBABLQ.js +0 -4
- package/dist/common/chunk-ZYPBABLQ.js.map +0 -1
- package/dist/esm/chunk-4YLUM62M.mjs +0 -2
- package/dist/esm/chunk-66HHRRIX.mjs +0 -2
- package/dist/esm/chunk-66HHRRIX.mjs.map +0 -1
- package/dist/esm/chunk-7C2RDOWS.mjs +0 -1
- package/dist/esm/chunk-7DPHPPMG.mjs +0 -2
- package/dist/esm/chunk-7DPHPPMG.mjs.map +0 -1
- package/dist/esm/chunk-DNJQWGB7.mjs +0 -2
- package/dist/esm/chunk-DPW6ELCQ.mjs +0 -2
- package/dist/esm/chunk-EMURYYVO.mjs +0 -2
- package/dist/esm/chunk-EY2JUXEC.mjs +0 -2
- package/dist/esm/chunk-F2ZTBAJJ.mjs +0 -2
- package/dist/esm/chunk-F2ZTBAJJ.mjs.map +0 -1
- package/dist/esm/chunk-I7YHK6ZF.mjs +0 -2
- package/dist/esm/chunk-I7YHK6ZF.mjs.map +0 -1
- package/dist/esm/chunk-PNSF3E67.mjs +0 -2
- package/dist/esm/chunk-PNSF3E67.mjs.map +0 -1
- package/dist/esm/chunk-PWYJWTEM.mjs.map +0 -1
- package/dist/esm/chunk-STY74NUA.mjs +0 -2
- package/dist/esm/chunk-STY74NUA.mjs.map +0 -1
- package/dist/esm/chunk-ULHOJ2BE.mjs +0 -2
- package/dist/esm/chunk-ULHOJ2BE.mjs.map +0 -1
- package/dist/esm/chunk-V7G2EDNR.mjs +0 -2
- package/dist/esm/chunk-V7G2EDNR.mjs.map +0 -1
- package/dist/esm/chunk-VKDTI6NX.mjs.map +0 -1
- package/dist/esm/chunk-WCMW2L3P.mjs +0 -2
- package/dist/esm/chunk-X2CPDUOS.mjs.map +0 -1
- package/dist/esm/chunk-XJJVJOX5.mjs +0 -2
- package/dist/esm/chunk-YIF242TF.mjs +0 -2
- package/dist/esm/chunk-YIF242TF.mjs.map +0 -1
- /package/dist/esm/{chunk-7C2RDOWS.mjs.map → account/MultiEd25519Account.mjs.map} +0 -0
- /package/dist/esm/{chunk-P7SE5LQE.mjs.map → chunk-27ESCVVC.mjs.map} +0 -0
- /package/dist/esm/{chunk-UTXEW2FT.mjs.map → chunk-2TRQERBL.mjs.map} +0 -0
- /package/dist/esm/{chunk-XJJVJOX5.mjs.map → chunk-2V636AYW.mjs.map} +0 -0
- /package/dist/esm/{chunk-L6FONDPA.mjs.map → chunk-2YKERRHD.mjs.map} +0 -0
- /package/dist/esm/{chunk-XDIX7NIP.mjs.map → chunk-3LDVJ2YK.mjs.map} +0 -0
- /package/dist/esm/{chunk-J7HRQ2IH.mjs.map → chunk-44EHAKKW.mjs.map} +0 -0
- /package/dist/esm/{chunk-2FNFUTFJ.mjs.map → chunk-53IBOHXB.mjs.map} +0 -0
- /package/dist/esm/{chunk-X6IHNXWY.mjs.map → chunk-5H5D6QVX.mjs.map} +0 -0
- /package/dist/esm/{chunk-G4O6FXCF.mjs.map → chunk-5W2ERBGY.mjs.map} +0 -0
- /package/dist/esm/{chunk-VOCI2675.mjs.map → chunk-67A5U2X6.mjs.map} +0 -0
- /package/dist/esm/{chunk-XXHZQFYW.mjs.map → chunk-6IJZRG3U.mjs.map} +0 -0
- /package/dist/esm/{chunk-N4DM5FYH.mjs.map → chunk-6KZT3KFZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZP5EBIBE.mjs.map → chunk-7A2KHJ3D.mjs.map} +0 -0
- /package/dist/esm/{chunk-ROT6S6BM.mjs.map → chunk-7CRQNXR5.mjs.map} +0 -0
- /package/dist/esm/{chunk-TM6IKHMX.mjs.map → chunk-7OUPEQRN.mjs.map} +0 -0
- /package/dist/esm/{chunk-WCMW2L3P.mjs.map → chunk-A3VO773Q.mjs.map} +0 -0
- /package/dist/esm/{chunk-DWJ3PGWE.mjs.map → chunk-AEGA5N2W.mjs.map} +0 -0
- /package/dist/esm/{chunk-BI3BTSUB.mjs.map → chunk-AIPHJFJL.mjs.map} +0 -0
- /package/dist/esm/{chunk-HLJE5XGE.mjs.map → chunk-AQWKKSRN.mjs.map} +0 -0
- /package/dist/esm/{chunk-D6T3NYOA.mjs.map → chunk-B23VO5TB.mjs.map} +0 -0
- /package/dist/esm/{chunk-42T3UGSW.mjs.map → chunk-BHVSIRNF.mjs.map} +0 -0
- /package/dist/esm/{chunk-4YLUM62M.mjs.map → chunk-BMPHQ3E7.mjs.map} +0 -0
- /package/dist/esm/{chunk-EGZI6EJ2.mjs.map → chunk-BPHCRTHD.mjs.map} +0 -0
- /package/dist/esm/{chunk-XH3BEKII.mjs.map → chunk-BQYKFATL.mjs.map} +0 -0
- /package/dist/esm/{chunk-DBIZE7G6.mjs.map → chunk-CGTMSLVZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-4T75XRI2.mjs.map → chunk-CPAAEEF4.mjs.map} +0 -0
- /package/dist/esm/{chunk-DMS7K76O.mjs.map → chunk-CPFQUFVD.mjs.map} +0 -0
- /package/dist/esm/{chunk-Q7RG7KQS.mjs.map → chunk-DAJFOJ3L.mjs.map} +0 -0
- /package/dist/esm/{chunk-DPW6ELCQ.mjs.map → chunk-DOVH6HPL.mjs.map} +0 -0
- /package/dist/esm/{chunk-U2SJIG2T.mjs.map → chunk-E5PAUR4N.mjs.map} +0 -0
- /package/dist/esm/{chunk-6LGXFXXR.mjs.map → chunk-EGCL6KA6.mjs.map} +0 -0
- /package/dist/esm/{chunk-TOBQ5UE6.mjs.map → chunk-ERLDXTIY.mjs.map} +0 -0
- /package/dist/esm/{chunk-CSG67JHZ.mjs.map → chunk-FJ5J7CVW.mjs.map} +0 -0
- /package/dist/esm/{chunk-DLLDRANJ.mjs.map → chunk-FOEPRHAC.mjs.map} +0 -0
- /package/dist/esm/{chunk-6JTNS5O6.mjs.map → chunk-G5F5ZOH5.mjs.map} +0 -0
- /package/dist/esm/{chunk-AZWVCBK2.mjs.map → chunk-GI4AR6DQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-Y3Y4DVCK.mjs.map → chunk-GRRBXHVG.mjs.map} +0 -0
- /package/dist/esm/{chunk-HT2WC3QV.mjs.map → chunk-GTVMJJQQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-HL2O3T57.mjs.map → chunk-GU4MD5ST.mjs.map} +0 -0
- /package/dist/esm/{chunk-EMURYYVO.mjs.map → chunk-H4YAL2IL.mjs.map} +0 -0
- /package/dist/esm/{chunk-X24PSWCX.mjs.map → chunk-HBTJN4RJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-IDTLNF4M.mjs.map → chunk-HHWJHOFZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-OURSLL3I.mjs.map → chunk-HKL4MFNL.mjs.map} +0 -0
- /package/dist/esm/{chunk-G6RLN6ET.mjs.map → chunk-HVIF6DW6.mjs.map} +0 -0
- /package/dist/esm/{chunk-XAPQNCTN.mjs.map → chunk-ILUFGYLO.mjs.map} +0 -0
- /package/dist/esm/{chunk-ABXES4FS.mjs.map → chunk-IMYNN4TW.mjs.map} +0 -0
- /package/dist/esm/{chunk-2GIPNLDO.mjs.map → chunk-IOHESHLR.mjs.map} +0 -0
- /package/dist/esm/{chunk-GQX5KMF7.mjs.map → chunk-JNNFNYDO.mjs.map} +0 -0
- /package/dist/esm/{chunk-3HFZN7L5.mjs.map → chunk-K233I26C.mjs.map} +0 -0
- /package/dist/esm/{chunk-AC3BISWL.mjs.map → chunk-KK5HUWF6.mjs.map} +0 -0
- /package/dist/esm/{chunk-N7C6LQPZ.mjs.map → chunk-L6KVC7CJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-Q4C4U6I4.mjs.map → chunk-LQOSHBB7.mjs.map} +0 -0
- /package/dist/esm/{chunk-XKUIMGKU.mjs.map → chunk-LS3IDL2N.mjs.map} +0 -0
- /package/dist/esm/{chunk-HFCWJ6QL.mjs.map → chunk-MAWGZICD.mjs.map} +0 -0
- /package/dist/esm/{chunk-JF66JS2R.mjs.map → chunk-MFLHAVIW.mjs.map} +0 -0
- /package/dist/esm/{chunk-DNJQWGB7.mjs.map → chunk-OLGEN23M.mjs.map} +0 -0
- /package/dist/esm/{chunk-4UK4MUSD.mjs.map → chunk-ONGH5DXZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-4776UXL6.mjs.map → chunk-OPD5EKOA.mjs.map} +0 -0
- /package/dist/esm/{chunk-V2EXS6TM.mjs.map → chunk-P5CM4C2G.mjs.map} +0 -0
- /package/dist/esm/{chunk-BBUN4IO4.mjs.map → chunk-PC25RPDV.mjs.map} +0 -0
- /package/dist/esm/{chunk-N6YTF76Q.mjs.map → chunk-PDAWVDI7.mjs.map} +0 -0
- /package/dist/esm/{chunk-6PBMD2BQ.mjs.map → chunk-PWGTRRSJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-H4GZWYIG.mjs.map → chunk-QYJKCRVA.mjs.map} +0 -0
- /package/dist/esm/{chunk-33CBJFX2.mjs.map → chunk-RDPWCN4B.mjs.map} +0 -0
- /package/dist/esm/{chunk-MT2RJ7H3.mjs.map → chunk-RIINVEZA.mjs.map} +0 -0
- /package/dist/esm/{chunk-EBMEXURY.mjs.map → chunk-RXHER6EA.mjs.map} +0 -0
- /package/dist/esm/{chunk-KEJAUCQF.mjs.map → chunk-T7X4GZDU.mjs.map} +0 -0
- /package/dist/esm/{chunk-BUTMGMSD.mjs.map → chunk-TH5JCPN2.mjs.map} +0 -0
- /package/dist/esm/{chunk-ORMOQWWH.mjs.map → chunk-TKXEVD7A.mjs.map} +0 -0
- /package/dist/esm/{chunk-FN4C3CKC.mjs.map → chunk-TTY5GFMN.mjs.map} +0 -0
- /package/dist/esm/{chunk-PR3W2QEH.mjs.map → chunk-U4DEYWFT.mjs.map} +0 -0
- /package/dist/esm/{chunk-7CYCKCVU.mjs.map → chunk-UJJGIPOA.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZCEBDPBJ.mjs.map → chunk-US2HZFOM.mjs.map} +0 -0
- /package/dist/esm/{chunk-S47HA7O7.mjs.map → chunk-VDYUMBOT.mjs.map} +0 -0
- /package/dist/esm/{chunk-3EY7MT2M.mjs.map → chunk-W2C5KRUQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-O37BZP2G.mjs.map → chunk-W4SMZ6IW.mjs.map} +0 -0
- /package/dist/esm/{chunk-CXNF73OX.mjs.map → chunk-WHVCUVZP.mjs.map} +0 -0
- /package/dist/esm/{chunk-QBFGY74I.mjs.map → chunk-WLDYBSOG.mjs.map} +0 -0
- /package/dist/esm/{chunk-HEAWDTLG.mjs.map → chunk-XRVZAEQO.mjs.map} +0 -0
- /package/dist/esm/{chunk-DNWFDS7F.mjs.map → chunk-XW3BXTCZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-L2AQG3G3.mjs.map → chunk-Y65PKZLK.mjs.map} +0 -0
- /package/dist/esm/{chunk-WXDA4CCR.mjs.map → chunk-YAGIE4GN.mjs.map} +0 -0
- /package/dist/esm/{chunk-CRFLR3ZY.mjs.map → chunk-YLUULY6G.mjs.map} +0 -0
- /package/dist/esm/{chunk-SCBYJU6K.mjs.map → chunk-YWSDONJJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-BYHCW7MI.mjs.map → chunk-YXYYII5S.mjs.map} +0 -0
- /package/dist/esm/{chunk-XTOIL6MB.mjs.map → chunk-ZD2TY5N3.mjs.map} +0 -0
- /package/dist/esm/{chunk-5BSMF22B.mjs.map → chunk-ZS2IVRHT.mjs.map} +0 -0
package/dist/common/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Serializable, T as TransactionArgument, H as HexInput, a as Serializer, D as Deserializer, E as EntryFunctionArgument, U as Uint8, b as Uint16, c as Uint32, A as AnyNumber, d as Deserializable, e as Hex, f as AuthenticationKeyScheme, g as AccountAddress, P as PrivateKeyVariants, h as AnyPublicKeyVariant, i as EphemeralPublicKeyVariant, N as Network, C as Client, j as ClientConfig, F as FullNodeConfig, I as IndexerConfig, k as FaucetConfig, l as AptosSettings, m as EphemeralCertificateVariant, Z as ZkpVariant, L as LedgerVersionArg, n as AccountAddressInput, M as MoveModuleId, o as ScriptFunctionArgument, p as MoveFunctionId, q as MoveStructId, r as MoveValue, s as MoveFunctionGenericTypeParam, t as SigningSchemeInput, u as SigningScheme, v as MoveFunction, w as AccountData, x as PaginationArgs, y as MoveModuleBytecode, z as TransactionResponse, B as MoveResource, G as TokenStandardArg, O as OrderByArg, J as GetAccountOwnedTokensQueryResponse, K as GetAccountOwnedTokensFromCollectionResponse, Q as GetAccountCollectionsWithOwnedTokenResponse, R as GetAccountCoinsDataResponse, W as WhereArg, V as GetObjectDataQueryResponse, X as GetCollectionDataResponse, Y as GetTokenDataResponse, _ as GetCurrentTokenOwnershipResponse, $ as GetOwnedTokensResponse, a0 as GetTokenActivityResponse, a1 as GetEventsResponse, a2 as WaitForTransactionOptions, a3 as UserTransactionResponse, a4 as GetFungibleAssetMetadataResponse, a5 as GetFungibleAssetActivitiesResponse, a6 as GetCurrentFungibleAssetBalancesResponse, a7 as LedgerInfo, a8 as Block, a9 as GetChainTopUserTransactionsResponse, aa as GraphqlQuery, ab as GetProcessorStatusResponse, ac as GetANSNameResponse, ad as GetNumberOfDelegatorsResponse, ae as GetDelegatedStakingActivitiesResponse, af as PendingTransactionResponse, ag as CommittedTransactionResponse, ah as GasEstimation, ai as TableItemRequest, aj as GetTableItemsDataResponse, ak as GetTableItemsMetadataResponse, al as ClientRequest, am as ClientResponse, an as AptosRequest, ao as AptosResponse, ap as MimeType } from './accountAddress-
|
|
2
|
-
export { aG as AccountAuthenticatorVariant, bp as AccountSignature, at as AddressInvalidReason, aH as AnySignatureVariant, aZ as BlockEndInfo, a_ as BlockEpilogueTransactionResponse, aW as BlockMetadataTransactionResponse, aM as ClientHeadersType, b6 as DecodedTableData, b7 as DeletedTableData, bM as DeriveScheme, bs as DirectWriteSet, b9 as EntryFunctionPayloadResponse, aI as EphemeralSignatureVariant, bu as Event, bt as EventGuid, bP as GenerateAccount, bN as GenerateAccountWithEd25519, bO as GenerateAccountWithSingleSignerSecp256k1Key, bc as GenesisPayload, aV as GenesisTransactionResponse, aw as HexInvalidReason, bH as MoveAbility, bB as MoveAddressType, bG as MoveFunctionVisibility, bJ as MoveModule, bC as MoveObjectType, bD as MoveOptionType, bd as MoveScriptBytecode, bK as MoveStruct, bI as MoveStructField, bE as MoveStructType, bF as MoveType, bz as MoveUint128Type, bw as MoveUint16Type, bA as MoveUint256Type, bx as MoveUint32Type, by as MoveUint64Type, bv as MoveUint8Type, bb as MultisigPayloadResponse, bV as NetworkToChainId, bS as NetworkToFaucetAPI, bQ as NetworkToIndexerAPI, bW as NetworkToNetworkName, bR as NetworkToNodeAPI, bT as NetworkToPepperAPI, bU as NetworkToProverAPI, ay as OrderBy, az as OrderByValue, au as ParsingError, av as ParsingResult, bL as RoleType, ba as ScriptPayloadResponse, aC as ScriptTransactionArgumentVariants, br as ScriptWriteSet, aX as StateCheckpointTransactionResponse, aA as TokenStandard, aF as TransactionAuthenticatorVariant, bk as TransactionEd25519Signature, bo as TransactionFeePayerSignature, bn as TransactionMultiAgentSignature, bm as TransactionMultiEd25519Signature, b8 as TransactionPayloadResponse, aD as TransactionPayloadVariants, aN as TransactionResponseType, bl as TransactionSecp256k1Signature, be as TransactionSignature, aE as TransactionVariants, aB as TypeTagVariants, aK as Uint128, aL as Uint256, aJ as Uint64, aY as ValidatorTransactionResponse, bq as WriteSet, a$ as WriteSetChange, b0 as WriteSetChangeDeleteModule, b1 as WriteSetChangeDeleteResource, b2 as WriteSetChangeDeleteTableItem, b3 as WriteSetChangeWriteModule, b4 as WriteSetChangeWriteResource, b5 as WriteSetChangeWriteTableItem, aq as ensureBoolean, ax as hexToAsciiString, aU as isBlockEpilogueTransactionResponse, aR as isBlockMetadataTransactionResponse, bf as isEd25519Signature, bi as isFeePayerSignature, aQ as isGenesisTransactionResponse, bh as isMultiAgentSignature, bj as isMultiEd25519Signature, aO as isPendingTransactionResponse, bg as isSecp256k1Signature, aS as isStateCheckpointTransactionResponse, aP as isUserTransactionResponse, aT as isValidatorTransactionResponse, ar as outOfRangeErrorMessage, as as validateNumberInRange } from './accountAddress-
|
|
1
|
+
import { S as Serializable, T as TransactionArgument, H as HexInput, a as Serializer, D as Deserializer, E as EntryFunctionArgument, U as Uint8, b as Uint16, c as Uint32, A as AnyNumber, d as Deserializable, e as Hex, f as AuthenticationKeyScheme, g as AccountAddress, P as PrivateKeyVariants, h as AnyPublicKeyVariant, i as EphemeralPublicKeyVariant, N as Network, C as Client, j as ClientConfig, F as FullNodeConfig, I as IndexerConfig, k as FaucetConfig, l as AptosSettings, m as EphemeralCertificateVariant, Z as ZkpVariant, L as LedgerVersionArg, n as AccountAddressInput, M as MoveModuleId, o as ScriptFunctionArgument, p as MoveFunctionId, q as MoveStructId, r as MoveValue, s as MoveFunctionGenericTypeParam, t as SigningSchemeInput, u as SigningScheme, v as MoveFunction, w as AccountData, x as PaginationArgs, y as MoveModuleBytecode, z as TransactionResponse, B as MoveResource, G as TokenStandardArg, O as OrderByArg, J as GetAccountOwnedTokensQueryResponse, K as GetAccountOwnedTokensFromCollectionResponse, Q as GetAccountCollectionsWithOwnedTokenResponse, R as GetAccountCoinsDataResponse, W as WhereArg, V as GetObjectDataQueryResponse, X as GetCollectionDataResponse, Y as GetTokenDataResponse, _ as GetCurrentTokenOwnershipResponse, $ as GetOwnedTokensResponse, a0 as GetTokenActivityResponse, a1 as GetEventsResponse, a2 as WaitForTransactionOptions, a3 as UserTransactionResponse, a4 as GetFungibleAssetMetadataResponse, a5 as GetFungibleAssetActivitiesResponse, a6 as GetCurrentFungibleAssetBalancesResponse, a7 as LedgerInfo, a8 as Block, a9 as GetChainTopUserTransactionsResponse, aa as GraphqlQuery, ab as GetProcessorStatusResponse, ac as GetANSNameResponse, ad as GetNumberOfDelegatorsResponse, ae as GetDelegatedStakingActivitiesResponse, af as PendingTransactionResponse, ag as CommittedTransactionResponse, ah as GasEstimation, ai as TableItemRequest, aj as GetTableItemsDataResponse, ak as GetTableItemsMetadataResponse, al as ClientRequest, am as ClientResponse, an as AptosRequest, ao as AptosResponse, ap as MimeType } from './accountAddress-CuHovHdK.js';
|
|
2
|
+
export { aG as AccountAuthenticatorVariant, bp as AccountSignature, at as AddressInvalidReason, aH as AnySignatureVariant, aZ as BlockEndInfo, a_ as BlockEpilogueTransactionResponse, aW as BlockMetadataTransactionResponse, aM as ClientHeadersType, b6 as DecodedTableData, b7 as DeletedTableData, bM as DeriveScheme, bs as DirectWriteSet, b9 as EntryFunctionPayloadResponse, aI as EphemeralSignatureVariant, bu as Event, bt as EventGuid, bP as GenerateAccount, bN as GenerateAccountWithEd25519, bO as GenerateAccountWithSingleSignerSecp256k1Key, bc as GenesisPayload, aV as GenesisTransactionResponse, aw as HexInvalidReason, bH as MoveAbility, bB as MoveAddressType, bG as MoveFunctionVisibility, bJ as MoveModule, bC as MoveObjectType, bD as MoveOptionType, bd as MoveScriptBytecode, bK as MoveStruct, bI as MoveStructField, bE as MoveStructType, bF as MoveType, bz as MoveUint128Type, bw as MoveUint16Type, bA as MoveUint256Type, bx as MoveUint32Type, by as MoveUint64Type, bv as MoveUint8Type, bb as MultisigPayloadResponse, bV as NetworkToChainId, bS as NetworkToFaucetAPI, bQ as NetworkToIndexerAPI, bW as NetworkToNetworkName, bR as NetworkToNodeAPI, bT as NetworkToPepperAPI, bU as NetworkToProverAPI, ay as OrderBy, az as OrderByValue, au as ParsingError, av as ParsingResult, bL as RoleType, ba as ScriptPayloadResponse, aC as ScriptTransactionArgumentVariants, br as ScriptWriteSet, aX as StateCheckpointTransactionResponse, aA as TokenStandard, aF as TransactionAuthenticatorVariant, bk as TransactionEd25519Signature, bo as TransactionFeePayerSignature, bn as TransactionMultiAgentSignature, bm as TransactionMultiEd25519Signature, b8 as TransactionPayloadResponse, aD as TransactionPayloadVariants, aN as TransactionResponseType, bl as TransactionSecp256k1Signature, be as TransactionSignature, aE as TransactionVariants, aB as TypeTagVariants, aK as Uint128, aL as Uint256, aJ as Uint64, aY as ValidatorTransactionResponse, bq as WriteSet, a$ as WriteSetChange, b0 as WriteSetChangeDeleteModule, b1 as WriteSetChangeDeleteResource, b2 as WriteSetChangeDeleteTableItem, b3 as WriteSetChangeWriteModule, b4 as WriteSetChangeWriteResource, b5 as WriteSetChangeWriteTableItem, aq as ensureBoolean, ax as hexToAsciiString, aU as isBlockEpilogueTransactionResponse, aR as isBlockMetadataTransactionResponse, bf as isEd25519Signature, bi as isFeePayerSignature, aQ as isGenesisTransactionResponse, bh as isMultiAgentSignature, bj as isMultiEd25519Signature, aO as isPendingTransactionResponse, bg as isSecp256k1Signature, aS as isStateCheckpointTransactionResponse, aP as isUserTransactionResponse, aT as isValidatorTransactionResponse, ar as outOfRangeErrorMessage, as as validateNumberInRange } from './accountAddress-CuHovHdK.js';
|
|
3
3
|
import { CallArgument } from '@aptos-labs/script-composer-pack';
|
|
4
4
|
export { CallArgument } from '@aptos-labs/script-composer-pack';
|
|
5
5
|
import EventEmitter from 'eventemitter3';
|
|
@@ -1701,197 +1701,6 @@ declare const splitPath: (path: string) => Array<string>;
|
|
|
1701
1701
|
*/
|
|
1702
1702
|
declare const mnemonicToSeed: (mnemonic: string) => Uint8Array;
|
|
1703
1703
|
|
|
1704
|
-
/**
|
|
1705
|
-
* Represents the public key of a K-of-N Ed25519 multi-sig transaction.
|
|
1706
|
-
*
|
|
1707
|
-
* A K-of-N multi-sig transaction requires at least K out of N authorized signers to sign the transaction
|
|
1708
|
-
* for it to be executed. This class encapsulates the logic for managing the public keys and the threshold
|
|
1709
|
-
* for valid signatures.
|
|
1710
|
-
*
|
|
1711
|
-
* @see {@link https://aptos.dev/integration/creating-a-signed-transaction/ | Creating a Signed Transaction}
|
|
1712
|
-
* @group Implementation
|
|
1713
|
-
* @category Serialization
|
|
1714
|
-
*/
|
|
1715
|
-
declare class MultiEd25519PublicKey extends AccountPublicKey {
|
|
1716
|
-
/**
|
|
1717
|
-
* Maximum number of public keys supported
|
|
1718
|
-
* @group Implementation
|
|
1719
|
-
* @category Serialization
|
|
1720
|
-
*/
|
|
1721
|
-
static readonly MAX_KEYS = 32;
|
|
1722
|
-
/**
|
|
1723
|
-
* Minimum number of public keys needed
|
|
1724
|
-
* @group Implementation
|
|
1725
|
-
* @category Serialization
|
|
1726
|
-
*/
|
|
1727
|
-
static readonly MIN_KEYS = 2;
|
|
1728
|
-
/**
|
|
1729
|
-
* Minimum threshold for the number of valid signatures required
|
|
1730
|
-
* @group Implementation
|
|
1731
|
-
* @category Serialization
|
|
1732
|
-
*/
|
|
1733
|
-
static readonly MIN_THRESHOLD = 1;
|
|
1734
|
-
/**
|
|
1735
|
-
* List of Ed25519 public keys for this LegacyMultiEd25519PublicKey
|
|
1736
|
-
* @group Implementation
|
|
1737
|
-
* @category Serialization
|
|
1738
|
-
*/
|
|
1739
|
-
readonly publicKeys: Ed25519PublicKey[];
|
|
1740
|
-
/**
|
|
1741
|
-
* The minimum number of valid signatures required, for the number of public keys specified
|
|
1742
|
-
* @group Implementation
|
|
1743
|
-
* @category Serialization
|
|
1744
|
-
*/
|
|
1745
|
-
readonly threshold: number;
|
|
1746
|
-
/**
|
|
1747
|
-
* Public key for a K-of-N multi-sig transaction. A K-of-N multi-sig transaction means that for such a
|
|
1748
|
-
* transaction to be executed, at least K out of the N authorized signers have signed the transaction
|
|
1749
|
-
* and passed the check conducted by the chain.
|
|
1750
|
-
*
|
|
1751
|
-
* @see {@link
|
|
1752
|
-
* https://aptos.dev/integration/creating-a-signed-transaction/ | Creating a Signed Transaction}
|
|
1753
|
-
* @param args - A wrapper to let you choose the param order.
|
|
1754
|
-
* @param args.publicKeys A list of public keys
|
|
1755
|
-
* @param args.threshold At least "threshold" signatures must be valid
|
|
1756
|
-
* @group Implementation
|
|
1757
|
-
* @category Serialization
|
|
1758
|
-
*/
|
|
1759
|
-
constructor(args: {
|
|
1760
|
-
publicKeys: Ed25519PublicKey[];
|
|
1761
|
-
threshold: number;
|
|
1762
|
-
});
|
|
1763
|
-
/**
|
|
1764
|
-
* Verifies a multi-signature against a given message.
|
|
1765
|
-
* This function ensures that the provided signatures meet the required threshold and are valid for the given message.
|
|
1766
|
-
*
|
|
1767
|
-
* @param args - The arguments for verifying the signature.
|
|
1768
|
-
* @param args.message - The message that was signed.
|
|
1769
|
-
* @param args.signature - The multi-signature containing multiple signatures and a bitmap indicating which signatures are valid.
|
|
1770
|
-
* @returns True if the signature is valid; otherwise, false.
|
|
1771
|
-
* @throws Error if the bitmap and signatures length mismatch or if there are not enough valid signatures.
|
|
1772
|
-
* @group Implementation
|
|
1773
|
-
* @category Serialization
|
|
1774
|
-
*/
|
|
1775
|
-
verifySignature(args: VerifySignatureArgs): boolean;
|
|
1776
|
-
/**
|
|
1777
|
-
* Generates an authentication key based on the current instance's byte representation.
|
|
1778
|
-
* This function is essential for creating a secure authentication key that can be used for various cryptographic operations.
|
|
1779
|
-
*
|
|
1780
|
-
* @returns {AuthenticationKey} The generated authentication key.
|
|
1781
|
-
* @group Implementation
|
|
1782
|
-
* @category Serialization
|
|
1783
|
-
*/
|
|
1784
|
-
authKey(): AuthenticationKey;
|
|
1785
|
-
/**
|
|
1786
|
-
* Converts a PublicKeys into Uint8Array (bytes) with: bytes = p1_bytes | ... | pn_bytes | threshold
|
|
1787
|
-
* @group Implementation
|
|
1788
|
-
* @category Serialization
|
|
1789
|
-
*/
|
|
1790
|
-
toUint8Array(): Uint8Array;
|
|
1791
|
-
/**
|
|
1792
|
-
* Serializes the current instance into bytes using the provided serializer.
|
|
1793
|
-
* This allows for the conversion of the instance's data into a format suitable for transmission or storage.
|
|
1794
|
-
*
|
|
1795
|
-
* @param serializer - The serializer used to convert the instance into bytes.
|
|
1796
|
-
* @group Implementation
|
|
1797
|
-
* @category Serialization
|
|
1798
|
-
*/
|
|
1799
|
-
serialize(serializer: Serializer): void;
|
|
1800
|
-
/**
|
|
1801
|
-
* Deserializes a MultiEd25519Signature from the provided deserializer.
|
|
1802
|
-
* This function helps in reconstructing a MultiEd25519Signature object from its serialized byte representation.
|
|
1803
|
-
*
|
|
1804
|
-
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
1805
|
-
* @group Implementation
|
|
1806
|
-
* @category Serialization
|
|
1807
|
-
*/
|
|
1808
|
-
static deserialize(deserializer: Deserializer): MultiEd25519PublicKey;
|
|
1809
|
-
}
|
|
1810
|
-
/**
|
|
1811
|
-
* Represents the signature of a K-of-N Ed25519 multi-sig transaction.
|
|
1812
|
-
*
|
|
1813
|
-
* @see {@link https://aptos.dev/integration/creating-a-signed-transaction/#multisignature-transactions | Creating a Signed Transaction}
|
|
1814
|
-
* @group Implementation
|
|
1815
|
-
* @category Serialization
|
|
1816
|
-
*/
|
|
1817
|
-
declare class MultiEd25519Signature extends Signature {
|
|
1818
|
-
/**
|
|
1819
|
-
* Maximum number of Ed25519 signatures supported
|
|
1820
|
-
* @group Implementation
|
|
1821
|
-
* @category Serialization
|
|
1822
|
-
*/
|
|
1823
|
-
static MAX_SIGNATURES_SUPPORTED: number;
|
|
1824
|
-
/**
|
|
1825
|
-
* Number of bytes in the bitmap representing who signed the transaction (32-bits)
|
|
1826
|
-
* @group Implementation
|
|
1827
|
-
* @category Serialization
|
|
1828
|
-
*/
|
|
1829
|
-
static BITMAP_LEN: number;
|
|
1830
|
-
/**
|
|
1831
|
-
* The list of underlying Ed25519 signatures
|
|
1832
|
-
* @group Implementation
|
|
1833
|
-
* @category Serialization
|
|
1834
|
-
*/
|
|
1835
|
-
readonly signatures: Ed25519Signature[];
|
|
1836
|
-
/**
|
|
1837
|
-
* 32-bit Bitmap representing who signed the transaction
|
|
1838
|
-
*
|
|
1839
|
-
* This is represented where each public key can be masked to determine whether the message was signed by that key.
|
|
1840
|
-
* @group Implementation
|
|
1841
|
-
* @category Serialization
|
|
1842
|
-
*/
|
|
1843
|
-
readonly bitmap: Uint8Array;
|
|
1844
|
-
/**
|
|
1845
|
-
* Signature for a K-of-N multi-sig transaction.
|
|
1846
|
-
*
|
|
1847
|
-
* @see {@link
|
|
1848
|
-
* https://aptos.dev/integration/creating-a-signed-transaction/#multisignature-transactions | Creating a Signed Transaction}
|
|
1849
|
-
*
|
|
1850
|
-
* @param args.signatures A list of signatures
|
|
1851
|
-
* @param args.bitmap 4 bytes, at most 32 signatures are supported. If Nth bit value is `1`, the Nth
|
|
1852
|
-
* signature should be provided in `signatures`. Bits are read from left to right.
|
|
1853
|
-
* Alternatively, you can specify an array of bitmap positions.
|
|
1854
|
-
* Valid position should range between 0 and 31.
|
|
1855
|
-
* @see MultiEd25519Signature.createBitmap
|
|
1856
|
-
* @group Implementation
|
|
1857
|
-
* @category Serialization
|
|
1858
|
-
*/
|
|
1859
|
-
constructor(args: {
|
|
1860
|
-
signatures: Ed25519Signature[];
|
|
1861
|
-
bitmap: Uint8Array | number[];
|
|
1862
|
-
});
|
|
1863
|
-
/**
|
|
1864
|
-
* Converts a MultiSignature into Uint8Array (bytes) with `bytes = s1_bytes | ... | sn_bytes | bitmap`
|
|
1865
|
-
* @group Implementation
|
|
1866
|
-
* @category Serialization
|
|
1867
|
-
*/
|
|
1868
|
-
toUint8Array(): Uint8Array;
|
|
1869
|
-
serialize(serializer: Serializer): void;
|
|
1870
|
-
static deserialize(deserializer: Deserializer): MultiEd25519Signature;
|
|
1871
|
-
/**
|
|
1872
|
-
* Helper method to create a bitmap out of the specified bit positions.
|
|
1873
|
-
* This function allows you to set specific bits in a 32-bit long bitmap based on the provided positions.
|
|
1874
|
-
*
|
|
1875
|
-
* @param args The arguments for creating the bitmap.
|
|
1876
|
-
* @param args.bits The bitmap positions that should be set. A position starts at index 0. Valid positions should range between 0 and 31.
|
|
1877
|
-
*
|
|
1878
|
-
* @example
|
|
1879
|
-
* Here's an example of valid `bits`
|
|
1880
|
-
* ```
|
|
1881
|
-
* [0, 2, 31]
|
|
1882
|
-
* ```
|
|
1883
|
-
* `[0, 2, 31]` means the 1st, 3rd and 32nd bits should be set in the bitmap.
|
|
1884
|
-
* The result bitmap should be 0b1010000000000000000000000000001
|
|
1885
|
-
*
|
|
1886
|
-
* @returns bitmap that is 32 bits long.
|
|
1887
|
-
* @group Implementation
|
|
1888
|
-
* @category Serialization
|
|
1889
|
-
*/
|
|
1890
|
-
static createBitmap(args: {
|
|
1891
|
-
bits: number[];
|
|
1892
|
-
}): Uint8Array;
|
|
1893
|
-
}
|
|
1894
|
-
|
|
1895
1704
|
/**
|
|
1896
1705
|
* Represents a Secp256k1 ECDSA public key.
|
|
1897
1706
|
*
|
|
@@ -2275,6 +2084,37 @@ declare class AnySignature extends Signature {
|
|
|
2275
2084
|
static isInstance(signature: Signature): signature is AnySignature;
|
|
2276
2085
|
}
|
|
2277
2086
|
|
|
2087
|
+
declare abstract class AbstractMultiKey extends AccountPublicKey {
|
|
2088
|
+
publicKeys: PublicKey[];
|
|
2089
|
+
constructor(args: {
|
|
2090
|
+
publicKeys: PublicKey[];
|
|
2091
|
+
});
|
|
2092
|
+
/**
|
|
2093
|
+
* Create a bitmap that holds the mapping from the original public keys
|
|
2094
|
+
* to the signatures passed in
|
|
2095
|
+
*
|
|
2096
|
+
* @param args.bits array of the index mapping to the matching public keys
|
|
2097
|
+
* @returns Uint8array bit map
|
|
2098
|
+
* @group Implementation
|
|
2099
|
+
* @category Serialization
|
|
2100
|
+
*/
|
|
2101
|
+
createBitmap(args: {
|
|
2102
|
+
bits: number[];
|
|
2103
|
+
}): Uint8Array;
|
|
2104
|
+
/**
|
|
2105
|
+
* Get the index of the provided public key.
|
|
2106
|
+
*
|
|
2107
|
+
* This function retrieves the index of a specified public key within the MultiKey.
|
|
2108
|
+
* If the public key does not exist, it throws an error.
|
|
2109
|
+
*
|
|
2110
|
+
* @param publicKey - The public key to find the index for.
|
|
2111
|
+
* @returns The corresponding index of the public key, if it exists.
|
|
2112
|
+
* @throws Error - If the public key is not found in the MultiKey.
|
|
2113
|
+
* @group Implementation
|
|
2114
|
+
* @category Serialization
|
|
2115
|
+
*/
|
|
2116
|
+
getIndex(publicKey: PublicKey): number;
|
|
2117
|
+
}
|
|
2278
2118
|
/**
|
|
2279
2119
|
* Represents a multi-key authentication scheme for accounts, allowing multiple public keys
|
|
2280
2120
|
* to be associated with a single account. This class enforces a minimum number of valid signatures
|
|
@@ -2286,7 +2126,7 @@ declare class AnySignature extends Signature {
|
|
|
2286
2126
|
* @group Implementation
|
|
2287
2127
|
* @category Serialization
|
|
2288
2128
|
*/
|
|
2289
|
-
declare class MultiKey extends
|
|
2129
|
+
declare class MultiKey extends AbstractMultiKey {
|
|
2290
2130
|
/**
|
|
2291
2131
|
* List of any public keys
|
|
2292
2132
|
* @group Implementation
|
|
@@ -2318,19 +2158,208 @@ declare class MultiKey extends AccountPublicKey {
|
|
|
2318
2158
|
signaturesRequired: number;
|
|
2319
2159
|
});
|
|
2320
2160
|
/**
|
|
2321
|
-
* Verifies the provided signature against the given message.
|
|
2322
|
-
* This function helps ensure the integrity and authenticity of the message by checking if the signature is valid.
|
|
2161
|
+
* Verifies the provided signature against the given message.
|
|
2162
|
+
* This function helps ensure the integrity and authenticity of the message by checking if the signature is valid.
|
|
2163
|
+
*
|
|
2164
|
+
* @param args - The arguments for verifying the signature.
|
|
2165
|
+
* @param args.message - The message that was signed.
|
|
2166
|
+
* @param args.signature - The signature to verify.
|
|
2167
|
+
* @group Implementation
|
|
2168
|
+
* @category Serialization
|
|
2169
|
+
*/
|
|
2170
|
+
verifySignature(args: VerifySignatureArgs): boolean;
|
|
2171
|
+
/**
|
|
2172
|
+
* Generates an authentication key based on the current instance's byte representation.
|
|
2173
|
+
* This key can be used for secure authentication processes within the system.
|
|
2174
|
+
*
|
|
2175
|
+
* @returns {AuthenticationKey} The generated authentication key.
|
|
2176
|
+
* @group Implementation
|
|
2177
|
+
* @category Serialization
|
|
2178
|
+
*/
|
|
2179
|
+
authKey(): AuthenticationKey;
|
|
2180
|
+
/**
|
|
2181
|
+
* Serializes the object by writing its signatures and bitmap to the provided serializer.
|
|
2182
|
+
* This allows the object to be converted into a format suitable for transmission or storage.
|
|
2183
|
+
*
|
|
2184
|
+
* @param serializer - The serializer instance used to perform the serialization.
|
|
2185
|
+
* @group Implementation
|
|
2186
|
+
* @category Serialization
|
|
2187
|
+
*/
|
|
2188
|
+
serialize(serializer: Serializer): void;
|
|
2189
|
+
/**
|
|
2190
|
+
* Deserializes a MultiKeySignature from the provided deserializer.
|
|
2191
|
+
* This function retrieves the signatures and bitmap necessary for creating a MultiKeySignature object.
|
|
2192
|
+
*
|
|
2193
|
+
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
2194
|
+
* @group Implementation
|
|
2195
|
+
* @category Serialization
|
|
2196
|
+
*/
|
|
2197
|
+
static deserialize(deserializer: Deserializer): MultiKey;
|
|
2198
|
+
/**
|
|
2199
|
+
* Get the index of the provided public key.
|
|
2200
|
+
*
|
|
2201
|
+
* This function retrieves the index of a specified public key within the MultiKey.
|
|
2202
|
+
* If the public key does not exist, it throws an error.
|
|
2203
|
+
*
|
|
2204
|
+
* @param publicKey - The public key to find the index for.
|
|
2205
|
+
* @returns The corresponding index of the public key, if it exists.
|
|
2206
|
+
* @throws Error - If the public key is not found in the MultiKey.
|
|
2207
|
+
* @group Implementation
|
|
2208
|
+
*/
|
|
2209
|
+
getIndex(publicKey: PublicKey): number;
|
|
2210
|
+
static isInstance(value: PublicKey): value is MultiKey;
|
|
2211
|
+
}
|
|
2212
|
+
/**
|
|
2213
|
+
* Represents a multi-signature transaction using Ed25519 signatures.
|
|
2214
|
+
* This class allows for the creation and management of a K-of-N multi-signature scheme,
|
|
2215
|
+
* where a specified number of signatures are required to authorize a transaction.
|
|
2216
|
+
*
|
|
2217
|
+
* It includes functionality to validate the number of signatures against a bitmap,
|
|
2218
|
+
* which indicates which public keys have signed the transaction.
|
|
2219
|
+
* @group Implementation
|
|
2220
|
+
* @category Serialization
|
|
2221
|
+
*/
|
|
2222
|
+
declare class MultiKeySignature extends Signature {
|
|
2223
|
+
/**
|
|
2224
|
+
* Number of bytes in the bitmap representing who signed the transaction (32-bits)
|
|
2225
|
+
* @group Implementation
|
|
2226
|
+
* @category Serialization
|
|
2227
|
+
*/
|
|
2228
|
+
static BITMAP_LEN: number;
|
|
2229
|
+
/**
|
|
2230
|
+
* Maximum number of Ed25519 signatures supported
|
|
2231
|
+
* @group Implementation
|
|
2232
|
+
* @category Serialization
|
|
2233
|
+
*/
|
|
2234
|
+
static MAX_SIGNATURES_SUPPORTED: number;
|
|
2235
|
+
/**
|
|
2236
|
+
* The list of underlying Ed25519 signatures
|
|
2237
|
+
* @group Implementation
|
|
2238
|
+
* @category Serialization
|
|
2239
|
+
*/
|
|
2240
|
+
readonly signatures: AnySignature[];
|
|
2241
|
+
/**
|
|
2242
|
+
* 32-bit Bitmap representing who signed the transaction
|
|
2243
|
+
*
|
|
2244
|
+
* This is represented where each public key can be masked to determine whether the message was signed by that key.
|
|
2245
|
+
* @group Implementation
|
|
2246
|
+
* @category Serialization
|
|
2247
|
+
*/
|
|
2248
|
+
readonly bitmap: Uint8Array;
|
|
2249
|
+
/**
|
|
2250
|
+
* Signature for a K-of-N multi-sig transaction.
|
|
2251
|
+
*
|
|
2252
|
+
* @see {@link
|
|
2253
|
+
* https://aptos.dev/integration/creating-a-signed-transaction/#multisignature-transactions | Creating a Signed Transaction}
|
|
2254
|
+
*
|
|
2255
|
+
* @param args.signatures A list of signatures
|
|
2256
|
+
* @param args.bitmap 4 bytes, at most 32 signatures are supported. If Nth bit value is `1`, the Nth
|
|
2257
|
+
* signature should be provided in `signatures`. Bits are read from left to right
|
|
2258
|
+
* @group Implementation
|
|
2259
|
+
* @category Serialization
|
|
2260
|
+
*/
|
|
2261
|
+
constructor(args: {
|
|
2262
|
+
signatures: Array<Signature | AnySignature>;
|
|
2263
|
+
bitmap: Uint8Array | number[];
|
|
2264
|
+
});
|
|
2265
|
+
/**
|
|
2266
|
+
* Helper method to create a bitmap out of the specified bit positions
|
|
2267
|
+
* @param args.bits The bitmap positions that should be set. A position starts at index 0.
|
|
2268
|
+
* Valid position should range between 0 and 31.
|
|
2269
|
+
* @example
|
|
2270
|
+
* Here's an example of valid `bits`
|
|
2271
|
+
* ```
|
|
2272
|
+
* [0, 2, 31]
|
|
2273
|
+
* ```
|
|
2274
|
+
* `[0, 2, 31]` means the 1st, 3rd and 32nd bits should be set in the bitmap.
|
|
2275
|
+
* The result bitmap should be 0b1010000000000000000000000000001
|
|
2276
|
+
*
|
|
2277
|
+
* @returns bitmap that is 32bit long
|
|
2278
|
+
* @group Implementation
|
|
2279
|
+
* @category Serialization
|
|
2280
|
+
*/
|
|
2281
|
+
static createBitmap(args: {
|
|
2282
|
+
bits: number[];
|
|
2283
|
+
}): Uint8Array;
|
|
2284
|
+
serialize(serializer: Serializer): void;
|
|
2285
|
+
static deserialize(deserializer: Deserializer): MultiKeySignature;
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
/**
|
|
2289
|
+
* Represents the public key of a K-of-N Ed25519 multi-sig transaction.
|
|
2290
|
+
*
|
|
2291
|
+
* A K-of-N multi-sig transaction requires at least K out of N authorized signers to sign the transaction
|
|
2292
|
+
* for it to be executed. This class encapsulates the logic for managing the public keys and the threshold
|
|
2293
|
+
* for valid signatures.
|
|
2294
|
+
*
|
|
2295
|
+
* @see {@link https://aptos.dev/integration/creating-a-signed-transaction/ | Creating a Signed Transaction}
|
|
2296
|
+
* @group Implementation
|
|
2297
|
+
* @category Serialization
|
|
2298
|
+
*/
|
|
2299
|
+
declare class MultiEd25519PublicKey extends AbstractMultiKey {
|
|
2300
|
+
/**
|
|
2301
|
+
* Maximum number of public keys supported
|
|
2302
|
+
* @group Implementation
|
|
2303
|
+
* @category Serialization
|
|
2304
|
+
*/
|
|
2305
|
+
static readonly MAX_KEYS = 32;
|
|
2306
|
+
/**
|
|
2307
|
+
* Minimum number of public keys needed
|
|
2308
|
+
* @group Implementation
|
|
2309
|
+
* @category Serialization
|
|
2310
|
+
*/
|
|
2311
|
+
static readonly MIN_KEYS = 2;
|
|
2312
|
+
/**
|
|
2313
|
+
* Minimum threshold for the number of valid signatures required
|
|
2314
|
+
* @group Implementation
|
|
2315
|
+
* @category Serialization
|
|
2316
|
+
*/
|
|
2317
|
+
static readonly MIN_THRESHOLD = 1;
|
|
2318
|
+
/**
|
|
2319
|
+
* List of Ed25519 public keys for this LegacyMultiEd25519PublicKey
|
|
2320
|
+
* @group Implementation
|
|
2321
|
+
* @category Serialization
|
|
2322
|
+
*/
|
|
2323
|
+
readonly publicKeys: Ed25519PublicKey[];
|
|
2324
|
+
/**
|
|
2325
|
+
* The minimum number of valid signatures required, for the number of public keys specified
|
|
2326
|
+
* @group Implementation
|
|
2327
|
+
* @category Serialization
|
|
2328
|
+
*/
|
|
2329
|
+
readonly threshold: number;
|
|
2330
|
+
/**
|
|
2331
|
+
* Public key for a K-of-N multi-sig transaction. A K-of-N multi-sig transaction means that for such a
|
|
2332
|
+
* transaction to be executed, at least K out of the N authorized signers have signed the transaction
|
|
2333
|
+
* and passed the check conducted by the chain.
|
|
2334
|
+
*
|
|
2335
|
+
* @see {@link
|
|
2336
|
+
* https://aptos.dev/integration/creating-a-signed-transaction/ | Creating a Signed Transaction}
|
|
2337
|
+
* @param args - A wrapper to let you choose the param order.
|
|
2338
|
+
* @param args.publicKeys A list of public keys
|
|
2339
|
+
* @param args.threshold At least "threshold" signatures must be valid
|
|
2340
|
+
* @group Implementation
|
|
2341
|
+
* @category Serialization
|
|
2342
|
+
*/
|
|
2343
|
+
constructor(args: {
|
|
2344
|
+
publicKeys: Ed25519PublicKey[];
|
|
2345
|
+
threshold: number;
|
|
2346
|
+
});
|
|
2347
|
+
/**
|
|
2348
|
+
* Verifies a multi-signature against a given message.
|
|
2349
|
+
* This function ensures that the provided signatures meet the required threshold and are valid for the given message.
|
|
2323
2350
|
*
|
|
2324
2351
|
* @param args - The arguments for verifying the signature.
|
|
2325
2352
|
* @param args.message - The message that was signed.
|
|
2326
|
-
* @param args.signature - The signature
|
|
2353
|
+
* @param args.signature - The multi-signature containing multiple signatures and a bitmap indicating which signatures are valid.
|
|
2354
|
+
* @returns True if the signature is valid; otherwise, false.
|
|
2355
|
+
* @throws Error if the bitmap and signatures length mismatch or if there are not enough valid signatures.
|
|
2327
2356
|
* @group Implementation
|
|
2328
2357
|
* @category Serialization
|
|
2329
2358
|
*/
|
|
2330
2359
|
verifySignature(args: VerifySignatureArgs): boolean;
|
|
2331
2360
|
/**
|
|
2332
2361
|
* Generates an authentication key based on the current instance's byte representation.
|
|
2333
|
-
* This key can be used for
|
|
2362
|
+
* This function is essential for creating a secure authentication key that can be used for various cryptographic operations.
|
|
2334
2363
|
*
|
|
2335
2364
|
* @returns {AuthenticationKey} The generated authentication key.
|
|
2336
2365
|
* @group Implementation
|
|
@@ -2338,35 +2367,29 @@ declare class MultiKey extends AccountPublicKey {
|
|
|
2338
2367
|
*/
|
|
2339
2368
|
authKey(): AuthenticationKey;
|
|
2340
2369
|
/**
|
|
2341
|
-
*
|
|
2342
|
-
* This allows the object to be converted into a format suitable for transmission or storage.
|
|
2343
|
-
*
|
|
2344
|
-
* @param serializer - The serializer instance used to perform the serialization.
|
|
2370
|
+
* Converts a PublicKeys into Uint8Array (bytes) with: bytes = p1_bytes | ... | pn_bytes | threshold
|
|
2345
2371
|
* @group Implementation
|
|
2346
2372
|
* @category Serialization
|
|
2347
2373
|
*/
|
|
2348
|
-
|
|
2374
|
+
toUint8Array(): Uint8Array;
|
|
2349
2375
|
/**
|
|
2350
|
-
*
|
|
2351
|
-
* This
|
|
2376
|
+
* Serializes the current instance into bytes using the provided serializer.
|
|
2377
|
+
* This allows for the conversion of the instance's data into a format suitable for transmission or storage.
|
|
2352
2378
|
*
|
|
2353
|
-
* @param
|
|
2379
|
+
* @param serializer - The serializer used to convert the instance into bytes.
|
|
2354
2380
|
* @group Implementation
|
|
2355
2381
|
* @category Serialization
|
|
2356
2382
|
*/
|
|
2357
|
-
|
|
2383
|
+
serialize(serializer: Serializer): void;
|
|
2358
2384
|
/**
|
|
2359
|
-
*
|
|
2360
|
-
*
|
|
2385
|
+
* Deserializes a MultiEd25519Signature from the provided deserializer.
|
|
2386
|
+
* This function helps in reconstructing a MultiEd25519Signature object from its serialized byte representation.
|
|
2361
2387
|
*
|
|
2362
|
-
* @param
|
|
2363
|
-
* @returns Uint8array bit map
|
|
2388
|
+
* @param deserializer - The deserializer instance used to read the serialized data.
|
|
2364
2389
|
* @group Implementation
|
|
2365
2390
|
* @category Serialization
|
|
2366
2391
|
*/
|
|
2367
|
-
|
|
2368
|
-
bits: number[];
|
|
2369
|
-
}): Uint8Array;
|
|
2392
|
+
static deserialize(deserializer: Deserializer): MultiEd25519PublicKey;
|
|
2370
2393
|
/**
|
|
2371
2394
|
* Get the index of the provided public key.
|
|
2372
2395
|
*
|
|
@@ -2377,40 +2400,35 @@ declare class MultiKey extends AccountPublicKey {
|
|
|
2377
2400
|
* @returns The corresponding index of the public key, if it exists.
|
|
2378
2401
|
* @throws Error - If the public key is not found in the MultiKey.
|
|
2379
2402
|
* @group Implementation
|
|
2380
|
-
* @category Serialization
|
|
2381
2403
|
*/
|
|
2382
|
-
getIndex(publicKey:
|
|
2383
|
-
static isInstance(value: PublicKey): value is MultiKey;
|
|
2404
|
+
getIndex(publicKey: Ed25519PublicKey): number;
|
|
2384
2405
|
}
|
|
2385
2406
|
/**
|
|
2386
|
-
* Represents
|
|
2387
|
-
* This class allows for the creation and management of a K-of-N multi-signature scheme,
|
|
2388
|
-
* where a specified number of signatures are required to authorize a transaction.
|
|
2407
|
+
* Represents the signature of a K-of-N Ed25519 multi-sig transaction.
|
|
2389
2408
|
*
|
|
2390
|
-
*
|
|
2391
|
-
* which indicates which public keys have signed the transaction.
|
|
2409
|
+
* @see {@link https://aptos.dev/integration/creating-a-signed-transaction/#multisignature-transactions | Creating a Signed Transaction}
|
|
2392
2410
|
* @group Implementation
|
|
2393
2411
|
* @category Serialization
|
|
2394
2412
|
*/
|
|
2395
|
-
declare class
|
|
2413
|
+
declare class MultiEd25519Signature extends Signature {
|
|
2396
2414
|
/**
|
|
2397
|
-
*
|
|
2415
|
+
* Maximum number of Ed25519 signatures supported
|
|
2398
2416
|
* @group Implementation
|
|
2399
2417
|
* @category Serialization
|
|
2400
2418
|
*/
|
|
2401
|
-
static
|
|
2419
|
+
static MAX_SIGNATURES_SUPPORTED: number;
|
|
2402
2420
|
/**
|
|
2403
|
-
*
|
|
2421
|
+
* Number of bytes in the bitmap representing who signed the transaction (32-bits)
|
|
2404
2422
|
* @group Implementation
|
|
2405
2423
|
* @category Serialization
|
|
2406
2424
|
*/
|
|
2407
|
-
static
|
|
2425
|
+
static BITMAP_LEN: number;
|
|
2408
2426
|
/**
|
|
2409
2427
|
* The list of underlying Ed25519 signatures
|
|
2410
2428
|
* @group Implementation
|
|
2411
2429
|
* @category Serialization
|
|
2412
2430
|
*/
|
|
2413
|
-
readonly signatures:
|
|
2431
|
+
readonly signatures: Ed25519Signature[];
|
|
2414
2432
|
/**
|
|
2415
2433
|
* 32-bit Bitmap representing who signed the transaction
|
|
2416
2434
|
*
|
|
@@ -2427,18 +2445,32 @@ declare class MultiKeySignature extends Signature {
|
|
|
2427
2445
|
*
|
|
2428
2446
|
* @param args.signatures A list of signatures
|
|
2429
2447
|
* @param args.bitmap 4 bytes, at most 32 signatures are supported. If Nth bit value is `1`, the Nth
|
|
2430
|
-
* signature should be provided in `signatures`. Bits are read from left to right
|
|
2448
|
+
* signature should be provided in `signatures`. Bits are read from left to right.
|
|
2449
|
+
* Alternatively, you can specify an array of bitmap positions.
|
|
2450
|
+
* Valid position should range between 0 and 31.
|
|
2451
|
+
* @see MultiEd25519Signature.createBitmap
|
|
2431
2452
|
* @group Implementation
|
|
2432
2453
|
* @category Serialization
|
|
2433
2454
|
*/
|
|
2434
2455
|
constructor(args: {
|
|
2435
|
-
signatures:
|
|
2456
|
+
signatures: Ed25519Signature[];
|
|
2436
2457
|
bitmap: Uint8Array | number[];
|
|
2437
2458
|
});
|
|
2438
2459
|
/**
|
|
2439
|
-
*
|
|
2440
|
-
* @
|
|
2441
|
-
*
|
|
2460
|
+
* Converts a MultiSignature into Uint8Array (bytes) with `bytes = s1_bytes | ... | sn_bytes | bitmap`
|
|
2461
|
+
* @group Implementation
|
|
2462
|
+
* @category Serialization
|
|
2463
|
+
*/
|
|
2464
|
+
toUint8Array(): Uint8Array;
|
|
2465
|
+
serialize(serializer: Serializer): void;
|
|
2466
|
+
static deserialize(deserializer: Deserializer): MultiEd25519Signature;
|
|
2467
|
+
/**
|
|
2468
|
+
* Helper method to create a bitmap out of the specified bit positions.
|
|
2469
|
+
* This function allows you to set specific bits in a 32-bit long bitmap based on the provided positions.
|
|
2470
|
+
*
|
|
2471
|
+
* @param args The arguments for creating the bitmap.
|
|
2472
|
+
* @param args.bits The bitmap positions that should be set. A position starts at index 0. Valid positions should range between 0 and 31.
|
|
2473
|
+
*
|
|
2442
2474
|
* @example
|
|
2443
2475
|
* Here's an example of valid `bits`
|
|
2444
2476
|
* ```
|
|
@@ -2447,15 +2479,13 @@ declare class MultiKeySignature extends Signature {
|
|
|
2447
2479
|
* `[0, 2, 31]` means the 1st, 3rd and 32nd bits should be set in the bitmap.
|
|
2448
2480
|
* The result bitmap should be 0b1010000000000000000000000000001
|
|
2449
2481
|
*
|
|
2450
|
-
* @returns bitmap that is
|
|
2482
|
+
* @returns bitmap that is 32 bits long.
|
|
2451
2483
|
* @group Implementation
|
|
2452
2484
|
* @category Serialization
|
|
2453
2485
|
*/
|
|
2454
2486
|
static createBitmap(args: {
|
|
2455
2487
|
bits: number[];
|
|
2456
2488
|
}): Uint8Array;
|
|
2457
|
-
serialize(serializer: Serializer): void;
|
|
2458
|
-
static deserialize(deserializer: Deserializer): MultiKeySignature;
|
|
2459
2489
|
}
|
|
2460
2490
|
|
|
2461
2491
|
/**
|
|
@@ -6708,8 +6738,7 @@ declare class MultiKeyAccount implements Account$1, KeylessSigner {
|
|
|
6708
6738
|
readonly signingScheme: SigningScheme;
|
|
6709
6739
|
/**
|
|
6710
6740
|
* The signers used to sign messages. These signers should correspond to public keys in the
|
|
6711
|
-
* MultiKeyAccount's public key. The number of signers should be equal
|
|
6712
|
-
* than this.publicKey.signaturesRequired
|
|
6741
|
+
* MultiKeyAccount's public key. The number of signers should be equal to this.publicKey.signaturesRequired.
|
|
6713
6742
|
* @group Implementation
|
|
6714
6743
|
* @category Account (On-Chain Model)
|
|
6715
6744
|
*/
|
|
@@ -6828,6 +6857,76 @@ declare class MultiKeyAccount implements Account$1, KeylessSigner {
|
|
|
6828
6857
|
verifySignature(args: VerifyMultiKeySignatureArgs): boolean;
|
|
6829
6858
|
}
|
|
6830
6859
|
|
|
6860
|
+
interface MultiEd25519SignerConstructorArgs {
|
|
6861
|
+
publicKey: MultiEd25519PublicKey;
|
|
6862
|
+
signers: Ed25519PrivateKey[];
|
|
6863
|
+
address?: AccountAddressInput;
|
|
6864
|
+
}
|
|
6865
|
+
interface VerifyMultiEd25519SignatureArgs {
|
|
6866
|
+
message: HexInput;
|
|
6867
|
+
signature: MultiEd25519Signature;
|
|
6868
|
+
}
|
|
6869
|
+
/**
|
|
6870
|
+
* Signer implementation for the Multi-Ed25519 authentication scheme.
|
|
6871
|
+
*
|
|
6872
|
+
* Note: This authentication scheme is a legacy authentication scheme. Prefer using MultiKeyAccounts as a
|
|
6873
|
+
* MultiKeyAccount can support any type of signer, not just Ed25519. Generating a signer instance does not
|
|
6874
|
+
* create the account on-chain.
|
|
6875
|
+
*/
|
|
6876
|
+
declare class MultiEd25519Account implements Account$1 {
|
|
6877
|
+
readonly publicKey: MultiEd25519PublicKey;
|
|
6878
|
+
readonly accountAddress: AccountAddress;
|
|
6879
|
+
readonly signingScheme = SigningScheme.MultiEd25519;
|
|
6880
|
+
/**
|
|
6881
|
+
* The signers used to sign messages. These signers should correspond to public keys in the
|
|
6882
|
+
* MultiEd25519Account. The number of signers should be equal to this.publicKey.threshold.
|
|
6883
|
+
* @group Implementation
|
|
6884
|
+
* @category Account (On-Chain Model)
|
|
6885
|
+
*/
|
|
6886
|
+
readonly signers: Ed25519PrivateKey[];
|
|
6887
|
+
/**
|
|
6888
|
+
* An array of indices where for signer[i], signerIndicies[i] is the index of the corresponding public key in
|
|
6889
|
+
* publicKey.publicKeys. Used to derive the right public key to use for verification.
|
|
6890
|
+
* @group Implementation
|
|
6891
|
+
* @category Account (On-Chain Model)
|
|
6892
|
+
*/
|
|
6893
|
+
readonly signerIndices: number[];
|
|
6894
|
+
readonly signaturesBitmap: Uint8Array;
|
|
6895
|
+
constructor(args: MultiEd25519SignerConstructorArgs);
|
|
6896
|
+
/**
|
|
6897
|
+
* Verify the given message and signature with the public key.
|
|
6898
|
+
*
|
|
6899
|
+
* @param args.message raw message data in HexInput format
|
|
6900
|
+
* @param args.signature signed message Signature
|
|
6901
|
+
* @returns
|
|
6902
|
+
*/
|
|
6903
|
+
verifySignature(args: VerifyMultiEd25519SignatureArgs): boolean;
|
|
6904
|
+
/**
|
|
6905
|
+
* Sign a message using the account's Ed25519 private key.
|
|
6906
|
+
* @param message the signing message, as binary input
|
|
6907
|
+
* @return the AccountAuthenticator containing the signature, together with the account's public key
|
|
6908
|
+
*/
|
|
6909
|
+
signWithAuthenticator(message: HexInput): AccountAuthenticatorMultiEd25519;
|
|
6910
|
+
/**
|
|
6911
|
+
* Sign a transaction using the account's Ed25519 private keys.
|
|
6912
|
+
* @param transaction the raw transaction
|
|
6913
|
+
* @return the AccountAuthenticator containing the signature of the transaction, together with the account's public key
|
|
6914
|
+
*/
|
|
6915
|
+
signTransactionWithAuthenticator(transaction: AnyRawTransaction): AccountAuthenticatorMultiEd25519;
|
|
6916
|
+
/**
|
|
6917
|
+
* Sign the given message using the account's Ed25519 private keys.
|
|
6918
|
+
* @param message in HexInput format
|
|
6919
|
+
* @returns MultiEd25519Signature
|
|
6920
|
+
*/
|
|
6921
|
+
sign(message: HexInput): MultiEd25519Signature;
|
|
6922
|
+
/**
|
|
6923
|
+
* Sign the given transaction using the available signing capabilities.
|
|
6924
|
+
* @param transaction the transaction to be signed
|
|
6925
|
+
* @returns Signature
|
|
6926
|
+
*/
|
|
6927
|
+
signTransaction(transaction: AnyRawTransaction): MultiEd25519Signature;
|
|
6928
|
+
}
|
|
6929
|
+
|
|
6831
6930
|
/**
|
|
6832
6931
|
* Utility functions for working with accounts.
|
|
6833
6932
|
*/
|
|
@@ -8159,7 +8258,7 @@ declare class Account {
|
|
|
8159
8258
|
minimumLedgerVersion?: AnyNumber;
|
|
8160
8259
|
}): Promise<number>;
|
|
8161
8260
|
/**
|
|
8162
|
-
* Retrieves the current amount of APT for a specified account.
|
|
8261
|
+
* Retrieves the current amount of APT for a specified account. If the account does not exist, it will return 0.
|
|
8163
8262
|
*
|
|
8164
8263
|
* @param args The arguments for the account query.
|
|
8165
8264
|
* @param args.accountAddress The account address for which to retrieve the APT amount.
|
|
@@ -12985,6 +13084,52 @@ declare class AptosObject {
|
|
|
12985
13084
|
}): Promise<GetObjectDataQueryResponse[0]>;
|
|
12986
13085
|
}
|
|
12987
13086
|
|
|
13087
|
+
/**
|
|
13088
|
+
* A class to have experimental functionality to the SDK. Anything used here is subject to change.
|
|
13089
|
+
* @group Experimental
|
|
13090
|
+
* @experimental
|
|
13091
|
+
*/
|
|
13092
|
+
declare class Experimental {
|
|
13093
|
+
readonly config: AptosConfig;
|
|
13094
|
+
/**
|
|
13095
|
+
* Initializes a new instance of the Aptos client with the provided configuration.
|
|
13096
|
+
*
|
|
13097
|
+
* @param config - The configuration settings for the Aptos client.
|
|
13098
|
+
* @param config.network - The network to connect to (e.g., Testnet, Mainnet).
|
|
13099
|
+
* @param config.nodeUrl - The URL of the Aptos node to connect to.
|
|
13100
|
+
* @param config.faucetUrl - The URL of the faucet to use for funding accounts.
|
|
13101
|
+
*
|
|
13102
|
+
* @example
|
|
13103
|
+
* ```typescript
|
|
13104
|
+
* import { Aptos, AptosConfig, Network } from "@aptos-labs/ts-sdk";
|
|
13105
|
+
*
|
|
13106
|
+
* async function runExample() {
|
|
13107
|
+
* // Create a new Aptos client with Testnet configuration
|
|
13108
|
+
* const config = new AptosConfig({ network: Network.TESTNET }); // Specify your own network if needed
|
|
13109
|
+
* const aptos = new Aptos(config);
|
|
13110
|
+
*
|
|
13111
|
+
* console.log("Aptos client initialized:", aptos);
|
|
13112
|
+
* }
|
|
13113
|
+
* runExample().catch(console.error);
|
|
13114
|
+
* ```
|
|
13115
|
+
* @group Experimental
|
|
13116
|
+
* @experimental
|
|
13117
|
+
*/
|
|
13118
|
+
constructor(config: AptosConfig);
|
|
13119
|
+
viewBinary(args: {
|
|
13120
|
+
payload: InputViewFunctionData;
|
|
13121
|
+
options?: LedgerVersionArg & {
|
|
13122
|
+
convert?: undefined;
|
|
13123
|
+
};
|
|
13124
|
+
}): Promise<Uint8Array>;
|
|
13125
|
+
viewBinary<T extends {}>(args: {
|
|
13126
|
+
payload: InputViewFunctionData;
|
|
13127
|
+
options: LedgerVersionArg & {
|
|
13128
|
+
convert: (input: Uint8Array) => T;
|
|
13129
|
+
};
|
|
13130
|
+
}): Promise<T>;
|
|
13131
|
+
}
|
|
13132
|
+
|
|
12988
13133
|
/**
|
|
12989
13134
|
* The main entry point for interacting with the Aptos APIs,
|
|
12990
13135
|
* providing access to various functionalities organized into
|
|
@@ -13017,6 +13162,7 @@ declare class Aptos {
|
|
|
13017
13162
|
readonly coin: Coin;
|
|
13018
13163
|
readonly digitalAsset: DigitalAsset;
|
|
13019
13164
|
readonly event: Event;
|
|
13165
|
+
readonly experimental: Experimental;
|
|
13020
13166
|
readonly faucet: Faucet;
|
|
13021
13167
|
readonly fungibleAsset: FungibleAsset;
|
|
13022
13168
|
readonly general: General;
|
|
@@ -13048,7 +13194,7 @@ declare class Aptos {
|
|
|
13048
13194
|
*/
|
|
13049
13195
|
constructor(settings?: AptosConfig);
|
|
13050
13196
|
}
|
|
13051
|
-
interface Aptos extends Account, ANS, Coin, DigitalAsset, Event, Faucet, FungibleAsset, General, Keyless, Staking, Table, AptosObject, Omit<Transaction, "build" | "simulate" | "submit" | "batch"> {
|
|
13197
|
+
interface Aptos extends Account, ANS, Coin, DigitalAsset, Event, Experimental, Faucet, FungibleAsset, General, Keyless, Staking, Table, AptosObject, Omit<Transaction, "build" | "simulate" | "submit" | "batch"> {
|
|
13052
13198
|
}
|
|
13053
13199
|
|
|
13054
13200
|
/**
|
|
@@ -13210,6 +13356,7 @@ declare function isValidFunctionInfo(functionInfo: string): boolean;
|
|
|
13210
13356
|
* @param options.method - The HTTP method to use for the request.
|
|
13211
13357
|
* @param options.body - The body of the request.
|
|
13212
13358
|
* @param options.contentType - The content type of the request.
|
|
13359
|
+
* @param options.acceptType - The accept type of the request.
|
|
13213
13360
|
* @param options.params - The query parameters to include in the request.
|
|
13214
13361
|
* @param options.overrides - Additional overrides for the request.
|
|
13215
13362
|
* @param options.overrides.HEADERS - Custom headers to include in the request.
|
|
@@ -13223,6 +13370,28 @@ declare function isValidFunctionInfo(functionInfo: string): boolean;
|
|
|
13223
13370
|
* @category Client
|
|
13224
13371
|
*/
|
|
13225
13372
|
declare function request<Req, Res>(options: ClientRequest<Req>, client: Client): Promise<ClientResponse<Res>>;
|
|
13373
|
+
/**
|
|
13374
|
+
* Sends a request using the specified options and returns the response.
|
|
13375
|
+
*
|
|
13376
|
+
* @param options - The options for the request.
|
|
13377
|
+
* @param options.url - The URL to send the request to.
|
|
13378
|
+
* @param options.method - The HTTP method to use for the request.
|
|
13379
|
+
* @param options.body - The body of the request.
|
|
13380
|
+
* @param options.contentType - The content type of the request.
|
|
13381
|
+
* @param options.acceptType - The accept type of the request.
|
|
13382
|
+
* @param options.params - The query parameters to include in the request.
|
|
13383
|
+
* @param options.overrides - Additional overrides for the request.
|
|
13384
|
+
* @param options.overrides.HEADERS - Custom headers to include in the request.
|
|
13385
|
+
* @param options.overrides.AUTH_TOKEN - The authorization token for the request.
|
|
13386
|
+
* @param options.overrides.API_KEY - The API key for the request.
|
|
13387
|
+
* @param options.originMethod - The origin method for the request.
|
|
13388
|
+
* @param client - The client used to make the request.
|
|
13389
|
+
*
|
|
13390
|
+
* @returns The response from the request.
|
|
13391
|
+
* @group Implementation
|
|
13392
|
+
* @category Client
|
|
13393
|
+
*/
|
|
13394
|
+
declare function binaryRequest<Req>(options: ClientRequest<Req>, client: Client): Promise<ClientResponse<Buffer>>;
|
|
13226
13395
|
/**
|
|
13227
13396
|
* The main function to use when making an API request, returning the response or throwing an AptosApiError on failure.
|
|
13228
13397
|
*
|
|
@@ -13234,6 +13403,18 @@ declare function request<Req, Res>(options: ClientRequest<Req>, client: Client):
|
|
|
13234
13403
|
* @category Client
|
|
13235
13404
|
*/
|
|
13236
13405
|
declare function aptosRequest<Req extends {}, Res extends {}>(aptosRequestOpts: AptosRequest, aptosConfig: AptosConfig, apiType: AptosApiType): Promise<AptosResponse<Req, Res>>;
|
|
13406
|
+
/**
|
|
13407
|
+
* The main function to use when making an API request, returning the response or throwing an AptosApiError on failure.
|
|
13408
|
+
*
|
|
13409
|
+
* @param aptosRequestOpts - Options for the Aptos request, including the URL and path.
|
|
13410
|
+
* @param aptosConfig - The configuration information for the SDK client instance.
|
|
13411
|
+
* @param apiType - The type of API being accessed, which determines how the response is handled.
|
|
13412
|
+
* @returns The response from the API request or throws an AptosApiError if the request fails.
|
|
13413
|
+
* @group Implementation
|
|
13414
|
+
* @category Client
|
|
13415
|
+
* @experimental
|
|
13416
|
+
*/
|
|
13417
|
+
declare function aptosBinaryRequest<Req extends {}>(aptosRequestOpts: AptosRequest, aptosConfig: AptosConfig, apiType: AptosApiType): Promise<AptosResponse<Req, Buffer>>;
|
|
13237
13418
|
|
|
13238
13419
|
/**
|
|
13239
13420
|
* Options for making a GET request, including configuration for the API client.
|
|
@@ -13313,6 +13494,24 @@ type GetAptosRequestOptions = Omit<GetRequestOptions, "type">;
|
|
|
13313
13494
|
* @category Client
|
|
13314
13495
|
*/
|
|
13315
13496
|
declare function get<Req extends {}, Res extends {}>(options: GetRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
13497
|
+
/**
|
|
13498
|
+
* Executes a GET request to retrieve data based on the provided options.
|
|
13499
|
+
*
|
|
13500
|
+
* @param options - The options for the GET request.
|
|
13501
|
+
* @param options.aptosConfig - The configuration object for Aptos requests.
|
|
13502
|
+
* @param options.overrides - Optional overrides for the request configuration.
|
|
13503
|
+
* @param options.params - Query parameters to include in the request.
|
|
13504
|
+
* @param options.contentType - The content type of the request.
|
|
13505
|
+
* @param options.acceptType - The accepted response type.
|
|
13506
|
+
* @param options.path - The specific path for the request.
|
|
13507
|
+
* @param options.originMethod - The original method of the request.
|
|
13508
|
+
* @param options.type - The type of request being made.
|
|
13509
|
+
* @returns The response from the GET request.
|
|
13510
|
+
* @group Implementation
|
|
13511
|
+
* @category Client
|
|
13512
|
+
* @experimental
|
|
13513
|
+
*/
|
|
13514
|
+
declare function getBinary<Req extends {}>(options: GetRequestOptions): Promise<AptosResponse<Req, Buffer>>;
|
|
13316
13515
|
/**
|
|
13317
13516
|
* Retrieves data from the Aptos full node using the provided options.
|
|
13318
13517
|
*
|
|
@@ -13328,6 +13527,22 @@ declare function get<Req extends {}, Res extends {}>(options: GetRequestOptions)
|
|
|
13328
13527
|
* @category Client
|
|
13329
13528
|
*/
|
|
13330
13529
|
declare function getAptosFullNode<Req extends {}, Res extends {}>(options: GetAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
13530
|
+
/**
|
|
13531
|
+
* Retrieves data from the Aptos full node using the provided options.
|
|
13532
|
+
*
|
|
13533
|
+
* @param options - The options for the request to the Aptos full node.
|
|
13534
|
+
* @param options.aptosConfig - Configuration settings specific to the Aptos client and full node.
|
|
13535
|
+
* @param options.aptosConfig.clientConfig - The client configuration settings.
|
|
13536
|
+
* @param options.aptosConfig.fullnodeConfig - The full node configuration settings.
|
|
13537
|
+
* @param options.overrides - Additional overrides for the request.
|
|
13538
|
+
* @param options.type - The type of API request being made.
|
|
13539
|
+
*
|
|
13540
|
+
* @returns A promise that resolves with the response from the Aptos full node.
|
|
13541
|
+
* @group Implementation
|
|
13542
|
+
* @category Client
|
|
13543
|
+
* @experimental
|
|
13544
|
+
*/
|
|
13545
|
+
declare function getBinaryAptosFullNode<Req extends {}>(options: GetAptosRequestOptions): Promise<AptosResponse<Req, Buffer>>;
|
|
13331
13546
|
/**
|
|
13332
13547
|
* Makes a GET request to the Aptos Pepper service to retrieve data.
|
|
13333
13548
|
*
|
|
@@ -13432,6 +13647,25 @@ type PostAptosRequestOptions = Omit<PostRequestOptions, "type">;
|
|
|
13432
13647
|
* @category Client
|
|
13433
13648
|
*/
|
|
13434
13649
|
declare function post<Req extends {}, Res extends {}>(options: PostRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
13650
|
+
/**
|
|
13651
|
+
* Executes a POST request to the specified URL with the provided options.
|
|
13652
|
+
*
|
|
13653
|
+
* @param options - The options for the POST request.
|
|
13654
|
+
* @param options.type - The type of the request.
|
|
13655
|
+
* @param options.originMethod - The original method that initiated the request.
|
|
13656
|
+
* @param options.path - The path for the request.
|
|
13657
|
+
* @param options.body - The body content to be sent with the request.
|
|
13658
|
+
* @param options.acceptType - The type of response expected from the server.
|
|
13659
|
+
* @param options.contentType - The content type of the request body.
|
|
13660
|
+
* @param options.params - Additional parameters to include in the request.
|
|
13661
|
+
* @param options.aptosConfig - Configuration settings for the Aptos request.
|
|
13662
|
+
* @param options.overrides - Any overrides for the default request behavior.
|
|
13663
|
+
* @returns The response from the POST request.
|
|
13664
|
+
* @group Implementation
|
|
13665
|
+
* @category Client
|
|
13666
|
+
* @experimental
|
|
13667
|
+
*/
|
|
13668
|
+
declare function postBinary<Req extends {}>(options: PostRequestOptions): Promise<AptosResponse<Req, Buffer>>;
|
|
13435
13669
|
/**
|
|
13436
13670
|
* Sends a request to the Aptos full node using the specified options.
|
|
13437
13671
|
* This function allows you to interact with the Aptos blockchain by sending requests to the full node.
|
|
@@ -13445,6 +13679,20 @@ declare function post<Req extends {}, Res extends {}>(options: PostRequestOption
|
|
|
13445
13679
|
* @category Client
|
|
13446
13680
|
*/
|
|
13447
13681
|
declare function postAptosFullNode<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
|
|
13682
|
+
/**
|
|
13683
|
+
* Sends a request to the Aptos full node using the specified options.
|
|
13684
|
+
* This function allows you to interact with the Aptos blockchain by sending requests to the full node.
|
|
13685
|
+
*
|
|
13686
|
+
* @param options - The options for the request.
|
|
13687
|
+
* @param options.aptosConfig - Configuration settings for the Aptos client.
|
|
13688
|
+
* @param options.aptosConfig.clientConfig - Client-specific configuration settings.
|
|
13689
|
+
* @param options.aptosConfig.fullnodeConfig - Full node-specific configuration settings.
|
|
13690
|
+
* @param options.overrides - Additional overrides for the request.
|
|
13691
|
+
* @group Implementation
|
|
13692
|
+
* @category Client
|
|
13693
|
+
* @experimental
|
|
13694
|
+
*/
|
|
13695
|
+
declare function postBinaryAptosFullNode<Req extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Buffer>>;
|
|
13448
13696
|
/**
|
|
13449
13697
|
* Sends a request to the Aptos indexer with the specified options.
|
|
13450
13698
|
* This function allows you to interact with the Aptos indexer and customize the request using various configurations.
|
|
@@ -13613,4 +13861,4 @@ declare class AptosApiError extends Error {
|
|
|
13613
13861
|
constructor({ apiType, aptosRequest, aptosResponse }: AptosApiErrorOpts);
|
|
13614
13862
|
}
|
|
13615
13863
|
|
|
13616
|
-
export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_FA, APTOS_HARDENED_REGEX, AbstractKeylessAccount, AbstractedAccount, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorAbstraction, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorNoAccountAuthenticator, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AccountUtils, AnyNumber, AnyPublicKey, AnyPublicKeyVariant, type AnyRawTransaction, type AnyRawTransactionInstance, AnySignature, type AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, AptosResponse, AptosScriptComposer, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, type DerivedKeys, Deserializable, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, type EntryFunctionABI, EntryFunctionArgument, type EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, FIREBASE_AUTH_ISS_PATTERN, type FailureEventData, FaucetConfig, FederatedKeylessAccount, FederatedKeylessPublicKey, FeePayerRawTransaction, FixedBytes, FullNodeConfig, type FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16VerificationKey, Groth16Zkp, HARDENED_OFFSET, Hex, HexInput, Identifier, IndexerConfig, type InputBatchedFunctionData, type InputEntryFunctionData, type InputEntryFunctionDataWithABI, type InputEntryFunctionDataWithRemoteABI, type InputGenerateMultiAgentRawTransactionArgs, type InputGenerateMultiAgentRawTransactionData, type InputGenerateRawTransactionArgs, type InputGenerateSingleSignerRawTransactionArgs, type InputGenerateSingleSignerRawTransactionData, type InputGenerateTransactionData, type InputGenerateTransactionOptions, type InputGenerateTransactionPayloadData, type InputGenerateTransactionPayloadDataWithABI, type InputGenerateTransactionPayloadDataWithRemoteABI, type InputMultiSigData, type InputMultiSigDataWithABI, type InputMultiSigDataWithRemoteABI, type InputScriptData, type InputSimulateTransactionData, type InputSimulateTransactionOptions, type InputSubmitTransactionData, type InputViewFunctionData, type InputViewFunctionDataWithABI, type InputViewFunctionDataWithRemoteABI, type InputViewFunctionJsonData, KeyType, KeylessAccount, KeylessConfiguration, KeylessError, KeylessErrorCategory, KeylessErrorResolutionTip, KeylessErrorType, KeylessPublicKey, KeylessSignature, type KeylessSigner, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, ModuleId, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveJWK, MoveModuleBytecode, MoveModuleId, MoveOption, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentRawTransaction, MultiAgentTransaction, MultiEd25519PublicKey, MultiEd25519Signature, MultiKey, MultiKeyAccount, MultiKeySignature, MultiSig, MultiSigTransactionPayload, Network, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, PrivateKey, type PrivateKeyFromDerivationPathArgs, type PrivateKeyInput, PrivateKeyVariants, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT, RawTransaction, RawTransactionWithData, RotationProofChallenge, Script, ScriptFunctionArgument, type ScriptFunctionArgumentTypes, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serialized, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, type SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySigner, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, type SingleKeySignerOrLegacyEd25519Account, StructTag, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionAndProof, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, type TypeArgument, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint16, Uint32, Uint8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, type VerifySignatureArgs, type VerifySingleKeySignatureArgs, type ViewFunctionABI, type ViewFunctionJsonPayload, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosCoinStructTag, aptosRequest, base64UrlDecode, bigIntToBytesLE, buildTransaction, bytesToBigIntLE, checkOrConvertArgument, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, convertArgument, convertCallArgument, convertNumber, createObjectAddress, createResourceAddress, createTokenAddress, deriveKey, deriveTransactionType, deserializeFromScriptArgument, fetchEntryFunctionAbi, fetchFunctionAbi, fetchMoveFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, floorToWholeHour, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getErrorMessage, getFunctionParts, getIssAudAndUidVal, getKeylessConfig, getKeylessJWKs, hashStrToField, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isCanonicalEd25519Signature, isEmptyOption, isEncodedEntryFunctionArgument, isEncodedStruct, isKeylessSigner, isLargeNumber, isNumber, isScriptDataInput, isSingleKeySigner, isString, isValidBIP44Path, isValidFunctionInfo, isValidHardenedPath, mnemonicToSeed, normalizeBundle, nowInSeconds, objectStructTag, optionStructTag, padAndPackBytesWithLen, paginateWithCursor, paginateWithObfuscatedCursor, parseEncodedStruct, parseJwtHeader, parseTypeTag, poseidonHash, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, sleep, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch };
|
|
13864
|
+
export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_FA, APTOS_HARDENED_REGEX, AbstractKeylessAccount, AbstractMultiKey, AbstractedAccount, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorAbstraction, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorNoAccountAuthenticator, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AccountUtils, AnyNumber, AnyPublicKey, AnyPublicKeyVariant, type AnyRawTransaction, type AnyRawTransactionInstance, AnySignature, type AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, AptosResponse, AptosScriptComposer, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, type DerivedKeys, Deserializable, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, type EntryFunctionABI, EntryFunctionArgument, type EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, FIREBASE_AUTH_ISS_PATTERN, type FailureEventData, FaucetConfig, FederatedKeylessAccount, FederatedKeylessPublicKey, FeePayerRawTransaction, FixedBytes, FullNodeConfig, type FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16VerificationKey, Groth16Zkp, HARDENED_OFFSET, Hex, HexInput, Identifier, IndexerConfig, type InputBatchedFunctionData, type InputEntryFunctionData, type InputEntryFunctionDataWithABI, type InputEntryFunctionDataWithRemoteABI, type InputGenerateMultiAgentRawTransactionArgs, type InputGenerateMultiAgentRawTransactionData, type InputGenerateRawTransactionArgs, type InputGenerateSingleSignerRawTransactionArgs, type InputGenerateSingleSignerRawTransactionData, type InputGenerateTransactionData, type InputGenerateTransactionOptions, type InputGenerateTransactionPayloadData, type InputGenerateTransactionPayloadDataWithABI, type InputGenerateTransactionPayloadDataWithRemoteABI, type InputMultiSigData, type InputMultiSigDataWithABI, type InputMultiSigDataWithRemoteABI, type InputScriptData, type InputSimulateTransactionData, type InputSimulateTransactionOptions, type InputSubmitTransactionData, type InputViewFunctionData, type InputViewFunctionDataWithABI, type InputViewFunctionDataWithRemoteABI, type InputViewFunctionJsonData, KeyType, KeylessAccount, KeylessConfiguration, KeylessError, KeylessErrorCategory, KeylessErrorResolutionTip, KeylessErrorType, KeylessPublicKey, KeylessSignature, type KeylessSigner, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, ModuleId, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveJWK, MoveModuleBytecode, MoveModuleId, MoveOption, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentRawTransaction, MultiAgentTransaction, MultiEd25519Account, MultiEd25519PublicKey, MultiEd25519Signature, type MultiEd25519SignerConstructorArgs, MultiKey, MultiKeyAccount, MultiKeySignature, MultiSig, MultiSigTransactionPayload, Network, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, PrivateKey, type PrivateKeyFromDerivationPathArgs, type PrivateKeyInput, PrivateKeyVariants, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT, RawTransaction, RawTransactionWithData, RotationProofChallenge, Script, ScriptFunctionArgument, type ScriptFunctionArgumentTypes, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serialized, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, type SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySigner, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, type SingleKeySignerOrLegacyEd25519Account, StructTag, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionAndProof, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, type TypeArgument, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint16, Uint32, Uint8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, type VerifySignatureArgs, type VerifySingleKeySignatureArgs, type ViewFunctionABI, type ViewFunctionJsonPayload, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosBinaryRequest, aptosCoinStructTag, aptosRequest, base64UrlDecode, bigIntToBytesLE, binaryRequest, buildTransaction, bytesToBigIntLE, checkOrConvertArgument, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, convertArgument, convertCallArgument, convertNumber, createObjectAddress, createResourceAddress, createTokenAddress, deriveKey, deriveTransactionType, deserializeFromScriptArgument, fetchEntryFunctionAbi, fetchFunctionAbi, fetchMoveFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, floorToWholeHour, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getBinary, getBinaryAptosFullNode, getErrorMessage, getFunctionParts, getIssAudAndUidVal, getKeylessConfig, getKeylessJWKs, hashStrToField, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isCanonicalEd25519Signature, isEmptyOption, isEncodedEntryFunctionArgument, isEncodedStruct, isKeylessSigner, isLargeNumber, isNumber, isScriptDataInput, isSingleKeySigner, isString, isValidBIP44Path, isValidFunctionInfo, isValidHardenedPath, mnemonicToSeed, normalizeBundle, nowInSeconds, objectStructTag, optionStructTag, padAndPackBytesWithLen, paginateWithCursor, paginateWithObfuscatedCursor, parseEncodedStruct, parseJwtHeader, parseTypeTag, poseidonHash, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, postBinary, postBinaryAptosFullNode, promiseFulfilledStatus, request, sleep, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch };
|