@avalabs/glacier-sdk 2.8.0-canary.bf2dc9b.0 → 2.8.0-canary.c1a0f25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +319 -208
- package/dist/index.js +126 -93
- package/esm/generated/models/AddressActivityMetadata.d.ts +4 -1
- package/esm/generated/models/Asset.d.ts +3 -1
- package/esm/generated/models/AssetWithPriceInfo.d.ts +35 -0
- package/esm/generated/models/CChainSharedAssetBalance.d.ts +3 -1
- package/esm/generated/models/HistoricalReward.d.ts +2 -5
- package/esm/generated/models/ListValidatorDetailsResponse.d.ts +2 -1
- package/esm/generated/models/PChainSharedAsset.d.ts +3 -1
- package/esm/generated/models/PChainTransaction.d.ts +5 -0
- package/esm/generated/models/PChainTransactionType.d.ts +2 -0
- package/esm/generated/models/PChainTransactionType.js +2 -0
- package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +6 -0
- package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
- package/esm/generated/models/PrimaryNetworkAssetType.d.ts +6 -0
- package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +2 -1
- package/esm/generated/models/PrimaryNetworkTxType.js +2 -1
- package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
- package/esm/generated/models/RemovedValidatorDetails.js +8 -0
- package/esm/generated/models/Subnet.d.ts +17 -0
- package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
- package/esm/generated/models/ValidationStatusType.d.ts +2 -1
- package/esm/generated/models/ValidationStatusType.js +1 -0
- package/esm/generated/models/WebhookResponse.d.ts +2 -0
- package/esm/generated/models/XChainAssetBalance.d.ts +3 -1
- package/esm/generated/models/XChainAssetDetails.d.ts +6 -3
- package/esm/generated/models/XChainSharedAssetBalance.d.ts +3 -1
- package/esm/generated/services/DefaultService.d.ts +12 -5
- package/esm/generated/services/DefaultService.js +9 -3
- package/esm/generated/services/EvmBalancesService.d.ts +25 -25
- package/esm/generated/services/EvmBalancesService.js +8 -8
- package/esm/generated/services/EvmBlocksService.d.ts +7 -7
- package/esm/generated/services/EvmBlocksService.js +4 -4
- package/esm/generated/services/EvmChainsService.d.ts +1 -1
- package/esm/generated/services/EvmContractsService.d.ts +2 -2
- package/esm/generated/services/EvmTransactionsService.d.ts +57 -57
- package/esm/generated/services/EvmTransactionsService.js +32 -32
- package/esm/generated/services/NfTsService.d.ts +8 -8
- package/esm/generated/services/NfTsService.js +4 -4
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +10 -10
- package/esm/generated/services/PrimaryNetworkBlocksService.js +8 -8
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +19 -14
- package/esm/generated/services/PrimaryNetworkRewardsService.js +8 -6
- package/esm/generated/services/PrimaryNetworkService.d.ts +31 -31
- package/esm/generated/services/PrimaryNetworkService.js +11 -11
- package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +16 -16
- package/esm/generated/services/PrimaryNetworkTransactionsService.js +8 -8
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +5 -5
- package/esm/generated/services/PrimaryNetworkUtxOsService.js +2 -2
- package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +10 -10
- package/esm/generated/services/PrimaryNetworkVerticesService.js +6 -6
- package/esm/index.d.ts +5 -0
- package/esm/index.js +3 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -65,7 +65,10 @@ type AddressActivityMetadata = {
|
|
|
65
65
|
* Ethereum address for the address_activity event type
|
|
66
66
|
*/
|
|
67
67
|
address: string;
|
|
68
|
-
|
|
68
|
+
/**
|
|
69
|
+
* Array of hexadecimal strings of the event signatures.
|
|
70
|
+
*/
|
|
71
|
+
eventSignatures?: Array<string>;
|
|
69
72
|
};
|
|
70
73
|
|
|
71
74
|
declare enum EventType {
|
|
@@ -85,6 +88,8 @@ type WebhookResponse = {
|
|
|
85
88
|
chainId: string;
|
|
86
89
|
status: WebhookStatusType;
|
|
87
90
|
createdAt: number;
|
|
91
|
+
name: string;
|
|
92
|
+
description: string;
|
|
88
93
|
};
|
|
89
94
|
|
|
90
95
|
type ListWebhooksResponse = {
|
|
@@ -137,15 +142,15 @@ declare class DefaultService {
|
|
|
137
142
|
* @returns ListWebhooksResponse
|
|
138
143
|
* @throws ApiError
|
|
139
144
|
*/
|
|
140
|
-
listWebhooks({
|
|
141
|
-
/**
|
|
142
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
143
|
-
*/
|
|
144
|
-
pageSize?: number;
|
|
145
|
+
listWebhooks({ pageToken, pageSize, status, }: {
|
|
145
146
|
/**
|
|
146
147
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
147
148
|
*/
|
|
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;
|
|
149
154
|
/**
|
|
150
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.
|
|
151
156
|
*/
|
|
@@ -170,6 +175,13 @@ declare class DefaultService {
|
|
|
170
175
|
* @throws ApiError
|
|
171
176
|
*/
|
|
172
177
|
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
178
|
+
/**
|
|
179
|
+
* Get a shared secret
|
|
180
|
+
* Get a previously generated shared secret.
|
|
181
|
+
* @returns SharedSecretsResponse
|
|
182
|
+
* @throws ApiError
|
|
183
|
+
*/
|
|
184
|
+
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
173
185
|
}
|
|
174
186
|
|
|
175
187
|
declare enum CurrencyCode {
|
|
@@ -447,7 +459,7 @@ declare class EvmBalancesService {
|
|
|
447
459
|
*/
|
|
448
460
|
getNativeBalance({ chainId, address, blockNumber, currency, }: {
|
|
449
461
|
/**
|
|
450
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
462
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
451
463
|
*/
|
|
452
464
|
chainId: string;
|
|
453
465
|
/**
|
|
@@ -473,9 +485,9 @@ declare class EvmBalancesService {
|
|
|
473
485
|
* @returns ListErc20BalancesResponse
|
|
474
486
|
* @throws ApiError
|
|
475
487
|
*/
|
|
476
|
-
listErc20Balances({ chainId, address, blockNumber,
|
|
488
|
+
listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
|
|
477
489
|
/**
|
|
478
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
490
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
479
491
|
*/
|
|
480
492
|
chainId: string;
|
|
481
493
|
/**
|
|
@@ -486,14 +498,14 @@ declare class EvmBalancesService {
|
|
|
486
498
|
* The block number, if not defined the block number will be the latest block.
|
|
487
499
|
*/
|
|
488
500
|
blockNumber?: string;
|
|
489
|
-
/**
|
|
490
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
491
|
-
*/
|
|
492
|
-
pageSize?: number;
|
|
493
501
|
/**
|
|
494
502
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
495
503
|
*/
|
|
496
504
|
pageToken?: string;
|
|
505
|
+
/**
|
|
506
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
507
|
+
*/
|
|
508
|
+
pageSize?: number;
|
|
497
509
|
/**
|
|
498
510
|
* A comma separated list of contract addresses to filter by.
|
|
499
511
|
*/
|
|
@@ -511,23 +523,23 @@ declare class EvmBalancesService {
|
|
|
511
523
|
* @returns ListErc721BalancesResponse
|
|
512
524
|
* @throws ApiError
|
|
513
525
|
*/
|
|
514
|
-
listErc721Balances({ chainId, address,
|
|
526
|
+
listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
515
527
|
/**
|
|
516
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
528
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
517
529
|
*/
|
|
518
530
|
chainId: string;
|
|
519
531
|
/**
|
|
520
532
|
* A wallet address.
|
|
521
533
|
*/
|
|
522
534
|
address: string;
|
|
523
|
-
/**
|
|
524
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
525
|
-
*/
|
|
526
|
-
pageSize?: number;
|
|
527
535
|
/**
|
|
528
536
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
529
537
|
*/
|
|
530
538
|
pageToken?: string;
|
|
539
|
+
/**
|
|
540
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
541
|
+
*/
|
|
542
|
+
pageSize?: number;
|
|
531
543
|
/**
|
|
532
544
|
* A contract addresses to filter by.
|
|
533
545
|
*/
|
|
@@ -543,9 +555,9 @@ declare class EvmBalancesService {
|
|
|
543
555
|
* @returns ListErc1155BalancesResponse
|
|
544
556
|
* @throws ApiError
|
|
545
557
|
*/
|
|
546
|
-
listErc1155Balances({ chainId, address, blockNumber,
|
|
558
|
+
listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
|
|
547
559
|
/**
|
|
548
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
560
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
549
561
|
*/
|
|
550
562
|
chainId: string;
|
|
551
563
|
/**
|
|
@@ -556,14 +568,14 @@ declare class EvmBalancesService {
|
|
|
556
568
|
* The block number, if not defined the block number will be the latest block.
|
|
557
569
|
*/
|
|
558
570
|
blockNumber?: string;
|
|
559
|
-
/**
|
|
560
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
561
|
-
*/
|
|
562
|
-
pageSize?: number;
|
|
563
571
|
/**
|
|
564
572
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
565
573
|
*/
|
|
566
574
|
pageToken?: string;
|
|
575
|
+
/**
|
|
576
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
577
|
+
*/
|
|
578
|
+
pageSize?: number;
|
|
567
579
|
/**
|
|
568
580
|
* A contract addresses to filter by.
|
|
569
581
|
*/
|
|
@@ -577,23 +589,23 @@ declare class EvmBalancesService {
|
|
|
577
589
|
* @returns ListCollectibleBalancesResponse
|
|
578
590
|
* @throws ApiError
|
|
579
591
|
*/
|
|
580
|
-
listCollectibleBalances({ chainId, address,
|
|
592
|
+
listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
581
593
|
/**
|
|
582
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
594
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
583
595
|
*/
|
|
584
596
|
chainId: string;
|
|
585
597
|
/**
|
|
586
598
|
* A wallet address.
|
|
587
599
|
*/
|
|
588
600
|
address: string;
|
|
589
|
-
/**
|
|
590
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
591
|
-
*/
|
|
592
|
-
pageSize?: number;
|
|
593
601
|
/**
|
|
594
602
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
595
603
|
*/
|
|
596
604
|
pageToken?: string;
|
|
605
|
+
/**
|
|
606
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
607
|
+
*/
|
|
608
|
+
pageSize?: number;
|
|
597
609
|
/**
|
|
598
610
|
* A contract addresses to filter by.
|
|
599
611
|
*/
|
|
@@ -706,19 +718,19 @@ declare class EvmBlocksService {
|
|
|
706
718
|
* @returns ListEvmBlocksResponse
|
|
707
719
|
* @throws ApiError
|
|
708
720
|
*/
|
|
709
|
-
getLatestBlocks({ chainId,
|
|
721
|
+
getLatestBlocks({ chainId, pageToken, pageSize, }: {
|
|
710
722
|
/**
|
|
711
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
723
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
712
724
|
*/
|
|
713
725
|
chainId: string;
|
|
714
|
-
/**
|
|
715
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
716
|
-
*/
|
|
717
|
-
pageSize?: number;
|
|
718
726
|
/**
|
|
719
727
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
720
728
|
*/
|
|
721
729
|
pageToken?: string;
|
|
730
|
+
/**
|
|
731
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
732
|
+
*/
|
|
733
|
+
pageSize?: number;
|
|
722
734
|
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
723
735
|
/**
|
|
724
736
|
* Get block
|
|
@@ -728,7 +740,7 @@ declare class EvmBlocksService {
|
|
|
728
740
|
*/
|
|
729
741
|
getBlock({ chainId, blockId, }: {
|
|
730
742
|
/**
|
|
731
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
743
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
732
744
|
*/
|
|
733
745
|
chainId: string;
|
|
734
746
|
/**
|
|
@@ -849,7 +861,7 @@ declare class EvmChainsService {
|
|
|
849
861
|
*/
|
|
850
862
|
getChainInfo({ chainId, }: {
|
|
851
863
|
/**
|
|
852
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
864
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
853
865
|
*/
|
|
854
866
|
chainId: string;
|
|
855
867
|
}): CancelablePromise<GetChainResponse>;
|
|
@@ -1144,7 +1156,7 @@ declare class EvmContractsService {
|
|
|
1144
1156
|
*/
|
|
1145
1157
|
getContractMetadata({ chainId, address, }: {
|
|
1146
1158
|
/**
|
|
1147
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1159
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1148
1160
|
*/
|
|
1149
1161
|
chainId: string;
|
|
1150
1162
|
/**
|
|
@@ -1160,7 +1172,7 @@ declare class EvmContractsService {
|
|
|
1160
1172
|
*/
|
|
1161
1173
|
updateContractInfo({ chainId, address, requestBody, }: {
|
|
1162
1174
|
/**
|
|
1163
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1175
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1164
1176
|
*/
|
|
1165
1177
|
chainId: string;
|
|
1166
1178
|
/**
|
|
@@ -1688,7 +1700,7 @@ declare class EvmTransactionsService {
|
|
|
1688
1700
|
*/
|
|
1689
1701
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
1690
1702
|
/**
|
|
1691
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1703
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1692
1704
|
*/
|
|
1693
1705
|
chainId: string;
|
|
1694
1706
|
/**
|
|
@@ -1706,23 +1718,23 @@ declare class EvmTransactionsService {
|
|
|
1706
1718
|
* @returns ListContractsResponse
|
|
1707
1719
|
* @throws ApiError
|
|
1708
1720
|
*/
|
|
1709
|
-
listContractDeployments({ chainId, address,
|
|
1721
|
+
listContractDeployments({ chainId, address, pageToken, pageSize, }: {
|
|
1710
1722
|
/**
|
|
1711
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1723
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1712
1724
|
*/
|
|
1713
1725
|
chainId: string;
|
|
1714
1726
|
/**
|
|
1715
1727
|
* A wallet address.
|
|
1716
1728
|
*/
|
|
1717
1729
|
address: string;
|
|
1718
|
-
/**
|
|
1719
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1720
|
-
*/
|
|
1721
|
-
pageSize?: number;
|
|
1722
1730
|
/**
|
|
1723
1731
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1724
1732
|
*/
|
|
1725
1733
|
pageToken?: string;
|
|
1734
|
+
/**
|
|
1735
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1736
|
+
*/
|
|
1737
|
+
pageSize?: number;
|
|
1726
1738
|
}): CancelablePromise<ListContractsResponse>;
|
|
1727
1739
|
/**
|
|
1728
1740
|
* List ERC transfers
|
|
@@ -1730,9 +1742,9 @@ declare class EvmTransactionsService {
|
|
|
1730
1742
|
* @returns ListTransfersResponse
|
|
1731
1743
|
* @throws ApiError
|
|
1732
1744
|
*/
|
|
1733
|
-
listTransfers({ chainId, address, startBlock, endBlock,
|
|
1745
|
+
listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1734
1746
|
/**
|
|
1735
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1747
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1736
1748
|
*/
|
|
1737
1749
|
chainId: string;
|
|
1738
1750
|
/**
|
|
@@ -1747,14 +1759,14 @@ declare class EvmTransactionsService {
|
|
|
1747
1759
|
* 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.
|
|
1748
1760
|
*/
|
|
1749
1761
|
endBlock?: number;
|
|
1750
|
-
/**
|
|
1751
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1752
|
-
*/
|
|
1753
|
-
pageSize?: number;
|
|
1754
1762
|
/**
|
|
1755
1763
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1756
1764
|
*/
|
|
1757
1765
|
pageToken?: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1768
|
+
*/
|
|
1769
|
+
pageSize?: number;
|
|
1758
1770
|
}): CancelablePromise<ListTransfersResponse>;
|
|
1759
1771
|
/**
|
|
1760
1772
|
* List transactions
|
|
@@ -1764,23 +1776,23 @@ declare class EvmTransactionsService {
|
|
|
1764
1776
|
* @returns ListTransactionDetailsResponse
|
|
1765
1777
|
* @throws ApiError
|
|
1766
1778
|
*/
|
|
1767
|
-
listTransactions({ chainId, address,
|
|
1779
|
+
listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
|
|
1768
1780
|
/**
|
|
1769
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1781
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1770
1782
|
*/
|
|
1771
1783
|
chainId: string;
|
|
1772
1784
|
/**
|
|
1773
1785
|
* A wallet address.
|
|
1774
1786
|
*/
|
|
1775
1787
|
address: string;
|
|
1776
|
-
/**
|
|
1777
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1778
|
-
*/
|
|
1779
|
-
pageSize?: number;
|
|
1780
1788
|
/**
|
|
1781
1789
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1782
1790
|
*/
|
|
1783
1791
|
pageToken?: string;
|
|
1792
|
+
/**
|
|
1793
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1794
|
+
*/
|
|
1795
|
+
pageSize?: number;
|
|
1784
1796
|
/**
|
|
1785
1797
|
* 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.
|
|
1786
1798
|
*/
|
|
@@ -1800,9 +1812,9 @@ declare class EvmTransactionsService {
|
|
|
1800
1812
|
* @returns ListNativeTransactionsResponse
|
|
1801
1813
|
* @throws ApiError
|
|
1802
1814
|
*/
|
|
1803
|
-
listNativeTransactions({ chainId, address, startBlock, endBlock,
|
|
1815
|
+
listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1804
1816
|
/**
|
|
1805
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1817
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1806
1818
|
*/
|
|
1807
1819
|
chainId: string;
|
|
1808
1820
|
/**
|
|
@@ -1817,14 +1829,14 @@ declare class EvmTransactionsService {
|
|
|
1817
1829
|
* 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.
|
|
1818
1830
|
*/
|
|
1819
1831
|
endBlock?: number;
|
|
1820
|
-
/**
|
|
1821
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1822
|
-
*/
|
|
1823
|
-
pageSize?: number;
|
|
1824
1832
|
/**
|
|
1825
1833
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1826
1834
|
*/
|
|
1827
1835
|
pageToken?: string;
|
|
1836
|
+
/**
|
|
1837
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1838
|
+
*/
|
|
1839
|
+
pageSize?: number;
|
|
1828
1840
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
1829
1841
|
/**
|
|
1830
1842
|
* List ERC-20 transfers
|
|
@@ -1832,9 +1844,9 @@ declare class EvmTransactionsService {
|
|
|
1832
1844
|
* @returns ListErc20TransactionsResponse
|
|
1833
1845
|
* @throws ApiError
|
|
1834
1846
|
*/
|
|
1835
|
-
listErc20Transactions({ chainId, address, startBlock, endBlock,
|
|
1847
|
+
listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1836
1848
|
/**
|
|
1837
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1849
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1838
1850
|
*/
|
|
1839
1851
|
chainId: string;
|
|
1840
1852
|
/**
|
|
@@ -1849,14 +1861,14 @@ declare class EvmTransactionsService {
|
|
|
1849
1861
|
* 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.
|
|
1850
1862
|
*/
|
|
1851
1863
|
endBlock?: number;
|
|
1852
|
-
/**
|
|
1853
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1854
|
-
*/
|
|
1855
|
-
pageSize?: number;
|
|
1856
1864
|
/**
|
|
1857
1865
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1858
1866
|
*/
|
|
1859
1867
|
pageToken?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1870
|
+
*/
|
|
1871
|
+
pageSize?: number;
|
|
1860
1872
|
}): CancelablePromise<ListErc20TransactionsResponse>;
|
|
1861
1873
|
/**
|
|
1862
1874
|
* List ERC-721 transfers
|
|
@@ -1864,9 +1876,9 @@ declare class EvmTransactionsService {
|
|
|
1864
1876
|
* @returns ListErc721TransactionsResponse
|
|
1865
1877
|
* @throws ApiError
|
|
1866
1878
|
*/
|
|
1867
|
-
listErc721Transactions({ chainId, address, startBlock, endBlock,
|
|
1879
|
+
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1868
1880
|
/**
|
|
1869
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1881
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1870
1882
|
*/
|
|
1871
1883
|
chainId: string;
|
|
1872
1884
|
/**
|
|
@@ -1881,14 +1893,14 @@ declare class EvmTransactionsService {
|
|
|
1881
1893
|
* 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.
|
|
1882
1894
|
*/
|
|
1883
1895
|
endBlock?: number;
|
|
1884
|
-
/**
|
|
1885
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1886
|
-
*/
|
|
1887
|
-
pageSize?: number;
|
|
1888
1896
|
/**
|
|
1889
1897
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1890
1898
|
*/
|
|
1891
1899
|
pageToken?: string;
|
|
1900
|
+
/**
|
|
1901
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1902
|
+
*/
|
|
1903
|
+
pageSize?: number;
|
|
1892
1904
|
}): CancelablePromise<ListErc721TransactionsResponse>;
|
|
1893
1905
|
/**
|
|
1894
1906
|
* List ERC-1155 transfers
|
|
@@ -1896,9 +1908,9 @@ declare class EvmTransactionsService {
|
|
|
1896
1908
|
* @returns ListErc1155TransactionsResponse
|
|
1897
1909
|
* @throws ApiError
|
|
1898
1910
|
*/
|
|
1899
|
-
listErc1155Transactions({ chainId, address, startBlock, endBlock,
|
|
1911
|
+
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1900
1912
|
/**
|
|
1901
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1913
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1902
1914
|
*/
|
|
1903
1915
|
chainId: string;
|
|
1904
1916
|
/**
|
|
@@ -1913,14 +1925,14 @@ declare class EvmTransactionsService {
|
|
|
1913
1925
|
* 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.
|
|
1914
1926
|
*/
|
|
1915
1927
|
endBlock?: number;
|
|
1916
|
-
/**
|
|
1917
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1918
|
-
*/
|
|
1919
|
-
pageSize?: number;
|
|
1920
1928
|
/**
|
|
1921
1929
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1922
1930
|
*/
|
|
1923
1931
|
pageToken?: string;
|
|
1932
|
+
/**
|
|
1933
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1934
|
+
*/
|
|
1935
|
+
pageSize?: number;
|
|
1924
1936
|
}): CancelablePromise<ListErc1155TransactionsResponse>;
|
|
1925
1937
|
/**
|
|
1926
1938
|
* List internal transactions
|
|
@@ -1930,9 +1942,9 @@ declare class EvmTransactionsService {
|
|
|
1930
1942
|
* @returns ListInternalTransactionsResponse
|
|
1931
1943
|
* @throws ApiError
|
|
1932
1944
|
*/
|
|
1933
|
-
listInternalTransactions({ chainId, address, startBlock, endBlock,
|
|
1945
|
+
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1934
1946
|
/**
|
|
1935
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1947
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1936
1948
|
*/
|
|
1937
1949
|
chainId: string;
|
|
1938
1950
|
/**
|
|
@@ -1947,14 +1959,14 @@ declare class EvmTransactionsService {
|
|
|
1947
1959
|
* 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.
|
|
1948
1960
|
*/
|
|
1949
1961
|
endBlock?: number;
|
|
1950
|
-
/**
|
|
1951
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1952
|
-
*/
|
|
1953
|
-
pageSize?: number;
|
|
1954
1962
|
/**
|
|
1955
1963
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1956
1964
|
*/
|
|
1957
1965
|
pageToken?: string;
|
|
1966
|
+
/**
|
|
1967
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1968
|
+
*/
|
|
1969
|
+
pageSize?: number;
|
|
1958
1970
|
}): CancelablePromise<ListInternalTransactionsResponse>;
|
|
1959
1971
|
/**
|
|
1960
1972
|
* Get transaction
|
|
@@ -1964,7 +1976,7 @@ declare class EvmTransactionsService {
|
|
|
1964
1976
|
*/
|
|
1965
1977
|
getTransaction({ chainId, txHash, }: {
|
|
1966
1978
|
/**
|
|
1967
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1979
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1968
1980
|
*/
|
|
1969
1981
|
chainId: string;
|
|
1970
1982
|
/**
|
|
@@ -1980,7 +1992,7 @@ declare class EvmTransactionsService {
|
|
|
1980
1992
|
*/
|
|
1981
1993
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
1982
1994
|
/**
|
|
1983
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1995
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1984
1996
|
*/
|
|
1985
1997
|
chainId: string;
|
|
1986
1998
|
/**
|
|
@@ -1994,19 +2006,19 @@ declare class EvmTransactionsService {
|
|
|
1994
2006
|
* @returns ListNativeTransactionsResponse
|
|
1995
2007
|
* @throws ApiError
|
|
1996
2008
|
*/
|
|
1997
|
-
listLatestTransactions({ chainId,
|
|
2009
|
+
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
1998
2010
|
/**
|
|
1999
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2011
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2000
2012
|
*/
|
|
2001
2013
|
chainId: string;
|
|
2002
|
-
/**
|
|
2003
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2004
|
-
*/
|
|
2005
|
-
pageSize?: number;
|
|
2006
2014
|
/**
|
|
2007
2015
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2008
2016
|
*/
|
|
2009
2017
|
pageToken?: string;
|
|
2018
|
+
/**
|
|
2019
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2020
|
+
*/
|
|
2021
|
+
pageSize?: number;
|
|
2010
2022
|
/**
|
|
2011
2023
|
* A status filter for listed transactions.
|
|
2012
2024
|
*/
|
|
@@ -2049,7 +2061,7 @@ declare class NfTsService {
|
|
|
2049
2061
|
*/
|
|
2050
2062
|
reindexNft({ chainId, address, tokenId, }: {
|
|
2051
2063
|
/**
|
|
2052
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2064
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2053
2065
|
*/
|
|
2054
2066
|
chainId: string;
|
|
2055
2067
|
/**
|
|
@@ -2067,23 +2079,23 @@ declare class NfTsService {
|
|
|
2067
2079
|
* @returns ListNftTokens
|
|
2068
2080
|
* @throws ApiError
|
|
2069
2081
|
*/
|
|
2070
|
-
listTokens({ chainId, address,
|
|
2082
|
+
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
2071
2083
|
/**
|
|
2072
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2084
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2073
2085
|
*/
|
|
2074
2086
|
chainId: string;
|
|
2075
2087
|
/**
|
|
2076
2088
|
* Contract address on the relevant chain.
|
|
2077
2089
|
*/
|
|
2078
2090
|
address: string;
|
|
2079
|
-
/**
|
|
2080
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2081
|
-
*/
|
|
2082
|
-
pageSize?: number;
|
|
2083
2091
|
/**
|
|
2084
2092
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2085
2093
|
*/
|
|
2086
2094
|
pageToken?: string;
|
|
2095
|
+
/**
|
|
2096
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2097
|
+
*/
|
|
2098
|
+
pageSize?: number;
|
|
2087
2099
|
}): CancelablePromise<ListNftTokens>;
|
|
2088
2100
|
/**
|
|
2089
2101
|
* Get token details
|
|
@@ -2093,7 +2105,7 @@ declare class NfTsService {
|
|
|
2093
2105
|
*/
|
|
2094
2106
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
2095
2107
|
/**
|
|
2096
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2108
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2097
2109
|
*/
|
|
2098
2110
|
chainId: string;
|
|
2099
2111
|
/**
|
|
@@ -2359,13 +2371,44 @@ type BlockchainInfo = {
|
|
|
2359
2371
|
blockchainId: string;
|
|
2360
2372
|
};
|
|
2361
2373
|
|
|
2374
|
+
type SubnetOwnershipInfo = {
|
|
2375
|
+
/**
|
|
2376
|
+
* Locktime in seconds after which Subnet owners can control this Subnet.
|
|
2377
|
+
*/
|
|
2378
|
+
locktime: number;
|
|
2379
|
+
/**
|
|
2380
|
+
* Minimum number of signatures required to sign the Subnet update transactions.
|
|
2381
|
+
*/
|
|
2382
|
+
threshold: number;
|
|
2383
|
+
/**
|
|
2384
|
+
* Addresses that are eligible to sign the Subnet update transactions.
|
|
2385
|
+
*/
|
|
2386
|
+
addresses: Array<string>;
|
|
2387
|
+
};
|
|
2388
|
+
|
|
2362
2389
|
type Subnet = {
|
|
2363
2390
|
createBlockTimestamp: number;
|
|
2364
2391
|
createBlockIndex: string;
|
|
2365
2392
|
subnetId: string;
|
|
2393
|
+
/**
|
|
2394
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2395
|
+
* @deprecated
|
|
2396
|
+
*/
|
|
2366
2397
|
ownerAddresses: Array<string>;
|
|
2398
|
+
/**
|
|
2399
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2400
|
+
* @deprecated
|
|
2401
|
+
*/
|
|
2367
2402
|
threshold: number;
|
|
2403
|
+
/**
|
|
2404
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2405
|
+
* @deprecated
|
|
2406
|
+
*/
|
|
2368
2407
|
locktime: number;
|
|
2408
|
+
/**
|
|
2409
|
+
* Latest subnet owner details for this Subnet.
|
|
2410
|
+
*/
|
|
2411
|
+
subnetOwnershipInfo: SubnetOwnershipInfo;
|
|
2369
2412
|
blockchains: Array<BlockchainInfo>;
|
|
2370
2413
|
};
|
|
2371
2414
|
|
|
@@ -2461,6 +2504,24 @@ declare namespace PendingValidatorDetails {
|
|
|
2461
2504
|
}
|
|
2462
2505
|
}
|
|
2463
2506
|
|
|
2507
|
+
type RemovedValidatorDetails = {
|
|
2508
|
+
txHash: string;
|
|
2509
|
+
nodeId: string;
|
|
2510
|
+
subnetId: string;
|
|
2511
|
+
amountStaked: string;
|
|
2512
|
+
delegationFee?: string;
|
|
2513
|
+
startTimestamp: number;
|
|
2514
|
+
endTimestamp: number;
|
|
2515
|
+
removeTxHash: string;
|
|
2516
|
+
removeTimestamp: number;
|
|
2517
|
+
validationStatus: RemovedValidatorDetails.validationStatus;
|
|
2518
|
+
};
|
|
2519
|
+
declare namespace RemovedValidatorDetails {
|
|
2520
|
+
enum validationStatus {
|
|
2521
|
+
REMOVED = "removed"
|
|
2522
|
+
}
|
|
2523
|
+
}
|
|
2524
|
+
|
|
2464
2525
|
type ListValidatorDetailsResponse = {
|
|
2465
2526
|
/**
|
|
2466
2527
|
* 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.
|
|
@@ -2469,7 +2530,7 @@ type ListValidatorDetailsResponse = {
|
|
|
2469
2530
|
/**
|
|
2470
2531
|
* The list of validator Details.
|
|
2471
2532
|
*/
|
|
2472
|
-
validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
|
|
2533
|
+
validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
|
|
2473
2534
|
};
|
|
2474
2535
|
|
|
2475
2536
|
declare enum Network {
|
|
@@ -2480,7 +2541,18 @@ declare enum Network {
|
|
|
2480
2541
|
declare enum ValidationStatusType {
|
|
2481
2542
|
COMPLETED = "completed",
|
|
2482
2543
|
ACTIVE = "active",
|
|
2483
|
-
PENDING = "pending"
|
|
2544
|
+
PENDING = "pending",
|
|
2545
|
+
REMOVED = "removed"
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
declare enum PrimaryNetworkAssetCap {
|
|
2549
|
+
FIXED = "fixed",
|
|
2550
|
+
VARIABLE = "variable"
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
declare enum PrimaryNetworkAssetType {
|
|
2554
|
+
SECP256K1 = "secp256k1",
|
|
2555
|
+
NFT = "nft"
|
|
2484
2556
|
}
|
|
2485
2557
|
|
|
2486
2558
|
type XChainAssetDetails = {
|
|
@@ -2503,15 +2575,15 @@ type XChainAssetDetails = {
|
|
|
2503
2575
|
/**
|
|
2504
2576
|
* Type of asset like SECP256K1 or NFT.
|
|
2505
2577
|
*/
|
|
2506
|
-
type:
|
|
2578
|
+
type: PrimaryNetworkAssetType;
|
|
2507
2579
|
/**
|
|
2508
2580
|
* Timestamp in seconds this asset was created on.
|
|
2509
2581
|
*/
|
|
2510
2582
|
createdAtTimestamp: number;
|
|
2511
2583
|
/**
|
|
2512
|
-
* Cap represents if an asset
|
|
2584
|
+
* Cap represents if an asset is a variable or fixed cap asset.
|
|
2513
2585
|
*/
|
|
2514
|
-
cap:
|
|
2586
|
+
cap: PrimaryNetworkAssetCap;
|
|
2515
2587
|
};
|
|
2516
2588
|
|
|
2517
2589
|
declare enum XChainId {
|
|
@@ -2577,19 +2649,19 @@ declare class PrimaryNetworkService {
|
|
|
2577
2649
|
* @returns ListBlockchainsResponse
|
|
2578
2650
|
* @throws ApiError
|
|
2579
2651
|
*/
|
|
2580
|
-
listBlockchains({ network,
|
|
2652
|
+
listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
|
|
2581
2653
|
/**
|
|
2582
2654
|
* Either mainnet or a testnet.
|
|
2583
2655
|
*/
|
|
2584
2656
|
network: Network;
|
|
2585
|
-
/**
|
|
2586
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2587
|
-
*/
|
|
2588
|
-
pageSize?: number;
|
|
2589
2657
|
/**
|
|
2590
2658
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2591
2659
|
*/
|
|
2592
2660
|
pageToken?: string;
|
|
2661
|
+
/**
|
|
2662
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2663
|
+
*/
|
|
2664
|
+
pageSize?: number;
|
|
2593
2665
|
/**
|
|
2594
2666
|
* 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.
|
|
2595
2667
|
*/
|
|
@@ -2601,19 +2673,19 @@ declare class PrimaryNetworkService {
|
|
|
2601
2673
|
* @returns ListSubnetsResponse
|
|
2602
2674
|
* @throws ApiError
|
|
2603
2675
|
*/
|
|
2604
|
-
listSubnets({ network,
|
|
2676
|
+
listSubnets({ network, pageToken, pageSize, sortOrder, }: {
|
|
2605
2677
|
/**
|
|
2606
2678
|
* Either mainnet or a testnet.
|
|
2607
2679
|
*/
|
|
2608
2680
|
network: Network;
|
|
2609
|
-
/**
|
|
2610
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2611
|
-
*/
|
|
2612
|
-
pageSize?: number;
|
|
2613
2681
|
/**
|
|
2614
2682
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2615
2683
|
*/
|
|
2616
2684
|
pageToken?: string;
|
|
2685
|
+
/**
|
|
2686
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2687
|
+
*/
|
|
2688
|
+
pageSize?: number;
|
|
2617
2689
|
/**
|
|
2618
2690
|
* 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.
|
|
2619
2691
|
*/
|
|
@@ -2625,19 +2697,19 @@ declare class PrimaryNetworkService {
|
|
|
2625
2697
|
* @returns ListValidatorDetailsResponse
|
|
2626
2698
|
* @throws ApiError
|
|
2627
2699
|
*/
|
|
2628
|
-
listValidators({ network,
|
|
2700
|
+
listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
|
|
2629
2701
|
/**
|
|
2630
2702
|
* Either mainnet or a testnet.
|
|
2631
2703
|
*/
|
|
2632
2704
|
network: Network;
|
|
2633
|
-
/**
|
|
2634
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2635
|
-
*/
|
|
2636
|
-
pageSize?: number;
|
|
2637
2705
|
/**
|
|
2638
2706
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2639
2707
|
*/
|
|
2640
2708
|
pageToken?: string;
|
|
2709
|
+
/**
|
|
2710
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2711
|
+
*/
|
|
2712
|
+
pageSize?: number;
|
|
2641
2713
|
/**
|
|
2642
2714
|
* A comma separated list of node ids to filter by.
|
|
2643
2715
|
*/
|
|
@@ -2653,27 +2725,27 @@ declare class PrimaryNetworkService {
|
|
|
2653
2725
|
/**
|
|
2654
2726
|
* 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
|
|
2655
2727
|
*/
|
|
2656
|
-
minDelegationCapacity?:
|
|
2728
|
+
minDelegationCapacity?: string;
|
|
2657
2729
|
/**
|
|
2658
2730
|
* 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.
|
|
2659
2731
|
*/
|
|
2660
|
-
maxDelegationCapacity?:
|
|
2732
|
+
maxDelegationCapacity?: string;
|
|
2661
2733
|
/**
|
|
2662
2734
|
* The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
|
|
2663
2735
|
*/
|
|
2664
|
-
minTimeRemaining?:
|
|
2736
|
+
minTimeRemaining?: number;
|
|
2665
2737
|
/**
|
|
2666
2738
|
* The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
|
|
2667
2739
|
*/
|
|
2668
|
-
maxTimeRemaining?:
|
|
2740
|
+
maxTimeRemaining?: number;
|
|
2669
2741
|
/**
|
|
2670
2742
|
* 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.
|
|
2671
2743
|
*/
|
|
2672
|
-
minFeePercentage?:
|
|
2744
|
+
minFeePercentage?: number;
|
|
2673
2745
|
/**
|
|
2674
2746
|
* 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.
|
|
2675
2747
|
*/
|
|
2676
|
-
maxFeePercentage?:
|
|
2748
|
+
maxFeePercentage?: number;
|
|
2677
2749
|
/**
|
|
2678
2750
|
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
2679
2751
|
*/
|
|
@@ -2685,7 +2757,7 @@ declare class PrimaryNetworkService {
|
|
|
2685
2757
|
* @returns ListValidatorDetailsResponse
|
|
2686
2758
|
* @throws ApiError
|
|
2687
2759
|
*/
|
|
2688
|
-
getSingleValidatorDetails({ network, nodeId,
|
|
2760
|
+
getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
|
|
2689
2761
|
/**
|
|
2690
2762
|
* Either mainnet or a testnet.
|
|
2691
2763
|
*/
|
|
@@ -2694,14 +2766,14 @@ declare class PrimaryNetworkService {
|
|
|
2694
2766
|
* A primary network (P or X chain) nodeId.
|
|
2695
2767
|
*/
|
|
2696
2768
|
nodeId: string;
|
|
2697
|
-
/**
|
|
2698
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2699
|
-
*/
|
|
2700
|
-
pageSize?: number;
|
|
2701
2769
|
/**
|
|
2702
2770
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2703
2771
|
*/
|
|
2704
2772
|
pageToken?: string;
|
|
2773
|
+
/**
|
|
2774
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2775
|
+
*/
|
|
2776
|
+
pageSize?: number;
|
|
2705
2777
|
/**
|
|
2706
2778
|
* 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.
|
|
2707
2779
|
*/
|
|
@@ -2717,19 +2789,19 @@ declare class PrimaryNetworkService {
|
|
|
2717
2789
|
* @returns ListDelegatorDetailsResponse
|
|
2718
2790
|
* @throws ApiError
|
|
2719
2791
|
*/
|
|
2720
|
-
listDelegators({ network,
|
|
2792
|
+
listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
|
|
2721
2793
|
/**
|
|
2722
2794
|
* Either mainnet or a testnet.
|
|
2723
2795
|
*/
|
|
2724
2796
|
network: Network;
|
|
2725
|
-
/**
|
|
2726
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2727
|
-
*/
|
|
2728
|
-
pageSize?: number;
|
|
2729
2797
|
/**
|
|
2730
2798
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2731
2799
|
*/
|
|
2732
2800
|
pageToken?: string;
|
|
2801
|
+
/**
|
|
2802
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2803
|
+
*/
|
|
2804
|
+
pageSize?: number;
|
|
2733
2805
|
/**
|
|
2734
2806
|
* A comma separated list of reward addresses to filter by.
|
|
2735
2807
|
*/
|
|
@@ -2780,7 +2852,7 @@ type CChainSharedAssetBalance = {
|
|
|
2780
2852
|
/**
|
|
2781
2853
|
* Type of asset like SECP256K1 or NFT.
|
|
2782
2854
|
*/
|
|
2783
|
-
type:
|
|
2855
|
+
type: PrimaryNetworkAssetType;
|
|
2784
2856
|
/**
|
|
2785
2857
|
* Amount of the asset.
|
|
2786
2858
|
*/
|
|
@@ -2835,7 +2907,7 @@ type Asset = {
|
|
|
2835
2907
|
/**
|
|
2836
2908
|
* Type of asset like SECP256K1 or NFT.
|
|
2837
2909
|
*/
|
|
2838
|
-
type:
|
|
2910
|
+
type: PrimaryNetworkAssetType;
|
|
2839
2911
|
/**
|
|
2840
2912
|
* Amount of the asset.
|
|
2841
2913
|
*/
|
|
@@ -2862,7 +2934,7 @@ type PChainSharedAsset = {
|
|
|
2862
2934
|
/**
|
|
2863
2935
|
* Type of asset like SECP256K1 or NFT.
|
|
2864
2936
|
*/
|
|
2865
|
-
type:
|
|
2937
|
+
type: PrimaryNetworkAssetType;
|
|
2866
2938
|
/**
|
|
2867
2939
|
* Amount of the asset.
|
|
2868
2940
|
*/
|
|
@@ -2931,7 +3003,7 @@ type XChainAssetBalance = {
|
|
|
2931
3003
|
/**
|
|
2932
3004
|
* Type of asset like SECP256K1 or NFT.
|
|
2933
3005
|
*/
|
|
2934
|
-
type:
|
|
3006
|
+
type: PrimaryNetworkAssetType;
|
|
2935
3007
|
/**
|
|
2936
3008
|
* Amount of the asset.
|
|
2937
3009
|
*/
|
|
@@ -2959,7 +3031,7 @@ type XChainSharedAssetBalance = {
|
|
|
2959
3031
|
/**
|
|
2960
3032
|
* Type of asset like SECP256K1 or NFT.
|
|
2961
3033
|
*/
|
|
2962
|
-
type:
|
|
3034
|
+
type: PrimaryNetworkAssetType;
|
|
2963
3035
|
/**
|
|
2964
3036
|
* Amount of the asset.
|
|
2965
3037
|
*/
|
|
@@ -3089,7 +3161,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3089
3161
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
3090
3162
|
* @throws ApiError
|
|
3091
3163
|
*/
|
|
3092
|
-
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId,
|
|
3164
|
+
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
3093
3165
|
/**
|
|
3094
3166
|
* A primary network blockchain id or alias.
|
|
3095
3167
|
*/
|
|
@@ -3102,14 +3174,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3102
3174
|
* A primary network (P or X chain) nodeId.
|
|
3103
3175
|
*/
|
|
3104
3176
|
nodeId: string;
|
|
3105
|
-
/**
|
|
3106
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3107
|
-
*/
|
|
3108
|
-
pageSize?: number;
|
|
3109
3177
|
/**
|
|
3110
3178
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3111
3179
|
*/
|
|
3112
3180
|
pageToken?: string;
|
|
3181
|
+
/**
|
|
3182
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3183
|
+
*/
|
|
3184
|
+
pageSize?: number;
|
|
3113
3185
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
3114
3186
|
/**
|
|
3115
3187
|
* List latest blocks
|
|
@@ -3117,7 +3189,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3117
3189
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
3118
3190
|
* @throws ApiError
|
|
3119
3191
|
*/
|
|
3120
|
-
listLatestPrimaryNetworkBlocks({ blockchainId, network,
|
|
3192
|
+
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
3121
3193
|
/**
|
|
3122
3194
|
* A primary network blockchain id or alias.
|
|
3123
3195
|
*/
|
|
@@ -3126,17 +3198,48 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3126
3198
|
* Either mainnet or a testnet.
|
|
3127
3199
|
*/
|
|
3128
3200
|
network: Network;
|
|
3129
|
-
/**
|
|
3130
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3131
|
-
*/
|
|
3132
|
-
pageSize?: number;
|
|
3133
3201
|
/**
|
|
3134
3202
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3135
3203
|
*/
|
|
3136
3204
|
pageToken?: string;
|
|
3205
|
+
/**
|
|
3206
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3207
|
+
*/
|
|
3208
|
+
pageSize?: number;
|
|
3137
3209
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
3138
3210
|
}
|
|
3139
3211
|
|
|
3212
|
+
type AssetWithPriceInfo = {
|
|
3213
|
+
/**
|
|
3214
|
+
* Unique ID for an asset.
|
|
3215
|
+
*/
|
|
3216
|
+
assetId: string;
|
|
3217
|
+
/**
|
|
3218
|
+
* Name of this asset.
|
|
3219
|
+
*/
|
|
3220
|
+
name: string;
|
|
3221
|
+
/**
|
|
3222
|
+
* Symbol for this asset (max 4 characters).
|
|
3223
|
+
*/
|
|
3224
|
+
symbol: string;
|
|
3225
|
+
/**
|
|
3226
|
+
* Denomination of this asset to represent fungibility.
|
|
3227
|
+
*/
|
|
3228
|
+
denomination: number;
|
|
3229
|
+
/**
|
|
3230
|
+
* Type of asset like SECP256K1 or NFT.
|
|
3231
|
+
*/
|
|
3232
|
+
type: PrimaryNetworkAssetType;
|
|
3233
|
+
/**
|
|
3234
|
+
* Amount of the asset.
|
|
3235
|
+
*/
|
|
3236
|
+
amount: string;
|
|
3237
|
+
/**
|
|
3238
|
+
* 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.
|
|
3239
|
+
*/
|
|
3240
|
+
historicalPrice?: Money;
|
|
3241
|
+
};
|
|
3242
|
+
|
|
3140
3243
|
declare enum RewardType {
|
|
3141
3244
|
VALIDATOR = "VALIDATOR",
|
|
3142
3245
|
DELEGATOR = "DELEGATOR",
|
|
@@ -3156,10 +3259,7 @@ type HistoricalReward = {
|
|
|
3156
3259
|
rewardType: RewardType;
|
|
3157
3260
|
utxoId: string;
|
|
3158
3261
|
outputIndex: number;
|
|
3159
|
-
|
|
3160
|
-
* An object containing P-chain Asset ID and the amount of that Asset ID.
|
|
3161
|
-
*/
|
|
3162
|
-
reward: Asset;
|
|
3262
|
+
reward: AssetWithPriceInfo;
|
|
3163
3263
|
rewardTxHash: string;
|
|
3164
3264
|
};
|
|
3165
3265
|
|
|
@@ -3206,25 +3306,25 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3206
3306
|
* @returns ListPendingRewardsResponse
|
|
3207
3307
|
* @throws ApiError
|
|
3208
3308
|
*/
|
|
3209
|
-
listPendingPrimaryNetworkRewards({ network, addresses,
|
|
3309
|
+
listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
|
|
3210
3310
|
/**
|
|
3211
3311
|
* Either mainnet or a testnet.
|
|
3212
3312
|
*/
|
|
3213
3313
|
network: Network;
|
|
3214
3314
|
/**
|
|
3215
|
-
* 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".
|
|
3315
|
+
* 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.
|
|
3216
3316
|
*/
|
|
3217
3317
|
addresses?: string;
|
|
3218
|
-
/**
|
|
3219
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3220
|
-
*/
|
|
3221
|
-
pageSize?: number;
|
|
3222
3318
|
/**
|
|
3223
3319
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3224
3320
|
*/
|
|
3225
3321
|
pageToken?: string;
|
|
3226
3322
|
/**
|
|
3227
|
-
*
|
|
3323
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3324
|
+
*/
|
|
3325
|
+
pageSize?: number;
|
|
3326
|
+
/**
|
|
3327
|
+
* A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
|
|
3228
3328
|
*/
|
|
3229
3329
|
nodeIds?: string;
|
|
3230
3330
|
/**
|
|
@@ -3238,31 +3338,35 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3238
3338
|
* @returns ListHistoricalRewardsResponse
|
|
3239
3339
|
* @throws ApiError
|
|
3240
3340
|
*/
|
|
3241
|
-
listHistoricalPrimaryNetworkRewards({ network, addresses,
|
|
3341
|
+
listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
|
|
3242
3342
|
/**
|
|
3243
3343
|
* Either mainnet or a testnet.
|
|
3244
3344
|
*/
|
|
3245
3345
|
network: Network;
|
|
3246
3346
|
/**
|
|
3247
|
-
* 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".
|
|
3347
|
+
* 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.
|
|
3248
3348
|
*/
|
|
3249
3349
|
addresses?: string;
|
|
3250
|
-
/**
|
|
3251
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3252
|
-
*/
|
|
3253
|
-
pageSize?: number;
|
|
3254
3350
|
/**
|
|
3255
3351
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3256
3352
|
*/
|
|
3257
3353
|
pageToken?: string;
|
|
3258
3354
|
/**
|
|
3259
|
-
*
|
|
3355
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3356
|
+
*/
|
|
3357
|
+
pageSize?: number;
|
|
3358
|
+
/**
|
|
3359
|
+
* A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
|
|
3260
3360
|
*/
|
|
3261
3361
|
nodeIds?: string;
|
|
3262
3362
|
/**
|
|
3263
3363
|
* 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.
|
|
3264
3364
|
*/
|
|
3265
3365
|
sortOrder?: SortOrder;
|
|
3366
|
+
/**
|
|
3367
|
+
* The currency that return values should use. Defaults to USD.
|
|
3368
|
+
*/
|
|
3369
|
+
currency?: CurrencyCode;
|
|
3266
3370
|
}): CancelablePromise<ListHistoricalRewardsResponse>;
|
|
3267
3371
|
}
|
|
3268
3372
|
|
|
@@ -3496,6 +3600,8 @@ declare enum PChainTransactionType {
|
|
|
3496
3600
|
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3497
3601
|
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3498
3602
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3603
|
+
BASE_TX = "BaseTx",
|
|
3604
|
+
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3499
3605
|
UNKNOWN = "UNKNOWN"
|
|
3500
3606
|
}
|
|
3501
3607
|
|
|
@@ -3615,6 +3721,10 @@ type PChainTransaction = {
|
|
|
3615
3721
|
* Present for RewardValidatorTx
|
|
3616
3722
|
*/
|
|
3617
3723
|
stakingTxHash?: string;
|
|
3724
|
+
/**
|
|
3725
|
+
* Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
|
|
3726
|
+
*/
|
|
3727
|
+
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
3618
3728
|
};
|
|
3619
3729
|
|
|
3620
3730
|
type ListPChainTransactionsResponse = {
|
|
@@ -3798,8 +3908,9 @@ declare enum PrimaryNetworkTxType {
|
|
|
3798
3908
|
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3799
3909
|
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3800
3910
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3801
|
-
UNKNOWN = "UNKNOWN",
|
|
3802
3911
|
BASE_TX = "BaseTx",
|
|
3912
|
+
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3913
|
+
UNKNOWN = "UNKNOWN",
|
|
3803
3914
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
3804
3915
|
OPERATION_TX = "OperationTx"
|
|
3805
3916
|
}
|
|
@@ -3831,13 +3942,13 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3831
3942
|
* List latest transactions
|
|
3832
3943
|
* Lists the latest transactions on one of the Primary Network chains.
|
|
3833
3944
|
*
|
|
3834
|
-
* Transactions are filterable by addresses.
|
|
3945
|
+
* 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.
|
|
3835
3946
|
*
|
|
3836
3947
|
* 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.
|
|
3837
3948
|
* @returns any
|
|
3838
3949
|
* @throws ApiError
|
|
3839
3950
|
*/
|
|
3840
|
-
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp,
|
|
3951
|
+
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
3841
3952
|
/**
|
|
3842
3953
|
* A primary network blockchain id or alias.
|
|
3843
3954
|
*/
|
|
@@ -3862,14 +3973,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3862
3973
|
* Query param for retrieving items before a specific timestamp.
|
|
3863
3974
|
*/
|
|
3864
3975
|
endTimestamp?: number;
|
|
3865
|
-
/**
|
|
3866
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3867
|
-
*/
|
|
3868
|
-
pageSize?: number;
|
|
3869
3976
|
/**
|
|
3870
3977
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3871
3978
|
*/
|
|
3872
3979
|
pageToken?: string;
|
|
3980
|
+
/**
|
|
3981
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3982
|
+
*/
|
|
3983
|
+
pageSize?: number;
|
|
3873
3984
|
/**
|
|
3874
3985
|
* 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.
|
|
3875
3986
|
*/
|
|
@@ -3881,7 +3992,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3881
3992
|
* @returns ListPChainTransactionsResponse
|
|
3882
3993
|
* @throws ApiError
|
|
3883
3994
|
*/
|
|
3884
|
-
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp,
|
|
3995
|
+
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
3885
3996
|
/**
|
|
3886
3997
|
* A primary network blockchain id or alias.
|
|
3887
3998
|
*/
|
|
@@ -3906,14 +4017,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3906
4017
|
* Query param for retrieving items before a specific timestamp.
|
|
3907
4018
|
*/
|
|
3908
4019
|
endTimestamp?: number;
|
|
3909
|
-
/**
|
|
3910
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3911
|
-
*/
|
|
3912
|
-
pageSize?: number;
|
|
3913
4020
|
/**
|
|
3914
4021
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3915
4022
|
*/
|
|
3916
4023
|
pageToken?: string;
|
|
4024
|
+
/**
|
|
4025
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4026
|
+
*/
|
|
4027
|
+
pageSize?: number;
|
|
3917
4028
|
/**
|
|
3918
4029
|
* 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.
|
|
3919
4030
|
*/
|
|
@@ -3925,7 +4036,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3925
4036
|
* @returns ListXChainTransactionsResponse
|
|
3926
4037
|
* @throws ApiError
|
|
3927
4038
|
*/
|
|
3928
|
-
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp,
|
|
4039
|
+
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3929
4040
|
/**
|
|
3930
4041
|
* A primary network blockchain id or alias.
|
|
3931
4042
|
*/
|
|
@@ -3950,14 +4061,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3950
4061
|
* Query param for retrieving items before a specific timestamp.
|
|
3951
4062
|
*/
|
|
3952
4063
|
endTimestamp?: number;
|
|
3953
|
-
/**
|
|
3954
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3955
|
-
*/
|
|
3956
|
-
pageSize?: number;
|
|
3957
4064
|
/**
|
|
3958
4065
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3959
4066
|
*/
|
|
3960
4067
|
pageToken?: string;
|
|
4068
|
+
/**
|
|
4069
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4070
|
+
*/
|
|
4071
|
+
pageSize?: number;
|
|
3961
4072
|
}): CancelablePromise<ListXChainTransactionsResponse>;
|
|
3962
4073
|
}
|
|
3963
4074
|
|
|
@@ -3988,7 +4099,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
3988
4099
|
* @returns any
|
|
3989
4100
|
* @throws ApiError
|
|
3990
4101
|
*/
|
|
3991
|
-
getUtxosByAddresses({ blockchainId, network, addresses,
|
|
4102
|
+
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
3992
4103
|
/**
|
|
3993
4104
|
* A primary network blockchain id or alias.
|
|
3994
4105
|
*/
|
|
@@ -4001,14 +4112,14 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
4001
4112
|
* 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".
|
|
4002
4113
|
*/
|
|
4003
4114
|
addresses?: string;
|
|
4004
|
-
/**
|
|
4005
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4006
|
-
*/
|
|
4007
|
-
pageSize?: number;
|
|
4008
4115
|
/**
|
|
4009
4116
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4010
4117
|
*/
|
|
4011
4118
|
pageToken?: string;
|
|
4119
|
+
/**
|
|
4120
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4121
|
+
*/
|
|
4122
|
+
pageSize?: number;
|
|
4012
4123
|
/**
|
|
4013
4124
|
* Asset ID for any asset (only applicable X-Chain)
|
|
4014
4125
|
*/
|
|
@@ -4053,7 +4164,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4053
4164
|
* @returns ListXChainVerticesResponse
|
|
4054
4165
|
* @throws ApiError
|
|
4055
4166
|
*/
|
|
4056
|
-
listLatestXChainVertices({ blockchainId, network,
|
|
4167
|
+
listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
|
|
4057
4168
|
/**
|
|
4058
4169
|
* A primary network blockchain id or alias.
|
|
4059
4170
|
*/
|
|
@@ -4062,14 +4173,14 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4062
4173
|
* Either mainnet or a testnet.
|
|
4063
4174
|
*/
|
|
4064
4175
|
network: Network;
|
|
4065
|
-
/**
|
|
4066
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4067
|
-
*/
|
|
4068
|
-
pageSize?: number;
|
|
4069
4176
|
/**
|
|
4070
4177
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4071
4178
|
*/
|
|
4072
4179
|
pageToken?: string;
|
|
4180
|
+
/**
|
|
4181
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4182
|
+
*/
|
|
4183
|
+
pageSize?: number;
|
|
4073
4184
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4074
4185
|
/**
|
|
4075
4186
|
* Get vertex
|
|
@@ -4097,7 +4208,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4097
4208
|
* @returns ListXChainVerticesResponse
|
|
4098
4209
|
* @throws ApiError
|
|
4099
4210
|
*/
|
|
4100
|
-
getVertexByHeight({ vertexHeight, blockchainId, network,
|
|
4211
|
+
getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
|
|
4101
4212
|
/**
|
|
4102
4213
|
* The height of a vertex.
|
|
4103
4214
|
*/
|
|
@@ -4110,14 +4221,14 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4110
4221
|
* Either mainnet or a testnet.
|
|
4111
4222
|
*/
|
|
4112
4223
|
network: Network;
|
|
4113
|
-
/**
|
|
4114
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4115
|
-
*/
|
|
4116
|
-
pageSize?: number;
|
|
4117
4224
|
/**
|
|
4118
4225
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4119
4226
|
*/
|
|
4120
4227
|
pageToken?: string;
|
|
4228
|
+
/**
|
|
4229
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4230
|
+
*/
|
|
4231
|
+
pageSize?: number;
|
|
4121
4232
|
/**
|
|
4122
4233
|
* 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.
|
|
4123
4234
|
*/
|
|
@@ -4164,4 +4275,4 @@ declare class ApiError extends Error {
|
|
|
4164
4275
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
4165
4276
|
}
|
|
4166
4277
|
|
|
4167
|
-
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError, Asset, 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, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, 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 };
|
|
4278
|
+
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, SubnetOwnershipInfo, 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 };
|