@b3dotfun/sdk 0.0.18 → 0.0.19-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -51
- package/dist/cjs/anyspend/react/components/AnySpend.js +21 -2
- package/dist/cjs/anyspend/react/components/common/FiatPaymentMethod.js +2 -2
- package/dist/cjs/anyspend/react/providers/AnyspendProvider.d.ts +1 -2
- package/dist/cjs/anyspend/react/providers/AnyspendProvider.js +2 -3
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.d.ts +3 -1
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.js +2 -2
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.native.js +3 -1
- package/dist/cjs/global-account/react/components/index.d.ts +1 -0
- package/dist/cjs/global-account/react/components/index.js +4 -2
- package/dist/cjs/global-account/react/components/ui/Loading.js +1 -1
- package/dist/cjs/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +4 -4
- package/dist/cjs/shared/thirdweb/generated/@tanstack/react-query.gen.js +360 -313
- package/dist/cjs/shared/thirdweb/generated/client.gen.d.ts +2 -2
- package/dist/cjs/shared/thirdweb/generated/sdk.gen.d.ts +2 -2
- package/dist/cjs/shared/thirdweb/generated/sdk.gen.js +398 -398
- package/dist/cjs/shared/thirdweb/generated/types.gen.d.ts +135 -135
- package/dist/esm/anyspend/react/components/AnySpend.js +21 -2
- package/dist/esm/anyspend/react/components/common/FiatPaymentMethod.js +2 -2
- package/dist/esm/anyspend/react/providers/AnyspendProvider.d.ts +1 -2
- package/dist/esm/anyspend/react/providers/AnyspendProvider.js +2 -3
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.d.ts +3 -1
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.js +3 -3
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.native.js +3 -1
- package/dist/esm/global-account/react/components/index.d.ts +1 -0
- package/dist/esm/global-account/react/components/index.js +1 -0
- package/dist/esm/global-account/react/components/ui/Loading.js +1 -1
- package/dist/esm/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +4 -4
- package/dist/esm/shared/thirdweb/generated/@tanstack/react-query.gen.js +363 -316
- package/dist/esm/shared/thirdweb/generated/client.gen.d.ts +2 -2
- package/dist/esm/shared/thirdweb/generated/client.gen.js +1 -1
- package/dist/esm/shared/thirdweb/generated/sdk.gen.d.ts +2 -2
- package/dist/esm/shared/thirdweb/generated/sdk.gen.js +399 -399
- package/dist/esm/shared/thirdweb/generated/types.gen.d.ts +135 -135
- package/dist/types/anyspend/react/providers/AnyspendProvider.d.ts +1 -2
- package/dist/types/global-account/react/components/B3Provider/B3Provider.d.ts +3 -1
- package/dist/types/global-account/react/components/index.d.ts +1 -0
- package/dist/types/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +4 -4
- package/dist/types/shared/thirdweb/generated/client.gen.d.ts +2 -2
- package/dist/types/shared/thirdweb/generated/sdk.gen.d.ts +2 -2
- package/dist/types/shared/thirdweb/generated/types.gen.d.ts +135 -135
- package/package.json +2 -2
- package/src/anyspend/react/components/AnySpend.tsx +25 -6
- package/src/anyspend/react/components/common/FiatPaymentMethod.tsx +2 -2
- package/src/anyspend/react/providers/AnyspendProvider.tsx +5 -9
- package/src/global-account/react/components/B3Provider/B3Provider.native.tsx +1 -0
- package/src/global-account/react/components/B3Provider/B3Provider.tsx +11 -5
- package/src/global-account/react/components/index.ts +1 -0
- package/src/global-account/react/components/ui/Loading.tsx +1 -1
- package/src/shared/thirdweb/generated/@tanstack/react-query.gen.ts +1886 -1220
- package/src/shared/thirdweb/generated/client.gen.ts +11 -4
- package/src/shared/thirdweb/generated/sdk.gen.ts +1083 -809
- package/src/shared/thirdweb/generated/types.gen.ts +3953 -3862
- /package/dist/cjs/{anyspend/react/providers → global-account/react/components/B3Provider}/RelayKitProviderWrapper.d.ts +0 -0
- /package/dist/cjs/{anyspend/react/providers → global-account/react/components/B3Provider}/RelayKitProviderWrapper.js +0 -0
- /package/dist/esm/{anyspend/react/providers → global-account/react/components/B3Provider}/RelayKitProviderWrapper.d.ts +0 -0
- /package/dist/esm/{anyspend/react/providers → global-account/react/components/B3Provider}/RelayKitProviderWrapper.js +0 -0
- /package/dist/types/{anyspend/react/providers → global-account/react/components/B3Provider}/RelayKitProviderWrapper.d.ts +0 -0
- /package/src/{anyspend/react/providers → global-account/react/components/B3Provider}/RelayKitProviderWrapper.tsx +0 -0
|
@@ -7,7 +7,7 @@ export type GetV1WebhooksData = {
|
|
|
7
7
|
*/
|
|
8
8
|
webhook_id?: string;
|
|
9
9
|
};
|
|
10
|
-
url:
|
|
10
|
+
url: "/v1/webhooks";
|
|
11
11
|
};
|
|
12
12
|
export type GetV1WebhooksErrors = {
|
|
13
13
|
/**
|
|
@@ -52,7 +52,7 @@ export type PostV1WebhooksData = {
|
|
|
52
52
|
body?: {
|
|
53
53
|
webhook_url: string;
|
|
54
54
|
filters: {
|
|
55
|
-
|
|
55
|
+
"v1.events"?: {
|
|
56
56
|
chain_ids?: Array<string>;
|
|
57
57
|
addresses?: Array<string>;
|
|
58
58
|
signatures?: Array<{
|
|
@@ -63,7 +63,7 @@ export type PostV1WebhooksData = {
|
|
|
63
63
|
};
|
|
64
64
|
}>;
|
|
65
65
|
};
|
|
66
|
-
|
|
66
|
+
"v1.transactions"?: {
|
|
67
67
|
chain_ids?: Array<string>;
|
|
68
68
|
from_addresses?: Array<string>;
|
|
69
69
|
to_addresses?: Array<string>;
|
|
@@ -78,7 +78,7 @@ export type PostV1WebhooksData = {
|
|
|
78
78
|
};
|
|
79
79
|
path?: never;
|
|
80
80
|
query?: never;
|
|
81
|
-
url:
|
|
81
|
+
url: "/v1/webhooks";
|
|
82
82
|
};
|
|
83
83
|
export type PostV1WebhooksErrors = {
|
|
84
84
|
/**
|
|
@@ -131,7 +131,7 @@ export type DeleteV1WebhooksByWebhookIdData = {
|
|
|
131
131
|
webhook_id: string;
|
|
132
132
|
};
|
|
133
133
|
query?: never;
|
|
134
|
-
url:
|
|
134
|
+
url: "/v1/webhooks/{webhook_id}";
|
|
135
135
|
};
|
|
136
136
|
export type DeleteV1WebhooksByWebhookIdErrors = {
|
|
137
137
|
/**
|
|
@@ -182,7 +182,7 @@ export type PatchV1WebhooksByWebhookIdData = {
|
|
|
182
182
|
body?: {
|
|
183
183
|
webhook_url?: string;
|
|
184
184
|
filters?: {
|
|
185
|
-
|
|
185
|
+
"v1.events"?: {
|
|
186
186
|
chain_ids?: Array<string>;
|
|
187
187
|
addresses?: Array<string>;
|
|
188
188
|
signatures?: Array<{
|
|
@@ -193,7 +193,7 @@ export type PatchV1WebhooksByWebhookIdData = {
|
|
|
193
193
|
};
|
|
194
194
|
}>;
|
|
195
195
|
};
|
|
196
|
-
|
|
196
|
+
"v1.transactions"?: {
|
|
197
197
|
chain_ids?: Array<string>;
|
|
198
198
|
from_addresses?: Array<string>;
|
|
199
199
|
to_addresses?: Array<string>;
|
|
@@ -211,7 +211,7 @@ export type PatchV1WebhooksByWebhookIdData = {
|
|
|
211
211
|
webhook_id: string;
|
|
212
212
|
};
|
|
213
213
|
query?: never;
|
|
214
|
-
url:
|
|
214
|
+
url: "/v1/webhooks/{webhook_id}";
|
|
215
215
|
};
|
|
216
216
|
export type PatchV1WebhooksByWebhookIdErrors = {
|
|
217
217
|
/**
|
|
@@ -261,11 +261,11 @@ export type PatchV1WebhooksByWebhookIdResponse = PatchV1WebhooksByWebhookIdRespo
|
|
|
261
261
|
export type PostV1WebhooksTestData = {
|
|
262
262
|
body?: {
|
|
263
263
|
webhook_url: string;
|
|
264
|
-
type?:
|
|
264
|
+
type?: "event" | "transaction";
|
|
265
265
|
};
|
|
266
266
|
path?: never;
|
|
267
267
|
query?: never;
|
|
268
|
-
url:
|
|
268
|
+
url: "/v1/webhooks/test";
|
|
269
269
|
};
|
|
270
270
|
export type PostV1WebhooksTestErrors = {
|
|
271
271
|
/**
|
|
@@ -354,11 +354,11 @@ export type GetV1EventsData = {
|
|
|
354
354
|
/**
|
|
355
355
|
* Field to sort results by
|
|
356
356
|
*/
|
|
357
|
-
sort_by?:
|
|
357
|
+
sort_by?: "block_number" | string;
|
|
358
358
|
/**
|
|
359
359
|
* Sort order (asc or desc)
|
|
360
360
|
*/
|
|
361
|
-
sort_order?:
|
|
361
|
+
sort_order?: "asc" | "desc";
|
|
362
362
|
group_by?: Array<string | null> | (string | null) | unknown;
|
|
363
363
|
aggregate?: Array<string | null> | (string | null) | unknown;
|
|
364
364
|
/**
|
|
@@ -435,7 +435,7 @@ export type GetV1EventsData = {
|
|
|
435
435
|
limit?: number;
|
|
436
436
|
page?: number | null;
|
|
437
437
|
};
|
|
438
|
-
url:
|
|
438
|
+
url: "/v1/events";
|
|
439
439
|
};
|
|
440
440
|
export type GetV1EventsErrors = {
|
|
441
441
|
/**
|
|
@@ -551,11 +551,11 @@ export type GetV1EventsByContractAddressData = {
|
|
|
551
551
|
/**
|
|
552
552
|
* Field to sort results by
|
|
553
553
|
*/
|
|
554
|
-
sort_by?:
|
|
554
|
+
sort_by?: "block_number" | string;
|
|
555
555
|
/**
|
|
556
556
|
* Sort order (asc or desc)
|
|
557
557
|
*/
|
|
558
|
-
sort_order?:
|
|
558
|
+
sort_order?: "asc" | "desc";
|
|
559
559
|
group_by?: Array<string | null> | (string | null) | unknown;
|
|
560
560
|
aggregate?: Array<string | null> | (string | null) | unknown;
|
|
561
561
|
/**
|
|
@@ -628,7 +628,7 @@ export type GetV1EventsByContractAddressData = {
|
|
|
628
628
|
limit?: number;
|
|
629
629
|
page?: number | null;
|
|
630
630
|
};
|
|
631
|
-
url:
|
|
631
|
+
url: "/v1/events/{contractAddress}";
|
|
632
632
|
};
|
|
633
633
|
export type GetV1EventsByContractAddressErrors = {
|
|
634
634
|
/**
|
|
@@ -745,11 +745,11 @@ export type GetV1EventsByContractAddressBySignatureData = {
|
|
|
745
745
|
/**
|
|
746
746
|
* Field to sort results by
|
|
747
747
|
*/
|
|
748
|
-
sort_by?:
|
|
748
|
+
sort_by?: "block_number" | string;
|
|
749
749
|
/**
|
|
750
750
|
* Sort order (asc or desc)
|
|
751
751
|
*/
|
|
752
|
-
sort_order?:
|
|
752
|
+
sort_order?: "asc" | "desc";
|
|
753
753
|
group_by?: Array<string | null> | (string | null) | unknown;
|
|
754
754
|
aggregate?: Array<string | null> | (string | null) | unknown;
|
|
755
755
|
/**
|
|
@@ -818,7 +818,7 @@ export type GetV1EventsByContractAddressBySignatureData = {
|
|
|
818
818
|
limit?: number;
|
|
819
819
|
page?: number | null;
|
|
820
820
|
};
|
|
821
|
-
url:
|
|
821
|
+
url: "/v1/events/{contractAddress}/{signature}";
|
|
822
822
|
};
|
|
823
823
|
export type GetV1EventsByContractAddressBySignatureErrors = {
|
|
824
824
|
/**
|
|
@@ -932,11 +932,11 @@ export type GetV1TransactionsData = {
|
|
|
932
932
|
/**
|
|
933
933
|
* Field to sort results by
|
|
934
934
|
*/
|
|
935
|
-
sort_by?:
|
|
935
|
+
sort_by?: "block_number" | string;
|
|
936
936
|
/**
|
|
937
937
|
* Sort order (asc or desc)
|
|
938
938
|
*/
|
|
939
|
-
sort_order?:
|
|
939
|
+
sort_order?: "asc" | "desc";
|
|
940
940
|
group_by?: Array<string | null> | (string | null) | unknown;
|
|
941
941
|
aggregate?: Array<string | null> | (string | null) | unknown;
|
|
942
942
|
/**
|
|
@@ -1045,7 +1045,7 @@ export type GetV1TransactionsData = {
|
|
|
1045
1045
|
limit?: number;
|
|
1046
1046
|
page?: number | null;
|
|
1047
1047
|
};
|
|
1048
|
-
url:
|
|
1048
|
+
url: "/v1/transactions";
|
|
1049
1049
|
};
|
|
1050
1050
|
export type GetV1TransactionsErrors = {
|
|
1051
1051
|
/**
|
|
@@ -1187,11 +1187,11 @@ export type GetV1TransactionsByContractAddressData = {
|
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Field to sort results by
|
|
1189
1189
|
*/
|
|
1190
|
-
sort_by?:
|
|
1190
|
+
sort_by?: "block_number" | string;
|
|
1191
1191
|
/**
|
|
1192
1192
|
* Sort order (asc or desc)
|
|
1193
1193
|
*/
|
|
1194
|
-
sort_order?:
|
|
1194
|
+
sort_order?: "asc" | "desc";
|
|
1195
1195
|
group_by?: Array<string | null> | (string | null) | unknown;
|
|
1196
1196
|
aggregate?: Array<string | null> | (string | null) | unknown;
|
|
1197
1197
|
/**
|
|
@@ -1296,7 +1296,7 @@ export type GetV1TransactionsByContractAddressData = {
|
|
|
1296
1296
|
limit?: number;
|
|
1297
1297
|
page?: number | null;
|
|
1298
1298
|
};
|
|
1299
|
-
url:
|
|
1299
|
+
url: "/v1/transactions/{contractAddress}";
|
|
1300
1300
|
};
|
|
1301
1301
|
export type GetV1TransactionsByContractAddressErrors = {
|
|
1302
1302
|
/**
|
|
@@ -1422,11 +1422,11 @@ export type GetV1TransactionsByContractAddressBySignatureData = {
|
|
|
1422
1422
|
/**
|
|
1423
1423
|
* Field to sort results by
|
|
1424
1424
|
*/
|
|
1425
|
-
sort_by?:
|
|
1425
|
+
sort_by?: "block_number" | string;
|
|
1426
1426
|
/**
|
|
1427
1427
|
* Sort order (asc or desc)
|
|
1428
1428
|
*/
|
|
1429
|
-
sort_order?:
|
|
1429
|
+
sort_order?: "asc" | "desc";
|
|
1430
1430
|
group_by?: Array<string | null> | (string | null) | unknown;
|
|
1431
1431
|
aggregate?: Array<string | null> | (string | null) | unknown;
|
|
1432
1432
|
/**
|
|
@@ -1527,7 +1527,7 @@ export type GetV1TransactionsByContractAddressBySignatureData = {
|
|
|
1527
1527
|
limit?: number;
|
|
1528
1528
|
page?: number | null;
|
|
1529
1529
|
};
|
|
1530
|
-
url:
|
|
1530
|
+
url: "/v1/transactions/{contractAddress}/{signature}";
|
|
1531
1531
|
};
|
|
1532
1532
|
export type GetV1TransactionsByContractAddressBySignatureErrors = {
|
|
1533
1533
|
/**
|
|
@@ -1630,21 +1630,21 @@ export type GetV1TokensTransfersTransactionByTransactionHashData = {
|
|
|
1630
1630
|
/**
|
|
1631
1631
|
* Whether to include metadata for the tokens
|
|
1632
1632
|
*/
|
|
1633
|
-
metadata?:
|
|
1633
|
+
metadata?: "true" | "false";
|
|
1634
1634
|
/**
|
|
1635
1635
|
* Whether to include sale details for NFT transfers
|
|
1636
1636
|
*/
|
|
1637
|
-
sales?:
|
|
1637
|
+
sales?: "true" | "false";
|
|
1638
1638
|
/**
|
|
1639
1639
|
* Whether to include owner addresses in the response (only if NFT metadata is requested)
|
|
1640
1640
|
*/
|
|
1641
|
-
include_owners?:
|
|
1641
|
+
include_owners?: "true" | "false";
|
|
1642
1642
|
/**
|
|
1643
1643
|
* Whether to resolve metadata IPFS or Arweave links
|
|
1644
1644
|
*/
|
|
1645
|
-
resolve_metadata_links?:
|
|
1645
|
+
resolve_metadata_links?: "true" | "false";
|
|
1646
1646
|
};
|
|
1647
|
-
url:
|
|
1647
|
+
url: "/v1/tokens/transfers/transaction/{transaction_hash}";
|
|
1648
1648
|
};
|
|
1649
1649
|
export type GetV1TokensTransfersTransactionByTransactionHashErrors = {
|
|
1650
1650
|
/**
|
|
@@ -1664,8 +1664,8 @@ export type GetV1TokensTransfersTransactionByTransactionHashErrors = {
|
|
|
1664
1664
|
to_address: string;
|
|
1665
1665
|
log_index: number;
|
|
1666
1666
|
contract_address: string;
|
|
1667
|
-
transfer_type:
|
|
1668
|
-
token_type:
|
|
1667
|
+
transfer_type: "mint" | "sale" | "transfer";
|
|
1668
|
+
token_type: "erc20";
|
|
1669
1669
|
amount: string;
|
|
1670
1670
|
chain_id: number;
|
|
1671
1671
|
token_metadata?: {
|
|
@@ -1691,8 +1691,8 @@ export type GetV1TokensTransfersTransactionByTransactionHashResponses = {
|
|
|
1691
1691
|
to_address: string;
|
|
1692
1692
|
log_index: number;
|
|
1693
1693
|
contract_address: string;
|
|
1694
|
-
transfer_type:
|
|
1695
|
-
token_type:
|
|
1694
|
+
transfer_type: "mint" | "sale" | "transfer";
|
|
1695
|
+
token_type: "erc20";
|
|
1696
1696
|
amount: string;
|
|
1697
1697
|
chain_id: number;
|
|
1698
1698
|
token_metadata?: {
|
|
@@ -1724,21 +1724,21 @@ export type GetV1TokensTransfersByContractAddressData = {
|
|
|
1724
1724
|
/**
|
|
1725
1725
|
* Whether to include metadata for the tokens
|
|
1726
1726
|
*/
|
|
1727
|
-
metadata?:
|
|
1727
|
+
metadata?: "true" | "false";
|
|
1728
1728
|
/**
|
|
1729
1729
|
* Whether to include sale details for NFT transfers
|
|
1730
1730
|
*/
|
|
1731
|
-
sales?:
|
|
1731
|
+
sales?: "true" | "false";
|
|
1732
1732
|
/**
|
|
1733
1733
|
* Whether to include owner addresses in the response (only if NFT metadata is requested)
|
|
1734
1734
|
*/
|
|
1735
|
-
include_owners?:
|
|
1735
|
+
include_owners?: "true" | "false";
|
|
1736
1736
|
/**
|
|
1737
1737
|
* Whether to resolve metadata IPFS or Arweave links
|
|
1738
1738
|
*/
|
|
1739
|
-
resolve_metadata_links?:
|
|
1739
|
+
resolve_metadata_links?: "true" | "false";
|
|
1740
1740
|
};
|
|
1741
|
-
url:
|
|
1741
|
+
url: "/v1/tokens/transfers/{contract_address}";
|
|
1742
1742
|
};
|
|
1743
1743
|
export type GetV1TokensTransfersByContractAddressErrors = {
|
|
1744
1744
|
/**
|
|
@@ -1758,8 +1758,8 @@ export type GetV1TokensTransfersByContractAddressErrors = {
|
|
|
1758
1758
|
to_address: string;
|
|
1759
1759
|
log_index: number;
|
|
1760
1760
|
contract_address: string;
|
|
1761
|
-
transfer_type:
|
|
1762
|
-
token_type:
|
|
1761
|
+
transfer_type: "mint" | "sale" | "transfer";
|
|
1762
|
+
token_type: "erc20";
|
|
1763
1763
|
amount: string;
|
|
1764
1764
|
chain_id: number;
|
|
1765
1765
|
token_metadata?: {
|
|
@@ -1785,8 +1785,8 @@ export type GetV1TokensTransfersByContractAddressResponses = {
|
|
|
1785
1785
|
to_address: string;
|
|
1786
1786
|
log_index: number;
|
|
1787
1787
|
contract_address: string;
|
|
1788
|
-
transfer_type:
|
|
1789
|
-
token_type:
|
|
1788
|
+
transfer_type: "mint" | "sale" | "transfer";
|
|
1789
|
+
token_type: "erc20";
|
|
1790
1790
|
amount: string;
|
|
1791
1791
|
chain_id: number;
|
|
1792
1792
|
token_metadata?: {
|
|
@@ -1816,19 +1816,19 @@ export type GetV1TokensTransfersData = {
|
|
|
1816
1816
|
/**
|
|
1817
1817
|
* Whether to include metadata for the tokens
|
|
1818
1818
|
*/
|
|
1819
|
-
metadata?:
|
|
1819
|
+
metadata?: "true" | "false";
|
|
1820
1820
|
/**
|
|
1821
1821
|
* Whether to include sale details for NFT transfers
|
|
1822
1822
|
*/
|
|
1823
|
-
sales?:
|
|
1823
|
+
sales?: "true" | "false";
|
|
1824
1824
|
/**
|
|
1825
1825
|
* Whether to include owner addresses in the response (only if NFT metadata is requested)
|
|
1826
1826
|
*/
|
|
1827
|
-
include_owners?:
|
|
1827
|
+
include_owners?: "true" | "false";
|
|
1828
1828
|
/**
|
|
1829
1829
|
* Whether to resolve metadata IPFS or Arweave links
|
|
1830
1830
|
*/
|
|
1831
|
-
resolve_metadata_links?:
|
|
1831
|
+
resolve_metadata_links?: "true" | "false";
|
|
1832
1832
|
/**
|
|
1833
1833
|
* Filter by block number greater than or equal to
|
|
1834
1834
|
*/
|
|
@@ -1839,7 +1839,7 @@ export type GetV1TokensTransfersData = {
|
|
|
1839
1839
|
block_number_to?: number | string;
|
|
1840
1840
|
owner_address?: string;
|
|
1841
1841
|
};
|
|
1842
|
-
url:
|
|
1842
|
+
url: "/v1/tokens/transfers";
|
|
1843
1843
|
};
|
|
1844
1844
|
export type GetV1TokensTransfersErrors = {
|
|
1845
1845
|
/**
|
|
@@ -1859,8 +1859,8 @@ export type GetV1TokensTransfersErrors = {
|
|
|
1859
1859
|
to_address: string;
|
|
1860
1860
|
log_index: number;
|
|
1861
1861
|
contract_address: string;
|
|
1862
|
-
transfer_type:
|
|
1863
|
-
token_type:
|
|
1862
|
+
transfer_type: "mint" | "sale" | "transfer";
|
|
1863
|
+
token_type: "erc20";
|
|
1864
1864
|
amount: string;
|
|
1865
1865
|
chain_id: number;
|
|
1866
1866
|
token_metadata?: {
|
|
@@ -1886,8 +1886,8 @@ export type GetV1TokensTransfersResponses = {
|
|
|
1886
1886
|
to_address: string;
|
|
1887
1887
|
log_index: number;
|
|
1888
1888
|
contract_address: string;
|
|
1889
|
-
transfer_type:
|
|
1890
|
-
token_type:
|
|
1889
|
+
transfer_type: "mint" | "sale" | "transfer";
|
|
1890
|
+
token_type: "erc20";
|
|
1891
1891
|
amount: string;
|
|
1892
1892
|
chain_id: number;
|
|
1893
1893
|
token_metadata?: {
|
|
@@ -1919,17 +1919,17 @@ export type GetV1TokensErc20ByOwnerAddressData = {
|
|
|
1919
1919
|
/**
|
|
1920
1920
|
* Whether to include metadata for the tokens
|
|
1921
1921
|
*/
|
|
1922
|
-
metadata?:
|
|
1922
|
+
metadata?: "true" | "false";
|
|
1923
1923
|
/**
|
|
1924
1924
|
* Whether to resolve metadata IPFS or Arweave links
|
|
1925
1925
|
*/
|
|
1926
|
-
resolve_metadata_links?:
|
|
1926
|
+
resolve_metadata_links?: "true" | "false";
|
|
1927
1927
|
/**
|
|
1928
1928
|
* Whether to include spam tokens
|
|
1929
1929
|
*/
|
|
1930
|
-
include_spam?:
|
|
1930
|
+
include_spam?: "true" | "false";
|
|
1931
1931
|
};
|
|
1932
|
-
url:
|
|
1932
|
+
url: "/v1/tokens/erc20/{ownerAddress}";
|
|
1933
1933
|
};
|
|
1934
1934
|
export type GetV1TokensErc20ByOwnerAddressErrors = {
|
|
1935
1935
|
/**
|
|
@@ -1980,13 +1980,13 @@ export type GetV1TokensErc721ByOwnerAddressData = {
|
|
|
1980
1980
|
/**
|
|
1981
1981
|
* Whether to include metadata for the tokens
|
|
1982
1982
|
*/
|
|
1983
|
-
metadata?:
|
|
1983
|
+
metadata?: "true" | "false";
|
|
1984
1984
|
/**
|
|
1985
1985
|
* Whether to resolve metadata IPFS or Arweave links
|
|
1986
1986
|
*/
|
|
1987
|
-
resolve_metadata_links?:
|
|
1987
|
+
resolve_metadata_links?: "true" | "false";
|
|
1988
1988
|
};
|
|
1989
|
-
url:
|
|
1989
|
+
url: "/v1/tokens/erc721/{ownerAddress}";
|
|
1990
1990
|
};
|
|
1991
1991
|
export type GetV1TokensErc721ByOwnerAddressErrors = {
|
|
1992
1992
|
/**
|
|
@@ -2051,7 +2051,7 @@ export type GetV1TokensErc721ByOwnerAddressResponses = {
|
|
|
2051
2051
|
address: string;
|
|
2052
2052
|
name?: string;
|
|
2053
2053
|
symbol?: string;
|
|
2054
|
-
type?:
|
|
2054
|
+
type?: "erc721" | "erc1155";
|
|
2055
2055
|
};
|
|
2056
2056
|
}>;
|
|
2057
2057
|
};
|
|
@@ -2077,13 +2077,13 @@ export type GetV1TokensErc1155ByOwnerAddressData = {
|
|
|
2077
2077
|
/**
|
|
2078
2078
|
* Whether to include metadata for the tokens
|
|
2079
2079
|
*/
|
|
2080
|
-
metadata?:
|
|
2080
|
+
metadata?: "true" | "false";
|
|
2081
2081
|
/**
|
|
2082
2082
|
* Whether to resolve metadata IPFS or Arweave links
|
|
2083
2083
|
*/
|
|
2084
|
-
resolve_metadata_links?:
|
|
2084
|
+
resolve_metadata_links?: "true" | "false";
|
|
2085
2085
|
};
|
|
2086
|
-
url:
|
|
2086
|
+
url: "/v1/tokens/erc1155/{ownerAddress}";
|
|
2087
2087
|
};
|
|
2088
2088
|
export type GetV1TokensErc1155ByOwnerAddressErrors = {
|
|
2089
2089
|
/**
|
|
@@ -2148,7 +2148,7 @@ export type GetV1TokensErc1155ByOwnerAddressResponses = {
|
|
|
2148
2148
|
address: string;
|
|
2149
2149
|
name?: string;
|
|
2150
2150
|
symbol?: string;
|
|
2151
|
-
type?:
|
|
2151
|
+
type?: "erc721" | "erc1155";
|
|
2152
2152
|
};
|
|
2153
2153
|
}>;
|
|
2154
2154
|
};
|
|
@@ -2165,7 +2165,7 @@ export type GetV1TokensPriceSupportedData = {
|
|
|
2165
2165
|
*/
|
|
2166
2166
|
chain?: Array<number> | (number | null) | unknown;
|
|
2167
2167
|
};
|
|
2168
|
-
url:
|
|
2168
|
+
url: "/v1/tokens/price/supported";
|
|
2169
2169
|
};
|
|
2170
2170
|
export type GetV1TokensPriceSupportedErrors = {
|
|
2171
2171
|
/**
|
|
@@ -2218,13 +2218,13 @@ export type GetV1TokensPriceData = {
|
|
|
2218
2218
|
/**
|
|
2219
2219
|
* Whether to include historical token prices
|
|
2220
2220
|
*/
|
|
2221
|
-
include_historical_prices?:
|
|
2221
|
+
include_historical_prices?: "true" | "false";
|
|
2222
2222
|
/**
|
|
2223
2223
|
* Whether to include the number of holders
|
|
2224
2224
|
*/
|
|
2225
|
-
include_holders?:
|
|
2225
|
+
include_holders?: "true" | "false";
|
|
2226
2226
|
};
|
|
2227
|
-
url:
|
|
2227
|
+
url: "/v1/tokens/price";
|
|
2228
2228
|
};
|
|
2229
2229
|
export type GetV1TokensPriceErrors = {
|
|
2230
2230
|
/**
|
|
@@ -2310,7 +2310,7 @@ export type GetV1TokensLookupData = {
|
|
|
2310
2310
|
*/
|
|
2311
2311
|
chain?: Array<number> | (number | null) | unknown;
|
|
2312
2312
|
};
|
|
2313
|
-
url:
|
|
2313
|
+
url: "/v1/tokens/lookup";
|
|
2314
2314
|
};
|
|
2315
2315
|
export type GetV1TokensLookupErrors = {
|
|
2316
2316
|
/**
|
|
@@ -2356,7 +2356,7 @@ export type GetV1ResolveByInputData = {
|
|
|
2356
2356
|
*/
|
|
2357
2357
|
chain?: Array<number> | (number | null) | unknown;
|
|
2358
2358
|
};
|
|
2359
|
-
url:
|
|
2359
|
+
url: "/v1/resolve/{input}";
|
|
2360
2360
|
};
|
|
2361
2361
|
export type GetV1ResolveByInputErrors = {
|
|
2362
2362
|
/**
|
|
@@ -2447,7 +2447,7 @@ export type GetV1ResolveByInputResponses = {
|
|
|
2447
2447
|
topics: Array<string>;
|
|
2448
2448
|
}>;
|
|
2449
2449
|
address?: string;
|
|
2450
|
-
type:
|
|
2450
|
+
type: "block" | "transaction" | "event_signature" | "function_signature" | "address" | "contract" | "unknown";
|
|
2451
2451
|
};
|
|
2452
2452
|
aggregations?: unknown;
|
|
2453
2453
|
meta: {
|
|
@@ -2515,11 +2515,11 @@ export type GetV1BlocksData = {
|
|
|
2515
2515
|
/**
|
|
2516
2516
|
* Field to sort results by
|
|
2517
2517
|
*/
|
|
2518
|
-
sort_by?:
|
|
2518
|
+
sort_by?: "block_number" | string;
|
|
2519
2519
|
/**
|
|
2520
2520
|
* Sort order (asc or desc)
|
|
2521
2521
|
*/
|
|
2522
|
-
sort_order?:
|
|
2522
|
+
sort_order?: "asc" | "desc";
|
|
2523
2523
|
group_by?: Array<string | null> | (string | null) | unknown;
|
|
2524
2524
|
aggregate?: Array<string | null> | (string | null) | unknown;
|
|
2525
2525
|
/**
|
|
@@ -2532,7 +2532,7 @@ export type GetV1BlocksData = {
|
|
|
2532
2532
|
limit?: number;
|
|
2533
2533
|
page?: number | null;
|
|
2534
2534
|
};
|
|
2535
|
-
url:
|
|
2535
|
+
url: "/v1/blocks";
|
|
2536
2536
|
};
|
|
2537
2537
|
export type GetV1BlocksErrors = {
|
|
2538
2538
|
/**
|
|
@@ -2604,7 +2604,7 @@ export type GetV1ContractsAbiByContractAddressData = {
|
|
|
2604
2604
|
*/
|
|
2605
2605
|
chain?: Array<number> | (number | null) | unknown;
|
|
2606
2606
|
};
|
|
2607
|
-
url:
|
|
2607
|
+
url: "/v1/contracts/abi/{contractAddress}";
|
|
2608
2608
|
};
|
|
2609
2609
|
export type GetV1ContractsAbiByContractAddressErrors = {
|
|
2610
2610
|
/**
|
|
@@ -2647,7 +2647,7 @@ export type GetV1ContractsMetadataByContractAddressData = {
|
|
|
2647
2647
|
*/
|
|
2648
2648
|
chain?: Array<number> | (number | null) | unknown;
|
|
2649
2649
|
};
|
|
2650
|
-
url:
|
|
2650
|
+
url: "/v1/contracts/metadata/{contractAddress}";
|
|
2651
2651
|
};
|
|
2652
2652
|
export type GetV1ContractsMetadataByContractAddressErrors = {
|
|
2653
2653
|
/**
|
|
@@ -2692,7 +2692,7 @@ export type PostV1DecodeByContractAddressData = {
|
|
|
2692
2692
|
*/
|
|
2693
2693
|
chain?: Array<number> | (number | null) | unknown;
|
|
2694
2694
|
};
|
|
2695
|
-
url:
|
|
2695
|
+
url: "/v1/decode/{contractAddress}";
|
|
2696
2696
|
};
|
|
2697
2697
|
export type PostV1DecodeByContractAddressErrors = {
|
|
2698
2698
|
/**
|
|
@@ -2754,17 +2754,17 @@ export type GetV1NftsBalanceByOwnerAddressData = {
|
|
|
2754
2754
|
/**
|
|
2755
2755
|
* Whether to include metadata for the tokens
|
|
2756
2756
|
*/
|
|
2757
|
-
metadata?:
|
|
2757
|
+
metadata?: "true" | "false";
|
|
2758
2758
|
/**
|
|
2759
2759
|
* Whether to resolve metadata IPFS or Arweave links
|
|
2760
2760
|
*/
|
|
2761
|
-
resolve_metadata_links?:
|
|
2761
|
+
resolve_metadata_links?: "true" | "false";
|
|
2762
2762
|
/**
|
|
2763
2763
|
* The types of NFTs to include in the response. Can be an empty array to include all types
|
|
2764
2764
|
*/
|
|
2765
|
-
token_types?: Array<
|
|
2765
|
+
token_types?: Array<"erc1155" | "erc721">;
|
|
2766
2766
|
};
|
|
2767
|
-
url:
|
|
2767
|
+
url: "/v1/nfts/balance/{ownerAddress}";
|
|
2768
2768
|
};
|
|
2769
2769
|
export type GetV1NftsBalanceByOwnerAddressErrors = {
|
|
2770
2770
|
/**
|
|
@@ -2829,7 +2829,7 @@ export type GetV1NftsBalanceByOwnerAddressResponses = {
|
|
|
2829
2829
|
address: string;
|
|
2830
2830
|
name?: string;
|
|
2831
2831
|
symbol?: string;
|
|
2832
|
-
type?:
|
|
2832
|
+
type?: "erc721" | "erc1155";
|
|
2833
2833
|
};
|
|
2834
2834
|
}>;
|
|
2835
2835
|
};
|
|
@@ -2850,13 +2850,13 @@ export type GetV1NftsCollectionsByContractAddressData = {
|
|
|
2850
2850
|
/**
|
|
2851
2851
|
* Whether to include stats for the collection
|
|
2852
2852
|
*/
|
|
2853
|
-
include_stats?:
|
|
2853
|
+
include_stats?: "true" | "false";
|
|
2854
2854
|
/**
|
|
2855
2855
|
* Whether to resolve metadata IPFS or Arweave links
|
|
2856
2856
|
*/
|
|
2857
|
-
resolve_metadata_links?:
|
|
2857
|
+
resolve_metadata_links?: "true" | "false";
|
|
2858
2858
|
};
|
|
2859
|
-
url:
|
|
2859
|
+
url: "/v1/nfts/collections/{contract_address}";
|
|
2860
2860
|
};
|
|
2861
2861
|
export type GetV1NftsCollectionsByContractAddressErrors = {
|
|
2862
2862
|
/**
|
|
@@ -2913,10 +2913,10 @@ export type GetV1NftsData = {
|
|
|
2913
2913
|
/**
|
|
2914
2914
|
* Whether to resolve metadata IPFS or Arweave links
|
|
2915
2915
|
*/
|
|
2916
|
-
resolve_metadata_links?:
|
|
2916
|
+
resolve_metadata_links?: "true" | "false";
|
|
2917
2917
|
owner_address: string;
|
|
2918
2918
|
};
|
|
2919
|
-
url:
|
|
2919
|
+
url: "/v1/nfts";
|
|
2920
2920
|
};
|
|
2921
2921
|
export type GetV1NftsErrors = {
|
|
2922
2922
|
/**
|
|
@@ -2976,7 +2976,7 @@ export type GetV1NftsResponses = {
|
|
|
2976
2976
|
address: string;
|
|
2977
2977
|
name?: string;
|
|
2978
2978
|
symbol?: string;
|
|
2979
|
-
type?:
|
|
2979
|
+
type?: "erc721" | "erc1155";
|
|
2980
2980
|
};
|
|
2981
2981
|
chain_id: number;
|
|
2982
2982
|
contract_address: string;
|
|
@@ -3005,7 +3005,7 @@ export type GetV1NftsOwnersByContractAddressData = {
|
|
|
3005
3005
|
limit?: number;
|
|
3006
3006
|
page?: number | null;
|
|
3007
3007
|
};
|
|
3008
|
-
url:
|
|
3008
|
+
url: "/v1/nfts/owners/{contract_address}";
|
|
3009
3009
|
};
|
|
3010
3010
|
export type GetV1NftsOwnersByContractAddressErrors = {
|
|
3011
3011
|
/**
|
|
@@ -3049,7 +3049,7 @@ export type GetV1NftsOwnersByContractAddressByTokenIdData = {
|
|
|
3049
3049
|
limit?: number;
|
|
3050
3050
|
page?: number | null;
|
|
3051
3051
|
};
|
|
3052
|
-
url:
|
|
3052
|
+
url: "/v1/nfts/owners/{contract_address}/{token_id}";
|
|
3053
3053
|
};
|
|
3054
3054
|
export type GetV1NftsOwnersByContractAddressByTokenIdErrors = {
|
|
3055
3055
|
/**
|
|
@@ -3092,19 +3092,19 @@ export type GetV1NftsTransfersData = {
|
|
|
3092
3092
|
/**
|
|
3093
3093
|
* Whether to include metadata for the tokens
|
|
3094
3094
|
*/
|
|
3095
|
-
metadata?:
|
|
3095
|
+
metadata?: "true" | "false";
|
|
3096
3096
|
/**
|
|
3097
3097
|
* Whether to include sale details for NFT transfers
|
|
3098
3098
|
*/
|
|
3099
|
-
sales?:
|
|
3099
|
+
sales?: "true" | "false";
|
|
3100
3100
|
/**
|
|
3101
3101
|
* Whether to include owner addresses in the response (only if NFT metadata is requested)
|
|
3102
3102
|
*/
|
|
3103
|
-
include_owners?:
|
|
3103
|
+
include_owners?: "true" | "false";
|
|
3104
3104
|
/**
|
|
3105
3105
|
* Whether to resolve metadata IPFS or Arweave links
|
|
3106
3106
|
*/
|
|
3107
|
-
resolve_metadata_links?:
|
|
3107
|
+
resolve_metadata_links?: "true" | "false";
|
|
3108
3108
|
/**
|
|
3109
3109
|
* Filter by block number greater than or equal to
|
|
3110
3110
|
*/
|
|
@@ -3115,7 +3115,7 @@ export type GetV1NftsTransfersData = {
|
|
|
3115
3115
|
block_number_to?: number | string;
|
|
3116
3116
|
owner_address?: string;
|
|
3117
3117
|
};
|
|
3118
|
-
url:
|
|
3118
|
+
url: "/v1/nfts/transfers";
|
|
3119
3119
|
};
|
|
3120
3120
|
export type GetV1NftsTransfersErrors = {
|
|
3121
3121
|
/**
|
|
@@ -3146,7 +3146,7 @@ export type GetV1NftsTransfersResponses = {
|
|
|
3146
3146
|
to_address: string;
|
|
3147
3147
|
log_index: number;
|
|
3148
3148
|
contract_address: string;
|
|
3149
|
-
transfer_type:
|
|
3149
|
+
transfer_type: "mint" | "sale" | "transfer";
|
|
3150
3150
|
token_type: string;
|
|
3151
3151
|
amount: string;
|
|
3152
3152
|
nft_metadata?: {
|
|
@@ -3190,7 +3190,7 @@ export type GetV1NftsTransfersResponses = {
|
|
|
3190
3190
|
address: string;
|
|
3191
3191
|
name?: string;
|
|
3192
3192
|
symbol?: string;
|
|
3193
|
-
type?:
|
|
3193
|
+
type?: "erc721" | "erc1155";
|
|
3194
3194
|
};
|
|
3195
3195
|
};
|
|
3196
3196
|
nft_sale?: {
|
|
@@ -3238,21 +3238,21 @@ export type GetV1NftsTransfersTransactionByTransactionHashData = {
|
|
|
3238
3238
|
/**
|
|
3239
3239
|
* Whether to include metadata for the tokens
|
|
3240
3240
|
*/
|
|
3241
|
-
metadata?:
|
|
3241
|
+
metadata?: "true" | "false";
|
|
3242
3242
|
/**
|
|
3243
3243
|
* Whether to include sale details for NFT transfers
|
|
3244
3244
|
*/
|
|
3245
|
-
sales?:
|
|
3245
|
+
sales?: "true" | "false";
|
|
3246
3246
|
/**
|
|
3247
3247
|
* Whether to include owner addresses in the response (only if NFT metadata is requested)
|
|
3248
3248
|
*/
|
|
3249
|
-
include_owners?:
|
|
3249
|
+
include_owners?: "true" | "false";
|
|
3250
3250
|
/**
|
|
3251
3251
|
* Whether to resolve metadata IPFS or Arweave links
|
|
3252
3252
|
*/
|
|
3253
|
-
resolve_metadata_links?:
|
|
3253
|
+
resolve_metadata_links?: "true" | "false";
|
|
3254
3254
|
};
|
|
3255
|
-
url:
|
|
3255
|
+
url: "/v1/nfts/transfers/transaction/{transaction_hash}";
|
|
3256
3256
|
};
|
|
3257
3257
|
export type GetV1NftsTransfersTransactionByTransactionHashErrors = {
|
|
3258
3258
|
/**
|
|
@@ -3283,7 +3283,7 @@ export type GetV1NftsTransfersTransactionByTransactionHashResponses = {
|
|
|
3283
3283
|
to_address: string;
|
|
3284
3284
|
log_index: number;
|
|
3285
3285
|
contract_address: string;
|
|
3286
|
-
transfer_type:
|
|
3286
|
+
transfer_type: "mint" | "sale" | "transfer";
|
|
3287
3287
|
token_type: string;
|
|
3288
3288
|
amount: string;
|
|
3289
3289
|
nft_metadata?: {
|
|
@@ -3327,7 +3327,7 @@ export type GetV1NftsTransfersTransactionByTransactionHashResponses = {
|
|
|
3327
3327
|
address: string;
|
|
3328
3328
|
name?: string;
|
|
3329
3329
|
symbol?: string;
|
|
3330
|
-
type?:
|
|
3330
|
+
type?: "erc721" | "erc1155";
|
|
3331
3331
|
};
|
|
3332
3332
|
};
|
|
3333
3333
|
nft_sale?: {
|
|
@@ -3375,21 +3375,21 @@ export type GetV1NftsTransfersByContractAddressData = {
|
|
|
3375
3375
|
/**
|
|
3376
3376
|
* Whether to include metadata for the tokens
|
|
3377
3377
|
*/
|
|
3378
|
-
metadata?:
|
|
3378
|
+
metadata?: "true" | "false";
|
|
3379
3379
|
/**
|
|
3380
3380
|
* Whether to include sale details for NFT transfers
|
|
3381
3381
|
*/
|
|
3382
|
-
sales?:
|
|
3382
|
+
sales?: "true" | "false";
|
|
3383
3383
|
/**
|
|
3384
3384
|
* Whether to include owner addresses in the response (only if NFT metadata is requested)
|
|
3385
3385
|
*/
|
|
3386
|
-
include_owners?:
|
|
3386
|
+
include_owners?: "true" | "false";
|
|
3387
3387
|
/**
|
|
3388
3388
|
* Whether to resolve metadata IPFS or Arweave links
|
|
3389
3389
|
*/
|
|
3390
|
-
resolve_metadata_links?:
|
|
3390
|
+
resolve_metadata_links?: "true" | "false";
|
|
3391
3391
|
};
|
|
3392
|
-
url:
|
|
3392
|
+
url: "/v1/nfts/transfers/{contract_address}";
|
|
3393
3393
|
};
|
|
3394
3394
|
export type GetV1NftsTransfersByContractAddressErrors = {
|
|
3395
3395
|
/**
|
|
@@ -3420,7 +3420,7 @@ export type GetV1NftsTransfersByContractAddressResponses = {
|
|
|
3420
3420
|
to_address: string;
|
|
3421
3421
|
log_index: number;
|
|
3422
3422
|
contract_address: string;
|
|
3423
|
-
transfer_type:
|
|
3423
|
+
transfer_type: "mint" | "sale" | "transfer";
|
|
3424
3424
|
token_type: string;
|
|
3425
3425
|
amount: string;
|
|
3426
3426
|
nft_metadata?: {
|
|
@@ -3464,7 +3464,7 @@ export type GetV1NftsTransfersByContractAddressResponses = {
|
|
|
3464
3464
|
address: string;
|
|
3465
3465
|
name?: string;
|
|
3466
3466
|
symbol?: string;
|
|
3467
|
-
type?:
|
|
3467
|
+
type?: "erc721" | "erc1155";
|
|
3468
3468
|
};
|
|
3469
3469
|
};
|
|
3470
3470
|
nft_sale?: {
|
|
@@ -3512,13 +3512,13 @@ export type GetV1NftsByContractAddressData = {
|
|
|
3512
3512
|
/**
|
|
3513
3513
|
* Whether to include owner addresses in the response (only if NFT metadata is requested)
|
|
3514
3514
|
*/
|
|
3515
|
-
include_owners?:
|
|
3515
|
+
include_owners?: "true" | "false";
|
|
3516
3516
|
/**
|
|
3517
3517
|
* Whether to resolve metadata IPFS or Arweave links
|
|
3518
3518
|
*/
|
|
3519
|
-
resolve_metadata_links?:
|
|
3519
|
+
resolve_metadata_links?: "true" | "false";
|
|
3520
3520
|
};
|
|
3521
|
-
url:
|
|
3521
|
+
url: "/v1/nfts/{contract_address}";
|
|
3522
3522
|
};
|
|
3523
3523
|
export type GetV1NftsByContractAddressErrors = {
|
|
3524
3524
|
/**
|
|
@@ -3579,7 +3579,7 @@ export type GetV1NftsByContractAddressResponses = {
|
|
|
3579
3579
|
address: string;
|
|
3580
3580
|
name?: string;
|
|
3581
3581
|
symbol?: string;
|
|
3582
|
-
type?:
|
|
3582
|
+
type?: "erc721" | "erc1155";
|
|
3583
3583
|
};
|
|
3584
3584
|
chain_id: number;
|
|
3585
3585
|
contract_address: string;
|
|
@@ -3611,21 +3611,21 @@ export type GetV1NftsTransfersByContractAddressByTokenIdData = {
|
|
|
3611
3611
|
/**
|
|
3612
3612
|
* Whether to include metadata for the tokens
|
|
3613
3613
|
*/
|
|
3614
|
-
metadata?:
|
|
3614
|
+
metadata?: "true" | "false";
|
|
3615
3615
|
/**
|
|
3616
3616
|
* Whether to include sale details for NFT transfers
|
|
3617
3617
|
*/
|
|
3618
|
-
sales?:
|
|
3618
|
+
sales?: "true" | "false";
|
|
3619
3619
|
/**
|
|
3620
3620
|
* Whether to include owner addresses in the response (only if NFT metadata is requested)
|
|
3621
3621
|
*/
|
|
3622
|
-
include_owners?:
|
|
3622
|
+
include_owners?: "true" | "false";
|
|
3623
3623
|
/**
|
|
3624
3624
|
* Whether to resolve metadata IPFS or Arweave links
|
|
3625
3625
|
*/
|
|
3626
|
-
resolve_metadata_links?:
|
|
3626
|
+
resolve_metadata_links?: "true" | "false";
|
|
3627
3627
|
};
|
|
3628
|
-
url:
|
|
3628
|
+
url: "/v1/nfts/transfers/{contract_address}/{token_id}";
|
|
3629
3629
|
};
|
|
3630
3630
|
export type GetV1NftsTransfersByContractAddressByTokenIdErrors = {
|
|
3631
3631
|
/**
|
|
@@ -3656,7 +3656,7 @@ export type GetV1NftsTransfersByContractAddressByTokenIdResponses = {
|
|
|
3656
3656
|
to_address: string;
|
|
3657
3657
|
log_index: number;
|
|
3658
3658
|
contract_address: string;
|
|
3659
|
-
transfer_type:
|
|
3659
|
+
transfer_type: "mint" | "sale" | "transfer";
|
|
3660
3660
|
token_type: string;
|
|
3661
3661
|
amount: string;
|
|
3662
3662
|
nft_metadata?: {
|
|
@@ -3700,7 +3700,7 @@ export type GetV1NftsTransfersByContractAddressByTokenIdResponses = {
|
|
|
3700
3700
|
address: string;
|
|
3701
3701
|
name?: string;
|
|
3702
3702
|
symbol?: string;
|
|
3703
|
-
type?:
|
|
3703
|
+
type?: "erc721" | "erc1155";
|
|
3704
3704
|
};
|
|
3705
3705
|
};
|
|
3706
3706
|
nft_sale?: {
|
|
@@ -3744,13 +3744,13 @@ export type GetV1NftsByContractAddressByTokenIdData = {
|
|
|
3744
3744
|
/**
|
|
3745
3745
|
* Whether to include owner addresses in the response (only if NFT metadata is requested)
|
|
3746
3746
|
*/
|
|
3747
|
-
include_owners?:
|
|
3747
|
+
include_owners?: "true" | "false";
|
|
3748
3748
|
/**
|
|
3749
3749
|
* Whether to resolve metadata IPFS or Arweave links
|
|
3750
3750
|
*/
|
|
3751
|
-
resolve_metadata_links?:
|
|
3751
|
+
resolve_metadata_links?: "true" | "false";
|
|
3752
3752
|
};
|
|
3753
|
-
url:
|
|
3753
|
+
url: "/v1/nfts/{contract_address}/{token_id}";
|
|
3754
3754
|
};
|
|
3755
3755
|
export type GetV1NftsByContractAddressByTokenIdErrors = {
|
|
3756
3756
|
/**
|
|
@@ -3811,7 +3811,7 @@ export type GetV1NftsByContractAddressByTokenIdResponses = {
|
|
|
3811
3811
|
address: string;
|
|
3812
3812
|
name?: string;
|
|
3813
3813
|
symbol?: string;
|
|
3814
|
-
type?:
|
|
3814
|
+
type?: "erc721" | "erc1155";
|
|
3815
3815
|
};
|
|
3816
3816
|
chain_id: number;
|
|
3817
3817
|
contract_address: string;
|
|
@@ -3835,7 +3835,7 @@ export type GetV1NftsMetadataRefreshByContractAddressData = {
|
|
|
3835
3835
|
*/
|
|
3836
3836
|
chain?: Array<number> | (number | null) | unknown;
|
|
3837
3837
|
};
|
|
3838
|
-
url:
|
|
3838
|
+
url: "/v1/nfts/metadata/refresh/{contract_address}";
|
|
3839
3839
|
};
|
|
3840
3840
|
export type GetV1NftsMetadataRefreshByContractAddressErrors = {
|
|
3841
3841
|
/**
|
|
@@ -3878,7 +3878,7 @@ export type GetV1NftsMetadataRefreshByContractAddressByTokenIdData = {
|
|
|
3878
3878
|
*/
|
|
3879
3879
|
chain?: Array<number> | (number | null) | unknown;
|
|
3880
3880
|
};
|
|
3881
|
-
url:
|
|
3881
|
+
url: "/v1/nfts/metadata/refresh/{contract_address}/{token_id}";
|
|
3882
3882
|
};
|
|
3883
3883
|
export type GetV1NftsMetadataRefreshByContractAddressByTokenIdErrors = {
|
|
3884
3884
|
/**
|
|
@@ -3966,11 +3966,11 @@ export type GetV1WalletsByWalletAddressTransactionsData = {
|
|
|
3966
3966
|
/**
|
|
3967
3967
|
* Field to sort results by
|
|
3968
3968
|
*/
|
|
3969
|
-
sort_by?:
|
|
3969
|
+
sort_by?: "block_number" | string;
|
|
3970
3970
|
/**
|
|
3971
3971
|
* Sort order (asc or desc)
|
|
3972
3972
|
*/
|
|
3973
|
-
sort_order?:
|
|
3973
|
+
sort_order?: "asc" | "desc";
|
|
3974
3974
|
group_by?: Array<string | null> | (string | null) | unknown;
|
|
3975
3975
|
aggregate?: Array<string | null> | (string | null) | unknown;
|
|
3976
3976
|
/**
|
|
@@ -4071,7 +4071,7 @@ export type GetV1WalletsByWalletAddressTransactionsData = {
|
|
|
4071
4071
|
limit?: number;
|
|
4072
4072
|
page?: number | null;
|
|
4073
4073
|
};
|
|
4074
|
-
url:
|
|
4074
|
+
url: "/v1/wallets/{wallet_address}/transactions";
|
|
4075
4075
|
};
|
|
4076
4076
|
export type GetV1WalletsByWalletAddressTransactionsErrors = {
|
|
4077
4077
|
/**
|
|
@@ -4155,5 +4155,5 @@ export type GetV1WalletsByWalletAddressTransactionsResponses = {
|
|
|
4155
4155
|
};
|
|
4156
4156
|
export type GetV1WalletsByWalletAddressTransactionsResponse = GetV1WalletsByWalletAddressTransactionsResponses[keyof GetV1WalletsByWalletAddressTransactionsResponses];
|
|
4157
4157
|
export type ClientOptions = {
|
|
4158
|
-
baseUrl:
|
|
4158
|
+
baseUrl: "https://{chainId}.insight.thirdweb.com/" | (string & {});
|
|
4159
4159
|
};
|