@aptos-labs/ts-sdk 2.0.0-zeta.0 → 2.0.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.
Files changed (249) hide show
  1. package/dist/common/{accountAddress-B3Y4WI-E.d.ts → accountAddress-D0xKX-UM.d.ts} +11 -47
  2. package/dist/common/chunk-ZMDE3DNL.js +4 -0
  3. package/dist/common/chunk-ZMDE3DNL.js.map +1 -0
  4. package/dist/common/cli/index.d.ts +1 -1
  5. package/dist/common/cli/index.js +1 -1
  6. package/dist/common/cli/index.js.map +1 -1
  7. package/dist/common/index.d.ts +9 -121
  8. package/dist/common/index.js +31 -52
  9. package/dist/common/index.js.map +1 -1
  10. package/dist/esm/{Ed25519Account-D2MdV8Av.d.mts → Ed25519Account-D9XrCLfE.d.mts} +2 -2
  11. package/dist/esm/account/AbstractKeylessAccount.d.mts +2 -2
  12. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
  13. package/dist/esm/account/AbstractedAccount.d.mts +1 -1
  14. package/dist/esm/account/AbstractedAccount.mjs +1 -1
  15. package/dist/esm/account/Account.d.mts +1 -1
  16. package/dist/esm/account/Account.mjs +1 -1
  17. package/dist/esm/account/AccountUtils.d.mts +2 -2
  18. package/dist/esm/account/AccountUtils.mjs +1 -1
  19. package/dist/esm/account/DerivableAbstractedAccount.d.mts +1 -1
  20. package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
  21. package/dist/esm/account/Ed25519Account.d.mts +1 -1
  22. package/dist/esm/account/Ed25519Account.mjs +1 -1
  23. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  24. package/dist/esm/account/FederatedKeylessAccount.d.mts +2 -3
  25. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  26. package/dist/esm/account/KeylessAccount.d.mts +2 -3
  27. package/dist/esm/account/KeylessAccount.mjs +1 -1
  28. package/dist/esm/account/MultiEd25519Account.d.mts +1 -1
  29. package/dist/esm/account/MultiEd25519Account.mjs +1 -1
  30. package/dist/esm/account/MultiKeyAccount.d.mts +2 -2
  31. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  32. package/dist/esm/account/SingleKeyAccount.d.mts +1 -1
  33. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  34. package/dist/esm/account/index.d.mts +2 -2
  35. package/dist/esm/account/index.mjs +1 -1
  36. package/dist/esm/account/utils.mjs +1 -1
  37. package/dist/esm/api/account/abstraction.mjs +1 -1
  38. package/dist/esm/api/account.d.mts +6 -97
  39. package/dist/esm/api/account.mjs +1 -1
  40. package/dist/esm/api/ans.d.mts +1 -1
  41. package/dist/esm/api/ans.mjs +1 -1
  42. package/dist/esm/api/aptos.d.mts +6 -7
  43. package/dist/esm/api/aptos.mjs +1 -1
  44. package/dist/esm/api/aptosConfig.mjs +1 -1
  45. package/dist/esm/api/coin.mjs +1 -1
  46. package/dist/esm/api/digitalAsset.d.mts +1 -1
  47. package/dist/esm/api/digitalAsset.mjs +1 -1
  48. package/dist/esm/api/event.mjs +1 -1
  49. package/dist/esm/api/faucet.mjs +1 -1
  50. package/dist/esm/api/fungibleAsset.d.mts +1 -1
  51. package/dist/esm/api/fungibleAsset.mjs +1 -1
  52. package/dist/esm/api/general.mjs +1 -1
  53. package/dist/esm/api/index.d.mts +6 -7
  54. package/dist/esm/api/index.mjs +1 -1
  55. package/dist/esm/api/keyless.d.mts +2 -2
  56. package/dist/esm/api/keyless.mjs +1 -1
  57. package/dist/esm/api/object.mjs +1 -1
  58. package/dist/esm/api/staking.mjs +1 -1
  59. package/dist/esm/api/table.mjs +1 -1
  60. package/dist/esm/api/transaction.d.mts +1 -2
  61. package/dist/esm/api/transaction.mjs +1 -1
  62. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  63. package/dist/esm/api/transactionSubmission/management.d.mts +1 -1
  64. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  65. package/dist/esm/api/transactionSubmission/sign.d.mts +1 -1
  66. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  67. package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
  68. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  69. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  70. package/dist/esm/api/utils.mjs +1 -1
  71. package/dist/esm/bcs/deserializer.mjs +1 -1
  72. package/dist/esm/bcs/index.mjs +1 -1
  73. package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
  74. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  75. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  76. package/dist/esm/{chunk-4F5EECVQ.mjs → chunk-2UBI3AZJ.mjs} +2 -2
  77. package/dist/esm/{chunk-CO67Y6YE.mjs → chunk-4JT5AESZ.mjs} +2 -2
  78. package/dist/esm/chunk-5YLNYSBT.mjs +4 -0
  79. package/dist/esm/chunk-5YLNYSBT.mjs.map +1 -0
  80. package/dist/esm/{chunk-XTOIL6MB.mjs → chunk-DLIBG6H7.mjs} +2 -2
  81. package/dist/esm/{chunk-XTOIL6MB.mjs.map → chunk-DLIBG6H7.mjs.map} +1 -1
  82. package/dist/esm/{chunk-RQX6JOEN.mjs → chunk-EF4FA5I6.mjs} +2 -2
  83. package/dist/esm/{chunk-N4VVDQA5.mjs → chunk-G6HENV5D.mjs} +2 -2
  84. package/dist/esm/{chunk-CQJLK4WE.mjs → chunk-G7WH6GQP.mjs} +2 -2
  85. package/dist/esm/{chunk-UQWF24SS.mjs → chunk-K43K3YG7.mjs} +2 -2
  86. package/dist/esm/{chunk-2DYSBAZ7.mjs → chunk-MA4QUN6P.mjs} +2 -2
  87. package/dist/esm/chunk-ODAAZLPK.mjs +2 -0
  88. package/dist/esm/chunk-ODAAZLPK.mjs.map +1 -0
  89. package/dist/esm/chunk-RIRJNQ7B.mjs +2 -0
  90. package/dist/esm/chunk-RJ7F4JDV.mjs +2 -0
  91. package/dist/esm/{chunk-JCFTAG5Z.mjs.map → chunk-RJ7F4JDV.mjs.map} +1 -1
  92. package/dist/esm/{chunk-V7NWNNBI.mjs → chunk-SE2VS7WM.mjs} +2 -2
  93. package/dist/esm/{chunk-3BUKTQDX.mjs → chunk-TLFZOAAB.mjs} +2 -2
  94. package/dist/esm/{chunk-GPNNEHW4.mjs → chunk-USB3LA6B.mjs} +2 -2
  95. package/dist/esm/{chunk-UL777LTI.mjs → chunk-VHNX2NUR.mjs} +26 -47
  96. package/dist/esm/chunk-VHNX2NUR.mjs.map +1 -0
  97. package/dist/esm/{chunk-SVMCNLFC.mjs → chunk-ZNLOQO4Q.mjs} +2 -2
  98. package/dist/esm/cli/index.mjs +1 -1
  99. package/dist/esm/cli/localNode.mjs +1 -1
  100. package/dist/esm/client/core.mjs +1 -1
  101. package/dist/esm/client/get.mjs +1 -1
  102. package/dist/esm/client/index.mjs +1 -1
  103. package/dist/esm/client/post.mjs +1 -1
  104. package/dist/esm/core/account/index.mjs +1 -1
  105. package/dist/esm/core/account/utils/address.mjs +1 -1
  106. package/dist/esm/core/account/utils/index.mjs +1 -1
  107. package/dist/esm/core/accountAddress.mjs +1 -1
  108. package/dist/esm/core/authenticationKey.mjs +1 -1
  109. package/dist/esm/core/crypto/abstraction.mjs +1 -1
  110. package/dist/esm/core/crypto/ed25519.d.mts +1 -1
  111. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  112. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  113. package/dist/esm/core/crypto/federatedKeyless.d.mts +1 -1
  114. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  115. package/dist/esm/core/crypto/index.d.mts +1 -2
  116. package/dist/esm/core/crypto/index.mjs +1 -1
  117. package/dist/esm/core/crypto/keyless.d.mts +1 -1
  118. package/dist/esm/core/crypto/keyless.mjs +1 -1
  119. package/dist/esm/core/crypto/multiEd25519.d.mts +0 -10
  120. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  121. package/dist/esm/core/crypto/multiKey.d.mts +0 -2
  122. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  123. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  124. package/dist/esm/core/crypto/proof.mjs +1 -1
  125. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  126. package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
  127. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  128. package/dist/esm/core/crypto/signature.mjs +1 -1
  129. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  130. package/dist/esm/core/index.d.mts +1 -2
  131. package/dist/esm/core/index.mjs +1 -1
  132. package/dist/esm/errors/index.mjs +1 -1
  133. package/dist/esm/{federatedKeyless-BelAZrlM.d.mts → federatedKeyless-DAYXjY2Y.d.mts} +2 -2
  134. package/dist/esm/index.d.mts +4 -5
  135. package/dist/esm/index.mjs +1 -1
  136. package/dist/esm/internal/abstraction.mjs +1 -1
  137. package/dist/esm/internal/account.d.mts +14 -43
  138. package/dist/esm/internal/account.mjs +1 -1
  139. package/dist/esm/internal/ans.d.mts +2 -2
  140. package/dist/esm/internal/ans.mjs +1 -1
  141. package/dist/esm/internal/coin.mjs +1 -1
  142. package/dist/esm/internal/digitalAsset.d.mts +2 -2
  143. package/dist/esm/internal/digitalAsset.mjs +1 -1
  144. package/dist/esm/internal/event.mjs +1 -1
  145. package/dist/esm/internal/faucet.mjs +1 -1
  146. package/dist/esm/internal/fungibleAsset.d.mts +1 -1
  147. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  148. package/dist/esm/internal/general.mjs +1 -1
  149. package/dist/esm/internal/keyless.d.mts +2 -11
  150. package/dist/esm/internal/keyless.mjs +1 -1
  151. package/dist/esm/internal/object.mjs +1 -1
  152. package/dist/esm/internal/staking.mjs +1 -1
  153. package/dist/esm/internal/table.mjs +1 -1
  154. package/dist/esm/internal/transaction.mjs +1 -1
  155. package/dist/esm/internal/transactionSubmission.d.mts +1 -1
  156. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  157. package/dist/esm/internal/utils/index.mjs +1 -1
  158. package/dist/esm/internal/utils/utils.mjs +1 -1
  159. package/dist/esm/internal/view.mjs +1 -1
  160. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  161. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  162. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  163. package/dist/esm/transactions/index.mjs +1 -1
  164. package/dist/esm/transactions/instances/index.mjs +1 -1
  165. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  166. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  167. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  168. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  169. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  170. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  171. package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -1
  172. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  173. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +1 -1
  174. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  175. package/dist/esm/transactions/management/index.d.mts +1 -1
  176. package/dist/esm/transactions/management/index.mjs +1 -1
  177. package/dist/esm/transactions/management/transactionWorker.d.mts +1 -1
  178. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  179. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  180. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  181. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  182. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  183. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +2 -2
  184. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  185. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  186. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  187. package/dist/esm/transactions/types.d.mts +1 -1
  188. package/dist/esm/types/generated/operations.d.mts +10 -37
  189. package/dist/esm/types/generated/queries.d.mts +2 -6
  190. package/dist/esm/types/generated/queries.mjs +1 -1
  191. package/dist/esm/types/generated/types.d.mts +1172 -584
  192. package/dist/esm/types/generated/types.mjs +1 -1
  193. package/dist/esm/types/generated/types.mjs.map +1 -1
  194. package/dist/esm/types/index.d.mts +2 -2
  195. package/dist/esm/types/index.mjs +1 -1
  196. package/dist/esm/types/indexer.d.mts +2 -8
  197. package/dist/esm/types/types.d.mts +3 -25
  198. package/dist/esm/types/types.mjs +1 -1
  199. package/dist/esm/utils/const.d.mts +0 -1
  200. package/dist/esm/utils/const.mjs +1 -1
  201. package/dist/esm/utils/helpers.mjs +1 -1
  202. package/dist/esm/utils/index.mjs +1 -1
  203. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  204. package/package.json +2 -2
  205. package/src/account/FederatedKeylessAccount.ts +1 -7
  206. package/src/account/KeylessAccount.ts +2 -17
  207. package/src/api/account.ts +2 -122
  208. package/src/api/transaction.ts +0 -1
  209. package/src/core/crypto/index.ts +0 -1
  210. package/src/core/crypto/multiEd25519.ts +0 -26
  211. package/src/core/crypto/multiKey.ts +0 -6
  212. package/src/internal/account.ts +53 -523
  213. package/src/internal/keyless.ts +0 -10
  214. package/src/types/codegen.yaml +1 -1
  215. package/src/types/generated/operations.ts +8 -39
  216. package/src/types/generated/queries.ts +0 -53
  217. package/src/types/generated/types.ts +1240 -621
  218. package/src/types/indexer.ts +0 -8
  219. package/src/types/types.ts +3 -40
  220. package/src/utils/const.ts +0 -1
  221. package/dist/common/chunk-BNN2XWNR.js +0 -4
  222. package/dist/common/chunk-BNN2XWNR.js.map +0 -1
  223. package/dist/esm/chunk-3FEFJIVT.mjs +0 -2
  224. package/dist/esm/chunk-3FEFJIVT.mjs.map +0 -1
  225. package/dist/esm/chunk-4YLUM62M.mjs +0 -2
  226. package/dist/esm/chunk-5HXLZHDW.mjs +0 -1
  227. package/dist/esm/chunk-5HXLZHDW.mjs.map +0 -1
  228. package/dist/esm/chunk-GRPSFJ3N.mjs +0 -4
  229. package/dist/esm/chunk-GRPSFJ3N.mjs.map +0 -1
  230. package/dist/esm/chunk-JCFTAG5Z.mjs +0 -2
  231. package/dist/esm/chunk-UL777LTI.mjs.map +0 -1
  232. package/dist/esm/core/crypto/types.d.mts +0 -25
  233. package/dist/esm/core/crypto/types.mjs +0 -2
  234. package/dist/esm/core/crypto/types.mjs.map +0 -1
  235. package/src/core/crypto/types.ts +0 -9
  236. package/src/internal/queries/getAccountAddressesForAuthKey.graphql +0 -8
  237. package/src/internal/queries/getAuthKeysForPublicKey.graphql +0 -11
  238. /package/dist/esm/{chunk-4F5EECVQ.mjs.map → chunk-2UBI3AZJ.mjs.map} +0 -0
  239. /package/dist/esm/{chunk-CO67Y6YE.mjs.map → chunk-4JT5AESZ.mjs.map} +0 -0
  240. /package/dist/esm/{chunk-RQX6JOEN.mjs.map → chunk-EF4FA5I6.mjs.map} +0 -0
  241. /package/dist/esm/{chunk-N4VVDQA5.mjs.map → chunk-G6HENV5D.mjs.map} +0 -0
  242. /package/dist/esm/{chunk-CQJLK4WE.mjs.map → chunk-G7WH6GQP.mjs.map} +0 -0
  243. /package/dist/esm/{chunk-UQWF24SS.mjs.map → chunk-K43K3YG7.mjs.map} +0 -0
  244. /package/dist/esm/{chunk-2DYSBAZ7.mjs.map → chunk-MA4QUN6P.mjs.map} +0 -0
  245. /package/dist/esm/{chunk-4YLUM62M.mjs.map → chunk-RIRJNQ7B.mjs.map} +0 -0
  246. /package/dist/esm/{chunk-V7NWNNBI.mjs.map → chunk-SE2VS7WM.mjs.map} +0 -0
  247. /package/dist/esm/{chunk-3BUKTQDX.mjs.map → chunk-TLFZOAAB.mjs.map} +0 -0
  248. /package/dist/esm/{chunk-GPNNEHW4.mjs.map → chunk-USB3LA6B.mjs.map} +0 -0
  249. /package/dist/esm/{chunk-SVMCNLFC.mjs.map → chunk-ZNLOQO4Q.mjs.map} +0 -0
@@ -178,16 +178,6 @@ export async function deriveKeylessAccount(args: {
178
178
  proofFetchCallback?: ProofFetchCallback;
179
179
  }): Promise<FederatedKeylessAccount>;
180
180
 
181
- export async function deriveKeylessAccount(args: {
182
- aptosConfig: AptosConfig;
183
- jwt: string;
184
- ephemeralKeyPair: EphemeralKeyPair;
185
- jwkAddress?: AccountAddressInput;
186
- uidKey?: string;
187
- pepper?: HexInput;
188
- proofFetchCallback?: ProofFetchCallback;
189
- }): Promise<KeylessAccount | FederatedKeylessAccount>;
190
-
191
181
  export async function deriveKeylessAccount(args: {
192
182
  aptosConfig: AptosConfig;
193
183
  jwt: string;
@@ -1,6 +1,6 @@
1
1
  overwrite: true
2
2
  documents: src/internal/queries/**/*.graphql
3
- schema: https://api.devnet.aptoslabs.com/v1/graphql
3
+ schema: https://api.mainnet.aptoslabs.com/v1/graphql
4
4
  generates:
5
5
  src/types/generated/types.ts:
6
6
  plugins:
@@ -77,20 +77,6 @@ export type CurrentTokenOwnershipFieldsFragment = {
77
77
  } | null;
78
78
  };
79
79
 
80
- export type GetAccountAddressesForAuthKeyQueryVariables = Types.Exact<{
81
- where_condition?: Types.InputMaybe<Types.AuthKeyAccountAddressesBoolExp>;
82
- order_by?: Types.InputMaybe<Array<Types.AuthKeyAccountAddressesOrderBy> | Types.AuthKeyAccountAddressesOrderBy>;
83
- }>;
84
-
85
- export type GetAccountAddressesForAuthKeyQuery = {
86
- auth_key_account_addresses: Array<{
87
- auth_key: string;
88
- account_address: string;
89
- last_transaction_version: any;
90
- is_auth_key_used: boolean;
91
- }>;
92
- };
93
-
94
80
  export type GetAccountCoinsCountQueryVariables = Types.Exact<{
95
81
  address?: Types.InputMaybe<Types.Scalars["String"]["input"]>;
96
82
  }>;
@@ -110,15 +96,15 @@ export type GetAccountCoinsDataQueryVariables = Types.Exact<{
110
96
 
111
97
  export type GetAccountCoinsDataQuery = {
112
98
  current_fungible_asset_balances: Array<{
113
- amount: any;
114
- asset_type: string;
99
+ amount?: any | null;
100
+ asset_type?: string | null;
115
101
  is_frozen: boolean;
116
- is_primary: boolean;
102
+ is_primary?: boolean | null;
117
103
  last_transaction_timestamp?: any | null;
118
104
  last_transaction_version?: any | null;
119
105
  owner_address: string;
120
106
  storage_id: string;
121
- token_standard: string;
107
+ token_standard?: string | null;
122
108
  metadata?: {
123
109
  token_standard: string;
124
110
  symbol: string;
@@ -360,23 +346,6 @@ export type GetAccountTransactionsCountQuery = {
360
346
  account_transactions_aggregate: { aggregate?: { count: number } | null };
361
347
  };
362
348
 
363
- export type GetAuthKeysForPublicKeyQueryVariables = Types.Exact<{
364
- where_condition?: Types.InputMaybe<Types.PublicKeyAuthKeysBoolExp>;
365
- order_by?: Types.InputMaybe<Array<Types.PublicKeyAuthKeysOrderBy> | Types.PublicKeyAuthKeysOrderBy>;
366
- }>;
367
-
368
- export type GetAuthKeysForPublicKeyQuery = {
369
- public_key_auth_keys: Array<{
370
- public_key: string;
371
- public_key_type: string;
372
- auth_key: string;
373
- account_public_key?: string | null;
374
- last_transaction_version: any;
375
- is_public_key_used: boolean;
376
- signature_type: string;
377
- }>;
378
- };
379
-
380
349
  export type GetChainTopUserTransactionsQueryVariables = Types.Exact<{
381
350
  limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
382
351
  }>;
@@ -425,15 +394,15 @@ export type GetCurrentFungibleAssetBalancesQueryVariables = Types.Exact<{
425
394
 
426
395
  export type GetCurrentFungibleAssetBalancesQuery = {
427
396
  current_fungible_asset_balances: Array<{
428
- amount: any;
429
- asset_type: string;
397
+ amount?: any | null;
398
+ asset_type?: string | null;
430
399
  is_frozen: boolean;
431
- is_primary: boolean;
400
+ is_primary?: boolean | null;
432
401
  last_transaction_timestamp?: any | null;
433
402
  last_transaction_version?: any | null;
434
403
  owner_address: string;
435
404
  storage_id: string;
436
- token_standard: string;
405
+ token_standard?: string | null;
437
406
  }>;
438
407
  };
439
408
 
@@ -82,16 +82,6 @@ export const CurrentTokenOwnershipFieldsFragmentDoc = `
82
82
  }
83
83
  }
84
84
  `;
85
- export const GetAccountAddressesForAuthKey = `
86
- query getAccountAddressesForAuthKey($where_condition: auth_key_account_addresses_bool_exp, $order_by: [auth_key_account_addresses_order_by!]) {
87
- auth_key_account_addresses(where: $where_condition, order_by: $order_by) {
88
- auth_key
89
- account_address
90
- last_transaction_version
91
- is_auth_key_used
92
- }
93
- }
94
- `;
95
85
  export const GetAccountCoinsCount = `
96
86
  query getAccountCoinsCount($address: String) {
97
87
  current_fungible_asset_balances_aggregate(
@@ -230,19 +220,6 @@ export const GetAccountTransactionsCount = `
230
220
  }
231
221
  }
232
222
  `;
233
- export const GetAuthKeysForPublicKey = `
234
- query getAuthKeysForPublicKey($where_condition: public_key_auth_keys_bool_exp, $order_by: [public_key_auth_keys_order_by!]) {
235
- public_key_auth_keys(where: $where_condition, order_by: $order_by) {
236
- public_key
237
- public_key_type
238
- auth_key
239
- account_public_key
240
- last_transaction_version
241
- is_public_key_used
242
- signature_type
243
- }
244
- }
245
- `;
246
223
  export const GetChainTopUserTransactions = `
247
224
  query getChainTopUserTransactions($limit: Int) {
248
225
  user_transactions(limit: $limit, order_by: {version: desc}) {
@@ -535,21 +512,6 @@ const defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationTy
535
512
 
536
513
  export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) {
537
514
  return {
538
- getAccountAddressesForAuthKey(
539
- variables?: Types.GetAccountAddressesForAuthKeyQueryVariables,
540
- requestHeaders?: GraphQLClientRequestHeaders,
541
- ): Promise<Types.GetAccountAddressesForAuthKeyQuery> {
542
- return withWrapper(
543
- (wrappedRequestHeaders) =>
544
- client.request<Types.GetAccountAddressesForAuthKeyQuery>(GetAccountAddressesForAuthKey, variables, {
545
- ...requestHeaders,
546
- ...wrappedRequestHeaders,
547
- }),
548
- "getAccountAddressesForAuthKey",
549
- "query",
550
- variables,
551
- );
552
- },
553
515
  getAccountCoinsCount(
554
516
  variables?: Types.GetAccountCoinsCountQueryVariables,
555
517
  requestHeaders?: GraphQLClientRequestHeaders,
@@ -672,21 +634,6 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
672
634
  variables,
673
635
  );
674
636
  },
675
- getAuthKeysForPublicKey(
676
- variables?: Types.GetAuthKeysForPublicKeyQueryVariables,
677
- requestHeaders?: GraphQLClientRequestHeaders,
678
- ): Promise<Types.GetAuthKeysForPublicKeyQuery> {
679
- return withWrapper(
680
- (wrappedRequestHeaders) =>
681
- client.request<Types.GetAuthKeysForPublicKeyQuery>(GetAuthKeysForPublicKey, variables, {
682
- ...requestHeaders,
683
- ...wrappedRequestHeaders,
684
- }),
685
- "getAuthKeysForPublicKey",
686
- "query",
687
- variables,
688
- );
689
- },
690
637
  getChainTopUserTransactions(
691
638
  variables?: Types.GetChainTopUserTransactionsQueryVariables,
692
639
  requestHeaders?: GraphQLClientRequestHeaders,