@b3dotfun/sdk 0.0.18 → 0.0.19-alpha.1

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 (93) hide show
  1. package/README.md +29 -51
  2. package/dist/cjs/anyspend/react/components/AnySpend.js +21 -3
  3. package/dist/cjs/anyspend/react/components/AnySpendCustom.js +0 -1
  4. package/dist/cjs/anyspend/react/components/common/FiatPaymentMethod.js +2 -2
  5. package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.js +0 -1
  6. package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.js +0 -1
  7. package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +0 -1
  8. package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +0 -4
  9. package/dist/cjs/anyspend/react/hooks/useGeoOnrampOptions.js +1 -1
  10. package/dist/cjs/anyspend/react/hooks/useStripeSupport.d.ts +1 -1
  11. package/dist/cjs/anyspend/react/hooks/useStripeSupport.js +4 -4
  12. package/dist/cjs/anyspend/react/providers/AnyspendProvider.d.ts +1 -2
  13. package/dist/cjs/anyspend/react/providers/AnyspendProvider.js +2 -3
  14. package/dist/cjs/anyspend/services/anyspend.d.ts +1 -1
  15. package/dist/cjs/anyspend/services/anyspend.js +1 -2
  16. package/dist/cjs/anyspend/types/api.d.ts +1 -16
  17. package/dist/cjs/global-account/react/components/B3Provider/B3Provider.d.ts +3 -1
  18. package/dist/cjs/global-account/react/components/B3Provider/B3Provider.js +2 -2
  19. package/dist/cjs/global-account/react/components/B3Provider/B3Provider.native.js +3 -1
  20. package/dist/cjs/global-account/react/components/index.d.ts +1 -0
  21. package/dist/cjs/global-account/react/components/index.js +4 -2
  22. package/dist/cjs/global-account/react/components/ui/Loading.js +1 -1
  23. package/dist/cjs/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +4 -4
  24. package/dist/cjs/shared/thirdweb/generated/@tanstack/react-query.gen.js +360 -313
  25. package/dist/cjs/shared/thirdweb/generated/client.gen.d.ts +2 -2
  26. package/dist/cjs/shared/thirdweb/generated/sdk.gen.d.ts +2 -2
  27. package/dist/cjs/shared/thirdweb/generated/sdk.gen.js +398 -398
  28. package/dist/cjs/shared/thirdweb/generated/types.gen.d.ts +135 -135
  29. package/dist/esm/anyspend/react/components/AnySpend.js +21 -3
  30. package/dist/esm/anyspend/react/components/AnySpendCustom.js +0 -1
  31. package/dist/esm/anyspend/react/components/common/FiatPaymentMethod.js +2 -2
  32. package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.js +0 -1
  33. package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.js +0 -1
  34. package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +0 -1
  35. package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +0 -4
  36. package/dist/esm/anyspend/react/hooks/useGeoOnrampOptions.js +1 -1
  37. package/dist/esm/anyspend/react/hooks/useStripeSupport.d.ts +1 -1
  38. package/dist/esm/anyspend/react/hooks/useStripeSupport.js +4 -4
  39. package/dist/esm/anyspend/react/providers/AnyspendProvider.d.ts +1 -2
  40. package/dist/esm/anyspend/react/providers/AnyspendProvider.js +2 -3
  41. package/dist/esm/anyspend/services/anyspend.d.ts +1 -1
  42. package/dist/esm/anyspend/services/anyspend.js +1 -2
  43. package/dist/esm/anyspend/types/api.d.ts +1 -16
  44. package/dist/esm/global-account/react/components/B3Provider/B3Provider.d.ts +3 -1
  45. package/dist/esm/global-account/react/components/B3Provider/B3Provider.js +3 -3
  46. package/dist/esm/global-account/react/components/B3Provider/B3Provider.native.js +3 -1
  47. package/dist/esm/global-account/react/components/index.d.ts +1 -0
  48. package/dist/esm/global-account/react/components/index.js +1 -0
  49. package/dist/esm/global-account/react/components/ui/Loading.js +1 -1
  50. package/dist/esm/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +4 -4
  51. package/dist/esm/shared/thirdweb/generated/@tanstack/react-query.gen.js +363 -316
  52. package/dist/esm/shared/thirdweb/generated/client.gen.d.ts +2 -2
  53. package/dist/esm/shared/thirdweb/generated/client.gen.js +1 -1
  54. package/dist/esm/shared/thirdweb/generated/sdk.gen.d.ts +2 -2
  55. package/dist/esm/shared/thirdweb/generated/sdk.gen.js +399 -399
  56. package/dist/esm/shared/thirdweb/generated/types.gen.d.ts +135 -135
  57. package/dist/types/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +0 -1
  58. package/dist/types/anyspend/react/hooks/useStripeSupport.d.ts +1 -1
  59. package/dist/types/anyspend/react/providers/AnyspendProvider.d.ts +1 -2
  60. package/dist/types/anyspend/services/anyspend.d.ts +1 -1
  61. package/dist/types/anyspend/types/api.d.ts +1 -16
  62. package/dist/types/global-account/react/components/B3Provider/B3Provider.d.ts +3 -1
  63. package/dist/types/global-account/react/components/index.d.ts +1 -0
  64. package/dist/types/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +4 -4
  65. package/dist/types/shared/thirdweb/generated/client.gen.d.ts +2 -2
  66. package/dist/types/shared/thirdweb/generated/sdk.gen.d.ts +2 -2
  67. package/dist/types/shared/thirdweb/generated/types.gen.d.ts +135 -135
  68. package/package.json +2 -2
  69. package/src/anyspend/react/components/AnySpend.tsx +25 -7
  70. package/src/anyspend/react/components/AnySpendCustom.tsx +0 -1
  71. package/src/anyspend/react/components/common/FiatPaymentMethod.tsx +2 -2
  72. package/src/anyspend/react/components/common/PanelOnrampPayment.tsx +0 -1
  73. package/src/anyspend/react/components/webview/WebviewOnrampPayment.tsx +0 -1
  74. package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +0 -6
  75. package/src/anyspend/react/hooks/useGeoOnrampOptions.ts +0 -1
  76. package/src/anyspend/react/hooks/useStripeSupport.ts +3 -4
  77. package/src/anyspend/react/providers/AnyspendProvider.tsx +5 -9
  78. package/src/anyspend/services/anyspend.ts +0 -2
  79. package/src/anyspend/types/api.ts +1 -16
  80. package/src/global-account/react/components/B3Provider/B3Provider.native.tsx +1 -0
  81. package/src/global-account/react/components/B3Provider/B3Provider.tsx +11 -5
  82. package/src/global-account/react/components/index.ts +1 -0
  83. package/src/global-account/react/components/ui/Loading.tsx +1 -1
  84. package/src/shared/thirdweb/generated/@tanstack/react-query.gen.ts +1886 -1220
  85. package/src/shared/thirdweb/generated/client.gen.ts +11 -4
  86. package/src/shared/thirdweb/generated/sdk.gen.ts +1083 -809
  87. package/src/shared/thirdweb/generated/types.gen.ts +3953 -3862
  88. /package/dist/cjs/{anyspend/react/providers → global-account/react/components/B3Provider}/RelayKitProviderWrapper.d.ts +0 -0
  89. /package/dist/cjs/{anyspend/react/providers → global-account/react/components/B3Provider}/RelayKitProviderWrapper.js +0 -0
  90. /package/dist/esm/{anyspend/react/providers → global-account/react/components/B3Provider}/RelayKitProviderWrapper.d.ts +0 -0
  91. /package/dist/esm/{anyspend/react/providers → global-account/react/components/B3Provider}/RelayKitProviderWrapper.js +0 -0
  92. /package/dist/types/{anyspend/react/providers → global-account/react/components/B3Provider}/RelayKitProviderWrapper.d.ts +0 -0
  93. /package/src/{anyspend/react/providers → global-account/react/components/B3Provider}/RelayKitProviderWrapper.tsx +0 -0
@@ -1,9 +1,12 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
- import { getV1Webhooks, postV1Webhooks, deleteV1WebhooksByWebhookId, patchV1WebhooksByWebhookId, postV1WebhooksTest, getV1Events, getV1EventsByContractAddress, getV1EventsByContractAddressBySignature, getV1Transactions, getV1TransactionsByContractAddress, getV1TransactionsByContractAddressBySignature, getV1TokensTransfersTransactionByTransactionHash, getV1TokensTransfersByContractAddress, getV1TokensTransfers, getV1TokensErc20ByOwnerAddress, getV1TokensErc721ByOwnerAddress, getV1TokensErc1155ByOwnerAddress, getV1TokensPriceSupported, getV1TokensPrice, getV1TokensLookup, getV1ResolveByInput, getV1Blocks, getV1ContractsAbiByContractAddress, getV1ContractsMetadataByContractAddress, postV1DecodeByContractAddress, getV1NftsBalanceByOwnerAddress, getV1NftsCollectionsByContractAddress, getV1Nfts, getV1NftsOwnersByContractAddress, getV1NftsOwnersByContractAddressByTokenId, getV1NftsTransfers, getV1NftsTransfersTransactionByTransactionHash, getV1NftsTransfersByContractAddress, getV1NftsByContractAddress, getV1NftsTransfersByContractAddressByTokenId, getV1NftsByContractAddressByTokenId, getV1NftsMetadataRefreshByContractAddress, getV1NftsMetadataRefreshByContractAddressByTokenId, getV1WalletsByWalletAddressTransactions } from '../sdk.gen.js';
3
- import { queryOptions, infiniteQueryOptions } from '@tanstack/react-query';
4
- import { client as _heyApiClient } from '../client.gen.js';
2
+ import { getV1Webhooks, postV1Webhooks, deleteV1WebhooksByWebhookId, patchV1WebhooksByWebhookId, postV1WebhooksTest, getV1Events, getV1EventsByContractAddress, getV1EventsByContractAddressBySignature, getV1Transactions, getV1TransactionsByContractAddress, getV1TransactionsByContractAddressBySignature, getV1TokensTransfersTransactionByTransactionHash, getV1TokensTransfersByContractAddress, getV1TokensTransfers, getV1TokensErc20ByOwnerAddress, getV1TokensErc721ByOwnerAddress, getV1TokensErc1155ByOwnerAddress, getV1TokensPriceSupported, getV1TokensPrice, getV1TokensLookup, getV1ResolveByInput, getV1Blocks, getV1ContractsAbiByContractAddress, getV1ContractsMetadataByContractAddress, postV1DecodeByContractAddress, getV1NftsBalanceByOwnerAddress, getV1NftsCollectionsByContractAddress, getV1Nfts, getV1NftsOwnersByContractAddress, getV1NftsOwnersByContractAddressByTokenId, getV1NftsTransfers, getV1NftsTransfersTransactionByTransactionHash, getV1NftsTransfersByContractAddress, getV1NftsByContractAddress, getV1NftsTransfersByContractAddressByTokenId, getV1NftsByContractAddressByTokenId, getV1NftsMetadataRefreshByContractAddress, getV1NftsMetadataRefreshByContractAddressByTokenId, getV1WalletsByWalletAddressTransactions, } from "../sdk.gen.js";
3
+ import { queryOptions, infiniteQueryOptions, } from "@tanstack/react-query";
4
+ import { client as _heyApiClient } from "../client.gen.js";
5
5
  const createQueryKey = (id, options, infinite) => {
6
- const params = { _id: id, baseUrl: (options?.client ?? _heyApiClient).getConfig().baseUrl };
6
+ const params = {
7
+ _id: id,
8
+ baseUrl: (options?.client ?? _heyApiClient).getConfig().baseUrl,
9
+ };
7
10
  if (infinite) {
8
11
  params._infinite = infinite;
9
12
  }
@@ -19,11 +22,9 @@ const createQueryKey = (id, options, infinite) => {
19
22
  if (options?.query) {
20
23
  params.query = options.query;
21
24
  }
22
- return [
23
- params
24
- ];
25
+ return [params];
25
26
  };
26
- export const getV1WebhooksQueryKey = (options) => createQueryKey('getV1Webhooks', options);
27
+ export const getV1WebhooksQueryKey = (options) => createQueryKey("getV1Webhooks", options);
27
28
  export const getV1WebhooksOptions = (options) => {
28
29
  return queryOptions({
29
30
  queryFn: async ({ queryKey, signal }) => {
@@ -31,14 +32,14 @@ export const getV1WebhooksOptions = (options) => {
31
32
  ...options,
32
33
  ...queryKey[0],
33
34
  signal,
34
- throwOnError: true
35
+ throwOnError: true,
35
36
  });
36
37
  return data;
37
38
  },
38
- queryKey: getV1WebhooksQueryKey(options)
39
+ queryKey: getV1WebhooksQueryKey(options),
39
40
  });
40
41
  };
41
- export const postV1WebhooksQueryKey = (options) => createQueryKey('postV1Webhooks', options);
42
+ export const postV1WebhooksQueryKey = (options) => createQueryKey("postV1Webhooks", options);
42
43
  export const postV1WebhooksOptions = (options) => {
43
44
  return queryOptions({
44
45
  queryFn: async ({ queryKey, signal }) => {
@@ -46,11 +47,11 @@ export const postV1WebhooksOptions = (options) => {
46
47
  ...options,
47
48
  ...queryKey[0],
48
49
  signal,
49
- throwOnError: true
50
+ throwOnError: true,
50
51
  });
51
52
  return data;
52
53
  },
53
- queryKey: postV1WebhooksQueryKey(options)
54
+ queryKey: postV1WebhooksQueryKey(options),
54
55
  });
55
56
  };
56
57
  export const postV1WebhooksMutation = (options) => {
@@ -59,10 +60,10 @@ export const postV1WebhooksMutation = (options) => {
59
60
  const { data } = await postV1Webhooks({
60
61
  ...options,
61
62
  ...localOptions,
62
- throwOnError: true
63
+ throwOnError: true,
63
64
  });
64
65
  return data;
65
- }
66
+ },
66
67
  };
67
68
  return mutationOptions;
68
69
  };
@@ -72,10 +73,10 @@ export const deleteV1WebhooksByWebhookIdMutation = (options) => {
72
73
  const { data } = await deleteV1WebhooksByWebhookId({
73
74
  ...options,
74
75
  ...localOptions,
75
- throwOnError: true
76
+ throwOnError: true,
76
77
  });
77
78
  return data;
78
- }
79
+ },
79
80
  };
80
81
  return mutationOptions;
81
82
  };
@@ -85,14 +86,14 @@ export const patchV1WebhooksByWebhookIdMutation = (options) => {
85
86
  const { data } = await patchV1WebhooksByWebhookId({
86
87
  ...options,
87
88
  ...localOptions,
88
- throwOnError: true
89
+ throwOnError: true,
89
90
  });
90
91
  return data;
91
- }
92
+ },
92
93
  };
93
94
  return mutationOptions;
94
95
  };
95
- export const postV1WebhooksTestQueryKey = (options) => createQueryKey('postV1WebhooksTest', options);
96
+ export const postV1WebhooksTestQueryKey = (options) => createQueryKey("postV1WebhooksTest", options);
96
97
  export const postV1WebhooksTestOptions = (options) => {
97
98
  return queryOptions({
98
99
  queryFn: async ({ queryKey, signal }) => {
@@ -100,11 +101,11 @@ export const postV1WebhooksTestOptions = (options) => {
100
101
  ...options,
101
102
  ...queryKey[0],
102
103
  signal,
103
- throwOnError: true
104
+ throwOnError: true,
104
105
  });
105
106
  return data;
106
107
  },
107
- queryKey: postV1WebhooksTestQueryKey(options)
108
+ queryKey: postV1WebhooksTestQueryKey(options),
108
109
  });
109
110
  };
110
111
  export const postV1WebhooksTestMutation = (options) => {
@@ -113,14 +114,14 @@ export const postV1WebhooksTestMutation = (options) => {
113
114
  const { data } = await postV1WebhooksTest({
114
115
  ...options,
115
116
  ...localOptions,
116
- throwOnError: true
117
+ throwOnError: true,
117
118
  });
118
119
  return data;
119
- }
120
+ },
120
121
  };
121
122
  return mutationOptions;
122
123
  };
123
- export const getV1EventsQueryKey = (options) => createQueryKey('getV1Events', options);
124
+ export const getV1EventsQueryKey = (options) => createQueryKey("getV1Events", options);
124
125
  export const getV1EventsOptions = (options) => {
125
126
  return queryOptions({
126
127
  queryFn: async ({ queryKey, signal }) => {
@@ -128,11 +129,11 @@ export const getV1EventsOptions = (options) => {
128
129
  ...options,
129
130
  ...queryKey[0],
130
131
  signal,
131
- throwOnError: true
132
+ throwOnError: true,
132
133
  });
133
134
  return data;
134
135
  },
135
- queryKey: getV1EventsQueryKey(options)
136
+ queryKey: getV1EventsQueryKey(options),
136
137
  });
137
138
  };
138
139
  const createInfiniteParams = (queryKey, page) => {
@@ -140,54 +141,56 @@ const createInfiniteParams = (queryKey, page) => {
140
141
  if (page.body) {
141
142
  params.body = {
142
143
  ...queryKey[0].body,
143
- ...page.body
144
+ ...page.body,
144
145
  };
145
146
  }
146
147
  if (page.headers) {
147
148
  params.headers = {
148
149
  ...queryKey[0].headers,
149
- ...page.headers
150
+ ...page.headers,
150
151
  };
151
152
  }
152
153
  if (page.path) {
153
154
  params.path = {
154
155
  ...queryKey[0].path,
155
- ...page.path
156
+ ...page.path,
156
157
  };
157
158
  }
158
159
  if (page.query) {
159
160
  params.query = {
160
161
  ...queryKey[0].query,
161
- ...page.query
162
+ ...page.query,
162
163
  };
163
164
  }
164
165
  return params;
165
166
  };
166
- export const getV1EventsInfiniteQueryKey = (options) => createQueryKey('getV1Events', options, true);
167
+ export const getV1EventsInfiniteQueryKey = (options) => createQueryKey("getV1Events", options, true);
167
168
  export const getV1EventsInfiniteOptions = (options) => {
168
169
  return infiniteQueryOptions(
169
170
  // @ts-ignore
170
171
  {
171
172
  queryFn: async ({ pageParam, queryKey, signal }) => {
172
173
  // @ts-ignore
173
- const page = typeof pageParam === 'object' ? pageParam : {
174
- query: {
175
- page: pageParam
176
- }
177
- };
174
+ const page = typeof pageParam === "object"
175
+ ? pageParam
176
+ : {
177
+ query: {
178
+ page: pageParam,
179
+ },
180
+ };
178
181
  const params = createInfiniteParams(queryKey, page);
179
182
  const { data } = await getV1Events({
180
183
  ...options,
181
184
  ...params,
182
185
  signal,
183
- throwOnError: true
186
+ throwOnError: true,
184
187
  });
185
188
  return data;
186
189
  },
187
- queryKey: getV1EventsInfiniteQueryKey(options)
190
+ queryKey: getV1EventsInfiniteQueryKey(options),
188
191
  });
189
192
  };
190
- export const getV1EventsByContractAddressQueryKey = (options) => createQueryKey('getV1EventsByContractAddress', options);
193
+ export const getV1EventsByContractAddressQueryKey = (options) => createQueryKey("getV1EventsByContractAddress", options);
191
194
  export const getV1EventsByContractAddressOptions = (options) => {
192
195
  return queryOptions({
193
196
  queryFn: async ({ queryKey, signal }) => {
@@ -195,38 +198,40 @@ export const getV1EventsByContractAddressOptions = (options) => {
195
198
  ...options,
196
199
  ...queryKey[0],
197
200
  signal,
198
- throwOnError: true
201
+ throwOnError: true,
199
202
  });
200
203
  return data;
201
204
  },
202
- queryKey: getV1EventsByContractAddressQueryKey(options)
205
+ queryKey: getV1EventsByContractAddressQueryKey(options),
203
206
  });
204
207
  };
205
- export const getV1EventsByContractAddressInfiniteQueryKey = (options) => createQueryKey('getV1EventsByContractAddress', options, true);
208
+ export const getV1EventsByContractAddressInfiniteQueryKey = (options) => createQueryKey("getV1EventsByContractAddress", options, true);
206
209
  export const getV1EventsByContractAddressInfiniteOptions = (options) => {
207
210
  return infiniteQueryOptions(
208
211
  // @ts-ignore
209
212
  {
210
213
  queryFn: async ({ pageParam, queryKey, signal }) => {
211
214
  // @ts-ignore
212
- const page = typeof pageParam === 'object' ? pageParam : {
213
- query: {
214
- page: pageParam
215
- }
216
- };
215
+ const page = typeof pageParam === "object"
216
+ ? pageParam
217
+ : {
218
+ query: {
219
+ page: pageParam,
220
+ },
221
+ };
217
222
  const params = createInfiniteParams(queryKey, page);
218
223
  const { data } = await getV1EventsByContractAddress({
219
224
  ...options,
220
225
  ...params,
221
226
  signal,
222
- throwOnError: true
227
+ throwOnError: true,
223
228
  });
224
229
  return data;
225
230
  },
226
- queryKey: getV1EventsByContractAddressInfiniteQueryKey(options)
231
+ queryKey: getV1EventsByContractAddressInfiniteQueryKey(options),
227
232
  });
228
233
  };
229
- export const getV1EventsByContractAddressBySignatureQueryKey = (options) => createQueryKey('getV1EventsByContractAddressBySignature', options);
234
+ export const getV1EventsByContractAddressBySignatureQueryKey = (options) => createQueryKey("getV1EventsByContractAddressBySignature", options);
230
235
  export const getV1EventsByContractAddressBySignatureOptions = (options) => {
231
236
  return queryOptions({
232
237
  queryFn: async ({ queryKey, signal }) => {
@@ -234,38 +239,40 @@ export const getV1EventsByContractAddressBySignatureOptions = (options) => {
234
239
  ...options,
235
240
  ...queryKey[0],
236
241
  signal,
237
- throwOnError: true
242
+ throwOnError: true,
238
243
  });
239
244
  return data;
240
245
  },
241
- queryKey: getV1EventsByContractAddressBySignatureQueryKey(options)
246
+ queryKey: getV1EventsByContractAddressBySignatureQueryKey(options),
242
247
  });
243
248
  };
244
- export const getV1EventsByContractAddressBySignatureInfiniteQueryKey = (options) => createQueryKey('getV1EventsByContractAddressBySignature', options, true);
249
+ export const getV1EventsByContractAddressBySignatureInfiniteQueryKey = (options) => createQueryKey("getV1EventsByContractAddressBySignature", options, true);
245
250
  export const getV1EventsByContractAddressBySignatureInfiniteOptions = (options) => {
246
251
  return infiniteQueryOptions(
247
252
  // @ts-ignore
248
253
  {
249
254
  queryFn: async ({ pageParam, queryKey, signal }) => {
250
255
  // @ts-ignore
251
- const page = typeof pageParam === 'object' ? pageParam : {
252
- query: {
253
- page: pageParam
254
- }
255
- };
256
+ const page = typeof pageParam === "object"
257
+ ? pageParam
258
+ : {
259
+ query: {
260
+ page: pageParam,
261
+ },
262
+ };
256
263
  const params = createInfiniteParams(queryKey, page);
257
264
  const { data } = await getV1EventsByContractAddressBySignature({
258
265
  ...options,
259
266
  ...params,
260
267
  signal,
261
- throwOnError: true
268
+ throwOnError: true,
262
269
  });
263
270
  return data;
264
271
  },
265
- queryKey: getV1EventsByContractAddressBySignatureInfiniteQueryKey(options)
272
+ queryKey: getV1EventsByContractAddressBySignatureInfiniteQueryKey(options),
266
273
  });
267
274
  };
268
- export const getV1TransactionsQueryKey = (options) => createQueryKey('getV1Transactions', options);
275
+ export const getV1TransactionsQueryKey = (options) => createQueryKey("getV1Transactions", options);
269
276
  export const getV1TransactionsOptions = (options) => {
270
277
  return queryOptions({
271
278
  queryFn: async ({ queryKey, signal }) => {
@@ -273,38 +280,40 @@ export const getV1TransactionsOptions = (options) => {
273
280
  ...options,
274
281
  ...queryKey[0],
275
282
  signal,
276
- throwOnError: true
283
+ throwOnError: true,
277
284
  });
278
285
  return data;
279
286
  },
280
- queryKey: getV1TransactionsQueryKey(options)
287
+ queryKey: getV1TransactionsQueryKey(options),
281
288
  });
282
289
  };
283
- export const getV1TransactionsInfiniteQueryKey = (options) => createQueryKey('getV1Transactions', options, true);
290
+ export const getV1TransactionsInfiniteQueryKey = (options) => createQueryKey("getV1Transactions", options, true);
284
291
  export const getV1TransactionsInfiniteOptions = (options) => {
285
292
  return infiniteQueryOptions(
286
293
  // @ts-ignore
287
294
  {
288
295
  queryFn: async ({ pageParam, queryKey, signal }) => {
289
296
  // @ts-ignore
290
- const page = typeof pageParam === 'object' ? pageParam : {
291
- query: {
292
- page: pageParam
293
- }
294
- };
297
+ const page = typeof pageParam === "object"
298
+ ? pageParam
299
+ : {
300
+ query: {
301
+ page: pageParam,
302
+ },
303
+ };
295
304
  const params = createInfiniteParams(queryKey, page);
296
305
  const { data } = await getV1Transactions({
297
306
  ...options,
298
307
  ...params,
299
308
  signal,
300
- throwOnError: true
309
+ throwOnError: true,
301
310
  });
302
311
  return data;
303
312
  },
304
- queryKey: getV1TransactionsInfiniteQueryKey(options)
313
+ queryKey: getV1TransactionsInfiniteQueryKey(options),
305
314
  });
306
315
  };
307
- export const getV1TransactionsByContractAddressQueryKey = (options) => createQueryKey('getV1TransactionsByContractAddress', options);
316
+ export const getV1TransactionsByContractAddressQueryKey = (options) => createQueryKey("getV1TransactionsByContractAddress", options);
308
317
  export const getV1TransactionsByContractAddressOptions = (options) => {
309
318
  return queryOptions({
310
319
  queryFn: async ({ queryKey, signal }) => {
@@ -312,38 +321,40 @@ export const getV1TransactionsByContractAddressOptions = (options) => {
312
321
  ...options,
313
322
  ...queryKey[0],
314
323
  signal,
315
- throwOnError: true
324
+ throwOnError: true,
316
325
  });
317
326
  return data;
318
327
  },
319
- queryKey: getV1TransactionsByContractAddressQueryKey(options)
328
+ queryKey: getV1TransactionsByContractAddressQueryKey(options),
320
329
  });
321
330
  };
322
- export const getV1TransactionsByContractAddressInfiniteQueryKey = (options) => createQueryKey('getV1TransactionsByContractAddress', options, true);
331
+ export const getV1TransactionsByContractAddressInfiniteQueryKey = (options) => createQueryKey("getV1TransactionsByContractAddress", options, true);
323
332
  export const getV1TransactionsByContractAddressInfiniteOptions = (options) => {
324
333
  return infiniteQueryOptions(
325
334
  // @ts-ignore
326
335
  {
327
336
  queryFn: async ({ pageParam, queryKey, signal }) => {
328
337
  // @ts-ignore
329
- const page = typeof pageParam === 'object' ? pageParam : {
330
- query: {
331
- page: pageParam
332
- }
333
- };
338
+ const page = typeof pageParam === "object"
339
+ ? pageParam
340
+ : {
341
+ query: {
342
+ page: pageParam,
343
+ },
344
+ };
334
345
  const params = createInfiniteParams(queryKey, page);
335
346
  const { data } = await getV1TransactionsByContractAddress({
336
347
  ...options,
337
348
  ...params,
338
349
  signal,
339
- throwOnError: true
350
+ throwOnError: true,
340
351
  });
341
352
  return data;
342
353
  },
343
- queryKey: getV1TransactionsByContractAddressInfiniteQueryKey(options)
354
+ queryKey: getV1TransactionsByContractAddressInfiniteQueryKey(options),
344
355
  });
345
356
  };
346
- export const getV1TransactionsByContractAddressBySignatureQueryKey = (options) => createQueryKey('getV1TransactionsByContractAddressBySignature', options);
357
+ export const getV1TransactionsByContractAddressBySignatureQueryKey = (options) => createQueryKey("getV1TransactionsByContractAddressBySignature", options);
347
358
  export const getV1TransactionsByContractAddressBySignatureOptions = (options) => {
348
359
  return queryOptions({
349
360
  queryFn: async ({ queryKey, signal }) => {
@@ -351,38 +362,40 @@ export const getV1TransactionsByContractAddressBySignatureOptions = (options) =>
351
362
  ...options,
352
363
  ...queryKey[0],
353
364
  signal,
354
- throwOnError: true
365
+ throwOnError: true,
355
366
  });
356
367
  return data;
357
368
  },
358
- queryKey: getV1TransactionsByContractAddressBySignatureQueryKey(options)
369
+ queryKey: getV1TransactionsByContractAddressBySignatureQueryKey(options),
359
370
  });
360
371
  };
361
- export const getV1TransactionsByContractAddressBySignatureInfiniteQueryKey = (options) => createQueryKey('getV1TransactionsByContractAddressBySignature', options, true);
372
+ export const getV1TransactionsByContractAddressBySignatureInfiniteQueryKey = (options) => createQueryKey("getV1TransactionsByContractAddressBySignature", options, true);
362
373
  export const getV1TransactionsByContractAddressBySignatureInfiniteOptions = (options) => {
363
374
  return infiniteQueryOptions(
364
375
  // @ts-ignore
365
376
  {
366
377
  queryFn: async ({ pageParam, queryKey, signal }) => {
367
378
  // @ts-ignore
368
- const page = typeof pageParam === 'object' ? pageParam : {
369
- query: {
370
- page: pageParam
371
- }
372
- };
379
+ const page = typeof pageParam === "object"
380
+ ? pageParam
381
+ : {
382
+ query: {
383
+ page: pageParam,
384
+ },
385
+ };
373
386
  const params = createInfiniteParams(queryKey, page);
374
387
  const { data } = await getV1TransactionsByContractAddressBySignature({
375
388
  ...options,
376
389
  ...params,
377
390
  signal,
378
- throwOnError: true
391
+ throwOnError: true,
379
392
  });
380
393
  return data;
381
394
  },
382
- queryKey: getV1TransactionsByContractAddressBySignatureInfiniteQueryKey(options)
395
+ queryKey: getV1TransactionsByContractAddressBySignatureInfiniteQueryKey(options),
383
396
  });
384
397
  };
385
- export const getV1TokensTransfersTransactionByTransactionHashQueryKey = (options) => createQueryKey('getV1TokensTransfersTransactionByTransactionHash', options);
398
+ export const getV1TokensTransfersTransactionByTransactionHashQueryKey = (options) => createQueryKey("getV1TokensTransfersTransactionByTransactionHash", options);
386
399
  export const getV1TokensTransfersTransactionByTransactionHashOptions = (options) => {
387
400
  return queryOptions({
388
401
  queryFn: async ({ queryKey, signal }) => {
@@ -390,38 +403,40 @@ export const getV1TokensTransfersTransactionByTransactionHashOptions = (options)
390
403
  ...options,
391
404
  ...queryKey[0],
392
405
  signal,
393
- throwOnError: true
406
+ throwOnError: true,
394
407
  });
395
408
  return data;
396
409
  },
397
- queryKey: getV1TokensTransfersTransactionByTransactionHashQueryKey(options)
410
+ queryKey: getV1TokensTransfersTransactionByTransactionHashQueryKey(options),
398
411
  });
399
412
  };
400
- export const getV1TokensTransfersTransactionByTransactionHashInfiniteQueryKey = (options) => createQueryKey('getV1TokensTransfersTransactionByTransactionHash', options, true);
413
+ export const getV1TokensTransfersTransactionByTransactionHashInfiniteQueryKey = (options) => createQueryKey("getV1TokensTransfersTransactionByTransactionHash", options, true);
401
414
  export const getV1TokensTransfersTransactionByTransactionHashInfiniteOptions = (options) => {
402
415
  return infiniteQueryOptions(
403
416
  // @ts-ignore
404
417
  {
405
418
  queryFn: async ({ pageParam, queryKey, signal }) => {
406
419
  // @ts-ignore
407
- const page = typeof pageParam === 'object' ? pageParam : {
408
- query: {
409
- page: pageParam
410
- }
411
- };
420
+ const page = typeof pageParam === "object"
421
+ ? pageParam
422
+ : {
423
+ query: {
424
+ page: pageParam,
425
+ },
426
+ };
412
427
  const params = createInfiniteParams(queryKey, page);
413
428
  const { data } = await getV1TokensTransfersTransactionByTransactionHash({
414
429
  ...options,
415
430
  ...params,
416
431
  signal,
417
- throwOnError: true
432
+ throwOnError: true,
418
433
  });
419
434
  return data;
420
435
  },
421
- queryKey: getV1TokensTransfersTransactionByTransactionHashInfiniteQueryKey(options)
436
+ queryKey: getV1TokensTransfersTransactionByTransactionHashInfiniteQueryKey(options),
422
437
  });
423
438
  };
424
- export const getV1TokensTransfersByContractAddressQueryKey = (options) => createQueryKey('getV1TokensTransfersByContractAddress', options);
439
+ export const getV1TokensTransfersByContractAddressQueryKey = (options) => createQueryKey("getV1TokensTransfersByContractAddress", options);
425
440
  export const getV1TokensTransfersByContractAddressOptions = (options) => {
426
441
  return queryOptions({
427
442
  queryFn: async ({ queryKey, signal }) => {
@@ -429,38 +444,40 @@ export const getV1TokensTransfersByContractAddressOptions = (options) => {
429
444
  ...options,
430
445
  ...queryKey[0],
431
446
  signal,
432
- throwOnError: true
447
+ throwOnError: true,
433
448
  });
434
449
  return data;
435
450
  },
436
- queryKey: getV1TokensTransfersByContractAddressQueryKey(options)
451
+ queryKey: getV1TokensTransfersByContractAddressQueryKey(options),
437
452
  });
438
453
  };
439
- export const getV1TokensTransfersByContractAddressInfiniteQueryKey = (options) => createQueryKey('getV1TokensTransfersByContractAddress', options, true);
454
+ export const getV1TokensTransfersByContractAddressInfiniteQueryKey = (options) => createQueryKey("getV1TokensTransfersByContractAddress", options, true);
440
455
  export const getV1TokensTransfersByContractAddressInfiniteOptions = (options) => {
441
456
  return infiniteQueryOptions(
442
457
  // @ts-ignore
443
458
  {
444
459
  queryFn: async ({ pageParam, queryKey, signal }) => {
445
460
  // @ts-ignore
446
- const page = typeof pageParam === 'object' ? pageParam : {
447
- query: {
448
- page: pageParam
449
- }
450
- };
461
+ const page = typeof pageParam === "object"
462
+ ? pageParam
463
+ : {
464
+ query: {
465
+ page: pageParam,
466
+ },
467
+ };
451
468
  const params = createInfiniteParams(queryKey, page);
452
469
  const { data } = await getV1TokensTransfersByContractAddress({
453
470
  ...options,
454
471
  ...params,
455
472
  signal,
456
- throwOnError: true
473
+ throwOnError: true,
457
474
  });
458
475
  return data;
459
476
  },
460
- queryKey: getV1TokensTransfersByContractAddressInfiniteQueryKey(options)
477
+ queryKey: getV1TokensTransfersByContractAddressInfiniteQueryKey(options),
461
478
  });
462
479
  };
463
- export const getV1TokensTransfersQueryKey = (options) => createQueryKey('getV1TokensTransfers', options);
480
+ export const getV1TokensTransfersQueryKey = (options) => createQueryKey("getV1TokensTransfers", options);
464
481
  export const getV1TokensTransfersOptions = (options) => {
465
482
  return queryOptions({
466
483
  queryFn: async ({ queryKey, signal }) => {
@@ -468,38 +485,40 @@ export const getV1TokensTransfersOptions = (options) => {
468
485
  ...options,
469
486
  ...queryKey[0],
470
487
  signal,
471
- throwOnError: true
488
+ throwOnError: true,
472
489
  });
473
490
  return data;
474
491
  },
475
- queryKey: getV1TokensTransfersQueryKey(options)
492
+ queryKey: getV1TokensTransfersQueryKey(options),
476
493
  });
477
494
  };
478
- export const getV1TokensTransfersInfiniteQueryKey = (options) => createQueryKey('getV1TokensTransfers', options, true);
495
+ export const getV1TokensTransfersInfiniteQueryKey = (options) => createQueryKey("getV1TokensTransfers", options, true);
479
496
  export const getV1TokensTransfersInfiniteOptions = (options) => {
480
497
  return infiniteQueryOptions(
481
498
  // @ts-ignore
482
499
  {
483
500
  queryFn: async ({ pageParam, queryKey, signal }) => {
484
501
  // @ts-ignore
485
- const page = typeof pageParam === 'object' ? pageParam : {
486
- query: {
487
- page: pageParam
488
- }
489
- };
502
+ const page = typeof pageParam === "object"
503
+ ? pageParam
504
+ : {
505
+ query: {
506
+ page: pageParam,
507
+ },
508
+ };
490
509
  const params = createInfiniteParams(queryKey, page);
491
510
  const { data } = await getV1TokensTransfers({
492
511
  ...options,
493
512
  ...params,
494
513
  signal,
495
- throwOnError: true
514
+ throwOnError: true,
496
515
  });
497
516
  return data;
498
517
  },
499
- queryKey: getV1TokensTransfersInfiniteQueryKey(options)
518
+ queryKey: getV1TokensTransfersInfiniteQueryKey(options),
500
519
  });
501
520
  };
502
- export const getV1TokensErc20ByOwnerAddressQueryKey = (options) => createQueryKey('getV1TokensErc20ByOwnerAddress', options);
521
+ export const getV1TokensErc20ByOwnerAddressQueryKey = (options) => createQueryKey("getV1TokensErc20ByOwnerAddress", options);
503
522
  export const getV1TokensErc20ByOwnerAddressOptions = (options) => {
504
523
  return queryOptions({
505
524
  queryFn: async ({ queryKey, signal }) => {
@@ -507,38 +526,40 @@ export const getV1TokensErc20ByOwnerAddressOptions = (options) => {
507
526
  ...options,
508
527
  ...queryKey[0],
509
528
  signal,
510
- throwOnError: true
529
+ throwOnError: true,
511
530
  });
512
531
  return data;
513
532
  },
514
- queryKey: getV1TokensErc20ByOwnerAddressQueryKey(options)
533
+ queryKey: getV1TokensErc20ByOwnerAddressQueryKey(options),
515
534
  });
516
535
  };
517
- export const getV1TokensErc20ByOwnerAddressInfiniteQueryKey = (options) => createQueryKey('getV1TokensErc20ByOwnerAddress', options, true);
536
+ export const getV1TokensErc20ByOwnerAddressInfiniteQueryKey = (options) => createQueryKey("getV1TokensErc20ByOwnerAddress", options, true);
518
537
  export const getV1TokensErc20ByOwnerAddressInfiniteOptions = (options) => {
519
538
  return infiniteQueryOptions(
520
539
  // @ts-ignore
521
540
  {
522
541
  queryFn: async ({ pageParam, queryKey, signal }) => {
523
542
  // @ts-ignore
524
- const page = typeof pageParam === 'object' ? pageParam : {
525
- query: {
526
- page: pageParam
527
- }
528
- };
543
+ const page = typeof pageParam === "object"
544
+ ? pageParam
545
+ : {
546
+ query: {
547
+ page: pageParam,
548
+ },
549
+ };
529
550
  const params = createInfiniteParams(queryKey, page);
530
551
  const { data } = await getV1TokensErc20ByOwnerAddress({
531
552
  ...options,
532
553
  ...params,
533
554
  signal,
534
- throwOnError: true
555
+ throwOnError: true,
535
556
  });
536
557
  return data;
537
558
  },
538
- queryKey: getV1TokensErc20ByOwnerAddressInfiniteQueryKey(options)
559
+ queryKey: getV1TokensErc20ByOwnerAddressInfiniteQueryKey(options),
539
560
  });
540
561
  };
541
- export const getV1TokensErc721ByOwnerAddressQueryKey = (options) => createQueryKey('getV1TokensErc721ByOwnerAddress', options);
562
+ export const getV1TokensErc721ByOwnerAddressQueryKey = (options) => createQueryKey("getV1TokensErc721ByOwnerAddress", options);
542
563
  export const getV1TokensErc721ByOwnerAddressOptions = (options) => {
543
564
  return queryOptions({
544
565
  queryFn: async ({ queryKey, signal }) => {
@@ -546,38 +567,40 @@ export const getV1TokensErc721ByOwnerAddressOptions = (options) => {
546
567
  ...options,
547
568
  ...queryKey[0],
548
569
  signal,
549
- throwOnError: true
570
+ throwOnError: true,
550
571
  });
551
572
  return data;
552
573
  },
553
- queryKey: getV1TokensErc721ByOwnerAddressQueryKey(options)
574
+ queryKey: getV1TokensErc721ByOwnerAddressQueryKey(options),
554
575
  });
555
576
  };
556
- export const getV1TokensErc721ByOwnerAddressInfiniteQueryKey = (options) => createQueryKey('getV1TokensErc721ByOwnerAddress', options, true);
577
+ export const getV1TokensErc721ByOwnerAddressInfiniteQueryKey = (options) => createQueryKey("getV1TokensErc721ByOwnerAddress", options, true);
557
578
  export const getV1TokensErc721ByOwnerAddressInfiniteOptions = (options) => {
558
579
  return infiniteQueryOptions(
559
580
  // @ts-ignore
560
581
  {
561
582
  queryFn: async ({ pageParam, queryKey, signal }) => {
562
583
  // @ts-ignore
563
- const page = typeof pageParam === 'object' ? pageParam : {
564
- query: {
565
- page: pageParam
566
- }
567
- };
584
+ const page = typeof pageParam === "object"
585
+ ? pageParam
586
+ : {
587
+ query: {
588
+ page: pageParam,
589
+ },
590
+ };
568
591
  const params = createInfiniteParams(queryKey, page);
569
592
  const { data } = await getV1TokensErc721ByOwnerAddress({
570
593
  ...options,
571
594
  ...params,
572
595
  signal,
573
- throwOnError: true
596
+ throwOnError: true,
574
597
  });
575
598
  return data;
576
599
  },
577
- queryKey: getV1TokensErc721ByOwnerAddressInfiniteQueryKey(options)
600
+ queryKey: getV1TokensErc721ByOwnerAddressInfiniteQueryKey(options),
578
601
  });
579
602
  };
580
- export const getV1TokensErc1155ByOwnerAddressQueryKey = (options) => createQueryKey('getV1TokensErc1155ByOwnerAddress', options);
603
+ export const getV1TokensErc1155ByOwnerAddressQueryKey = (options) => createQueryKey("getV1TokensErc1155ByOwnerAddress", options);
581
604
  export const getV1TokensErc1155ByOwnerAddressOptions = (options) => {
582
605
  return queryOptions({
583
606
  queryFn: async ({ queryKey, signal }) => {
@@ -585,38 +608,40 @@ export const getV1TokensErc1155ByOwnerAddressOptions = (options) => {
585
608
  ...options,
586
609
  ...queryKey[0],
587
610
  signal,
588
- throwOnError: true
611
+ throwOnError: true,
589
612
  });
590
613
  return data;
591
614
  },
592
- queryKey: getV1TokensErc1155ByOwnerAddressQueryKey(options)
615
+ queryKey: getV1TokensErc1155ByOwnerAddressQueryKey(options),
593
616
  });
594
617
  };
595
- export const getV1TokensErc1155ByOwnerAddressInfiniteQueryKey = (options) => createQueryKey('getV1TokensErc1155ByOwnerAddress', options, true);
618
+ export const getV1TokensErc1155ByOwnerAddressInfiniteQueryKey = (options) => createQueryKey("getV1TokensErc1155ByOwnerAddress", options, true);
596
619
  export const getV1TokensErc1155ByOwnerAddressInfiniteOptions = (options) => {
597
620
  return infiniteQueryOptions(
598
621
  // @ts-ignore
599
622
  {
600
623
  queryFn: async ({ pageParam, queryKey, signal }) => {
601
624
  // @ts-ignore
602
- const page = typeof pageParam === 'object' ? pageParam : {
603
- query: {
604
- page: pageParam
605
- }
606
- };
625
+ const page = typeof pageParam === "object"
626
+ ? pageParam
627
+ : {
628
+ query: {
629
+ page: pageParam,
630
+ },
631
+ };
607
632
  const params = createInfiniteParams(queryKey, page);
608
633
  const { data } = await getV1TokensErc1155ByOwnerAddress({
609
634
  ...options,
610
635
  ...params,
611
636
  signal,
612
- throwOnError: true
637
+ throwOnError: true,
613
638
  });
614
639
  return data;
615
640
  },
616
- queryKey: getV1TokensErc1155ByOwnerAddressInfiniteQueryKey(options)
641
+ queryKey: getV1TokensErc1155ByOwnerAddressInfiniteQueryKey(options),
617
642
  });
618
643
  };
619
- export const getV1TokensPriceSupportedQueryKey = (options) => createQueryKey('getV1TokensPriceSupported', options);
644
+ export const getV1TokensPriceSupportedQueryKey = (options) => createQueryKey("getV1TokensPriceSupported", options);
620
645
  export const getV1TokensPriceSupportedOptions = (options) => {
621
646
  return queryOptions({
622
647
  queryFn: async ({ queryKey, signal }) => {
@@ -624,14 +649,14 @@ export const getV1TokensPriceSupportedOptions = (options) => {
624
649
  ...options,
625
650
  ...queryKey[0],
626
651
  signal,
627
- throwOnError: true
652
+ throwOnError: true,
628
653
  });
629
654
  return data;
630
655
  },
631
- queryKey: getV1TokensPriceSupportedQueryKey(options)
656
+ queryKey: getV1TokensPriceSupportedQueryKey(options),
632
657
  });
633
658
  };
634
- export const getV1TokensPriceQueryKey = (options) => createQueryKey('getV1TokensPrice', options);
659
+ export const getV1TokensPriceQueryKey = (options) => createQueryKey("getV1TokensPrice", options);
635
660
  export const getV1TokensPriceOptions = (options) => {
636
661
  return queryOptions({
637
662
  queryFn: async ({ queryKey, signal }) => {
@@ -639,14 +664,14 @@ export const getV1TokensPriceOptions = (options) => {
639
664
  ...options,
640
665
  ...queryKey[0],
641
666
  signal,
642
- throwOnError: true
667
+ throwOnError: true,
643
668
  });
644
669
  return data;
645
670
  },
646
- queryKey: getV1TokensPriceQueryKey(options)
671
+ queryKey: getV1TokensPriceQueryKey(options),
647
672
  });
648
673
  };
649
- export const getV1TokensLookupQueryKey = (options) => createQueryKey('getV1TokensLookup', options);
674
+ export const getV1TokensLookupQueryKey = (options) => createQueryKey("getV1TokensLookup", options);
650
675
  export const getV1TokensLookupOptions = (options) => {
651
676
  return queryOptions({
652
677
  queryFn: async ({ queryKey, signal }) => {
@@ -654,14 +679,14 @@ export const getV1TokensLookupOptions = (options) => {
654
679
  ...options,
655
680
  ...queryKey[0],
656
681
  signal,
657
- throwOnError: true
682
+ throwOnError: true,
658
683
  });
659
684
  return data;
660
685
  },
661
- queryKey: getV1TokensLookupQueryKey(options)
686
+ queryKey: getV1TokensLookupQueryKey(options),
662
687
  });
663
688
  };
664
- export const getV1ResolveByInputQueryKey = (options) => createQueryKey('getV1ResolveByInput', options);
689
+ export const getV1ResolveByInputQueryKey = (options) => createQueryKey("getV1ResolveByInput", options);
665
690
  export const getV1ResolveByInputOptions = (options) => {
666
691
  return queryOptions({
667
692
  queryFn: async ({ queryKey, signal }) => {
@@ -669,14 +694,14 @@ export const getV1ResolveByInputOptions = (options) => {
669
694
  ...options,
670
695
  ...queryKey[0],
671
696
  signal,
672
- throwOnError: true
697
+ throwOnError: true,
673
698
  });
674
699
  return data;
675
700
  },
676
- queryKey: getV1ResolveByInputQueryKey(options)
701
+ queryKey: getV1ResolveByInputQueryKey(options),
677
702
  });
678
703
  };
679
- export const getV1BlocksQueryKey = (options) => createQueryKey('getV1Blocks', options);
704
+ export const getV1BlocksQueryKey = (options) => createQueryKey("getV1Blocks", options);
680
705
  export const getV1BlocksOptions = (options) => {
681
706
  return queryOptions({
682
707
  queryFn: async ({ queryKey, signal }) => {
@@ -684,38 +709,40 @@ export const getV1BlocksOptions = (options) => {
684
709
  ...options,
685
710
  ...queryKey[0],
686
711
  signal,
687
- throwOnError: true
712
+ throwOnError: true,
688
713
  });
689
714
  return data;
690
715
  },
691
- queryKey: getV1BlocksQueryKey(options)
716
+ queryKey: getV1BlocksQueryKey(options),
692
717
  });
693
718
  };
694
- export const getV1BlocksInfiniteQueryKey = (options) => createQueryKey('getV1Blocks', options, true);
719
+ export const getV1BlocksInfiniteQueryKey = (options) => createQueryKey("getV1Blocks", options, true);
695
720
  export const getV1BlocksInfiniteOptions = (options) => {
696
721
  return infiniteQueryOptions(
697
722
  // @ts-ignore
698
723
  {
699
724
  queryFn: async ({ pageParam, queryKey, signal }) => {
700
725
  // @ts-ignore
701
- const page = typeof pageParam === 'object' ? pageParam : {
702
- query: {
703
- page: pageParam
704
- }
705
- };
726
+ const page = typeof pageParam === "object"
727
+ ? pageParam
728
+ : {
729
+ query: {
730
+ page: pageParam,
731
+ },
732
+ };
706
733
  const params = createInfiniteParams(queryKey, page);
707
734
  const { data } = await getV1Blocks({
708
735
  ...options,
709
736
  ...params,
710
737
  signal,
711
- throwOnError: true
738
+ throwOnError: true,
712
739
  });
713
740
  return data;
714
741
  },
715
- queryKey: getV1BlocksInfiniteQueryKey(options)
742
+ queryKey: getV1BlocksInfiniteQueryKey(options),
716
743
  });
717
744
  };
718
- export const getV1ContractsAbiByContractAddressQueryKey = (options) => createQueryKey('getV1ContractsAbiByContractAddress', options);
745
+ export const getV1ContractsAbiByContractAddressQueryKey = (options) => createQueryKey("getV1ContractsAbiByContractAddress", options);
719
746
  export const getV1ContractsAbiByContractAddressOptions = (options) => {
720
747
  return queryOptions({
721
748
  queryFn: async ({ queryKey, signal }) => {
@@ -723,14 +750,14 @@ export const getV1ContractsAbiByContractAddressOptions = (options) => {
723
750
  ...options,
724
751
  ...queryKey[0],
725
752
  signal,
726
- throwOnError: true
753
+ throwOnError: true,
727
754
  });
728
755
  return data;
729
756
  },
730
- queryKey: getV1ContractsAbiByContractAddressQueryKey(options)
757
+ queryKey: getV1ContractsAbiByContractAddressQueryKey(options),
731
758
  });
732
759
  };
733
- export const getV1ContractsMetadataByContractAddressQueryKey = (options) => createQueryKey('getV1ContractsMetadataByContractAddress', options);
760
+ export const getV1ContractsMetadataByContractAddressQueryKey = (options) => createQueryKey("getV1ContractsMetadataByContractAddress", options);
734
761
  export const getV1ContractsMetadataByContractAddressOptions = (options) => {
735
762
  return queryOptions({
736
763
  queryFn: async ({ queryKey, signal }) => {
@@ -738,14 +765,14 @@ export const getV1ContractsMetadataByContractAddressOptions = (options) => {
738
765
  ...options,
739
766
  ...queryKey[0],
740
767
  signal,
741
- throwOnError: true
768
+ throwOnError: true,
742
769
  });
743
770
  return data;
744
771
  },
745
- queryKey: getV1ContractsMetadataByContractAddressQueryKey(options)
772
+ queryKey: getV1ContractsMetadataByContractAddressQueryKey(options),
746
773
  });
747
774
  };
748
- export const postV1DecodeByContractAddressQueryKey = (options) => createQueryKey('postV1DecodeByContractAddress', options);
775
+ export const postV1DecodeByContractAddressQueryKey = (options) => createQueryKey("postV1DecodeByContractAddress", options);
749
776
  export const postV1DecodeByContractAddressOptions = (options) => {
750
777
  return queryOptions({
751
778
  queryFn: async ({ queryKey, signal }) => {
@@ -753,11 +780,11 @@ export const postV1DecodeByContractAddressOptions = (options) => {
753
780
  ...options,
754
781
  ...queryKey[0],
755
782
  signal,
756
- throwOnError: true
783
+ throwOnError: true,
757
784
  });
758
785
  return data;
759
786
  },
760
- queryKey: postV1DecodeByContractAddressQueryKey(options)
787
+ queryKey: postV1DecodeByContractAddressQueryKey(options),
761
788
  });
762
789
  };
763
790
  export const postV1DecodeByContractAddressMutation = (options) => {
@@ -766,14 +793,14 @@ export const postV1DecodeByContractAddressMutation = (options) => {
766
793
  const { data } = await postV1DecodeByContractAddress({
767
794
  ...options,
768
795
  ...localOptions,
769
- throwOnError: true
796
+ throwOnError: true,
770
797
  });
771
798
  return data;
772
- }
799
+ },
773
800
  };
774
801
  return mutationOptions;
775
802
  };
776
- export const getV1NftsBalanceByOwnerAddressQueryKey = (options) => createQueryKey('getV1NftsBalanceByOwnerAddress', options);
803
+ export const getV1NftsBalanceByOwnerAddressQueryKey = (options) => createQueryKey("getV1NftsBalanceByOwnerAddress", options);
777
804
  export const getV1NftsBalanceByOwnerAddressOptions = (options) => {
778
805
  return queryOptions({
779
806
  queryFn: async ({ queryKey, signal }) => {
@@ -781,38 +808,40 @@ export const getV1NftsBalanceByOwnerAddressOptions = (options) => {
781
808
  ...options,
782
809
  ...queryKey[0],
783
810
  signal,
784
- throwOnError: true
811
+ throwOnError: true,
785
812
  });
786
813
  return data;
787
814
  },
788
- queryKey: getV1NftsBalanceByOwnerAddressQueryKey(options)
815
+ queryKey: getV1NftsBalanceByOwnerAddressQueryKey(options),
789
816
  });
790
817
  };
791
- export const getV1NftsBalanceByOwnerAddressInfiniteQueryKey = (options) => createQueryKey('getV1NftsBalanceByOwnerAddress', options, true);
818
+ export const getV1NftsBalanceByOwnerAddressInfiniteQueryKey = (options) => createQueryKey("getV1NftsBalanceByOwnerAddress", options, true);
792
819
  export const getV1NftsBalanceByOwnerAddressInfiniteOptions = (options) => {
793
820
  return infiniteQueryOptions(
794
821
  // @ts-ignore
795
822
  {
796
823
  queryFn: async ({ pageParam, queryKey, signal }) => {
797
824
  // @ts-ignore
798
- const page = typeof pageParam === 'object' ? pageParam : {
799
- query: {
800
- page: pageParam
801
- }
802
- };
825
+ const page = typeof pageParam === "object"
826
+ ? pageParam
827
+ : {
828
+ query: {
829
+ page: pageParam,
830
+ },
831
+ };
803
832
  const params = createInfiniteParams(queryKey, page);
804
833
  const { data } = await getV1NftsBalanceByOwnerAddress({
805
834
  ...options,
806
835
  ...params,
807
836
  signal,
808
- throwOnError: true
837
+ throwOnError: true,
809
838
  });
810
839
  return data;
811
840
  },
812
- queryKey: getV1NftsBalanceByOwnerAddressInfiniteQueryKey(options)
841
+ queryKey: getV1NftsBalanceByOwnerAddressInfiniteQueryKey(options),
813
842
  });
814
843
  };
815
- export const getV1NftsCollectionsByContractAddressQueryKey = (options) => createQueryKey('getV1NftsCollectionsByContractAddress', options);
844
+ export const getV1NftsCollectionsByContractAddressQueryKey = (options) => createQueryKey("getV1NftsCollectionsByContractAddress", options);
816
845
  export const getV1NftsCollectionsByContractAddressOptions = (options) => {
817
846
  return queryOptions({
818
847
  queryFn: async ({ queryKey, signal }) => {
@@ -820,14 +849,14 @@ export const getV1NftsCollectionsByContractAddressOptions = (options) => {
820
849
  ...options,
821
850
  ...queryKey[0],
822
851
  signal,
823
- throwOnError: true
852
+ throwOnError: true,
824
853
  });
825
854
  return data;
826
855
  },
827
- queryKey: getV1NftsCollectionsByContractAddressQueryKey(options)
856
+ queryKey: getV1NftsCollectionsByContractAddressQueryKey(options),
828
857
  });
829
858
  };
830
- export const getV1NftsQueryKey = (options) => createQueryKey('getV1Nfts', options);
859
+ export const getV1NftsQueryKey = (options) => createQueryKey("getV1Nfts", options);
831
860
  export const getV1NftsOptions = (options) => {
832
861
  return queryOptions({
833
862
  queryFn: async ({ queryKey, signal }) => {
@@ -835,38 +864,40 @@ export const getV1NftsOptions = (options) => {
835
864
  ...options,
836
865
  ...queryKey[0],
837
866
  signal,
838
- throwOnError: true
867
+ throwOnError: true,
839
868
  });
840
869
  return data;
841
870
  },
842
- queryKey: getV1NftsQueryKey(options)
871
+ queryKey: getV1NftsQueryKey(options),
843
872
  });
844
873
  };
845
- export const getV1NftsInfiniteQueryKey = (options) => createQueryKey('getV1Nfts', options, true);
874
+ export const getV1NftsInfiniteQueryKey = (options) => createQueryKey("getV1Nfts", options, true);
846
875
  export const getV1NftsInfiniteOptions = (options) => {
847
876
  return infiniteQueryOptions(
848
877
  // @ts-ignore
849
878
  {
850
879
  queryFn: async ({ pageParam, queryKey, signal }) => {
851
880
  // @ts-ignore
852
- const page = typeof pageParam === 'object' ? pageParam : {
853
- query: {
854
- page: pageParam
855
- }
856
- };
881
+ const page = typeof pageParam === "object"
882
+ ? pageParam
883
+ : {
884
+ query: {
885
+ page: pageParam,
886
+ },
887
+ };
857
888
  const params = createInfiniteParams(queryKey, page);
858
889
  const { data } = await getV1Nfts({
859
890
  ...options,
860
891
  ...params,
861
892
  signal,
862
- throwOnError: true
893
+ throwOnError: true,
863
894
  });
864
895
  return data;
865
896
  },
866
- queryKey: getV1NftsInfiniteQueryKey(options)
897
+ queryKey: getV1NftsInfiniteQueryKey(options),
867
898
  });
868
899
  };
869
- export const getV1NftsOwnersByContractAddressQueryKey = (options) => createQueryKey('getV1NftsOwnersByContractAddress', options);
900
+ export const getV1NftsOwnersByContractAddressQueryKey = (options) => createQueryKey("getV1NftsOwnersByContractAddress", options);
870
901
  export const getV1NftsOwnersByContractAddressOptions = (options) => {
871
902
  return queryOptions({
872
903
  queryFn: async ({ queryKey, signal }) => {
@@ -874,38 +905,40 @@ export const getV1NftsOwnersByContractAddressOptions = (options) => {
874
905
  ...options,
875
906
  ...queryKey[0],
876
907
  signal,
877
- throwOnError: true
908
+ throwOnError: true,
878
909
  });
879
910
  return data;
880
911
  },
881
- queryKey: getV1NftsOwnersByContractAddressQueryKey(options)
912
+ queryKey: getV1NftsOwnersByContractAddressQueryKey(options),
882
913
  });
883
914
  };
884
- export const getV1NftsOwnersByContractAddressInfiniteQueryKey = (options) => createQueryKey('getV1NftsOwnersByContractAddress', options, true);
915
+ export const getV1NftsOwnersByContractAddressInfiniteQueryKey = (options) => createQueryKey("getV1NftsOwnersByContractAddress", options, true);
885
916
  export const getV1NftsOwnersByContractAddressInfiniteOptions = (options) => {
886
917
  return infiniteQueryOptions(
887
918
  // @ts-ignore
888
919
  {
889
920
  queryFn: async ({ pageParam, queryKey, signal }) => {
890
921
  // @ts-ignore
891
- const page = typeof pageParam === 'object' ? pageParam : {
892
- query: {
893
- page: pageParam
894
- }
895
- };
922
+ const page = typeof pageParam === "object"
923
+ ? pageParam
924
+ : {
925
+ query: {
926
+ page: pageParam,
927
+ },
928
+ };
896
929
  const params = createInfiniteParams(queryKey, page);
897
930
  const { data } = await getV1NftsOwnersByContractAddress({
898
931
  ...options,
899
932
  ...params,
900
933
  signal,
901
- throwOnError: true
934
+ throwOnError: true,
902
935
  });
903
936
  return data;
904
937
  },
905
- queryKey: getV1NftsOwnersByContractAddressInfiniteQueryKey(options)
938
+ queryKey: getV1NftsOwnersByContractAddressInfiniteQueryKey(options),
906
939
  });
907
940
  };
908
- export const getV1NftsOwnersByContractAddressByTokenIdQueryKey = (options) => createQueryKey('getV1NftsOwnersByContractAddressByTokenId', options);
941
+ export const getV1NftsOwnersByContractAddressByTokenIdQueryKey = (options) => createQueryKey("getV1NftsOwnersByContractAddressByTokenId", options);
909
942
  export const getV1NftsOwnersByContractAddressByTokenIdOptions = (options) => {
910
943
  return queryOptions({
911
944
  queryFn: async ({ queryKey, signal }) => {
@@ -913,38 +946,40 @@ export const getV1NftsOwnersByContractAddressByTokenIdOptions = (options) => {
913
946
  ...options,
914
947
  ...queryKey[0],
915
948
  signal,
916
- throwOnError: true
949
+ throwOnError: true,
917
950
  });
918
951
  return data;
919
952
  },
920
- queryKey: getV1NftsOwnersByContractAddressByTokenIdQueryKey(options)
953
+ queryKey: getV1NftsOwnersByContractAddressByTokenIdQueryKey(options),
921
954
  });
922
955
  };
923
- export const getV1NftsOwnersByContractAddressByTokenIdInfiniteQueryKey = (options) => createQueryKey('getV1NftsOwnersByContractAddressByTokenId', options, true);
956
+ export const getV1NftsOwnersByContractAddressByTokenIdInfiniteQueryKey = (options) => createQueryKey("getV1NftsOwnersByContractAddressByTokenId", options, true);
924
957
  export const getV1NftsOwnersByContractAddressByTokenIdInfiniteOptions = (options) => {
925
958
  return infiniteQueryOptions(
926
959
  // @ts-ignore
927
960
  {
928
961
  queryFn: async ({ pageParam, queryKey, signal }) => {
929
962
  // @ts-ignore
930
- const page = typeof pageParam === 'object' ? pageParam : {
931
- query: {
932
- page: pageParam
933
- }
934
- };
963
+ const page = typeof pageParam === "object"
964
+ ? pageParam
965
+ : {
966
+ query: {
967
+ page: pageParam,
968
+ },
969
+ };
935
970
  const params = createInfiniteParams(queryKey, page);
936
971
  const { data } = await getV1NftsOwnersByContractAddressByTokenId({
937
972
  ...options,
938
973
  ...params,
939
974
  signal,
940
- throwOnError: true
975
+ throwOnError: true,
941
976
  });
942
977
  return data;
943
978
  },
944
- queryKey: getV1NftsOwnersByContractAddressByTokenIdInfiniteQueryKey(options)
979
+ queryKey: getV1NftsOwnersByContractAddressByTokenIdInfiniteQueryKey(options),
945
980
  });
946
981
  };
947
- export const getV1NftsTransfersQueryKey = (options) => createQueryKey('getV1NftsTransfers', options);
982
+ export const getV1NftsTransfersQueryKey = (options) => createQueryKey("getV1NftsTransfers", options);
948
983
  export const getV1NftsTransfersOptions = (options) => {
949
984
  return queryOptions({
950
985
  queryFn: async ({ queryKey, signal }) => {
@@ -952,38 +987,40 @@ export const getV1NftsTransfersOptions = (options) => {
952
987
  ...options,
953
988
  ...queryKey[0],
954
989
  signal,
955
- throwOnError: true
990
+ throwOnError: true,
956
991
  });
957
992
  return data;
958
993
  },
959
- queryKey: getV1NftsTransfersQueryKey(options)
994
+ queryKey: getV1NftsTransfersQueryKey(options),
960
995
  });
961
996
  };
962
- export const getV1NftsTransfersInfiniteQueryKey = (options) => createQueryKey('getV1NftsTransfers', options, true);
997
+ export const getV1NftsTransfersInfiniteQueryKey = (options) => createQueryKey("getV1NftsTransfers", options, true);
963
998
  export const getV1NftsTransfersInfiniteOptions = (options) => {
964
999
  return infiniteQueryOptions(
965
1000
  // @ts-ignore
966
1001
  {
967
1002
  queryFn: async ({ pageParam, queryKey, signal }) => {
968
1003
  // @ts-ignore
969
- const page = typeof pageParam === 'object' ? pageParam : {
970
- query: {
971
- page: pageParam
972
- }
973
- };
1004
+ const page = typeof pageParam === "object"
1005
+ ? pageParam
1006
+ : {
1007
+ query: {
1008
+ page: pageParam,
1009
+ },
1010
+ };
974
1011
  const params = createInfiniteParams(queryKey, page);
975
1012
  const { data } = await getV1NftsTransfers({
976
1013
  ...options,
977
1014
  ...params,
978
1015
  signal,
979
- throwOnError: true
1016
+ throwOnError: true,
980
1017
  });
981
1018
  return data;
982
1019
  },
983
- queryKey: getV1NftsTransfersInfiniteQueryKey(options)
1020
+ queryKey: getV1NftsTransfersInfiniteQueryKey(options),
984
1021
  });
985
1022
  };
986
- export const getV1NftsTransfersTransactionByTransactionHashQueryKey = (options) => createQueryKey('getV1NftsTransfersTransactionByTransactionHash', options);
1023
+ export const getV1NftsTransfersTransactionByTransactionHashQueryKey = (options) => createQueryKey("getV1NftsTransfersTransactionByTransactionHash", options);
987
1024
  export const getV1NftsTransfersTransactionByTransactionHashOptions = (options) => {
988
1025
  return queryOptions({
989
1026
  queryFn: async ({ queryKey, signal }) => {
@@ -991,38 +1028,40 @@ export const getV1NftsTransfersTransactionByTransactionHashOptions = (options) =
991
1028
  ...options,
992
1029
  ...queryKey[0],
993
1030
  signal,
994
- throwOnError: true
1031
+ throwOnError: true,
995
1032
  });
996
1033
  return data;
997
1034
  },
998
- queryKey: getV1NftsTransfersTransactionByTransactionHashQueryKey(options)
1035
+ queryKey: getV1NftsTransfersTransactionByTransactionHashQueryKey(options),
999
1036
  });
1000
1037
  };
1001
- export const getV1NftsTransfersTransactionByTransactionHashInfiniteQueryKey = (options) => createQueryKey('getV1NftsTransfersTransactionByTransactionHash', options, true);
1038
+ export const getV1NftsTransfersTransactionByTransactionHashInfiniteQueryKey = (options) => createQueryKey("getV1NftsTransfersTransactionByTransactionHash", options, true);
1002
1039
  export const getV1NftsTransfersTransactionByTransactionHashInfiniteOptions = (options) => {
1003
1040
  return infiniteQueryOptions(
1004
1041
  // @ts-ignore
1005
1042
  {
1006
1043
  queryFn: async ({ pageParam, queryKey, signal }) => {
1007
1044
  // @ts-ignore
1008
- const page = typeof pageParam === 'object' ? pageParam : {
1009
- query: {
1010
- page: pageParam
1011
- }
1012
- };
1045
+ const page = typeof pageParam === "object"
1046
+ ? pageParam
1047
+ : {
1048
+ query: {
1049
+ page: pageParam,
1050
+ },
1051
+ };
1013
1052
  const params = createInfiniteParams(queryKey, page);
1014
1053
  const { data } = await getV1NftsTransfersTransactionByTransactionHash({
1015
1054
  ...options,
1016
1055
  ...params,
1017
1056
  signal,
1018
- throwOnError: true
1057
+ throwOnError: true,
1019
1058
  });
1020
1059
  return data;
1021
1060
  },
1022
- queryKey: getV1NftsTransfersTransactionByTransactionHashInfiniteQueryKey(options)
1061
+ queryKey: getV1NftsTransfersTransactionByTransactionHashInfiniteQueryKey(options),
1023
1062
  });
1024
1063
  };
1025
- export const getV1NftsTransfersByContractAddressQueryKey = (options) => createQueryKey('getV1NftsTransfersByContractAddress', options);
1064
+ export const getV1NftsTransfersByContractAddressQueryKey = (options) => createQueryKey("getV1NftsTransfersByContractAddress", options);
1026
1065
  export const getV1NftsTransfersByContractAddressOptions = (options) => {
1027
1066
  return queryOptions({
1028
1067
  queryFn: async ({ queryKey, signal }) => {
@@ -1030,38 +1069,40 @@ export const getV1NftsTransfersByContractAddressOptions = (options) => {
1030
1069
  ...options,
1031
1070
  ...queryKey[0],
1032
1071
  signal,
1033
- throwOnError: true
1072
+ throwOnError: true,
1034
1073
  });
1035
1074
  return data;
1036
1075
  },
1037
- queryKey: getV1NftsTransfersByContractAddressQueryKey(options)
1076
+ queryKey: getV1NftsTransfersByContractAddressQueryKey(options),
1038
1077
  });
1039
1078
  };
1040
- export const getV1NftsTransfersByContractAddressInfiniteQueryKey = (options) => createQueryKey('getV1NftsTransfersByContractAddress', options, true);
1079
+ export const getV1NftsTransfersByContractAddressInfiniteQueryKey = (options) => createQueryKey("getV1NftsTransfersByContractAddress", options, true);
1041
1080
  export const getV1NftsTransfersByContractAddressInfiniteOptions = (options) => {
1042
1081
  return infiniteQueryOptions(
1043
1082
  // @ts-ignore
1044
1083
  {
1045
1084
  queryFn: async ({ pageParam, queryKey, signal }) => {
1046
1085
  // @ts-ignore
1047
- const page = typeof pageParam === 'object' ? pageParam : {
1048
- query: {
1049
- page: pageParam
1050
- }
1051
- };
1086
+ const page = typeof pageParam === "object"
1087
+ ? pageParam
1088
+ : {
1089
+ query: {
1090
+ page: pageParam,
1091
+ },
1092
+ };
1052
1093
  const params = createInfiniteParams(queryKey, page);
1053
1094
  const { data } = await getV1NftsTransfersByContractAddress({
1054
1095
  ...options,
1055
1096
  ...params,
1056
1097
  signal,
1057
- throwOnError: true
1098
+ throwOnError: true,
1058
1099
  });
1059
1100
  return data;
1060
1101
  },
1061
- queryKey: getV1NftsTransfersByContractAddressInfiniteQueryKey(options)
1102
+ queryKey: getV1NftsTransfersByContractAddressInfiniteQueryKey(options),
1062
1103
  });
1063
1104
  };
1064
- export const getV1NftsByContractAddressQueryKey = (options) => createQueryKey('getV1NftsByContractAddress', options);
1105
+ export const getV1NftsByContractAddressQueryKey = (options) => createQueryKey("getV1NftsByContractAddress", options);
1065
1106
  export const getV1NftsByContractAddressOptions = (options) => {
1066
1107
  return queryOptions({
1067
1108
  queryFn: async ({ queryKey, signal }) => {
@@ -1069,38 +1110,40 @@ export const getV1NftsByContractAddressOptions = (options) => {
1069
1110
  ...options,
1070
1111
  ...queryKey[0],
1071
1112
  signal,
1072
- throwOnError: true
1113
+ throwOnError: true,
1073
1114
  });
1074
1115
  return data;
1075
1116
  },
1076
- queryKey: getV1NftsByContractAddressQueryKey(options)
1117
+ queryKey: getV1NftsByContractAddressQueryKey(options),
1077
1118
  });
1078
1119
  };
1079
- export const getV1NftsByContractAddressInfiniteQueryKey = (options) => createQueryKey('getV1NftsByContractAddress', options, true);
1120
+ export const getV1NftsByContractAddressInfiniteQueryKey = (options) => createQueryKey("getV1NftsByContractAddress", options, true);
1080
1121
  export const getV1NftsByContractAddressInfiniteOptions = (options) => {
1081
1122
  return infiniteQueryOptions(
1082
1123
  // @ts-ignore
1083
1124
  {
1084
1125
  queryFn: async ({ pageParam, queryKey, signal }) => {
1085
1126
  // @ts-ignore
1086
- const page = typeof pageParam === 'object' ? pageParam : {
1087
- query: {
1088
- page: pageParam
1089
- }
1090
- };
1127
+ const page = typeof pageParam === "object"
1128
+ ? pageParam
1129
+ : {
1130
+ query: {
1131
+ page: pageParam,
1132
+ },
1133
+ };
1091
1134
  const params = createInfiniteParams(queryKey, page);
1092
1135
  const { data } = await getV1NftsByContractAddress({
1093
1136
  ...options,
1094
1137
  ...params,
1095
1138
  signal,
1096
- throwOnError: true
1139
+ throwOnError: true,
1097
1140
  });
1098
1141
  return data;
1099
1142
  },
1100
- queryKey: getV1NftsByContractAddressInfiniteQueryKey(options)
1143
+ queryKey: getV1NftsByContractAddressInfiniteQueryKey(options),
1101
1144
  });
1102
1145
  };
1103
- export const getV1NftsTransfersByContractAddressByTokenIdQueryKey = (options) => createQueryKey('getV1NftsTransfersByContractAddressByTokenId', options);
1146
+ export const getV1NftsTransfersByContractAddressByTokenIdQueryKey = (options) => createQueryKey("getV1NftsTransfersByContractAddressByTokenId", options);
1104
1147
  export const getV1NftsTransfersByContractAddressByTokenIdOptions = (options) => {
1105
1148
  return queryOptions({
1106
1149
  queryFn: async ({ queryKey, signal }) => {
@@ -1108,38 +1151,40 @@ export const getV1NftsTransfersByContractAddressByTokenIdOptions = (options) =>
1108
1151
  ...options,
1109
1152
  ...queryKey[0],
1110
1153
  signal,
1111
- throwOnError: true
1154
+ throwOnError: true,
1112
1155
  });
1113
1156
  return data;
1114
1157
  },
1115
- queryKey: getV1NftsTransfersByContractAddressByTokenIdQueryKey(options)
1158
+ queryKey: getV1NftsTransfersByContractAddressByTokenIdQueryKey(options),
1116
1159
  });
1117
1160
  };
1118
- export const getV1NftsTransfersByContractAddressByTokenIdInfiniteQueryKey = (options) => createQueryKey('getV1NftsTransfersByContractAddressByTokenId', options, true);
1161
+ export const getV1NftsTransfersByContractAddressByTokenIdInfiniteQueryKey = (options) => createQueryKey("getV1NftsTransfersByContractAddressByTokenId", options, true);
1119
1162
  export const getV1NftsTransfersByContractAddressByTokenIdInfiniteOptions = (options) => {
1120
1163
  return infiniteQueryOptions(
1121
1164
  // @ts-ignore
1122
1165
  {
1123
1166
  queryFn: async ({ pageParam, queryKey, signal }) => {
1124
1167
  // @ts-ignore
1125
- const page = typeof pageParam === 'object' ? pageParam : {
1126
- query: {
1127
- page: pageParam
1128
- }
1129
- };
1168
+ const page = typeof pageParam === "object"
1169
+ ? pageParam
1170
+ : {
1171
+ query: {
1172
+ page: pageParam,
1173
+ },
1174
+ };
1130
1175
  const params = createInfiniteParams(queryKey, page);
1131
1176
  const { data } = await getV1NftsTransfersByContractAddressByTokenId({
1132
1177
  ...options,
1133
1178
  ...params,
1134
1179
  signal,
1135
- throwOnError: true
1180
+ throwOnError: true,
1136
1181
  });
1137
1182
  return data;
1138
1183
  },
1139
- queryKey: getV1NftsTransfersByContractAddressByTokenIdInfiniteQueryKey(options)
1184
+ queryKey: getV1NftsTransfersByContractAddressByTokenIdInfiniteQueryKey(options),
1140
1185
  });
1141
1186
  };
1142
- export const getV1NftsByContractAddressByTokenIdQueryKey = (options) => createQueryKey('getV1NftsByContractAddressByTokenId', options);
1187
+ export const getV1NftsByContractAddressByTokenIdQueryKey = (options) => createQueryKey("getV1NftsByContractAddressByTokenId", options);
1143
1188
  export const getV1NftsByContractAddressByTokenIdOptions = (options) => {
1144
1189
  return queryOptions({
1145
1190
  queryFn: async ({ queryKey, signal }) => {
@@ -1147,14 +1192,14 @@ export const getV1NftsByContractAddressByTokenIdOptions = (options) => {
1147
1192
  ...options,
1148
1193
  ...queryKey[0],
1149
1194
  signal,
1150
- throwOnError: true
1195
+ throwOnError: true,
1151
1196
  });
1152
1197
  return data;
1153
1198
  },
1154
- queryKey: getV1NftsByContractAddressByTokenIdQueryKey(options)
1199
+ queryKey: getV1NftsByContractAddressByTokenIdQueryKey(options),
1155
1200
  });
1156
1201
  };
1157
- export const getV1NftsMetadataRefreshByContractAddressQueryKey = (options) => createQueryKey('getV1NftsMetadataRefreshByContractAddress', options);
1202
+ export const getV1NftsMetadataRefreshByContractAddressQueryKey = (options) => createQueryKey("getV1NftsMetadataRefreshByContractAddress", options);
1158
1203
  export const getV1NftsMetadataRefreshByContractAddressOptions = (options) => {
1159
1204
  return queryOptions({
1160
1205
  queryFn: async ({ queryKey, signal }) => {
@@ -1162,14 +1207,14 @@ export const getV1NftsMetadataRefreshByContractAddressOptions = (options) => {
1162
1207
  ...options,
1163
1208
  ...queryKey[0],
1164
1209
  signal,
1165
- throwOnError: true
1210
+ throwOnError: true,
1166
1211
  });
1167
1212
  return data;
1168
1213
  },
1169
- queryKey: getV1NftsMetadataRefreshByContractAddressQueryKey(options)
1214
+ queryKey: getV1NftsMetadataRefreshByContractAddressQueryKey(options),
1170
1215
  });
1171
1216
  };
1172
- export const getV1NftsMetadataRefreshByContractAddressByTokenIdQueryKey = (options) => createQueryKey('getV1NftsMetadataRefreshByContractAddressByTokenId', options);
1217
+ export const getV1NftsMetadataRefreshByContractAddressByTokenIdQueryKey = (options) => createQueryKey("getV1NftsMetadataRefreshByContractAddressByTokenId", options);
1173
1218
  export const getV1NftsMetadataRefreshByContractAddressByTokenIdOptions = (options) => {
1174
1219
  return queryOptions({
1175
1220
  queryFn: async ({ queryKey, signal }) => {
@@ -1177,14 +1222,14 @@ export const getV1NftsMetadataRefreshByContractAddressByTokenIdOptions = (option
1177
1222
  ...options,
1178
1223
  ...queryKey[0],
1179
1224
  signal,
1180
- throwOnError: true
1225
+ throwOnError: true,
1181
1226
  });
1182
1227
  return data;
1183
1228
  },
1184
- queryKey: getV1NftsMetadataRefreshByContractAddressByTokenIdQueryKey(options)
1229
+ queryKey: getV1NftsMetadataRefreshByContractAddressByTokenIdQueryKey(options),
1185
1230
  });
1186
1231
  };
1187
- export const getV1WalletsByWalletAddressTransactionsQueryKey = (options) => createQueryKey('getV1WalletsByWalletAddressTransactions', options);
1232
+ export const getV1WalletsByWalletAddressTransactionsQueryKey = (options) => createQueryKey("getV1WalletsByWalletAddressTransactions", options);
1188
1233
  export const getV1WalletsByWalletAddressTransactionsOptions = (options) => {
1189
1234
  return queryOptions({
1190
1235
  queryFn: async ({ queryKey, signal }) => {
@@ -1192,34 +1237,36 @@ export const getV1WalletsByWalletAddressTransactionsOptions = (options) => {
1192
1237
  ...options,
1193
1238
  ...queryKey[0],
1194
1239
  signal,
1195
- throwOnError: true
1240
+ throwOnError: true,
1196
1241
  });
1197
1242
  return data;
1198
1243
  },
1199
- queryKey: getV1WalletsByWalletAddressTransactionsQueryKey(options)
1244
+ queryKey: getV1WalletsByWalletAddressTransactionsQueryKey(options),
1200
1245
  });
1201
1246
  };
1202
- export const getV1WalletsByWalletAddressTransactionsInfiniteQueryKey = (options) => createQueryKey('getV1WalletsByWalletAddressTransactions', options, true);
1247
+ export const getV1WalletsByWalletAddressTransactionsInfiniteQueryKey = (options) => createQueryKey("getV1WalletsByWalletAddressTransactions", options, true);
1203
1248
  export const getV1WalletsByWalletAddressTransactionsInfiniteOptions = (options) => {
1204
1249
  return infiniteQueryOptions(
1205
1250
  // @ts-ignore
1206
1251
  {
1207
1252
  queryFn: async ({ pageParam, queryKey, signal }) => {
1208
1253
  // @ts-ignore
1209
- const page = typeof pageParam === 'object' ? pageParam : {
1210
- query: {
1211
- page: pageParam
1212
- }
1213
- };
1254
+ const page = typeof pageParam === "object"
1255
+ ? pageParam
1256
+ : {
1257
+ query: {
1258
+ page: pageParam,
1259
+ },
1260
+ };
1214
1261
  const params = createInfiniteParams(queryKey, page);
1215
1262
  const { data } = await getV1WalletsByWalletAddressTransactions({
1216
1263
  ...options,
1217
1264
  ...params,
1218
1265
  signal,
1219
- throwOnError: true
1266
+ throwOnError: true,
1220
1267
  });
1221
1268
  return data;
1222
1269
  },
1223
- queryKey: getV1WalletsByWalletAddressTransactionsInfiniteQueryKey(options)
1270
+ queryKey: getV1WalletsByWalletAddressTransactionsInfiniteQueryKey(options),
1224
1271
  });
1225
1272
  };