@avalabs/glacier-sdk 2.8.0-canary.7ba8134.0 → 2.8.0-canary.7ead472.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/dist/index.d.ts +1070 -479
  2. package/dist/index.js +456 -153
  3. package/esm/generated/Glacier.d.ts +6 -0
  4. package/esm/generated/Glacier.js +32 -10
  5. package/esm/generated/core/ApiError.js +5 -0
  6. package/esm/generated/core/CancelablePromise.js +11 -6
  7. package/esm/generated/core/request.js +14 -31
  8. package/esm/generated/models/ActiveDelegatorDetails.d.ts +7 -3
  9. package/esm/generated/models/ActiveDelegatorDetails.js +8 -0
  10. package/esm/generated/models/ActiveValidatorDetails.d.ts +14 -6
  11. package/esm/generated/models/ActiveValidatorDetails.js +8 -0
  12. package/esm/generated/models/AddressActivityMetadata.d.ts +12 -0
  13. package/esm/generated/models/Asset.d.ts +3 -1
  14. package/esm/generated/models/AssetWithPriceInfo.d.ts +35 -0
  15. package/esm/generated/models/CChainSharedAssetBalance.d.ts +3 -1
  16. package/esm/generated/models/ChainInfo.d.ts +1 -0
  17. package/esm/generated/models/CompletedDelegatorDetails.d.ts +7 -3
  18. package/esm/generated/models/CompletedDelegatorDetails.js +8 -0
  19. package/esm/generated/models/CompletedValidatorDetails.d.ts +9 -3
  20. package/esm/generated/models/CompletedValidatorDetails.js +8 -0
  21. package/esm/generated/models/ContractSubmissionBody.d.ts +10 -0
  22. package/esm/generated/models/ContractSubmissionErc1155.d.ts +31 -0
  23. package/esm/generated/models/ContractSubmissionErc1155.js +8 -0
  24. package/esm/generated/models/ContractSubmissionErc20.d.ts +31 -0
  25. package/esm/generated/models/ContractSubmissionErc20.js +8 -0
  26. package/esm/generated/models/ContractSubmissionErc721.d.ts +29 -0
  27. package/esm/generated/models/ContractSubmissionErc721.js +8 -0
  28. package/esm/generated/models/ContractSubmissionUnknown.d.ts +25 -0
  29. package/esm/generated/models/ContractSubmissionUnknown.js +8 -0
  30. package/esm/generated/models/Erc1155Contract.d.ts +2 -1
  31. package/esm/generated/models/Erc20Contract.d.ts +2 -1
  32. package/esm/generated/models/Erc721Contract.d.ts +0 -1
  33. package/esm/generated/models/EventType.d.ts +5 -0
  34. package/esm/generated/models/EventType.js +6 -0
  35. package/esm/generated/models/GetChainResponse.d.ts +1 -0
  36. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -0
  37. package/esm/generated/models/HistoricalReward.d.ts +2 -5
  38. package/esm/generated/models/ImageAsset.d.ts +0 -3
  39. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  40. package/esm/generated/models/ListNftTokens.d.ts +12 -0
  41. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +3 -2
  42. package/esm/generated/models/ListWebhooksResponse.d.ts +11 -0
  43. package/esm/generated/models/PChainBalance.d.ts +7 -7
  44. package/esm/generated/models/PChainSharedAsset.d.ts +24 -0
  45. package/esm/generated/models/PChainTransaction.d.ts +5 -4
  46. package/esm/generated/models/PChainTransactionType.d.ts +6 -4
  47. package/esm/generated/models/PChainTransactionType.js +6 -4
  48. package/esm/generated/models/PChainUtxo.d.ts +34 -14
  49. package/esm/generated/models/PendingDelegatorDetails.d.ts +7 -3
  50. package/esm/generated/models/PendingDelegatorDetails.js +8 -0
  51. package/esm/generated/models/PendingReward.d.ts +2 -2
  52. package/esm/generated/models/PendingValidatorDetails.d.ts +9 -4
  53. package/esm/generated/models/PendingValidatorDetails.js +8 -0
  54. package/esm/generated/models/PricingProviders.d.ts +5 -0
  55. package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +6 -0
  56. package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
  57. package/esm/generated/models/PrimaryNetworkAssetType.d.ts +6 -0
  58. package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
  59. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -0
  60. package/esm/generated/models/PrimaryNetworkTxType.d.ts +6 -4
  61. package/esm/generated/models/PrimaryNetworkTxType.js +6 -4
  62. package/esm/generated/models/RegisterWebhookRequest.d.ts +14 -0
  63. package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
  64. package/esm/generated/models/RemovedValidatorDetails.js +8 -0
  65. package/esm/generated/models/RewardType.d.ts +2 -1
  66. package/esm/generated/models/RewardType.js +1 -0
  67. package/esm/generated/models/Rewards.d.ts +2 -0
  68. package/esm/generated/models/SharedSecretsResponse.d.ts +5 -0
  69. package/esm/generated/models/UnknownContract.d.ts +0 -1
  70. package/esm/generated/models/UpdateContractResponse.d.ts +10 -0
  71. package/esm/generated/models/Utxo.d.ts +28 -28
  72. package/esm/generated/models/UtxoCredential.d.ts +2 -2
  73. package/esm/generated/models/ValidationStatusType.d.ts +2 -1
  74. package/esm/generated/models/ValidationStatusType.js +1 -0
  75. package/esm/generated/models/ValidatorHealthDetails.d.ts +20 -0
  76. package/esm/generated/models/WebhookResponse.d.ts +17 -0
  77. package/esm/generated/models/WebhookStatus.d.ts +6 -0
  78. package/esm/generated/models/WebhookStatus.js +7 -0
  79. package/esm/generated/models/WebhookStatusType.d.ts +6 -0
  80. package/esm/generated/models/WebhookStatusType.js +7 -0
  81. package/esm/generated/models/XChainAssetBalance.d.ts +3 -1
  82. package/esm/generated/models/XChainAssetDetails.d.ts +6 -3
  83. package/esm/generated/models/XChainLinearTransaction.d.ts +2 -1
  84. package/esm/generated/models/XChainNonLinearTransaction.d.ts +2 -1
  85. package/esm/generated/models/XChainSharedAssetBalance.d.ts +3 -1
  86. package/esm/generated/models/XChainTransactionType.d.ts +10 -0
  87. package/esm/generated/models/XChainTransactionType.js +11 -0
  88. package/esm/generated/services/DefaultService.d.ts +67 -0
  89. package/esm/generated/services/DefaultService.js +55 -0
  90. package/esm/generated/services/EvmBalancesService.d.ts +25 -25
  91. package/esm/generated/services/EvmBalancesService.js +8 -8
  92. package/esm/generated/services/EvmBlocksService.d.ts +7 -7
  93. package/esm/generated/services/EvmBlocksService.js +4 -4
  94. package/esm/generated/services/EvmChainsService.d.ts +1 -1
  95. package/esm/generated/services/EvmContractsService.d.ts +48 -0
  96. package/esm/generated/services/EvmContractsService.js +36 -0
  97. package/esm/generated/services/EvmTransactionsService.d.ts +91 -49
  98. package/esm/generated/services/EvmTransactionsService.js +33 -33
  99. package/esm/generated/services/NfTsService.d.ts +76 -0
  100. package/esm/generated/services/NfTsService.js +56 -0
  101. package/esm/generated/services/OperationsService.d.ts +11 -11
  102. package/esm/generated/services/OperationsService.js +10 -10
  103. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +10 -10
  104. package/esm/generated/services/PrimaryNetworkBlocksService.js +8 -8
  105. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +21 -8
  106. package/esm/generated/services/PrimaryNetworkRewardsService.js +12 -6
  107. package/esm/generated/services/PrimaryNetworkService.d.ts +51 -31
  108. package/esm/generated/services/PrimaryNetworkService.js +27 -17
  109. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +20 -16
  110. package/esm/generated/services/PrimaryNetworkTransactionsService.js +8 -8
  111. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +5 -5
  112. package/esm/generated/services/PrimaryNetworkUtxOsService.js +2 -2
  113. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +10 -10
  114. package/esm/generated/services/PrimaryNetworkVerticesService.js +6 -6
  115. package/esm/index.d.ts +25 -1
  116. package/esm/index.js +20 -0
  117. package/package.json +2 -2
  118. package/esm/generated/models/PChainAsset.d.ts +0 -6
package/dist/index.d.ts CHANGED
@@ -60,6 +60,123 @@ declare abstract class BaseHttpRequest {
60
60
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
61
61
  }
62
62
 
63
+ type AddressActivityMetadata = {
64
+ /**
65
+ * Ethereum address for the address_activity event type
66
+ */
67
+ address: string;
68
+ /**
69
+ * Array of hexadecimal strings of the event signatures.
70
+ */
71
+ eventSignatures?: Array<string>;
72
+ };
73
+
74
+ declare enum EventType {
75
+ ADDRESS_ACTIVITY = "address_activity"
76
+ }
77
+
78
+ declare enum WebhookStatusType {
79
+ ACTIVE = "active",
80
+ INACTIVE = "inactive"
81
+ }
82
+
83
+ type WebhookResponse = {
84
+ id: string;
85
+ eventType: EventType;
86
+ metadata: AddressActivityMetadata;
87
+ url: string;
88
+ chainId: string;
89
+ status: WebhookStatusType;
90
+ createdAt: number;
91
+ name: string;
92
+ description: string;
93
+ };
94
+
95
+ type ListWebhooksResponse = {
96
+ /**
97
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
98
+ */
99
+ nextPageToken?: string;
100
+ webhooks: Array<WebhookResponse>;
101
+ };
102
+
103
+ type RegisterWebhookRequest = {
104
+ url: string;
105
+ chainId: string;
106
+ /**
107
+ * The type of event for the webhook
108
+ */
109
+ eventType: EventType;
110
+ metadata: AddressActivityMetadata;
111
+ };
112
+
113
+ type SharedSecretsResponse = {
114
+ secret: string;
115
+ };
116
+
117
+ declare enum WebhookStatus {
118
+ ACTIVE = "active",
119
+ INACTIVE = "inactive"
120
+ }
121
+
122
+ declare class DefaultService {
123
+ readonly httpRequest: BaseHttpRequest;
124
+ constructor(httpRequest: BaseHttpRequest);
125
+ /**
126
+ * @returns any
127
+ * @throws ApiError
128
+ */
129
+ mediaControllerUploadImage(): CancelablePromise<any>;
130
+ /**
131
+ * Register a webhook
132
+ * Registers a new webhook.
133
+ * @returns WebhookResponse
134
+ * @throws ApiError
135
+ */
136
+ registerWebhook({ requestBody, }: {
137
+ requestBody: RegisterWebhookRequest;
138
+ }): CancelablePromise<WebhookResponse>;
139
+ /**
140
+ * List webhooks
141
+ * Lists webhooks for the user.
142
+ * @returns ListWebhooksResponse
143
+ * @throws ApiError
144
+ */
145
+ listWebhooks({ pageToken, pageSize, status, }: {
146
+ /**
147
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
148
+ */
149
+ pageToken?: string;
150
+ /**
151
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
152
+ */
153
+ pageSize?: number;
154
+ /**
155
+ * Status of the webhook. Use "active" to return only active webhooks, "inactive" to return only inactive webhooks. Else if no status is provided, all configured webhooks will be returned.
156
+ */
157
+ status?: WebhookStatus;
158
+ }): CancelablePromise<ListWebhooksResponse>;
159
+ /**
160
+ * Deactivate a webhook
161
+ * Deactivates a webhook by ID.
162
+ * @returns WebhookResponse
163
+ * @throws ApiError
164
+ */
165
+ deactivateWebhook({ id, }: {
166
+ /**
167
+ * The webhook identifier.
168
+ */
169
+ id: string;
170
+ }): CancelablePromise<WebhookResponse>;
171
+ /**
172
+ * Generate a shared secret
173
+ * Generates a new shared secret.
174
+ * @returns SharedSecretsResponse
175
+ * @throws ApiError
176
+ */
177
+ generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
178
+ }
179
+
63
180
  declare enum CurrencyCode {
64
181
  USD = "usd",
65
182
  EUR = "eur",
@@ -335,7 +452,7 @@ declare class EvmBalancesService {
335
452
  */
336
453
  getNativeBalance({ chainId, address, blockNumber, currency, }: {
337
454
  /**
338
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
455
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
339
456
  */
340
457
  chainId: string;
341
458
  /**
@@ -361,9 +478,9 @@ declare class EvmBalancesService {
361
478
  * @returns ListErc20BalancesResponse
362
479
  * @throws ApiError
363
480
  */
364
- listErc20Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddresses, currency, }: {
481
+ listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
365
482
  /**
366
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
483
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
367
484
  */
368
485
  chainId: string;
369
486
  /**
@@ -374,14 +491,14 @@ declare class EvmBalancesService {
374
491
  * The block number, if not defined the block number will be the latest block.
375
492
  */
376
493
  blockNumber?: string;
377
- /**
378
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
379
- */
380
- pageSize?: number;
381
494
  /**
382
495
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
383
496
  */
384
497
  pageToken?: string;
498
+ /**
499
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
500
+ */
501
+ pageSize?: number;
385
502
  /**
386
503
  * A comma separated list of contract addresses to filter by.
387
504
  */
@@ -399,23 +516,23 @@ declare class EvmBalancesService {
399
516
  * @returns ListErc721BalancesResponse
400
517
  * @throws ApiError
401
518
  */
402
- listErc721Balances({ chainId, address, pageSize, pageToken, contractAddress, }: {
519
+ listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
403
520
  /**
404
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
521
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
405
522
  */
406
523
  chainId: string;
407
524
  /**
408
525
  * A wallet address.
409
526
  */
410
527
  address: string;
411
- /**
412
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
413
- */
414
- pageSize?: number;
415
528
  /**
416
529
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
417
530
  */
418
531
  pageToken?: string;
532
+ /**
533
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
534
+ */
535
+ pageSize?: number;
419
536
  /**
420
537
  * A contract addresses to filter by.
421
538
  */
@@ -431,9 +548,9 @@ declare class EvmBalancesService {
431
548
  * @returns ListErc1155BalancesResponse
432
549
  * @throws ApiError
433
550
  */
434
- listErc1155Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddress, }: {
551
+ listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
435
552
  /**
436
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
553
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
437
554
  */
438
555
  chainId: string;
439
556
  /**
@@ -444,14 +561,14 @@ declare class EvmBalancesService {
444
561
  * The block number, if not defined the block number will be the latest block.
445
562
  */
446
563
  blockNumber?: string;
447
- /**
448
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
449
- */
450
- pageSize?: number;
451
564
  /**
452
565
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
453
566
  */
454
567
  pageToken?: string;
568
+ /**
569
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
570
+ */
571
+ pageSize?: number;
455
572
  /**
456
573
  * A contract addresses to filter by.
457
574
  */
@@ -465,23 +582,23 @@ declare class EvmBalancesService {
465
582
  * @returns ListCollectibleBalancesResponse
466
583
  * @throws ApiError
467
584
  */
468
- listCollectibleBalances({ chainId, address, pageSize, pageToken, contractAddress, }: {
585
+ listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
469
586
  /**
470
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
587
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
471
588
  */
472
589
  chainId: string;
473
590
  /**
474
591
  * A wallet address.
475
592
  */
476
593
  address: string;
477
- /**
478
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
479
- */
480
- pageSize?: number;
481
594
  /**
482
595
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
483
596
  */
484
597
  pageToken?: string;
598
+ /**
599
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
600
+ */
601
+ pageSize?: number;
485
602
  /**
486
603
  * A contract addresses to filter by.
487
604
  */
@@ -594,19 +711,19 @@ declare class EvmBlocksService {
594
711
  * @returns ListEvmBlocksResponse
595
712
  * @throws ApiError
596
713
  */
597
- getLatestBlocks({ chainId, pageSize, pageToken, }: {
714
+ getLatestBlocks({ chainId, pageToken, pageSize, }: {
598
715
  /**
599
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
716
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
600
717
  */
601
718
  chainId: string;
602
- /**
603
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
604
- */
605
- pageSize?: number;
606
719
  /**
607
720
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
608
721
  */
609
722
  pageToken?: string;
723
+ /**
724
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
725
+ */
726
+ pageSize?: number;
610
727
  }): CancelablePromise<ListEvmBlocksResponse>;
611
728
  /**
612
729
  * Get block
@@ -616,7 +733,7 @@ declare class EvmBlocksService {
616
733
  */
617
734
  getBlock({ chainId, blockId, }: {
618
735
  /**
619
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
736
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
620
737
  */
621
738
  chainId: string;
622
739
  /**
@@ -680,6 +797,7 @@ type GetChainResponse = {
680
797
  utilityAddresses?: UtilityAddresses;
681
798
  networkToken: NetworkToken;
682
799
  chainLogoUri?: string;
800
+ private?: boolean;
683
801
  };
684
802
 
685
803
  type ChainInfo = {
@@ -701,6 +819,7 @@ type ChainInfo = {
701
819
  utilityAddresses?: UtilityAddresses;
702
820
  networkToken: NetworkToken;
703
821
  chainLogoUri?: string;
822
+ private?: boolean;
704
823
  };
705
824
 
706
825
  type ListChainsResponse = {
@@ -723,22 +842,338 @@ declare class EvmChainsService {
723
842
  */
724
843
  supportedChains({ network, }: {
725
844
  /**
726
- * mainnet or testnet.
845
+ * mainnet or testnet.
846
+ */
847
+ network?: NetworkType;
848
+ }): CancelablePromise<ListChainsResponse>;
849
+ /**
850
+ * Get chain information
851
+ * Gets chain information for the EVM-compatible chain if supported by the api.
852
+ * @returns GetChainResponse
853
+ * @throws ApiError
854
+ */
855
+ getChainInfo({ chainId, }: {
856
+ /**
857
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
858
+ */
859
+ chainId: string;
860
+ }): CancelablePromise<GetChainResponse>;
861
+ }
862
+
863
+ type ImageAsset = {
864
+ assetId?: string;
865
+ /**
866
+ * OUTPUT ONLY
867
+ */
868
+ imageUri?: string;
869
+ };
870
+
871
+ type PricingProviders = {
872
+ coingeckoCoinId?: string;
873
+ };
874
+
875
+ declare enum ResourceLinkType {
876
+ BLOG = "Blog",
877
+ COIN_GECKO = "CoinGecko",
878
+ COIN_MARKET_CAP = "CoinMarketCap",
879
+ DISCORD = "Discord",
880
+ DOCUMENTATION = "Documentation",
881
+ FACEBOOK = "Facebook",
882
+ GITHUB = "Github",
883
+ INSTAGRAM = "Instagram",
884
+ LINKED_IN = "LinkedIn",
885
+ MEDIUM = "Medium",
886
+ REDDIT = "Reddit",
887
+ SUPPORT = "Support",
888
+ TELEGRAM = "Telegram",
889
+ TIK_TOK = "TikTok",
890
+ TWITTER = "Twitter",
891
+ WEBSITE = "Website",
892
+ WHITEPAPER = "Whitepaper",
893
+ YOUTUBE = "Youtube"
894
+ }
895
+
896
+ type ResourceLink = {
897
+ type: ResourceLinkType;
898
+ url: string;
899
+ };
900
+
901
+ type ContractSubmissionErc1155 = {
902
+ description?: string;
903
+ officialSite?: string;
904
+ email?: string;
905
+ logoAsset?: ImageAsset;
906
+ bannerAsset?: ImageAsset;
907
+ color?: string;
908
+ resourceLinks?: Array<ResourceLink>;
909
+ tags?: Array<string>;
910
+ /**
911
+ * The contract name.
912
+ */
913
+ name: string;
914
+ ercType: ContractSubmissionErc1155.ercType;
915
+ /**
916
+ * The contract symbol.
917
+ */
918
+ symbol: string;
919
+ pricingProviders?: PricingProviders;
920
+ };
921
+ declare namespace ContractSubmissionErc1155 {
922
+ enum ercType {
923
+ ERC_1155 = "ERC-1155"
924
+ }
925
+ }
926
+
927
+ type ContractSubmissionErc20 = {
928
+ description?: string;
929
+ officialSite?: string;
930
+ email?: string;
931
+ logoAsset?: ImageAsset;
932
+ bannerAsset?: ImageAsset;
933
+ color?: string;
934
+ resourceLinks?: Array<ResourceLink>;
935
+ tags?: Array<string>;
936
+ /**
937
+ * The contract name.
938
+ */
939
+ name: string;
940
+ ercType: ContractSubmissionErc20.ercType;
941
+ /**
942
+ * The contract symbol.
943
+ */
944
+ symbol: string;
945
+ pricingProviders?: PricingProviders;
946
+ };
947
+ declare namespace ContractSubmissionErc20 {
948
+ enum ercType {
949
+ ERC_20 = "ERC-20"
950
+ }
951
+ }
952
+
953
+ type ContractSubmissionErc721 = {
954
+ description?: string;
955
+ officialSite?: string;
956
+ email?: string;
957
+ logoAsset?: ImageAsset;
958
+ bannerAsset?: ImageAsset;
959
+ color?: string;
960
+ resourceLinks?: Array<ResourceLink>;
961
+ tags?: Array<string>;
962
+ /**
963
+ * The contract name.
964
+ */
965
+ name: string;
966
+ ercType: ContractSubmissionErc721.ercType;
967
+ /**
968
+ * The contract symbol.
969
+ */
970
+ symbol: string;
971
+ };
972
+ declare namespace ContractSubmissionErc721 {
973
+ enum ercType {
974
+ ERC_721 = "ERC-721"
975
+ }
976
+ }
977
+
978
+ type ContractSubmissionUnknown = {
979
+ description?: string;
980
+ officialSite?: string;
981
+ email?: string;
982
+ logoAsset?: ImageAsset;
983
+ bannerAsset?: ImageAsset;
984
+ color?: string;
985
+ resourceLinks?: Array<ResourceLink>;
986
+ tags?: Array<string>;
987
+ /**
988
+ * The contract name.
989
+ */
990
+ name: string;
991
+ ercType: ContractSubmissionUnknown.ercType;
992
+ };
993
+ declare namespace ContractSubmissionUnknown {
994
+ enum ercType {
995
+ UNKNOWN = "UNKNOWN"
996
+ }
997
+ }
998
+
999
+ type ContractSubmissionBody = {
1000
+ contract: (ContractSubmissionErc1155 | ContractSubmissionErc20 | ContractSubmissionErc721 | ContractSubmissionUnknown);
1001
+ };
1002
+
1003
+ type ContractDeploymentDetails = {
1004
+ txHash: string;
1005
+ /**
1006
+ * The address that initiated the transaction which deployed this contract.
1007
+ */
1008
+ deployerAddress: string;
1009
+ /**
1010
+ * The contract address which deployed this contract via smart contract. This field is only populated when the contract was deployed as part of smart contract execution.
1011
+ */
1012
+ deployerContractAddress?: string;
1013
+ };
1014
+
1015
+ type Erc1155Contract = {
1016
+ /**
1017
+ * The contract name.
1018
+ */
1019
+ name?: string;
1020
+ description?: string;
1021
+ officialSite?: string;
1022
+ email?: string;
1023
+ logoAsset?: ImageAsset;
1024
+ bannerAsset?: ImageAsset;
1025
+ color?: string;
1026
+ resourceLinks?: Array<ResourceLink>;
1027
+ tags?: Array<string>;
1028
+ /**
1029
+ * A wallet or contract address in mixed-case checksum encoding.
1030
+ */
1031
+ address: string;
1032
+ deploymentDetails: ContractDeploymentDetails;
1033
+ ercType: Erc1155Contract.ercType;
1034
+ /**
1035
+ * The contract symbol.
1036
+ */
1037
+ symbol?: string;
1038
+ pricingProviders?: PricingProviders;
1039
+ };
1040
+ declare namespace Erc1155Contract {
1041
+ enum ercType {
1042
+ ERC_1155 = "ERC-1155"
1043
+ }
1044
+ }
1045
+
1046
+ type Erc20Contract = {
1047
+ /**
1048
+ * The contract name.
1049
+ */
1050
+ name?: string;
1051
+ description?: string;
1052
+ officialSite?: string;
1053
+ email?: string;
1054
+ logoAsset?: ImageAsset;
1055
+ bannerAsset?: ImageAsset;
1056
+ color?: string;
1057
+ resourceLinks?: Array<ResourceLink>;
1058
+ tags?: Array<string>;
1059
+ /**
1060
+ * A wallet or contract address in mixed-case checksum encoding.
1061
+ */
1062
+ address: string;
1063
+ deploymentDetails: ContractDeploymentDetails;
1064
+ ercType: Erc20Contract.ercType;
1065
+ /**
1066
+ * The contract symbol.
1067
+ */
1068
+ symbol?: string;
1069
+ /**
1070
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1071
+ */
1072
+ decimals: number;
1073
+ pricingProviders?: PricingProviders;
1074
+ };
1075
+ declare namespace Erc20Contract {
1076
+ enum ercType {
1077
+ ERC_20 = "ERC-20"
1078
+ }
1079
+ }
1080
+
1081
+ type Erc721Contract = {
1082
+ /**
1083
+ * The contract name.
1084
+ */
1085
+ name?: string;
1086
+ description?: string;
1087
+ officialSite?: string;
1088
+ email?: string;
1089
+ logoAsset?: ImageAsset;
1090
+ bannerAsset?: ImageAsset;
1091
+ color?: string;
1092
+ resourceLinks?: Array<ResourceLink>;
1093
+ tags?: Array<string>;
1094
+ /**
1095
+ * A wallet or contract address in mixed-case checksum encoding.
1096
+ */
1097
+ address: string;
1098
+ deploymentDetails: ContractDeploymentDetails;
1099
+ ercType: Erc721Contract.ercType;
1100
+ /**
1101
+ * The contract symbol.
1102
+ */
1103
+ symbol?: string;
1104
+ };
1105
+ declare namespace Erc721Contract {
1106
+ enum ercType {
1107
+ ERC_721 = "ERC-721"
1108
+ }
1109
+ }
1110
+
1111
+ type UnknownContract = {
1112
+ /**
1113
+ * The contract name.
1114
+ */
1115
+ name?: string;
1116
+ description?: string;
1117
+ officialSite?: string;
1118
+ email?: string;
1119
+ logoAsset?: ImageAsset;
1120
+ bannerAsset?: ImageAsset;
1121
+ color?: string;
1122
+ resourceLinks?: Array<ResourceLink>;
1123
+ tags?: Array<string>;
1124
+ /**
1125
+ * A wallet or contract address in mixed-case checksum encoding.
1126
+ */
1127
+ address: string;
1128
+ deploymentDetails: ContractDeploymentDetails;
1129
+ ercType: UnknownContract.ercType;
1130
+ };
1131
+ declare namespace UnknownContract {
1132
+ enum ercType {
1133
+ UNKNOWN = "UNKNOWN"
1134
+ }
1135
+ }
1136
+
1137
+ type UpdateContractResponse = {
1138
+ contract: (UnknownContract | Erc20Contract | Erc721Contract | Erc1155Contract);
1139
+ };
1140
+
1141
+ declare class EvmContractsService {
1142
+ readonly httpRequest: BaseHttpRequest;
1143
+ constructor(httpRequest: BaseHttpRequest);
1144
+ /**
1145
+ * Get contract metadata
1146
+ * Gets metadata about the contract at the given address.
1147
+ * @returns any
1148
+ * @throws ApiError
1149
+ */
1150
+ getContractMetadata({ chainId, address, }: {
1151
+ /**
1152
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1153
+ */
1154
+ chainId: string;
1155
+ /**
1156
+ * Contract address on the relevant chain.
727
1157
  */
728
- network?: NetworkType;
729
- }): CancelablePromise<ListChainsResponse>;
1158
+ address: string;
1159
+ }): CancelablePromise<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
730
1160
  /**
731
- * Get chain information
732
- * Gets chain information for the EVM-compatible chain if supported by the api.
733
- * @returns GetChainResponse
1161
+ * Update contract information
1162
+ * Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
1163
+ * @returns UpdateContractResponse
734
1164
  * @throws ApiError
735
1165
  */
736
- getChainInfo({ chainId, }: {
1166
+ updateContractInfo({ chainId, address, requestBody, }: {
737
1167
  /**
738
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1168
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
739
1169
  */
740
1170
  chainId: string;
741
- }): CancelablePromise<GetChainResponse>;
1171
+ /**
1172
+ * Contract address on the relevant chain.
1173
+ */
1174
+ address: string;
1175
+ requestBody: ContractSubmissionBody;
1176
+ }): CancelablePromise<UpdateContractResponse>;
742
1177
  }
743
1178
 
744
1179
  type Erc1155Token = {
@@ -999,185 +1434,12 @@ type GetTransactionResponse = {
999
1434
  nativeTransaction: FullNativeTransactionDetails;
1000
1435
  };
1001
1436
 
1002
- type ContractDeploymentDetails = {
1003
- txHash: string;
1004
- /**
1005
- * The address that initiated the transaction which deployed this contract.
1006
- */
1007
- deployerAddress: string;
1008
- /**
1009
- * The contract address which deployed this contract via smart contract. This field is only populated when the contract was deployed as part of smart contract execution.
1010
- */
1011
- deployerContractAddress?: string;
1012
- };
1013
-
1014
- type ImageAsset = {
1015
- /**
1016
- * INPUT ONLY
1017
- */
1018
- assetId?: string;
1019
- /**
1020
- * OUTPUT ONLY
1021
- */
1022
- imageUri?: string;
1023
- };
1024
-
1025
- declare enum ResourceLinkType {
1026
- BLOG = "Blog",
1027
- COIN_GECKO = "CoinGecko",
1028
- COIN_MARKET_CAP = "CoinMarketCap",
1029
- DISCORD = "Discord",
1030
- DOCUMENTATION = "Documentation",
1031
- FACEBOOK = "Facebook",
1032
- GITHUB = "Github",
1033
- INSTAGRAM = "Instagram",
1034
- LINKED_IN = "LinkedIn",
1035
- MEDIUM = "Medium",
1036
- REDDIT = "Reddit",
1037
- SUPPORT = "Support",
1038
- TELEGRAM = "Telegram",
1039
- TIK_TOK = "TikTok",
1040
- TWITTER = "Twitter",
1041
- WEBSITE = "Website",
1042
- WHITEPAPER = "Whitepaper",
1043
- YOUTUBE = "Youtube"
1044
- }
1045
-
1046
- type ResourceLink = {
1047
- type: ResourceLinkType;
1048
- url: string;
1049
- };
1050
-
1051
- type Erc1155Contract = {
1052
- /**
1053
- * The contract name.
1054
- */
1055
- name?: string;
1056
- description?: string;
1057
- officialSite?: string;
1058
- email?: string;
1059
- logoAsset?: ImageAsset;
1060
- bannerAsset?: ImageAsset;
1061
- color?: string;
1062
- coingeckoCoinId?: string;
1063
- resourceLinks?: Array<ResourceLink>;
1064
- tags?: Array<string>;
1065
- /**
1066
- * A wallet or contract address in mixed-case checksum encoding.
1067
- */
1068
- address: string;
1069
- deploymentDetails: ContractDeploymentDetails;
1070
- ercType: Erc1155Contract.ercType;
1071
- /**
1072
- * The contract symbol.
1073
- */
1074
- symbol?: string;
1075
- };
1076
- declare namespace Erc1155Contract {
1077
- enum ercType {
1078
- ERC_1155 = "ERC-1155"
1079
- }
1080
- }
1081
-
1082
- type Erc20Contract = {
1083
- /**
1084
- * The contract name.
1085
- */
1086
- name?: string;
1087
- description?: string;
1088
- officialSite?: string;
1089
- email?: string;
1090
- logoAsset?: ImageAsset;
1091
- bannerAsset?: ImageAsset;
1092
- color?: string;
1093
- coingeckoCoinId?: string;
1094
- resourceLinks?: Array<ResourceLink>;
1095
- tags?: Array<string>;
1096
- /**
1097
- * A wallet or contract address in mixed-case checksum encoding.
1098
- */
1099
- address: string;
1100
- deploymentDetails: ContractDeploymentDetails;
1101
- ercType: Erc20Contract.ercType;
1102
- /**
1103
- * The contract symbol.
1104
- */
1105
- symbol?: string;
1106
- /**
1107
- * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1108
- */
1109
- decimals: number;
1110
- };
1111
- declare namespace Erc20Contract {
1112
- enum ercType {
1113
- ERC_20 = "ERC-20"
1114
- }
1115
- }
1116
-
1117
- type Erc721Contract = {
1118
- /**
1119
- * The contract name.
1120
- */
1121
- name?: string;
1122
- description?: string;
1123
- officialSite?: string;
1124
- email?: string;
1125
- logoAsset?: ImageAsset;
1126
- bannerAsset?: ImageAsset;
1127
- color?: string;
1128
- coingeckoCoinId?: string;
1129
- resourceLinks?: Array<ResourceLink>;
1130
- tags?: Array<string>;
1131
- /**
1132
- * A wallet or contract address in mixed-case checksum encoding.
1133
- */
1134
- address: string;
1135
- deploymentDetails: ContractDeploymentDetails;
1136
- ercType: Erc721Contract.ercType;
1137
- /**
1138
- * The contract symbol.
1139
- */
1140
- symbol?: string;
1141
- };
1142
- declare namespace Erc721Contract {
1143
- enum ercType {
1144
- ERC_721 = "ERC-721"
1145
- }
1146
- }
1147
-
1148
- type UnknownContract = {
1149
- /**
1150
- * The contract name.
1151
- */
1152
- name?: string;
1153
- description?: string;
1154
- officialSite?: string;
1155
- email?: string;
1156
- logoAsset?: ImageAsset;
1157
- bannerAsset?: ImageAsset;
1158
- color?: string;
1159
- coingeckoCoinId?: string;
1160
- resourceLinks?: Array<ResourceLink>;
1161
- tags?: Array<string>;
1162
- /**
1163
- * A wallet or contract address in mixed-case checksum encoding.
1164
- */
1165
- address: string;
1166
- deploymentDetails: ContractDeploymentDetails;
1167
- ercType: UnknownContract.ercType;
1168
- };
1169
- declare namespace UnknownContract {
1170
- enum ercType {
1171
- UNKNOWN = "UNKNOWN"
1172
- }
1173
- }
1174
-
1175
1437
  type ListContractsResponse = {
1176
1438
  /**
1177
1439
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
1178
1440
  */
1179
1441
  nextPageToken?: string;
1180
- contracts: Array<(UnknownContract | Erc20Contract | Erc721Contract | Erc1155Contract)>;
1442
+ contracts: Array<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
1181
1443
  };
1182
1444
 
1183
1445
  type Erc1155Transfer = {
@@ -1431,7 +1693,7 @@ declare class EvmTransactionsService {
1431
1693
  */
1432
1694
  getDeploymentTransaction({ chainId, address, currency, }: {
1433
1695
  /**
1434
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1696
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1435
1697
  */
1436
1698
  chainId: string;
1437
1699
  /**
@@ -1449,23 +1711,23 @@ declare class EvmTransactionsService {
1449
1711
  * @returns ListContractsResponse
1450
1712
  * @throws ApiError
1451
1713
  */
1452
- listContractDeployments({ chainId, address, pageSize, pageToken, }: {
1714
+ listContractDeployments({ chainId, address, pageToken, pageSize, }: {
1453
1715
  /**
1454
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1716
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1455
1717
  */
1456
1718
  chainId: string;
1457
1719
  /**
1458
1720
  * A wallet address.
1459
1721
  */
1460
1722
  address: string;
1461
- /**
1462
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1463
- */
1464
- pageSize?: number;
1465
1723
  /**
1466
1724
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1467
1725
  */
1468
1726
  pageToken?: string;
1727
+ /**
1728
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1729
+ */
1730
+ pageSize?: number;
1469
1731
  }): CancelablePromise<ListContractsResponse>;
1470
1732
  /**
1471
1733
  * List ERC transfers
@@ -1473,25 +1735,31 @@ declare class EvmTransactionsService {
1473
1735
  * @returns ListTransfersResponse
1474
1736
  * @throws ApiError
1475
1737
  */
1476
- listTransfers({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1738
+ listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1477
1739
  /**
1478
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1740
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1479
1741
  */
1480
1742
  chainId: string;
1481
1743
  /**
1482
1744
  * A wallet address.
1483
1745
  */
1484
1746
  address: string;
1747
+ /**
1748
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1749
+ */
1485
1750
  startBlock?: number;
1486
- endBlock?: number;
1487
1751
  /**
1488
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1752
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1489
1753
  */
1490
- pageSize?: number;
1754
+ endBlock?: number;
1491
1755
  /**
1492
1756
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1493
1757
  */
1494
1758
  pageToken?: string;
1759
+ /**
1760
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1761
+ */
1762
+ pageSize?: number;
1495
1763
  }): CancelablePromise<ListTransfersResponse>;
1496
1764
  /**
1497
1765
  * List transactions
@@ -1501,24 +1769,30 @@ declare class EvmTransactionsService {
1501
1769
  * @returns ListTransactionDetailsResponse
1502
1770
  * @throws ApiError
1503
1771
  */
1504
- listTransactions({ chainId, address, pageSize, pageToken, startBlock, endBlock, sortOrder, }: {
1772
+ listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
1505
1773
  /**
1506
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1774
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1507
1775
  */
1508
1776
  chainId: string;
1509
1777
  /**
1510
1778
  * A wallet address.
1511
1779
  */
1512
1780
  address: string;
1781
+ /**
1782
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1783
+ */
1784
+ pageToken?: string;
1513
1785
  /**
1514
1786
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1515
1787
  */
1516
1788
  pageSize?: number;
1517
1789
  /**
1518
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1790
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1519
1791
  */
1520
- pageToken?: string;
1521
1792
  startBlock?: number;
1793
+ /**
1794
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1795
+ */
1522
1796
  endBlock?: number;
1523
1797
  /**
1524
1798
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
@@ -1531,25 +1805,31 @@ declare class EvmTransactionsService {
1531
1805
  * @returns ListNativeTransactionsResponse
1532
1806
  * @throws ApiError
1533
1807
  */
1534
- listNativeTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1808
+ listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1535
1809
  /**
1536
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1810
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1537
1811
  */
1538
1812
  chainId: string;
1539
1813
  /**
1540
1814
  * A wallet address.
1541
1815
  */
1542
1816
  address: string;
1817
+ /**
1818
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1819
+ */
1543
1820
  startBlock?: number;
1544
- endBlock?: number;
1545
1821
  /**
1546
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1822
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1547
1823
  */
1548
- pageSize?: number;
1824
+ endBlock?: number;
1549
1825
  /**
1550
1826
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1551
1827
  */
1552
1828
  pageToken?: string;
1829
+ /**
1830
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1831
+ */
1832
+ pageSize?: number;
1553
1833
  }): CancelablePromise<ListNativeTransactionsResponse>;
1554
1834
  /**
1555
1835
  * List ERC-20 transfers
@@ -1557,25 +1837,31 @@ declare class EvmTransactionsService {
1557
1837
  * @returns ListErc20TransactionsResponse
1558
1838
  * @throws ApiError
1559
1839
  */
1560
- listErc20Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1840
+ listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1561
1841
  /**
1562
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1842
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1563
1843
  */
1564
1844
  chainId: string;
1565
1845
  /**
1566
1846
  * A wallet address.
1567
1847
  */
1568
1848
  address: string;
1849
+ /**
1850
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1851
+ */
1569
1852
  startBlock?: number;
1570
- endBlock?: number;
1571
1853
  /**
1572
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1854
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1573
1855
  */
1574
- pageSize?: number;
1856
+ endBlock?: number;
1575
1857
  /**
1576
1858
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1577
1859
  */
1578
1860
  pageToken?: string;
1861
+ /**
1862
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1863
+ */
1864
+ pageSize?: number;
1579
1865
  }): CancelablePromise<ListErc20TransactionsResponse>;
1580
1866
  /**
1581
1867
  * List ERC-721 transfers
@@ -1583,25 +1869,31 @@ declare class EvmTransactionsService {
1583
1869
  * @returns ListErc721TransactionsResponse
1584
1870
  * @throws ApiError
1585
1871
  */
1586
- listErc721Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1872
+ listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1587
1873
  /**
1588
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1874
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1589
1875
  */
1590
1876
  chainId: string;
1591
1877
  /**
1592
1878
  * A wallet address.
1593
1879
  */
1594
1880
  address: string;
1881
+ /**
1882
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1883
+ */
1595
1884
  startBlock?: number;
1596
- endBlock?: number;
1597
1885
  /**
1598
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1886
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1599
1887
  */
1600
- pageSize?: number;
1888
+ endBlock?: number;
1601
1889
  /**
1602
1890
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1603
1891
  */
1604
1892
  pageToken?: string;
1893
+ /**
1894
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1895
+ */
1896
+ pageSize?: number;
1605
1897
  }): CancelablePromise<ListErc721TransactionsResponse>;
1606
1898
  /**
1607
1899
  * List ERC-1155 transfers
@@ -1609,25 +1901,31 @@ declare class EvmTransactionsService {
1609
1901
  * @returns ListErc1155TransactionsResponse
1610
1902
  * @throws ApiError
1611
1903
  */
1612
- listErc1155Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1904
+ listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1613
1905
  /**
1614
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1906
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1615
1907
  */
1616
1908
  chainId: string;
1617
1909
  /**
1618
1910
  * A wallet address.
1619
1911
  */
1620
1912
  address: string;
1913
+ /**
1914
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1915
+ */
1621
1916
  startBlock?: number;
1622
- endBlock?: number;
1623
1917
  /**
1624
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1918
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1625
1919
  */
1626
- pageSize?: number;
1920
+ endBlock?: number;
1627
1921
  /**
1628
1922
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1629
1923
  */
1630
1924
  pageToken?: string;
1925
+ /**
1926
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1927
+ */
1928
+ pageSize?: number;
1631
1929
  }): CancelablePromise<ListErc1155TransactionsResponse>;
1632
1930
  /**
1633
1931
  * List internal transactions
@@ -1637,25 +1935,31 @@ declare class EvmTransactionsService {
1637
1935
  * @returns ListInternalTransactionsResponse
1638
1936
  * @throws ApiError
1639
1937
  */
1640
- listInternalTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1938
+ listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1641
1939
  /**
1642
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1940
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1643
1941
  */
1644
1942
  chainId: string;
1645
1943
  /**
1646
1944
  * A wallet address.
1647
1945
  */
1648
- address: string;
1946
+ address: string;
1947
+ /**
1948
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1949
+ */
1649
1950
  startBlock?: number;
1650
- endBlock?: number;
1651
1951
  /**
1652
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1952
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1653
1953
  */
1654
- pageSize?: number;
1954
+ endBlock?: number;
1655
1955
  /**
1656
1956
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1657
1957
  */
1658
1958
  pageToken?: string;
1959
+ /**
1960
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1961
+ */
1962
+ pageSize?: number;
1659
1963
  }): CancelablePromise<ListInternalTransactionsResponse>;
1660
1964
  /**
1661
1965
  * Get transaction
@@ -1665,7 +1969,7 @@ declare class EvmTransactionsService {
1665
1969
  */
1666
1970
  getTransaction({ chainId, txHash, }: {
1667
1971
  /**
1668
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1972
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1669
1973
  */
1670
1974
  chainId: string;
1671
1975
  /**
@@ -1681,7 +1985,7 @@ declare class EvmTransactionsService {
1681
1985
  */
1682
1986
  getTransactionsForBlock({ chainId, blockId, }: {
1683
1987
  /**
1684
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1988
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1685
1989
  */
1686
1990
  chainId: string;
1687
1991
  /**
@@ -1695,19 +1999,19 @@ declare class EvmTransactionsService {
1695
1999
  * @returns ListNativeTransactionsResponse
1696
2000
  * @throws ApiError
1697
2001
  */
1698
- listLatestTransactions({ chainId, pageSize, pageToken, status, }: {
2002
+ listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
1699
2003
  /**
1700
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2004
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1701
2005
  */
1702
2006
  chainId: string;
1703
- /**
1704
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1705
- */
1706
- pageSize?: number;
1707
2007
  /**
1708
2008
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1709
2009
  */
1710
2010
  pageToken?: string;
2011
+ /**
2012
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2013
+ */
2014
+ pageSize?: number;
1711
2015
  /**
1712
2016
  * A status filter for listed transactions.
1713
2017
  */
@@ -1731,6 +2035,83 @@ declare class HealthCheckService {
1731
2035
  }>;
1732
2036
  }
1733
2037
 
2038
+ type ListNftTokens = {
2039
+ /**
2040
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
2041
+ */
2042
+ nextPageToken?: string;
2043
+ tokens: (Array<Erc721Token> | Array<Erc1155Token>);
2044
+ };
2045
+
2046
+ declare class NfTsService {
2047
+ readonly httpRequest: BaseHttpRequest;
2048
+ constructor(httpRequest: BaseHttpRequest);
2049
+ /**
2050
+ * Reindex NFT metadata
2051
+ * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2052
+ * @returns any
2053
+ * @throws ApiError
2054
+ */
2055
+ reindexNft({ chainId, address, tokenId, }: {
2056
+ /**
2057
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2058
+ */
2059
+ chainId: string;
2060
+ /**
2061
+ * Contract address on the relevant chain.
2062
+ */
2063
+ address: string;
2064
+ /**
2065
+ * TokenId on the contract
2066
+ */
2067
+ tokenId: string;
2068
+ }): CancelablePromise<any>;
2069
+ /**
2070
+ * List tokens
2071
+ * Lists tokens for an NFT contract.
2072
+ * @returns ListNftTokens
2073
+ * @throws ApiError
2074
+ */
2075
+ listTokens({ chainId, address, pageToken, pageSize, }: {
2076
+ /**
2077
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2078
+ */
2079
+ chainId: string;
2080
+ /**
2081
+ * Contract address on the relevant chain.
2082
+ */
2083
+ address: string;
2084
+ /**
2085
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2086
+ */
2087
+ pageToken?: string;
2088
+ /**
2089
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2090
+ */
2091
+ pageSize?: number;
2092
+ }): CancelablePromise<ListNftTokens>;
2093
+ /**
2094
+ * Get token details
2095
+ * Gets token details for a specific token of an NFT contract.
2096
+ * @returns any
2097
+ * @throws ApiError
2098
+ */
2099
+ getTokenDetails({ chainId, address, tokenId, }: {
2100
+ /**
2101
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2102
+ */
2103
+ chainId: string;
2104
+ /**
2105
+ * Contract address on the relevant chain.
2106
+ */
2107
+ address: string;
2108
+ /**
2109
+ * TokenId on the contract
2110
+ */
2111
+ tokenId: string;
2112
+ }): CancelablePromise<(Erc721Token | Erc1155Token)>;
2113
+ }
2114
+
1734
2115
  type EvmNetworkOptions = {
1735
2116
  addresses: Array<string>;
1736
2117
  includeChains: Array<string>;
@@ -1825,17 +2206,6 @@ type OperationStatusResponse = {
1825
2206
  declare class OperationsService {
1826
2207
  readonly httpRequest: BaseHttpRequest;
1827
2208
  constructor(httpRequest: BaseHttpRequest);
1828
- /**
1829
- * Create transaction export operation
1830
- * Trigger a transaction export operation with given parameters.
1831
- *
1832
- * The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
1833
- * @returns OperationStatusResponse
1834
- * @throws ApiError
1835
- */
1836
- postTransactionExportJob({ requestBody, }: {
1837
- requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
1838
- }): CancelablePromise<OperationStatusResponse>;
1839
2209
  /**
1840
2210
  * Get operation
1841
2211
  * Gets operation details for the given operation id.
@@ -1848,6 +2218,17 @@ declare class OperationsService {
1848
2218
  */
1849
2219
  operationId: string;
1850
2220
  }): CancelablePromise<OperationStatusResponse>;
2221
+ /**
2222
+ * Create transaction export operation
2223
+ * Trigger a transaction export operation with given parameters.
2224
+ *
2225
+ * The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
2226
+ * @returns OperationStatusResponse
2227
+ * @throws ApiError
2228
+ */
2229
+ postTransactionExportJob({ requestBody, }: {
2230
+ requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
2231
+ }): CancelablePromise<OperationStatusResponse>;
1851
2232
  }
1852
2233
 
1853
2234
  declare enum BlockchainIds {
@@ -1916,39 +2297,57 @@ type ListBlockchainsResponse = {
1916
2297
 
1917
2298
  type ActiveDelegatorDetails = {
1918
2299
  txHash: string;
2300
+ nodeId: string;
1919
2301
  rewardAddresses: Array<string>;
1920
2302
  amountDelegated: string;
1921
2303
  delegationFee: string;
1922
2304
  startTimestamp: number;
1923
2305
  endTimestamp: number;
1924
- delegationStatus: DelegationStatusType;
1925
2306
  estimatedGrossReward: string;
1926
2307
  estimatedNetReward: string;
2308
+ delegationStatus: ActiveDelegatorDetails.delegationStatus;
1927
2309
  };
2310
+ declare namespace ActiveDelegatorDetails {
2311
+ enum delegationStatus {
2312
+ ACTIVE = "active"
2313
+ }
2314
+ }
1928
2315
 
1929
2316
  type CompletedDelegatorDetails = {
1930
2317
  txHash: string;
2318
+ nodeId: string;
1931
2319
  rewardAddresses: Array<string>;
1932
2320
  amountDelegated: string;
1933
2321
  delegationFee: string;
1934
2322
  startTimestamp: number;
1935
2323
  endTimestamp: number;
1936
- delegationStatus: DelegationStatusType;
1937
2324
  grossReward: string;
1938
2325
  netReward: string;
2326
+ delegationStatus: CompletedDelegatorDetails.delegationStatus;
1939
2327
  };
2328
+ declare namespace CompletedDelegatorDetails {
2329
+ enum delegationStatus {
2330
+ COMPLETED = "completed"
2331
+ }
2332
+ }
1940
2333
 
1941
2334
  type PendingDelegatorDetails = {
1942
2335
  txHash: string;
2336
+ nodeId: string;
1943
2337
  rewardAddresses: Array<string>;
1944
2338
  amountDelegated: string;
1945
2339
  delegationFee: string;
1946
2340
  startTimestamp: number;
1947
2341
  endTimestamp: number;
1948
- delegationStatus: DelegationStatusType;
1949
2342
  estimatedGrossReward: string;
1950
2343
  estimatedNetReward: string;
2344
+ delegationStatus: PendingDelegatorDetails.delegationStatus;
1951
2345
  };
2346
+ declare namespace PendingDelegatorDetails {
2347
+ enum delegationStatus {
2348
+ PENDING = "pending"
2349
+ }
2350
+ }
1952
2351
 
1953
2352
  type ListDelegatorDetailsResponse = {
1954
2353
  /**
@@ -1986,49 +2385,104 @@ type ListSubnetsResponse = {
1986
2385
  type Rewards = {
1987
2386
  validationRewardAmount: string;
1988
2387
  delegationRewardAmount: string;
2388
+ rewardAddresses?: Array<string>;
2389
+ rewardTxHash?: string;
1989
2390
  };
1990
2391
 
1991
- declare enum ValidationStatusType {
1992
- COMPLETED = "completed",
1993
- ACTIVE = "active",
1994
- PENDING = "pending"
1995
- }
2392
+ type ValidatorHealthDetails = {
2393
+ /**
2394
+ * Percent of requests responded to in last polling.
2395
+ */
2396
+ reachabilityPercent: number;
2397
+ /**
2398
+ * Percent of requests benched on the P-Chain in last polling.
2399
+ */
2400
+ benchedPChainRequestsPercent: number;
2401
+ /**
2402
+ * Percentage of requests benched on the X-Chain in last polling.
2403
+ */
2404
+ benchedXChainRequestsPercent: number;
2405
+ /**
2406
+ * Percentage of requests benched on the C-Chain in last polling.
2407
+ */
2408
+ benchedCChainRequestsPercent: number;
2409
+ };
1996
2410
 
1997
2411
  type ActiveValidatorDetails = {
2412
+ txHash: string;
1998
2413
  nodeId: string;
2414
+ subnetId: string;
1999
2415
  amountStaked: string;
2000
- delegationFee: string;
2416
+ delegationFee?: string;
2001
2417
  startTimestamp: number;
2002
2418
  endTimestamp: number;
2003
- validationStatus: ValidationStatusType;
2004
2419
  stakePercentage: number;
2005
2420
  delegatorCount: number;
2006
- amountDelegated: string;
2421
+ amountDelegated?: string;
2007
2422
  uptimePerformance: number;
2008
- avalancheGoVersion: string;
2009
- delegationCapacity: string;
2423
+ avalancheGoVersion?: string;
2424
+ delegationCapacity?: string;
2010
2425
  potentialRewards: Rewards;
2426
+ validationStatus: ActiveValidatorDetails.validationStatus;
2427
+ validatorHealth: ValidatorHealthDetails;
2011
2428
  };
2429
+ declare namespace ActiveValidatorDetails {
2430
+ enum validationStatus {
2431
+ ACTIVE = "active"
2432
+ }
2433
+ }
2012
2434
 
2013
2435
  type CompletedValidatorDetails = {
2436
+ txHash: string;
2014
2437
  nodeId: string;
2438
+ subnetId: string;
2015
2439
  amountStaked: string;
2016
- delegationFee: string;
2440
+ delegationFee?: string;
2017
2441
  startTimestamp: number;
2018
2442
  endTimestamp: number;
2019
- validationStatus: ValidationStatusType;
2020
2443
  delegatorCount: number;
2021
2444
  rewards: Rewards;
2445
+ validationStatus: CompletedValidatorDetails.validationStatus;
2022
2446
  };
2447
+ declare namespace CompletedValidatorDetails {
2448
+ enum validationStatus {
2449
+ COMPLETED = "completed"
2450
+ }
2451
+ }
2023
2452
 
2024
2453
  type PendingValidatorDetails = {
2454
+ txHash: string;
2025
2455
  nodeId: string;
2456
+ subnetId: string;
2026
2457
  amountStaked: string;
2027
- delegationFee: string;
2458
+ delegationFee?: string;
2459
+ startTimestamp: number;
2460
+ endTimestamp: number;
2461
+ validationStatus: PendingValidatorDetails.validationStatus;
2462
+ };
2463
+ declare namespace PendingValidatorDetails {
2464
+ enum validationStatus {
2465
+ PENDING = "pending"
2466
+ }
2467
+ }
2468
+
2469
+ type RemovedValidatorDetails = {
2470
+ txHash: string;
2471
+ nodeId: string;
2472
+ subnetId: string;
2473
+ amountStaked: string;
2474
+ delegationFee?: string;
2028
2475
  startTimestamp: number;
2029
2476
  endTimestamp: number;
2030
- validationStatus: ValidationStatusType;
2477
+ removeTxHash: string;
2478
+ removeTimestamp: number;
2479
+ validationStatus: RemovedValidatorDetails.validationStatus;
2031
2480
  };
2481
+ declare namespace RemovedValidatorDetails {
2482
+ enum validationStatus {
2483
+ REMOVED = "removed"
2484
+ }
2485
+ }
2032
2486
 
2033
2487
  type ListValidatorDetailsResponse = {
2034
2488
  /**
@@ -2036,9 +2490,9 @@ type ListValidatorDetailsResponse = {
2036
2490
  */
2037
2491
  nextPageToken?: string;
2038
2492
  /**
2039
- * The list of Validator Details.
2493
+ * The list of validator Details.
2040
2494
  */
2041
- validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
2495
+ validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2042
2496
  };
2043
2497
 
2044
2498
  declare enum Network {
@@ -2046,6 +2500,23 @@ declare enum Network {
2046
2500
  FUJI = "fuji"
2047
2501
  }
2048
2502
 
2503
+ declare enum ValidationStatusType {
2504
+ COMPLETED = "completed",
2505
+ ACTIVE = "active",
2506
+ PENDING = "pending",
2507
+ REMOVED = "removed"
2508
+ }
2509
+
2510
+ declare enum PrimaryNetworkAssetCap {
2511
+ FIXED = "fixed",
2512
+ VARIABLE = "variable"
2513
+ }
2514
+
2515
+ declare enum PrimaryNetworkAssetType {
2516
+ SECP256K1 = "secp256k1",
2517
+ NFT = "nft"
2518
+ }
2519
+
2049
2520
  type XChainAssetDetails = {
2050
2521
  /**
2051
2522
  * Unique ID for an asset.
@@ -2066,15 +2537,15 @@ type XChainAssetDetails = {
2066
2537
  /**
2067
2538
  * Type of asset like SECP256K1 or NFT.
2068
2539
  */
2069
- type: string;
2540
+ type: PrimaryNetworkAssetType;
2070
2541
  /**
2071
2542
  * Timestamp in seconds this asset was created on.
2072
2543
  */
2073
2544
  createdAtTimestamp: number;
2074
2545
  /**
2075
- * Cap represents if an asset can be or is fixed cap.
2546
+ * Cap represents if an asset is a variable or fixed cap asset.
2076
2547
  */
2077
- cap: string;
2548
+ cap: PrimaryNetworkAssetCap;
2078
2549
  };
2079
2550
 
2080
2551
  declare enum XChainId {
@@ -2140,19 +2611,19 @@ declare class PrimaryNetworkService {
2140
2611
  * @returns ListBlockchainsResponse
2141
2612
  * @throws ApiError
2142
2613
  */
2143
- listBlockchains({ network, pageSize, pageToken, sortOrder, }: {
2614
+ listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2144
2615
  /**
2145
2616
  * Either mainnet or a testnet.
2146
2617
  */
2147
2618
  network: Network;
2148
- /**
2149
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2150
- */
2151
- pageSize?: number;
2152
2619
  /**
2153
2620
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2154
2621
  */
2155
2622
  pageToken?: string;
2623
+ /**
2624
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2625
+ */
2626
+ pageSize?: number;
2156
2627
  /**
2157
2628
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2158
2629
  */
@@ -2164,19 +2635,19 @@ declare class PrimaryNetworkService {
2164
2635
  * @returns ListSubnetsResponse
2165
2636
  * @throws ApiError
2166
2637
  */
2167
- listSubnets({ network, pageSize, pageToken, sortOrder, }: {
2638
+ listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2168
2639
  /**
2169
2640
  * Either mainnet or a testnet.
2170
2641
  */
2171
2642
  network: Network;
2172
- /**
2173
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2174
- */
2175
- pageSize?: number;
2176
2643
  /**
2177
2644
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2178
2645
  */
2179
2646
  pageToken?: string;
2647
+ /**
2648
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2649
+ */
2650
+ pageSize?: number;
2180
2651
  /**
2181
2652
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2182
2653
  */
@@ -2188,19 +2659,19 @@ declare class PrimaryNetworkService {
2188
2659
  * @returns ListValidatorDetailsResponse
2189
2660
  * @throws ApiError
2190
2661
  */
2191
- listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, }: {
2662
+ listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2192
2663
  /**
2193
2664
  * Either mainnet or a testnet.
2194
2665
  */
2195
2666
  network: Network;
2196
- /**
2197
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2198
- */
2199
- pageSize?: number;
2200
2667
  /**
2201
2668
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2202
2669
  */
2203
2670
  pageToken?: string;
2671
+ /**
2672
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2673
+ */
2674
+ pageSize?: number;
2204
2675
  /**
2205
2676
  * A comma separated list of node ids to filter by.
2206
2677
  */
@@ -2214,9 +2685,33 @@ declare class PrimaryNetworkService {
2214
2685
  */
2215
2686
  validationStatus?: ValidationStatusType;
2216
2687
  /**
2217
- * The minimum delegation capacity, used to filter the set of nodes being returned (Units - nAVAX). Default is 0.
2688
+ * The minimum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000
2218
2689
  */
2219
- minDelegationCapacity?: any;
2690
+ minDelegationCapacity?: string;
2691
+ /**
2692
+ * The maximum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000.
2693
+ */
2694
+ maxDelegationCapacity?: string;
2695
+ /**
2696
+ * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2697
+ */
2698
+ minTimeRemaining?: number;
2699
+ /**
2700
+ * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2701
+ */
2702
+ maxTimeRemaining?: number;
2703
+ /**
2704
+ * The minimum fee percentage, used to filter the set of nodes being returned.If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 2, as per the Avalanche spec.
2705
+ */
2706
+ minFeePercentage?: number;
2707
+ /**
2708
+ * The maximum fee percentage, used to filter the set of nodes being returned. If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 100.
2709
+ */
2710
+ maxFeePercentage?: number;
2711
+ /**
2712
+ * The subnet ID to filter by. If not provided, then all subnets will be returned.
2713
+ */
2714
+ subnetId?: string;
2220
2715
  }): CancelablePromise<ListValidatorDetailsResponse>;
2221
2716
  /**
2222
2717
  * Get single validator details
@@ -2224,7 +2719,7 @@ declare class PrimaryNetworkService {
2224
2719
  * @returns ListValidatorDetailsResponse
2225
2720
  * @throws ApiError
2226
2721
  */
2227
- getSingleValidatorDetails({ network, nodeId, pageSize, pageToken, sortOrder, validationStatus, }: {
2722
+ getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
2228
2723
  /**
2229
2724
  * Either mainnet or a testnet.
2230
2725
  */
@@ -2233,14 +2728,14 @@ declare class PrimaryNetworkService {
2233
2728
  * A primary network (P or X chain) nodeId.
2234
2729
  */
2235
2730
  nodeId: string;
2236
- /**
2237
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2238
- */
2239
- pageSize?: number;
2240
2731
  /**
2241
2732
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2242
2733
  */
2243
2734
  pageToken?: string;
2735
+ /**
2736
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2737
+ */
2738
+ pageSize?: number;
2244
2739
  /**
2245
2740
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2246
2741
  */
@@ -2256,23 +2751,23 @@ declare class PrimaryNetworkService {
2256
2751
  * @returns ListDelegatorDetailsResponse
2257
2752
  * @throws ApiError
2258
2753
  */
2259
- listDelegators({ network, nodeId, pageSize, pageToken, sortOrder, delegationStatus, rewardAddresses, nodeIds, }: {
2754
+ listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2260
2755
  /**
2261
2756
  * Either mainnet or a testnet.
2262
2757
  */
2263
2758
  network: Network;
2264
2759
  /**
2265
- * A primary network (P or X chain) nodeId.
2760
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2266
2761
  */
2267
- nodeId: string;
2762
+ pageToken?: string;
2268
2763
  /**
2269
2764
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2270
2765
  */
2271
2766
  pageSize?: number;
2272
2767
  /**
2273
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2768
+ * A comma separated list of reward addresses to filter by.
2274
2769
  */
2275
- pageToken?: string;
2770
+ rewardAddresses?: string;
2276
2771
  /**
2277
2772
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2278
2773
  */
@@ -2281,10 +2776,6 @@ declare class PrimaryNetworkService {
2281
2776
  * Delegation status of the node.
2282
2777
  */
2283
2778
  delegationStatus?: DelegationStatusType;
2284
- /**
2285
- * A comma separated list of reward addresses to filter by.
2286
- */
2287
- rewardAddresses?: string;
2288
2779
  /**
2289
2780
  * A comma separated list of node ids to filter by.
2290
2781
  */
@@ -2323,7 +2814,7 @@ type CChainSharedAssetBalance = {
2323
2814
  /**
2324
2815
  * Type of asset like SECP256K1 or NFT.
2325
2816
  */
2326
- type: string;
2817
+ type: PrimaryNetworkAssetType;
2327
2818
  /**
2328
2819
  * Amount of the asset.
2329
2820
  */
@@ -2358,13 +2849,57 @@ type ListCChainAtomicBalancesResponse = {
2358
2849
  chainInfo: PrimaryNetworkChainInfo;
2359
2850
  };
2360
2851
 
2361
- type PChainAsset = {
2852
+ type Asset = {
2853
+ /**
2854
+ * Unique ID for an asset.
2855
+ */
2362
2856
  assetId: string;
2857
+ /**
2858
+ * Name of this asset.
2859
+ */
2860
+ name: string;
2861
+ /**
2862
+ * Symbol for this asset (max 4 characters).
2863
+ */
2864
+ symbol: string;
2865
+ /**
2866
+ * Denomination of this asset to represent fungibility.
2867
+ */
2868
+ denomination: number;
2869
+ /**
2870
+ * Type of asset like SECP256K1 or NFT.
2871
+ */
2872
+ type: PrimaryNetworkAssetType;
2873
+ /**
2874
+ * Amount of the asset.
2875
+ */
2363
2876
  amount: string;
2364
2877
  };
2365
2878
 
2366
2879
  type PChainSharedAsset = {
2880
+ /**
2881
+ * Unique ID for an asset.
2882
+ */
2367
2883
  assetId: string;
2884
+ /**
2885
+ * Name of this asset.
2886
+ */
2887
+ name: string;
2888
+ /**
2889
+ * Symbol for this asset (max 4 characters).
2890
+ */
2891
+ symbol: string;
2892
+ /**
2893
+ * Denomination of this asset to represent fungibility.
2894
+ */
2895
+ denomination: number;
2896
+ /**
2897
+ * Type of asset like SECP256K1 or NFT.
2898
+ */
2899
+ type: PrimaryNetworkAssetType;
2900
+ /**
2901
+ * Amount of the asset.
2902
+ */
2368
2903
  amount: string;
2369
2904
  sharedWithChainId: string;
2370
2905
  status: string;
@@ -2374,27 +2909,27 @@ type PChainBalance = {
2374
2909
  /**
2375
2910
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is consumable by any transaction.
2376
2911
  */
2377
- unlockedUnstaked: Array<PChainAsset>;
2912
+ unlockedUnstaked: Array<Asset>;
2378
2913
  /**
2379
2914
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax that is consumable by any transaction when the staking period ends.
2380
2915
  */
2381
- unlockedStaked: Array<PChainAsset>;
2916
+ unlockedStaked: Array<Asset>;
2382
2917
  /**
2383
2918
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and not consumable by any transaction at the current time.
2384
2919
  */
2385
- lockedPlatform: Array<PChainAsset>;
2920
+ lockedPlatform: Array<Asset>;
2386
2921
  /**
2387
2922
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and only consumeable for staking transactions.
2388
2923
  */
2389
- lockedStakeable: Array<PChainAsset>;
2924
+ lockedStakeable: Array<Asset>;
2390
2925
  /**
2391
2926
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax that will be locked when the staking period ends.
2392
2927
  */
2393
- lockedStaked: Array<PChainAsset>;
2928
+ lockedStaked: Array<Asset>;
2394
2929
  /**
2395
2930
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax whose staking period has not yet started.
2396
2931
  */
2397
- pendingStaked: Array<PChainAsset>;
2932
+ pendingStaked: Array<Asset>;
2398
2933
  /**
2399
2934
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unlocked Avax in the atomic memory between P-Chain and other chain.
2400
2935
  */
@@ -2430,7 +2965,7 @@ type XChainAssetBalance = {
2430
2965
  /**
2431
2966
  * Type of asset like SECP256K1 or NFT.
2432
2967
  */
2433
- type: string;
2968
+ type: PrimaryNetworkAssetType;
2434
2969
  /**
2435
2970
  * Amount of the asset.
2436
2971
  */
@@ -2458,7 +2993,7 @@ type XChainSharedAssetBalance = {
2458
2993
  /**
2459
2994
  * Type of asset like SECP256K1 or NFT.
2460
2995
  */
2461
- type: string;
2996
+ type: PrimaryNetworkAssetType;
2462
2997
  /**
2463
2998
  * Amount of the asset.
2464
2999
  */
@@ -2533,6 +3068,7 @@ type GetPrimaryNetworkBlockResponse = {
2533
3068
  txCount: number;
2534
3069
  transactions: Array<string>;
2535
3070
  blockSizeBytes: number;
3071
+ currentSupply?: string;
2536
3072
  proposerDetails?: ProposerDetails;
2537
3073
  };
2538
3074
 
@@ -2545,6 +3081,7 @@ type PrimaryNetworkBlock = {
2545
3081
  txCount: number;
2546
3082
  transactions: Array<string>;
2547
3083
  blockSizeBytes: number;
3084
+ currentSupply?: string;
2548
3085
  proposerDetails?: ProposerDetails;
2549
3086
  };
2550
3087
 
@@ -2586,7 +3123,7 @@ declare class PrimaryNetworkBlocksService {
2586
3123
  * @returns ListPrimaryNetworkBlocksResponse
2587
3124
  * @throws ApiError
2588
3125
  */
2589
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageSize, pageToken, }: {
3126
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
2590
3127
  /**
2591
3128
  * A primary network blockchain id or alias.
2592
3129
  */
@@ -2600,13 +3137,13 @@ declare class PrimaryNetworkBlocksService {
2600
3137
  */
2601
3138
  nodeId: string;
2602
3139
  /**
2603
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3140
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2604
3141
  */
2605
- pageSize?: number;
3142
+ pageToken?: string;
2606
3143
  /**
2607
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3144
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2608
3145
  */
2609
- pageToken?: string;
3146
+ pageSize?: number;
2610
3147
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
2611
3148
  /**
2612
3149
  * List latest blocks
@@ -2614,7 +3151,7 @@ declare class PrimaryNetworkBlocksService {
2614
3151
  * @returns ListPrimaryNetworkBlocksResponse
2615
3152
  * @throws ApiError
2616
3153
  */
2617
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageSize, pageToken, }: {
3154
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
2618
3155
  /**
2619
3156
  * A primary network blockchain id or alias.
2620
3157
  */
@@ -2623,20 +3160,52 @@ declare class PrimaryNetworkBlocksService {
2623
3160
  * Either mainnet or a testnet.
2624
3161
  */
2625
3162
  network: Network;
2626
- /**
2627
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2628
- */
2629
- pageSize?: number;
2630
3163
  /**
2631
3164
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2632
3165
  */
2633
3166
  pageToken?: string;
3167
+ /**
3168
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3169
+ */
3170
+ pageSize?: number;
2634
3171
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
2635
3172
  }
2636
3173
 
3174
+ type AssetWithPriceInfo = {
3175
+ /**
3176
+ * Unique ID for an asset.
3177
+ */
3178
+ assetId: string;
3179
+ /**
3180
+ * Name of this asset.
3181
+ */
3182
+ name: string;
3183
+ /**
3184
+ * Symbol for this asset (max 4 characters).
3185
+ */
3186
+ symbol: string;
3187
+ /**
3188
+ * Denomination of this asset to represent fungibility.
3189
+ */
3190
+ denomination: number;
3191
+ /**
3192
+ * Type of asset like SECP256K1 or NFT.
3193
+ */
3194
+ type: PrimaryNetworkAssetType;
3195
+ /**
3196
+ * Amount of the asset.
3197
+ */
3198
+ amount: string;
3199
+ /**
3200
+ * The historical asset price at the time the reward was granted, if available. Note, this is only provided if the reward occured more than 24 hours ago.
3201
+ */
3202
+ historicalPrice?: Money;
3203
+ };
3204
+
2637
3205
  declare enum RewardType {
2638
3206
  VALIDATOR = "VALIDATOR",
2639
- DELEGATOR = "DELEGATOR"
3207
+ DELEGATOR = "DELEGATOR",
3208
+ VALIDATOR_FEE = "VALIDATOR_FEE"
2640
3209
  }
2641
3210
 
2642
3211
  type HistoricalReward = {
@@ -2652,10 +3221,7 @@ type HistoricalReward = {
2652
3221
  rewardType: RewardType;
2653
3222
  utxoId: string;
2654
3223
  outputIndex: number;
2655
- /**
2656
- * An object containing P-chain Asset ID and the amount of that Asset ID.
2657
- */
2658
- reward: PChainAsset;
3224
+ reward: AssetWithPriceInfo;
2659
3225
  rewardTxHash: string;
2660
3226
  };
2661
3227
 
@@ -2682,7 +3248,7 @@ type PendingReward = {
2682
3248
  /**
2683
3249
  * An object containing P-chain Asset ID and the amount of that Asset ID.
2684
3250
  */
2685
- estimatedReward: PChainAsset;
3251
+ estimatedReward: Asset;
2686
3252
  };
2687
3253
 
2688
3254
  type ListPendingRewardsResponse = {
@@ -2702,23 +3268,27 @@ declare class PrimaryNetworkRewardsService {
2702
3268
  * @returns ListPendingRewardsResponse
2703
3269
  * @throws ApiError
2704
3270
  */
2705
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
3271
+ listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
2706
3272
  /**
2707
3273
  * Either mainnet or a testnet.
2708
3274
  */
2709
3275
  network: Network;
2710
3276
  /**
2711
- * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
3277
+ * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". One of addresses or nodeIds is required.
2712
3278
  */
2713
3279
  addresses?: string;
3280
+ /**
3281
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3282
+ */
3283
+ pageToken?: string;
2714
3284
  /**
2715
3285
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2716
3286
  */
2717
3287
  pageSize?: number;
2718
3288
  /**
2719
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3289
+ * A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
2720
3290
  */
2721
- pageToken?: string;
3291
+ nodeIds?: string;
2722
3292
  /**
2723
3293
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2724
3294
  */
@@ -2730,64 +3300,45 @@ declare class PrimaryNetworkRewardsService {
2730
3300
  * @returns ListHistoricalRewardsResponse
2731
3301
  * @throws ApiError
2732
3302
  */
2733
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
3303
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
2734
3304
  /**
2735
3305
  * Either mainnet or a testnet.
2736
3306
  */
2737
3307
  network: Network;
2738
3308
  /**
2739
- * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
3309
+ * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Optional, but at least one of addresses or nodeIds is required.
2740
3310
  */
2741
3311
  addresses?: string;
3312
+ /**
3313
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3314
+ */
3315
+ pageToken?: string;
2742
3316
  /**
2743
3317
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2744
3318
  */
2745
3319
  pageSize?: number;
2746
3320
  /**
2747
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3321
+ * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
2748
3322
  */
2749
- pageToken?: string;
3323
+ nodeIds?: string;
2750
3324
  /**
2751
3325
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2752
3326
  */
2753
3327
  sortOrder?: SortOrder;
3328
+ /**
3329
+ * The currency that return values should use. Defaults to USD.
3330
+ */
3331
+ currency?: CurrencyCode;
2754
3332
  }): CancelablePromise<ListHistoricalRewardsResponse>;
2755
3333
  }
2756
3334
 
2757
- type Asset = {
2758
- /**
2759
- * Unique ID for an asset.
2760
- */
2761
- assetId: string;
2762
- /**
2763
- * Name of this asset.
2764
- */
2765
- name: string;
2766
- /**
2767
- * Symbol for this asset (max 4 characters).
2768
- */
2769
- symbol: string;
2770
- /**
2771
- * Denomination of this asset to represent fungibility.
2772
- */
2773
- denomination: number;
2774
- /**
2775
- * Type of asset like SECP256K1 or NFT.
2776
- */
2777
- type: string;
2778
- /**
2779
- * Amount of the asset.
2780
- */
2781
- amount: string;
2782
- };
2783
-
2784
3335
  type UtxoCredential = {
2785
3336
  /**
2786
- * Signature provided to consume the output
3337
+ * Signature provided to consume the output.
2787
3338
  */
2788
3339
  signature?: string;
2789
3340
  /**
2790
- * Public key associated with the signature
3341
+ * Public key associated with the signature.
2791
3342
  */
2792
3343
  publicKey?: string;
2793
3344
  };
@@ -2809,66 +3360,66 @@ type EVMInput = {
2809
3360
 
2810
3361
  type Utxo = {
2811
3362
  /**
2812
- * UTXO ID for this output.
3363
+ * Addresses that are eligible to sign the consumption of this output.
2813
3364
  */
2814
- utxoId: string;
3365
+ addresses: Array<string>;
2815
3366
  asset: Asset;
2816
3367
  /**
2817
- * Type of output.
3368
+ * Blockchain ID on which this output is consumed on.
2818
3369
  */
2819
- utxoType: string;
3370
+ consumedOnChainId: string;
2820
3371
  /**
2821
- * Blockchain ID on which this output is created on.
3372
+ * Transaction ID that consumed this output.
2822
3373
  */
2823
- createdOnChainId: string;
3374
+ consumingTxHash?: string;
2824
3375
  /**
2825
- * Blockchain ID on which this output is consumed on.
3376
+ * Blockchain ID on which this output is created on.
2826
3377
  */
2827
- consumedOnChainId: string;
3378
+ createdOnChainId: string;
2828
3379
  /**
2829
- * Transaction ID that created this output.
3380
+ * UTXO ID for this output.
2830
3381
  */
2831
- creationTxHash: string;
3382
+ utxoId: string;
2832
3383
  /**
2833
- * Transaction ID that consumed this output.
3384
+ * Unix timestamp in seconds at which this output was consumed.
2834
3385
  */
2835
- consumingTxHash?: string;
3386
+ consumingTxTimestamp?: number;
2836
3387
  /**
2837
- * Timestamp in seconds this output is consumed.
3388
+ * Transaction ID that created this output.
2838
3389
  */
2839
- consumingTxTimestamp?: number;
3390
+ creationTxHash: string;
2840
3391
  /**
2841
- * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3392
+ * Credentials that signed the transaction to consume this utxo
2842
3393
  */
2843
- outputIndex: string;
3394
+ credentials?: Array<UtxoCredential>;
2844
3395
  /**
2845
- * Timestamp in seconds this outptut is created on.
3396
+ * Index representing the minting set for the NFT mint output.
2846
3397
  */
2847
- timestamp: number;
3398
+ groupId?: number;
2848
3399
  /**
2849
3400
  * Locktime in seconds after which this output can be consumed.
2850
3401
  */
2851
3402
  locktime: number;
2852
3403
  /**
2853
- * Minimum number of signatures required to consume this output.
3404
+ * Postion of this output in a list of lexiographically sorted outputs of a transaction.
2854
3405
  */
2855
- threshold: number;
3406
+ outputIndex: string;
2856
3407
  /**
2857
- * Addresses that are eligible to sign the consumption of this output.
3408
+ * Hex encoded data for NFT assets.
2858
3409
  */
2859
- addresses: Array<string>;
3410
+ payload?: string;
2860
3411
  /**
2861
- * Hex encoded data for NFT assets
3412
+ * Minimum number of signatures required to consume this output.
2862
3413
  */
2863
- payload?: string;
3414
+ threshold: number;
2864
3415
  /**
2865
- * Index representing the minting set for the NFT mint output
3416
+ * Unix timestamp in seconds at which this outptut was created.
2866
3417
  */
2867
- groupId?: number;
3418
+ timestamp: number;
2868
3419
  /**
2869
- * Credentials that signed the transaction to consume this utxo
3420
+ * Type of output.
2870
3421
  */
2871
- credentials?: Array<UtxoCredential>;
3422
+ utxoType: string;
2872
3423
  };
2873
3424
 
2874
3425
  type CChainExportTransaction = {
@@ -2999,16 +3550,18 @@ type ListCChainAtomicTransactionsResponse = {
2999
3550
 
3000
3551
  declare enum PChainTransactionType {
3001
3552
  ADD_VALIDATOR_TX = "AddValidatorTx",
3002
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3003
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3004
3553
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3005
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3006
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3554
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3007
3555
  CREATE_CHAIN_TX = "CreateChainTx",
3008
3556
  CREATE_SUBNET_TX = "CreateSubnetTx",
3009
3557
  IMPORT_TX = "ImportTx",
3010
3558
  EXPORT_TX = "ExportTx",
3011
3559
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3560
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3561
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3562
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3563
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3564
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3012
3565
  UNKNOWN = "UNKNOWN"
3013
3566
  }
3014
3567
 
@@ -3019,29 +3572,48 @@ declare enum UtxoType {
3019
3572
 
3020
3573
  type PChainUtxo = {
3021
3574
  /**
3022
- * An array of P-Chain wallet addresses.
3575
+ * Addresses that are eligible to sign the consumption of this output.
3023
3576
  */
3024
3577
  addresses: Array<string>;
3578
+ asset: Asset;
3579
+ /**
3580
+ * Blockchain ID on which this output is consumed on.
3581
+ */
3582
+ consumedOnChainId: string;
3583
+ /**
3584
+ * Transaction ID that consumed this output.
3585
+ */
3586
+ consumingTxHash?: string;
3587
+ /**
3588
+ * Blockchain ID on which this output is created on.
3589
+ */
3590
+ createdOnChainId: string;
3591
+ /**
3592
+ * UTXO ID for this output.
3593
+ */
3025
3594
  utxoId: string;
3026
- txHash: string;
3027
- outputIndex: number;
3595
+ /**
3596
+ * @deprecated
3597
+ */
3598
+ amount: string;
3599
+ /**
3600
+ * @deprecated
3601
+ */
3602
+ assetId: string;
3028
3603
  blockNumber: string;
3029
3604
  blockTimestamp: number;
3030
- consumingTxHash?: string;
3031
- consumingBlockTimestamp?: number;
3032
3605
  consumingBlockNumber?: string;
3033
- assetId: string;
3034
- utxoType: UtxoType;
3035
- amount: string;
3036
- stakeableLocktime?: number;
3606
+ consumingBlockTimestamp?: number;
3037
3607
  platformLocktime?: number;
3038
- threshold?: number;
3039
- createdOnChainId: string;
3040
- consumedOnChainId: string;
3608
+ outputIndex: number;
3609
+ rewardType?: RewardType;
3610
+ stakeableLocktime?: number;
3041
3611
  staked?: boolean;
3042
- utxoStartTimestamp?: number;
3612
+ threshold?: number;
3613
+ txHash: string;
3043
3614
  utxoEndTimestamp?: number;
3044
- rewardType?: RewardType;
3615
+ utxoStartTimestamp?: number;
3616
+ utxoType: UtxoType;
3045
3617
  };
3046
3618
 
3047
3619
  type PChainTransaction = {
@@ -3069,15 +3641,15 @@ type PChainTransaction = {
3069
3641
  /**
3070
3642
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3071
3643
  */
3072
- value: Array<PChainAsset>;
3644
+ value: Array<Asset>;
3073
3645
  /**
3074
3646
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3075
3647
  */
3076
- amountBurned: Array<PChainAsset>;
3648
+ amountBurned: Array<Asset>;
3077
3649
  /**
3078
3650
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3079
3651
  */
3080
- amountStaked: Array<PChainAsset>;
3652
+ amountStaked: Array<Asset>;
3081
3653
  /**
3082
3654
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3083
3655
  */
@@ -3103,6 +3675,7 @@ type PChainTransaction = {
3103
3675
  */
3104
3676
  estimatedReward?: string;
3105
3677
  rewardTxHash?: string;
3678
+ rewardAddresses?: Array<string>;
3106
3679
  memo?: string;
3107
3680
  /**
3108
3681
  * Present for RewardValidatorTx
@@ -3119,6 +3692,15 @@ type ListPChainTransactionsResponse = {
3119
3692
  chainInfo: PrimaryNetworkChainInfo;
3120
3693
  };
3121
3694
 
3695
+ declare enum XChainTransactionType {
3696
+ BASE_TX = "BaseTx",
3697
+ CREATE_ASSET_TX = "CreateAssetTx",
3698
+ OPERATION_TX = "OperationTx",
3699
+ IMPORT_TX = "ImportTx",
3700
+ EXPORT_TX = "ExportTx",
3701
+ UNKNOWN = "UNKNOWN"
3702
+ }
3703
+
3122
3704
  type XChainLinearTransaction = {
3123
3705
  /**
3124
3706
  * Unique ID for this transaction.
@@ -3135,7 +3717,7 @@ type XChainLinearTransaction = {
3135
3717
  /**
3136
3718
  * Type of transaction.
3137
3719
  */
3138
- txType: string;
3720
+ txType: XChainTransactionType;
3139
3721
  /**
3140
3722
  * Hex encoded memo bytes for this transaction.
3141
3723
  */
@@ -3212,7 +3794,7 @@ type XChainNonLinearTransaction = {
3212
3794
  /**
3213
3795
  * Type of transaction.
3214
3796
  */
3215
- txType: string;
3797
+ txType: XChainTransactionType;
3216
3798
  /**
3217
3799
  * Hex encoded memo bytes for this transaction.
3218
3800
  */
@@ -3270,16 +3852,18 @@ declare enum PChainId {
3270
3852
 
3271
3853
  declare enum PrimaryNetworkTxType {
3272
3854
  ADD_VALIDATOR_TX = "AddValidatorTx",
3273
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3274
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3275
3855
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3276
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3277
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3856
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3278
3857
  CREATE_CHAIN_TX = "CreateChainTx",
3279
3858
  CREATE_SUBNET_TX = "CreateSubnetTx",
3280
3859
  IMPORT_TX = "ImportTx",
3281
3860
  EXPORT_TX = "ExportTx",
3282
3861
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3862
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3863
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3864
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3865
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3866
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3283
3867
  UNKNOWN = "UNKNOWN",
3284
3868
  BASE_TX = "BaseTx",
3285
3869
  CREATE_ASSET_TX = "CreateAssetTx",
@@ -3311,11 +3895,15 @@ declare class PrimaryNetworkTransactionsService {
3311
3895
  }): CancelablePromise<(PChainTransaction | XChainNonLinearTransaction | XChainLinearTransaction | CChainExportTransaction | CChainImportTransaction)>;
3312
3896
  /**
3313
3897
  * List latest transactions
3314
- * Lists the latest transactions on one of the Primary Network chains. Transactions are filterable by addresses.
3898
+ * Lists the latest transactions on one of the Primary Network chains.
3899
+ *
3900
+ * Transactions are filterable by addresses, txTypes, and timestamps. When querying for latest transactions without an address parameter, filtering by txTypes and timestamps is not supported. An address filter must be provided to utilize txTypes and timestamp filters.
3901
+ *
3902
+ * Given that each transaction may return a large number of UTXO objects, bounded only by the maximum transaction size, the query may return less transactions than the provided page size. The result will contain less results than the page size if the number of utxos contained in the resulting transactions reach a performance threshold.
3315
3903
  * @returns any
3316
3904
  * @throws ApiError
3317
3905
  */
3318
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3906
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3319
3907
  /**
3320
3908
  * A primary network blockchain id or alias.
3321
3909
  */
@@ -3340,14 +3928,14 @@ declare class PrimaryNetworkTransactionsService {
3340
3928
  * Query param for retrieving items before a specific timestamp.
3341
3929
  */
3342
3930
  endTimestamp?: number;
3343
- /**
3344
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3345
- */
3346
- pageSize?: number;
3347
3931
  /**
3348
3932
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3349
3933
  */
3350
3934
  pageToken?: string;
3935
+ /**
3936
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3937
+ */
3938
+ pageSize?: number;
3351
3939
  /**
3352
3940
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
3353
3941
  */
@@ -3359,7 +3947,7 @@ declare class PrimaryNetworkTransactionsService {
3359
3947
  * @returns ListPChainTransactionsResponse
3360
3948
  * @throws ApiError
3361
3949
  */
3362
- listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3950
+ listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3363
3951
  /**
3364
3952
  * A primary network blockchain id or alias.
3365
3953
  */
@@ -3384,14 +3972,14 @@ declare class PrimaryNetworkTransactionsService {
3384
3972
  * Query param for retrieving items before a specific timestamp.
3385
3973
  */
3386
3974
  endTimestamp?: number;
3387
- /**
3388
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3389
- */
3390
- pageSize?: number;
3391
3975
  /**
3392
3976
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3393
3977
  */
3394
3978
  pageToken?: string;
3979
+ /**
3980
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3981
+ */
3982
+ pageSize?: number;
3395
3983
  /**
3396
3984
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
3397
3985
  */
@@ -3403,7 +3991,7 @@ declare class PrimaryNetworkTransactionsService {
3403
3991
  * @returns ListXChainTransactionsResponse
3404
3992
  * @throws ApiError
3405
3993
  */
3406
- listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, }: {
3994
+ listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3407
3995
  /**
3408
3996
  * A primary network blockchain id or alias.
3409
3997
  */
@@ -3428,14 +4016,14 @@ declare class PrimaryNetworkTransactionsService {
3428
4016
  * Query param for retrieving items before a specific timestamp.
3429
4017
  */
3430
4018
  endTimestamp?: number;
3431
- /**
3432
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3433
- */
3434
- pageSize?: number;
3435
4019
  /**
3436
4020
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3437
4021
  */
3438
4022
  pageToken?: string;
4023
+ /**
4024
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4025
+ */
4026
+ pageSize?: number;
3439
4027
  }): CancelablePromise<ListXChainTransactionsResponse>;
3440
4028
  }
3441
4029
 
@@ -3466,7 +4054,7 @@ declare class PrimaryNetworkUtxOsService {
3466
4054
  * @returns any
3467
4055
  * @throws ApiError
3468
4056
  */
3469
- getUtxosByAddresses({ blockchainId, network, addresses, pageSize, pageToken, assetId, includeSpent, sortOrder, }: {
4057
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
3470
4058
  /**
3471
4059
  * A primary network blockchain id or alias.
3472
4060
  */
@@ -3479,14 +4067,14 @@ declare class PrimaryNetworkUtxOsService {
3479
4067
  * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
3480
4068
  */
3481
4069
  addresses?: string;
3482
- /**
3483
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3484
- */
3485
- pageSize?: number;
3486
4070
  /**
3487
4071
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3488
4072
  */
3489
4073
  pageToken?: string;
4074
+ /**
4075
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4076
+ */
4077
+ pageSize?: number;
3490
4078
  /**
3491
4079
  * Asset ID for any asset (only applicable X-Chain)
3492
4080
  */
@@ -3531,7 +4119,7 @@ declare class PrimaryNetworkVerticesService {
3531
4119
  * @returns ListXChainVerticesResponse
3532
4120
  * @throws ApiError
3533
4121
  */
3534
- listLatestXChainVertices({ blockchainId, network, pageSize, pageToken, }: {
4122
+ listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
3535
4123
  /**
3536
4124
  * A primary network blockchain id or alias.
3537
4125
  */
@@ -3540,14 +4128,14 @@ declare class PrimaryNetworkVerticesService {
3540
4128
  * Either mainnet or a testnet.
3541
4129
  */
3542
4130
  network: Network;
3543
- /**
3544
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3545
- */
3546
- pageSize?: number;
3547
4131
  /**
3548
4132
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3549
4133
  */
3550
4134
  pageToken?: string;
4135
+ /**
4136
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4137
+ */
4138
+ pageSize?: number;
3551
4139
  }): CancelablePromise<ListXChainVerticesResponse>;
3552
4140
  /**
3553
4141
  * Get vertex
@@ -3575,7 +4163,7 @@ declare class PrimaryNetworkVerticesService {
3575
4163
  * @returns ListXChainVerticesResponse
3576
4164
  * @throws ApiError
3577
4165
  */
3578
- getVertexByHeight({ vertexHeight, blockchainId, network, pageSize, pageToken, sortOrder, }: {
4166
+ getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
3579
4167
  /**
3580
4168
  * The height of a vertex.
3581
4169
  */
@@ -3588,14 +4176,14 @@ declare class PrimaryNetworkVerticesService {
3588
4176
  * Either mainnet or a testnet.
3589
4177
  */
3590
4178
  network: Network;
3591
- /**
3592
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3593
- */
3594
- pageSize?: number;
3595
4179
  /**
3596
4180
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3597
4181
  */
3598
4182
  pageToken?: string;
4183
+ /**
4184
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4185
+ */
4186
+ pageSize?: number;
3599
4187
  /**
3600
4188
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
3601
4189
  */
@@ -3605,11 +4193,14 @@ declare class PrimaryNetworkVerticesService {
3605
4193
 
3606
4194
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
3607
4195
  declare class Glacier {
4196
+ readonly default: DefaultService;
3608
4197
  readonly evmBalances: EvmBalancesService;
3609
4198
  readonly evmBlocks: EvmBlocksService;
3610
4199
  readonly evmChains: EvmChainsService;
4200
+ readonly evmContracts: EvmContractsService;
3611
4201
  readonly evmTransactions: EvmTransactionsService;
3612
4202
  readonly healthCheck: HealthCheckService;
4203
+ readonly nfTs: NfTsService;
3613
4204
  readonly operations: OperationsService;
3614
4205
  readonly primaryNetwork: PrimaryNetworkService;
3615
4206
  readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
@@ -3639,4 +4230,4 @@ declare class ApiError extends Error {
3639
4230
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
3640
4231
  }
3641
4232
 
3642
- export { ActiveDelegatorDetails, ActiveValidatorDetails, ApiError, Asset, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DelegationStatusType, DelegatorsDetails, EVMInput, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainAsset, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorsDetails, VmName, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainVertex };
4233
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError, Asset, AssetWithPriceInfo, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DefaultService, DelegationStatusType, DelegatorsDetails, EVMInput, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };