@avalabs/glacier-sdk 2.8.0-canary.cfb38f5.0 → 2.8.0-canary.d5ec74d.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 +411 -307
- package/dist/index.js +136 -110
- 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/PChainBalance.d.ts +7 -7
- package/esm/generated/models/PChainSharedAsset.d.ts +24 -0
- package/esm/generated/models/PChainTransaction.d.ts +4 -4
- package/esm/generated/models/PChainTransactionType.d.ts +6 -5
- package/esm/generated/models/PChainTransactionType.js +6 -5
- package/esm/generated/models/PChainUtxo.d.ts +34 -14
- package/esm/generated/models/PendingReward.d.ts +2 -2
- 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 +6 -5
- package/esm/generated/models/PrimaryNetworkTxType.js +6 -5
- package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
- package/esm/generated/models/RemovedValidatorDetails.js +8 -0
- package/esm/generated/models/Utxo.d.ts +28 -28
- package/esm/generated/models/UtxoCredential.d.ts +2 -2
- 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 +5 -5
- package/esm/generated/services/DefaultService.js +2 -2
- 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 +41 -41
- package/esm/generated/services/PrimaryNetworkService.js +20 -20
- 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 +4 -1
- package/esm/index.js +3 -0
- package/package.json +2 -2
- package/esm/generated/models/PChainAsset.d.ts +0 -6
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
|
*/
|
|
@@ -447,7 +452,7 @@ declare class EvmBalancesService {
|
|
|
447
452
|
*/
|
|
448
453
|
getNativeBalance({ chainId, address, blockNumber, currency, }: {
|
|
449
454
|
/**
|
|
450
|
-
* 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.
|
|
451
456
|
*/
|
|
452
457
|
chainId: string;
|
|
453
458
|
/**
|
|
@@ -473,9 +478,9 @@ declare class EvmBalancesService {
|
|
|
473
478
|
* @returns ListErc20BalancesResponse
|
|
474
479
|
* @throws ApiError
|
|
475
480
|
*/
|
|
476
|
-
listErc20Balances({ chainId, address, blockNumber,
|
|
481
|
+
listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
|
|
477
482
|
/**
|
|
478
|
-
* 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.
|
|
479
484
|
*/
|
|
480
485
|
chainId: string;
|
|
481
486
|
/**
|
|
@@ -486,14 +491,14 @@ declare class EvmBalancesService {
|
|
|
486
491
|
* The block number, if not defined the block number will be the latest block.
|
|
487
492
|
*/
|
|
488
493
|
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
494
|
/**
|
|
494
495
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
495
496
|
*/
|
|
496
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;
|
|
497
502
|
/**
|
|
498
503
|
* A comma separated list of contract addresses to filter by.
|
|
499
504
|
*/
|
|
@@ -511,23 +516,23 @@ declare class EvmBalancesService {
|
|
|
511
516
|
* @returns ListErc721BalancesResponse
|
|
512
517
|
* @throws ApiError
|
|
513
518
|
*/
|
|
514
|
-
listErc721Balances({ chainId, address,
|
|
519
|
+
listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
515
520
|
/**
|
|
516
|
-
* 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.
|
|
517
522
|
*/
|
|
518
523
|
chainId: string;
|
|
519
524
|
/**
|
|
520
525
|
* A wallet address.
|
|
521
526
|
*/
|
|
522
527
|
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
528
|
/**
|
|
528
529
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
529
530
|
*/
|
|
530
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;
|
|
531
536
|
/**
|
|
532
537
|
* A contract addresses to filter by.
|
|
533
538
|
*/
|
|
@@ -543,9 +548,9 @@ declare class EvmBalancesService {
|
|
|
543
548
|
* @returns ListErc1155BalancesResponse
|
|
544
549
|
* @throws ApiError
|
|
545
550
|
*/
|
|
546
|
-
listErc1155Balances({ chainId, address, blockNumber,
|
|
551
|
+
listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
|
|
547
552
|
/**
|
|
548
|
-
* 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.
|
|
549
554
|
*/
|
|
550
555
|
chainId: string;
|
|
551
556
|
/**
|
|
@@ -556,14 +561,14 @@ declare class EvmBalancesService {
|
|
|
556
561
|
* The block number, if not defined the block number will be the latest block.
|
|
557
562
|
*/
|
|
558
563
|
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
564
|
/**
|
|
564
565
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
565
566
|
*/
|
|
566
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;
|
|
567
572
|
/**
|
|
568
573
|
* A contract addresses to filter by.
|
|
569
574
|
*/
|
|
@@ -577,23 +582,23 @@ declare class EvmBalancesService {
|
|
|
577
582
|
* @returns ListCollectibleBalancesResponse
|
|
578
583
|
* @throws ApiError
|
|
579
584
|
*/
|
|
580
|
-
listCollectibleBalances({ chainId, address,
|
|
585
|
+
listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
581
586
|
/**
|
|
582
|
-
* 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.
|
|
583
588
|
*/
|
|
584
589
|
chainId: string;
|
|
585
590
|
/**
|
|
586
591
|
* A wallet address.
|
|
587
592
|
*/
|
|
588
593
|
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
594
|
/**
|
|
594
595
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
595
596
|
*/
|
|
596
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;
|
|
597
602
|
/**
|
|
598
603
|
* A contract addresses to filter by.
|
|
599
604
|
*/
|
|
@@ -706,19 +711,19 @@ declare class EvmBlocksService {
|
|
|
706
711
|
* @returns ListEvmBlocksResponse
|
|
707
712
|
* @throws ApiError
|
|
708
713
|
*/
|
|
709
|
-
getLatestBlocks({ chainId,
|
|
714
|
+
getLatestBlocks({ chainId, pageToken, pageSize, }: {
|
|
710
715
|
/**
|
|
711
|
-
* 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.
|
|
712
717
|
*/
|
|
713
718
|
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
719
|
/**
|
|
719
720
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
720
721
|
*/
|
|
721
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;
|
|
722
727
|
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
723
728
|
/**
|
|
724
729
|
* Get block
|
|
@@ -728,7 +733,7 @@ declare class EvmBlocksService {
|
|
|
728
733
|
*/
|
|
729
734
|
getBlock({ chainId, blockId, }: {
|
|
730
735
|
/**
|
|
731
|
-
* 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.
|
|
732
737
|
*/
|
|
733
738
|
chainId: string;
|
|
734
739
|
/**
|
|
@@ -849,7 +854,7 @@ declare class EvmChainsService {
|
|
|
849
854
|
*/
|
|
850
855
|
getChainInfo({ chainId, }: {
|
|
851
856
|
/**
|
|
852
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
857
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
853
858
|
*/
|
|
854
859
|
chainId: string;
|
|
855
860
|
}): CancelablePromise<GetChainResponse>;
|
|
@@ -1144,7 +1149,7 @@ declare class EvmContractsService {
|
|
|
1144
1149
|
*/
|
|
1145
1150
|
getContractMetadata({ chainId, address, }: {
|
|
1146
1151
|
/**
|
|
1147
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1152
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1148
1153
|
*/
|
|
1149
1154
|
chainId: string;
|
|
1150
1155
|
/**
|
|
@@ -1160,7 +1165,7 @@ declare class EvmContractsService {
|
|
|
1160
1165
|
*/
|
|
1161
1166
|
updateContractInfo({ chainId, address, requestBody, }: {
|
|
1162
1167
|
/**
|
|
1163
|
-
* 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.
|
|
1164
1169
|
*/
|
|
1165
1170
|
chainId: string;
|
|
1166
1171
|
/**
|
|
@@ -1688,7 +1693,7 @@ declare class EvmTransactionsService {
|
|
|
1688
1693
|
*/
|
|
1689
1694
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
1690
1695
|
/**
|
|
1691
|
-
* 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.
|
|
1692
1697
|
*/
|
|
1693
1698
|
chainId: string;
|
|
1694
1699
|
/**
|
|
@@ -1706,23 +1711,23 @@ declare class EvmTransactionsService {
|
|
|
1706
1711
|
* @returns ListContractsResponse
|
|
1707
1712
|
* @throws ApiError
|
|
1708
1713
|
*/
|
|
1709
|
-
listContractDeployments({ chainId, address,
|
|
1714
|
+
listContractDeployments({ chainId, address, pageToken, pageSize, }: {
|
|
1710
1715
|
/**
|
|
1711
|
-
* 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.
|
|
1712
1717
|
*/
|
|
1713
1718
|
chainId: string;
|
|
1714
1719
|
/**
|
|
1715
1720
|
* A wallet address.
|
|
1716
1721
|
*/
|
|
1717
1722
|
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
1723
|
/**
|
|
1723
1724
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1724
1725
|
*/
|
|
1725
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;
|
|
1726
1731
|
}): CancelablePromise<ListContractsResponse>;
|
|
1727
1732
|
/**
|
|
1728
1733
|
* List ERC transfers
|
|
@@ -1730,9 +1735,9 @@ declare class EvmTransactionsService {
|
|
|
1730
1735
|
* @returns ListTransfersResponse
|
|
1731
1736
|
* @throws ApiError
|
|
1732
1737
|
*/
|
|
1733
|
-
listTransfers({ chainId, address, startBlock, endBlock,
|
|
1738
|
+
listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1734
1739
|
/**
|
|
1735
|
-
* 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.
|
|
1736
1741
|
*/
|
|
1737
1742
|
chainId: string;
|
|
1738
1743
|
/**
|
|
@@ -1747,14 +1752,14 @@ declare class EvmTransactionsService {
|
|
|
1747
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.
|
|
1748
1753
|
*/
|
|
1749
1754
|
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
1755
|
/**
|
|
1755
1756
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1756
1757
|
*/
|
|
1757
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;
|
|
1758
1763
|
}): CancelablePromise<ListTransfersResponse>;
|
|
1759
1764
|
/**
|
|
1760
1765
|
* List transactions
|
|
@@ -1764,23 +1769,23 @@ declare class EvmTransactionsService {
|
|
|
1764
1769
|
* @returns ListTransactionDetailsResponse
|
|
1765
1770
|
* @throws ApiError
|
|
1766
1771
|
*/
|
|
1767
|
-
listTransactions({ chainId, address,
|
|
1772
|
+
listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
|
|
1768
1773
|
/**
|
|
1769
|
-
* 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.
|
|
1770
1775
|
*/
|
|
1771
1776
|
chainId: string;
|
|
1772
1777
|
/**
|
|
1773
1778
|
* A wallet address.
|
|
1774
1779
|
*/
|
|
1775
1780
|
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
1781
|
/**
|
|
1781
1782
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1782
1783
|
*/
|
|
1783
1784
|
pageToken?: string;
|
|
1785
|
+
/**
|
|
1786
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1787
|
+
*/
|
|
1788
|
+
pageSize?: number;
|
|
1784
1789
|
/**
|
|
1785
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.
|
|
1786
1791
|
*/
|
|
@@ -1800,9 +1805,9 @@ declare class EvmTransactionsService {
|
|
|
1800
1805
|
* @returns ListNativeTransactionsResponse
|
|
1801
1806
|
* @throws ApiError
|
|
1802
1807
|
*/
|
|
1803
|
-
listNativeTransactions({ chainId, address, startBlock, endBlock,
|
|
1808
|
+
listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1804
1809
|
/**
|
|
1805
|
-
* 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.
|
|
1806
1811
|
*/
|
|
1807
1812
|
chainId: string;
|
|
1808
1813
|
/**
|
|
@@ -1817,14 +1822,14 @@ declare class EvmTransactionsService {
|
|
|
1817
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.
|
|
1818
1823
|
*/
|
|
1819
1824
|
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
1825
|
/**
|
|
1825
1826
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1826
1827
|
*/
|
|
1827
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;
|
|
1828
1833
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
1829
1834
|
/**
|
|
1830
1835
|
* List ERC-20 transfers
|
|
@@ -1832,9 +1837,9 @@ declare class EvmTransactionsService {
|
|
|
1832
1837
|
* @returns ListErc20TransactionsResponse
|
|
1833
1838
|
* @throws ApiError
|
|
1834
1839
|
*/
|
|
1835
|
-
listErc20Transactions({ chainId, address, startBlock, endBlock,
|
|
1840
|
+
listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1836
1841
|
/**
|
|
1837
|
-
* 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.
|
|
1838
1843
|
*/
|
|
1839
1844
|
chainId: string;
|
|
1840
1845
|
/**
|
|
@@ -1849,14 +1854,14 @@ declare class EvmTransactionsService {
|
|
|
1849
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.
|
|
1850
1855
|
*/
|
|
1851
1856
|
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
1857
|
/**
|
|
1857
1858
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1858
1859
|
*/
|
|
1859
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;
|
|
1860
1865
|
}): CancelablePromise<ListErc20TransactionsResponse>;
|
|
1861
1866
|
/**
|
|
1862
1867
|
* List ERC-721 transfers
|
|
@@ -1864,9 +1869,9 @@ declare class EvmTransactionsService {
|
|
|
1864
1869
|
* @returns ListErc721TransactionsResponse
|
|
1865
1870
|
* @throws ApiError
|
|
1866
1871
|
*/
|
|
1867
|
-
listErc721Transactions({ chainId, address, startBlock, endBlock,
|
|
1872
|
+
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1868
1873
|
/**
|
|
1869
|
-
* 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.
|
|
1870
1875
|
*/
|
|
1871
1876
|
chainId: string;
|
|
1872
1877
|
/**
|
|
@@ -1881,14 +1886,14 @@ declare class EvmTransactionsService {
|
|
|
1881
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.
|
|
1882
1887
|
*/
|
|
1883
1888
|
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
1889
|
/**
|
|
1889
1890
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1890
1891
|
*/
|
|
1891
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;
|
|
1892
1897
|
}): CancelablePromise<ListErc721TransactionsResponse>;
|
|
1893
1898
|
/**
|
|
1894
1899
|
* List ERC-1155 transfers
|
|
@@ -1896,9 +1901,9 @@ declare class EvmTransactionsService {
|
|
|
1896
1901
|
* @returns ListErc1155TransactionsResponse
|
|
1897
1902
|
* @throws ApiError
|
|
1898
1903
|
*/
|
|
1899
|
-
listErc1155Transactions({ chainId, address, startBlock, endBlock,
|
|
1904
|
+
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1900
1905
|
/**
|
|
1901
|
-
* 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.
|
|
1902
1907
|
*/
|
|
1903
1908
|
chainId: string;
|
|
1904
1909
|
/**
|
|
@@ -1913,14 +1918,14 @@ declare class EvmTransactionsService {
|
|
|
1913
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.
|
|
1914
1919
|
*/
|
|
1915
1920
|
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
1921
|
/**
|
|
1921
1922
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1922
1923
|
*/
|
|
1923
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;
|
|
1924
1929
|
}): CancelablePromise<ListErc1155TransactionsResponse>;
|
|
1925
1930
|
/**
|
|
1926
1931
|
* List internal transactions
|
|
@@ -1930,9 +1935,9 @@ declare class EvmTransactionsService {
|
|
|
1930
1935
|
* @returns ListInternalTransactionsResponse
|
|
1931
1936
|
* @throws ApiError
|
|
1932
1937
|
*/
|
|
1933
|
-
listInternalTransactions({ chainId, address, startBlock, endBlock,
|
|
1938
|
+
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1934
1939
|
/**
|
|
1935
|
-
* 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.
|
|
1936
1941
|
*/
|
|
1937
1942
|
chainId: string;
|
|
1938
1943
|
/**
|
|
@@ -1947,14 +1952,14 @@ declare class EvmTransactionsService {
|
|
|
1947
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.
|
|
1948
1953
|
*/
|
|
1949
1954
|
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
1955
|
/**
|
|
1955
1956
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1956
1957
|
*/
|
|
1957
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;
|
|
1958
1963
|
}): CancelablePromise<ListInternalTransactionsResponse>;
|
|
1959
1964
|
/**
|
|
1960
1965
|
* Get transaction
|
|
@@ -1964,7 +1969,7 @@ declare class EvmTransactionsService {
|
|
|
1964
1969
|
*/
|
|
1965
1970
|
getTransaction({ chainId, txHash, }: {
|
|
1966
1971
|
/**
|
|
1967
|
-
* 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.
|
|
1968
1973
|
*/
|
|
1969
1974
|
chainId: string;
|
|
1970
1975
|
/**
|
|
@@ -1980,7 +1985,7 @@ declare class EvmTransactionsService {
|
|
|
1980
1985
|
*/
|
|
1981
1986
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
1982
1987
|
/**
|
|
1983
|
-
* 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.
|
|
1984
1989
|
*/
|
|
1985
1990
|
chainId: string;
|
|
1986
1991
|
/**
|
|
@@ -1994,19 +1999,19 @@ declare class EvmTransactionsService {
|
|
|
1994
1999
|
* @returns ListNativeTransactionsResponse
|
|
1995
2000
|
* @throws ApiError
|
|
1996
2001
|
*/
|
|
1997
|
-
listLatestTransactions({ chainId,
|
|
2002
|
+
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
1998
2003
|
/**
|
|
1999
|
-
* 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.
|
|
2000
2005
|
*/
|
|
2001
2006
|
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
2007
|
/**
|
|
2007
2008
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2008
2009
|
*/
|
|
2009
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;
|
|
2010
2015
|
/**
|
|
2011
2016
|
* A status filter for listed transactions.
|
|
2012
2017
|
*/
|
|
@@ -2049,7 +2054,7 @@ declare class NfTsService {
|
|
|
2049
2054
|
*/
|
|
2050
2055
|
reindexNft({ chainId, address, tokenId, }: {
|
|
2051
2056
|
/**
|
|
2052
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2057
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2053
2058
|
*/
|
|
2054
2059
|
chainId: string;
|
|
2055
2060
|
/**
|
|
@@ -2067,23 +2072,23 @@ declare class NfTsService {
|
|
|
2067
2072
|
* @returns ListNftTokens
|
|
2068
2073
|
* @throws ApiError
|
|
2069
2074
|
*/
|
|
2070
|
-
listTokens({ chainId, address,
|
|
2075
|
+
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
2071
2076
|
/**
|
|
2072
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2077
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2073
2078
|
*/
|
|
2074
2079
|
chainId: string;
|
|
2075
2080
|
/**
|
|
2076
2081
|
* Contract address on the relevant chain.
|
|
2077
2082
|
*/
|
|
2078
2083
|
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
2084
|
/**
|
|
2084
2085
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2085
2086
|
*/
|
|
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;
|
|
2087
2092
|
}): CancelablePromise<ListNftTokens>;
|
|
2088
2093
|
/**
|
|
2089
2094
|
* Get token details
|
|
@@ -2093,7 +2098,7 @@ declare class NfTsService {
|
|
|
2093
2098
|
*/
|
|
2094
2099
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
2095
2100
|
/**
|
|
2096
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2101
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2097
2102
|
*/
|
|
2098
2103
|
chainId: string;
|
|
2099
2104
|
/**
|
|
@@ -2461,6 +2466,24 @@ declare namespace PendingValidatorDetails {
|
|
|
2461
2466
|
}
|
|
2462
2467
|
}
|
|
2463
2468
|
|
|
2469
|
+
type RemovedValidatorDetails = {
|
|
2470
|
+
txHash: string;
|
|
2471
|
+
nodeId: string;
|
|
2472
|
+
subnetId: string;
|
|
2473
|
+
amountStaked: string;
|
|
2474
|
+
delegationFee?: string;
|
|
2475
|
+
startTimestamp: number;
|
|
2476
|
+
endTimestamp: number;
|
|
2477
|
+
removeTxHash: string;
|
|
2478
|
+
removeTimestamp: number;
|
|
2479
|
+
validationStatus: RemovedValidatorDetails.validationStatus;
|
|
2480
|
+
};
|
|
2481
|
+
declare namespace RemovedValidatorDetails {
|
|
2482
|
+
enum validationStatus {
|
|
2483
|
+
REMOVED = "removed"
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2464
2487
|
type ListValidatorDetailsResponse = {
|
|
2465
2488
|
/**
|
|
2466
2489
|
* 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 +2492,7 @@ type ListValidatorDetailsResponse = {
|
|
|
2469
2492
|
/**
|
|
2470
2493
|
* The list of validator Details.
|
|
2471
2494
|
*/
|
|
2472
|
-
validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
|
|
2495
|
+
validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
|
|
2473
2496
|
};
|
|
2474
2497
|
|
|
2475
2498
|
declare enum Network {
|
|
@@ -2480,7 +2503,18 @@ declare enum Network {
|
|
|
2480
2503
|
declare enum ValidationStatusType {
|
|
2481
2504
|
COMPLETED = "completed",
|
|
2482
2505
|
ACTIVE = "active",
|
|
2483
|
-
PENDING = "pending"
|
|
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"
|
|
2484
2518
|
}
|
|
2485
2519
|
|
|
2486
2520
|
type XChainAssetDetails = {
|
|
@@ -2503,15 +2537,15 @@ type XChainAssetDetails = {
|
|
|
2503
2537
|
/**
|
|
2504
2538
|
* Type of asset like SECP256K1 or NFT.
|
|
2505
2539
|
*/
|
|
2506
|
-
type:
|
|
2540
|
+
type: PrimaryNetworkAssetType;
|
|
2507
2541
|
/**
|
|
2508
2542
|
* Timestamp in seconds this asset was created on.
|
|
2509
2543
|
*/
|
|
2510
2544
|
createdAtTimestamp: number;
|
|
2511
2545
|
/**
|
|
2512
|
-
* Cap represents if an asset
|
|
2546
|
+
* Cap represents if an asset is a variable or fixed cap asset.
|
|
2513
2547
|
*/
|
|
2514
|
-
cap:
|
|
2548
|
+
cap: PrimaryNetworkAssetCap;
|
|
2515
2549
|
};
|
|
2516
2550
|
|
|
2517
2551
|
declare enum XChainId {
|
|
@@ -2577,19 +2611,19 @@ declare class PrimaryNetworkService {
|
|
|
2577
2611
|
* @returns ListBlockchainsResponse
|
|
2578
2612
|
* @throws ApiError
|
|
2579
2613
|
*/
|
|
2580
|
-
listBlockchains({ network,
|
|
2614
|
+
listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
|
|
2581
2615
|
/**
|
|
2582
2616
|
* Either mainnet or a testnet.
|
|
2583
2617
|
*/
|
|
2584
2618
|
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
2619
|
/**
|
|
2590
2620
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2591
2621
|
*/
|
|
2592
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;
|
|
2593
2627
|
/**
|
|
2594
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.
|
|
2595
2629
|
*/
|
|
@@ -2601,19 +2635,19 @@ declare class PrimaryNetworkService {
|
|
|
2601
2635
|
* @returns ListSubnetsResponse
|
|
2602
2636
|
* @throws ApiError
|
|
2603
2637
|
*/
|
|
2604
|
-
listSubnets({ network,
|
|
2638
|
+
listSubnets({ network, pageToken, pageSize, sortOrder, }: {
|
|
2605
2639
|
/**
|
|
2606
2640
|
* Either mainnet or a testnet.
|
|
2607
2641
|
*/
|
|
2608
2642
|
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
2643
|
/**
|
|
2614
2644
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2615
2645
|
*/
|
|
2616
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;
|
|
2617
2651
|
/**
|
|
2618
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.
|
|
2619
2653
|
*/
|
|
@@ -2625,55 +2659,55 @@ declare class PrimaryNetworkService {
|
|
|
2625
2659
|
* @returns ListValidatorDetailsResponse
|
|
2626
2660
|
* @throws ApiError
|
|
2627
2661
|
*/
|
|
2628
|
-
listValidators({ network, pageSize,
|
|
2662
|
+
listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
|
|
2629
2663
|
/**
|
|
2630
2664
|
* Either mainnet or a testnet.
|
|
2631
2665
|
*/
|
|
2632
2666
|
network: Network;
|
|
2667
|
+
/**
|
|
2668
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2669
|
+
*/
|
|
2670
|
+
pageToken?: string;
|
|
2633
2671
|
/**
|
|
2634
2672
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2635
2673
|
*/
|
|
2636
2674
|
pageSize?: number;
|
|
2637
2675
|
/**
|
|
2638
|
-
* A
|
|
2676
|
+
* A comma separated list of node ids to filter by.
|
|
2639
2677
|
*/
|
|
2640
|
-
|
|
2678
|
+
nodeIds?: string;
|
|
2641
2679
|
/**
|
|
2642
|
-
* The
|
|
2680
|
+
* 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.
|
|
2643
2681
|
*/
|
|
2644
|
-
|
|
2682
|
+
sortOrder?: SortOrder;
|
|
2645
2683
|
/**
|
|
2646
|
-
*
|
|
2684
|
+
* Validation status of the node.
|
|
2647
2685
|
*/
|
|
2648
|
-
|
|
2686
|
+
validationStatus?: ValidationStatusType;
|
|
2649
2687
|
/**
|
|
2650
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
|
|
2651
2689
|
*/
|
|
2652
|
-
minDelegationCapacity?:
|
|
2690
|
+
minDelegationCapacity?: string;
|
|
2653
2691
|
/**
|
|
2654
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.
|
|
2655
2693
|
*/
|
|
2656
|
-
maxDelegationCapacity?:
|
|
2657
|
-
/**
|
|
2658
|
-
* 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.
|
|
2659
|
-
*/
|
|
2660
|
-
minFeePercentage?: any;
|
|
2694
|
+
maxDelegationCapacity?: string;
|
|
2661
2695
|
/**
|
|
2662
|
-
* The
|
|
2696
|
+
* The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
|
|
2663
2697
|
*/
|
|
2664
|
-
|
|
2698
|
+
minTimeRemaining?: number;
|
|
2665
2699
|
/**
|
|
2666
|
-
*
|
|
2700
|
+
* The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
|
|
2667
2701
|
*/
|
|
2668
|
-
|
|
2702
|
+
maxTimeRemaining?: number;
|
|
2669
2703
|
/**
|
|
2670
|
-
* The
|
|
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.
|
|
2671
2705
|
*/
|
|
2672
|
-
|
|
2706
|
+
minFeePercentage?: number;
|
|
2673
2707
|
/**
|
|
2674
|
-
*
|
|
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.
|
|
2675
2709
|
*/
|
|
2676
|
-
|
|
2710
|
+
maxFeePercentage?: number;
|
|
2677
2711
|
/**
|
|
2678
2712
|
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
2679
2713
|
*/
|
|
@@ -2685,7 +2719,7 @@ declare class PrimaryNetworkService {
|
|
|
2685
2719
|
* @returns ListValidatorDetailsResponse
|
|
2686
2720
|
* @throws ApiError
|
|
2687
2721
|
*/
|
|
2688
|
-
getSingleValidatorDetails({ network, nodeId,
|
|
2722
|
+
getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
|
|
2689
2723
|
/**
|
|
2690
2724
|
* Either mainnet or a testnet.
|
|
2691
2725
|
*/
|
|
@@ -2694,14 +2728,14 @@ declare class PrimaryNetworkService {
|
|
|
2694
2728
|
* A primary network (P or X chain) nodeId.
|
|
2695
2729
|
*/
|
|
2696
2730
|
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
2731
|
/**
|
|
2702
2732
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2703
2733
|
*/
|
|
2704
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;
|
|
2705
2739
|
/**
|
|
2706
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.
|
|
2707
2741
|
*/
|
|
@@ -2717,19 +2751,19 @@ declare class PrimaryNetworkService {
|
|
|
2717
2751
|
* @returns ListDelegatorDetailsResponse
|
|
2718
2752
|
* @throws ApiError
|
|
2719
2753
|
*/
|
|
2720
|
-
listDelegators({ network,
|
|
2754
|
+
listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
|
|
2721
2755
|
/**
|
|
2722
2756
|
* Either mainnet or a testnet.
|
|
2723
2757
|
*/
|
|
2724
2758
|
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
2759
|
/**
|
|
2730
2760
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2731
2761
|
*/
|
|
2732
2762
|
pageToken?: string;
|
|
2763
|
+
/**
|
|
2764
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2765
|
+
*/
|
|
2766
|
+
pageSize?: number;
|
|
2733
2767
|
/**
|
|
2734
2768
|
* A comma separated list of reward addresses to filter by.
|
|
2735
2769
|
*/
|
|
@@ -2780,7 +2814,7 @@ type CChainSharedAssetBalance = {
|
|
|
2780
2814
|
/**
|
|
2781
2815
|
* Type of asset like SECP256K1 or NFT.
|
|
2782
2816
|
*/
|
|
2783
|
-
type:
|
|
2817
|
+
type: PrimaryNetworkAssetType;
|
|
2784
2818
|
/**
|
|
2785
2819
|
* Amount of the asset.
|
|
2786
2820
|
*/
|
|
@@ -2815,13 +2849,57 @@ type ListCChainAtomicBalancesResponse = {
|
|
|
2815
2849
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2816
2850
|
};
|
|
2817
2851
|
|
|
2818
|
-
type
|
|
2852
|
+
type Asset = {
|
|
2853
|
+
/**
|
|
2854
|
+
* Unique ID for an asset.
|
|
2855
|
+
*/
|
|
2819
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
|
+
*/
|
|
2820
2876
|
amount: string;
|
|
2821
2877
|
};
|
|
2822
2878
|
|
|
2823
2879
|
type PChainSharedAsset = {
|
|
2880
|
+
/**
|
|
2881
|
+
* Unique ID for an asset.
|
|
2882
|
+
*/
|
|
2824
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
|
+
*/
|
|
2825
2903
|
amount: string;
|
|
2826
2904
|
sharedWithChainId: string;
|
|
2827
2905
|
status: string;
|
|
@@ -2831,27 +2909,27 @@ type PChainBalance = {
|
|
|
2831
2909
|
/**
|
|
2832
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.
|
|
2833
2911
|
*/
|
|
2834
|
-
unlockedUnstaked: Array<
|
|
2912
|
+
unlockedUnstaked: Array<Asset>;
|
|
2835
2913
|
/**
|
|
2836
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.
|
|
2837
2915
|
*/
|
|
2838
|
-
unlockedStaked: Array<
|
|
2916
|
+
unlockedStaked: Array<Asset>;
|
|
2839
2917
|
/**
|
|
2840
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.
|
|
2841
2919
|
*/
|
|
2842
|
-
lockedPlatform: Array<
|
|
2920
|
+
lockedPlatform: Array<Asset>;
|
|
2843
2921
|
/**
|
|
2844
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.
|
|
2845
2923
|
*/
|
|
2846
|
-
lockedStakeable: Array<
|
|
2924
|
+
lockedStakeable: Array<Asset>;
|
|
2847
2925
|
/**
|
|
2848
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.
|
|
2849
2927
|
*/
|
|
2850
|
-
lockedStaked: Array<
|
|
2928
|
+
lockedStaked: Array<Asset>;
|
|
2851
2929
|
/**
|
|
2852
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.
|
|
2853
2931
|
*/
|
|
2854
|
-
pendingStaked: Array<
|
|
2932
|
+
pendingStaked: Array<Asset>;
|
|
2855
2933
|
/**
|
|
2856
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.
|
|
2857
2935
|
*/
|
|
@@ -2887,7 +2965,7 @@ type XChainAssetBalance = {
|
|
|
2887
2965
|
/**
|
|
2888
2966
|
* Type of asset like SECP256K1 or NFT.
|
|
2889
2967
|
*/
|
|
2890
|
-
type:
|
|
2968
|
+
type: PrimaryNetworkAssetType;
|
|
2891
2969
|
/**
|
|
2892
2970
|
* Amount of the asset.
|
|
2893
2971
|
*/
|
|
@@ -2915,7 +2993,7 @@ type XChainSharedAssetBalance = {
|
|
|
2915
2993
|
/**
|
|
2916
2994
|
* Type of asset like SECP256K1 or NFT.
|
|
2917
2995
|
*/
|
|
2918
|
-
type:
|
|
2996
|
+
type: PrimaryNetworkAssetType;
|
|
2919
2997
|
/**
|
|
2920
2998
|
* Amount of the asset.
|
|
2921
2999
|
*/
|
|
@@ -3045,7 +3123,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3045
3123
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
3046
3124
|
* @throws ApiError
|
|
3047
3125
|
*/
|
|
3048
|
-
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId,
|
|
3126
|
+
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
3049
3127
|
/**
|
|
3050
3128
|
* A primary network blockchain id or alias.
|
|
3051
3129
|
*/
|
|
@@ -3058,14 +3136,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3058
3136
|
* A primary network (P or X chain) nodeId.
|
|
3059
3137
|
*/
|
|
3060
3138
|
nodeId: string;
|
|
3061
|
-
/**
|
|
3062
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3063
|
-
*/
|
|
3064
|
-
pageSize?: number;
|
|
3065
3139
|
/**
|
|
3066
3140
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3067
3141
|
*/
|
|
3068
3142
|
pageToken?: string;
|
|
3143
|
+
/**
|
|
3144
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3145
|
+
*/
|
|
3146
|
+
pageSize?: number;
|
|
3069
3147
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
3070
3148
|
/**
|
|
3071
3149
|
* List latest blocks
|
|
@@ -3073,7 +3151,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3073
3151
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
3074
3152
|
* @throws ApiError
|
|
3075
3153
|
*/
|
|
3076
|
-
listLatestPrimaryNetworkBlocks({ blockchainId, network,
|
|
3154
|
+
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
3077
3155
|
/**
|
|
3078
3156
|
* A primary network blockchain id or alias.
|
|
3079
3157
|
*/
|
|
@@ -3082,17 +3160,48 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3082
3160
|
* Either mainnet or a testnet.
|
|
3083
3161
|
*/
|
|
3084
3162
|
network: Network;
|
|
3085
|
-
/**
|
|
3086
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3087
|
-
*/
|
|
3088
|
-
pageSize?: number;
|
|
3089
3163
|
/**
|
|
3090
3164
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3091
3165
|
*/
|
|
3092
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;
|
|
3093
3171
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
3094
3172
|
}
|
|
3095
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
|
+
|
|
3096
3205
|
declare enum RewardType {
|
|
3097
3206
|
VALIDATOR = "VALIDATOR",
|
|
3098
3207
|
DELEGATOR = "DELEGATOR",
|
|
@@ -3112,10 +3221,7 @@ type HistoricalReward = {
|
|
|
3112
3221
|
rewardType: RewardType;
|
|
3113
3222
|
utxoId: string;
|
|
3114
3223
|
outputIndex: number;
|
|
3115
|
-
|
|
3116
|
-
* An object containing P-chain Asset ID and the amount of that Asset ID.
|
|
3117
|
-
*/
|
|
3118
|
-
reward: PChainAsset;
|
|
3224
|
+
reward: AssetWithPriceInfo;
|
|
3119
3225
|
rewardTxHash: string;
|
|
3120
3226
|
};
|
|
3121
3227
|
|
|
@@ -3142,7 +3248,7 @@ type PendingReward = {
|
|
|
3142
3248
|
/**
|
|
3143
3249
|
* An object containing P-chain Asset ID and the amount of that Asset ID.
|
|
3144
3250
|
*/
|
|
3145
|
-
estimatedReward:
|
|
3251
|
+
estimatedReward: Asset;
|
|
3146
3252
|
};
|
|
3147
3253
|
|
|
3148
3254
|
type ListPendingRewardsResponse = {
|
|
@@ -3162,25 +3268,25 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3162
3268
|
* @returns ListPendingRewardsResponse
|
|
3163
3269
|
* @throws ApiError
|
|
3164
3270
|
*/
|
|
3165
|
-
listPendingPrimaryNetworkRewards({ network, addresses,
|
|
3271
|
+
listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
|
|
3166
3272
|
/**
|
|
3167
3273
|
* Either mainnet or a testnet.
|
|
3168
3274
|
*/
|
|
3169
3275
|
network: Network;
|
|
3170
3276
|
/**
|
|
3171
|
-
* 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.
|
|
3172
3278
|
*/
|
|
3173
3279
|
addresses?: string;
|
|
3174
|
-
/**
|
|
3175
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3176
|
-
*/
|
|
3177
|
-
pageSize?: number;
|
|
3178
3280
|
/**
|
|
3179
3281
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3180
3282
|
*/
|
|
3181
3283
|
pageToken?: string;
|
|
3182
3284
|
/**
|
|
3183
|
-
*
|
|
3285
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3286
|
+
*/
|
|
3287
|
+
pageSize?: number;
|
|
3288
|
+
/**
|
|
3289
|
+
* A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
|
|
3184
3290
|
*/
|
|
3185
3291
|
nodeIds?: string;
|
|
3186
3292
|
/**
|
|
@@ -3194,68 +3300,45 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3194
3300
|
* @returns ListHistoricalRewardsResponse
|
|
3195
3301
|
* @throws ApiError
|
|
3196
3302
|
*/
|
|
3197
|
-
listHistoricalPrimaryNetworkRewards({ network, addresses,
|
|
3303
|
+
listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
|
|
3198
3304
|
/**
|
|
3199
3305
|
* Either mainnet or a testnet.
|
|
3200
3306
|
*/
|
|
3201
3307
|
network: Network;
|
|
3202
3308
|
/**
|
|
3203
|
-
* 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.
|
|
3204
3310
|
*/
|
|
3205
3311
|
addresses?: string;
|
|
3206
|
-
/**
|
|
3207
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3208
|
-
*/
|
|
3209
|
-
pageSize?: number;
|
|
3210
3312
|
/**
|
|
3211
3313
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3212
3314
|
*/
|
|
3213
3315
|
pageToken?: string;
|
|
3214
3316
|
/**
|
|
3215
|
-
*
|
|
3317
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3318
|
+
*/
|
|
3319
|
+
pageSize?: number;
|
|
3320
|
+
/**
|
|
3321
|
+
* A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
|
|
3216
3322
|
*/
|
|
3217
3323
|
nodeIds?: string;
|
|
3218
3324
|
/**
|
|
3219
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.
|
|
3220
3326
|
*/
|
|
3221
3327
|
sortOrder?: SortOrder;
|
|
3328
|
+
/**
|
|
3329
|
+
* The currency that return values should use. Defaults to USD.
|
|
3330
|
+
*/
|
|
3331
|
+
currency?: CurrencyCode;
|
|
3222
3332
|
}): CancelablePromise<ListHistoricalRewardsResponse>;
|
|
3223
3333
|
}
|
|
3224
3334
|
|
|
3225
|
-
type Asset = {
|
|
3226
|
-
/**
|
|
3227
|
-
* Unique ID for an asset.
|
|
3228
|
-
*/
|
|
3229
|
-
assetId: string;
|
|
3230
|
-
/**
|
|
3231
|
-
* Name of this asset.
|
|
3232
|
-
*/
|
|
3233
|
-
name: string;
|
|
3234
|
-
/**
|
|
3235
|
-
* Symbol for this asset (max 4 characters).
|
|
3236
|
-
*/
|
|
3237
|
-
symbol: string;
|
|
3238
|
-
/**
|
|
3239
|
-
* Denomination of this asset to represent fungibility.
|
|
3240
|
-
*/
|
|
3241
|
-
denomination: number;
|
|
3242
|
-
/**
|
|
3243
|
-
* Type of asset like SECP256K1 or NFT.
|
|
3244
|
-
*/
|
|
3245
|
-
type: string;
|
|
3246
|
-
/**
|
|
3247
|
-
* Amount of the asset.
|
|
3248
|
-
*/
|
|
3249
|
-
amount: string;
|
|
3250
|
-
};
|
|
3251
|
-
|
|
3252
3335
|
type UtxoCredential = {
|
|
3253
3336
|
/**
|
|
3254
|
-
* Signature provided to consume the output
|
|
3337
|
+
* Signature provided to consume the output.
|
|
3255
3338
|
*/
|
|
3256
3339
|
signature?: string;
|
|
3257
3340
|
/**
|
|
3258
|
-
* Public key associated with the signature
|
|
3341
|
+
* Public key associated with the signature.
|
|
3259
3342
|
*/
|
|
3260
3343
|
publicKey?: string;
|
|
3261
3344
|
};
|
|
@@ -3277,66 +3360,66 @@ type EVMInput = {
|
|
|
3277
3360
|
|
|
3278
3361
|
type Utxo = {
|
|
3279
3362
|
/**
|
|
3280
|
-
*
|
|
3363
|
+
* Addresses that are eligible to sign the consumption of this output.
|
|
3281
3364
|
*/
|
|
3282
|
-
|
|
3365
|
+
addresses: Array<string>;
|
|
3283
3366
|
asset: Asset;
|
|
3284
3367
|
/**
|
|
3285
|
-
*
|
|
3368
|
+
* Blockchain ID on which this output is consumed on.
|
|
3286
3369
|
*/
|
|
3287
|
-
|
|
3370
|
+
consumedOnChainId: string;
|
|
3288
3371
|
/**
|
|
3289
|
-
*
|
|
3372
|
+
* Transaction ID that consumed this output.
|
|
3290
3373
|
*/
|
|
3291
|
-
|
|
3374
|
+
consumingTxHash?: string;
|
|
3292
3375
|
/**
|
|
3293
|
-
* Blockchain ID on which this output is
|
|
3376
|
+
* Blockchain ID on which this output is created on.
|
|
3294
3377
|
*/
|
|
3295
|
-
|
|
3378
|
+
createdOnChainId: string;
|
|
3296
3379
|
/**
|
|
3297
|
-
*
|
|
3380
|
+
* UTXO ID for this output.
|
|
3298
3381
|
*/
|
|
3299
|
-
|
|
3382
|
+
utxoId: string;
|
|
3300
3383
|
/**
|
|
3301
|
-
*
|
|
3384
|
+
* Unix timestamp in seconds at which this output was consumed.
|
|
3302
3385
|
*/
|
|
3303
|
-
|
|
3386
|
+
consumingTxTimestamp?: number;
|
|
3304
3387
|
/**
|
|
3305
|
-
*
|
|
3388
|
+
* Transaction ID that created this output.
|
|
3306
3389
|
*/
|
|
3307
|
-
|
|
3390
|
+
creationTxHash: string;
|
|
3308
3391
|
/**
|
|
3309
|
-
*
|
|
3392
|
+
* Credentials that signed the transaction to consume this utxo
|
|
3310
3393
|
*/
|
|
3311
|
-
|
|
3394
|
+
credentials?: Array<UtxoCredential>;
|
|
3312
3395
|
/**
|
|
3313
|
-
*
|
|
3396
|
+
* Index representing the minting set for the NFT mint output.
|
|
3314
3397
|
*/
|
|
3315
|
-
|
|
3398
|
+
groupId?: number;
|
|
3316
3399
|
/**
|
|
3317
3400
|
* Locktime in seconds after which this output can be consumed.
|
|
3318
3401
|
*/
|
|
3319
3402
|
locktime: number;
|
|
3320
3403
|
/**
|
|
3321
|
-
*
|
|
3404
|
+
* Postion of this output in a list of lexiographically sorted outputs of a transaction.
|
|
3322
3405
|
*/
|
|
3323
|
-
|
|
3406
|
+
outputIndex: string;
|
|
3324
3407
|
/**
|
|
3325
|
-
*
|
|
3408
|
+
* Hex encoded data for NFT assets.
|
|
3326
3409
|
*/
|
|
3327
|
-
|
|
3410
|
+
payload?: string;
|
|
3328
3411
|
/**
|
|
3329
|
-
*
|
|
3412
|
+
* Minimum number of signatures required to consume this output.
|
|
3330
3413
|
*/
|
|
3331
|
-
|
|
3414
|
+
threshold: number;
|
|
3332
3415
|
/**
|
|
3333
|
-
*
|
|
3416
|
+
* Unix timestamp in seconds at which this outptut was created.
|
|
3334
3417
|
*/
|
|
3335
|
-
|
|
3418
|
+
timestamp: number;
|
|
3336
3419
|
/**
|
|
3337
|
-
*
|
|
3420
|
+
* Type of output.
|
|
3338
3421
|
*/
|
|
3339
|
-
|
|
3422
|
+
utxoType: string;
|
|
3340
3423
|
};
|
|
3341
3424
|
|
|
3342
3425
|
type CChainExportTransaction = {
|
|
@@ -3467,17 +3550,18 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
3467
3550
|
|
|
3468
3551
|
declare enum PChainTransactionType {
|
|
3469
3552
|
ADD_VALIDATOR_TX = "AddValidatorTx",
|
|
3470
|
-
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
3471
|
-
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3472
|
-
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3473
3553
|
ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
|
|
3474
|
-
|
|
3475
|
-
REWARD_VALIDATOR_TX = "RewardValidatorTx",
|
|
3554
|
+
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
3476
3555
|
CREATE_CHAIN_TX = "CreateChainTx",
|
|
3477
3556
|
CREATE_SUBNET_TX = "CreateSubnetTx",
|
|
3478
3557
|
IMPORT_TX = "ImportTx",
|
|
3479
3558
|
EXPORT_TX = "ExportTx",
|
|
3480
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",
|
|
3481
3565
|
UNKNOWN = "UNKNOWN"
|
|
3482
3566
|
}
|
|
3483
3567
|
|
|
@@ -3488,29 +3572,48 @@ declare enum UtxoType {
|
|
|
3488
3572
|
|
|
3489
3573
|
type PChainUtxo = {
|
|
3490
3574
|
/**
|
|
3491
|
-
*
|
|
3575
|
+
* Addresses that are eligible to sign the consumption of this output.
|
|
3492
3576
|
*/
|
|
3493
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
|
+
*/
|
|
3494
3594
|
utxoId: string;
|
|
3495
|
-
|
|
3496
|
-
|
|
3595
|
+
/**
|
|
3596
|
+
* @deprecated
|
|
3597
|
+
*/
|
|
3598
|
+
amount: string;
|
|
3599
|
+
/**
|
|
3600
|
+
* @deprecated
|
|
3601
|
+
*/
|
|
3602
|
+
assetId: string;
|
|
3497
3603
|
blockNumber: string;
|
|
3498
3604
|
blockTimestamp: number;
|
|
3499
|
-
consumingTxHash?: string;
|
|
3500
|
-
consumingBlockTimestamp?: number;
|
|
3501
3605
|
consumingBlockNumber?: string;
|
|
3502
|
-
|
|
3503
|
-
utxoType: UtxoType;
|
|
3504
|
-
amount: string;
|
|
3505
|
-
stakeableLocktime?: number;
|
|
3606
|
+
consumingBlockTimestamp?: number;
|
|
3506
3607
|
platformLocktime?: number;
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3608
|
+
outputIndex: number;
|
|
3609
|
+
rewardType?: RewardType;
|
|
3610
|
+
stakeableLocktime?: number;
|
|
3510
3611
|
staked?: boolean;
|
|
3511
|
-
|
|
3612
|
+
threshold?: number;
|
|
3613
|
+
txHash: string;
|
|
3512
3614
|
utxoEndTimestamp?: number;
|
|
3513
|
-
|
|
3615
|
+
utxoStartTimestamp?: number;
|
|
3616
|
+
utxoType: UtxoType;
|
|
3514
3617
|
};
|
|
3515
3618
|
|
|
3516
3619
|
type PChainTransaction = {
|
|
@@ -3538,15 +3641,15 @@ type PChainTransaction = {
|
|
|
3538
3641
|
/**
|
|
3539
3642
|
* A list of objects containing P-chain Asset ID and the amount of that Asset ID.
|
|
3540
3643
|
*/
|
|
3541
|
-
value: Array<
|
|
3644
|
+
value: Array<Asset>;
|
|
3542
3645
|
/**
|
|
3543
3646
|
* A list of objects containing P-chain Asset ID and the amount of that Asset ID.
|
|
3544
3647
|
*/
|
|
3545
|
-
amountBurned: Array<
|
|
3648
|
+
amountBurned: Array<Asset>;
|
|
3546
3649
|
/**
|
|
3547
3650
|
* A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3548
3651
|
*/
|
|
3549
|
-
amountStaked: Array<
|
|
3652
|
+
amountStaked: Array<Asset>;
|
|
3550
3653
|
/**
|
|
3551
3654
|
* Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3552
3655
|
*/
|
|
@@ -3749,17 +3852,18 @@ declare enum PChainId {
|
|
|
3749
3852
|
|
|
3750
3853
|
declare enum PrimaryNetworkTxType {
|
|
3751
3854
|
ADD_VALIDATOR_TX = "AddValidatorTx",
|
|
3752
|
-
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
3753
|
-
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3754
|
-
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3755
3855
|
ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
|
|
3756
|
-
|
|
3757
|
-
REWARD_VALIDATOR_TX = "RewardValidatorTx",
|
|
3856
|
+
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
3758
3857
|
CREATE_CHAIN_TX = "CreateChainTx",
|
|
3759
3858
|
CREATE_SUBNET_TX = "CreateSubnetTx",
|
|
3760
3859
|
IMPORT_TX = "ImportTx",
|
|
3761
3860
|
EXPORT_TX = "ExportTx",
|
|
3762
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",
|
|
3763
3867
|
UNKNOWN = "UNKNOWN",
|
|
3764
3868
|
BASE_TX = "BaseTx",
|
|
3765
3869
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
@@ -3793,13 +3897,13 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3793
3897
|
* List latest transactions
|
|
3794
3898
|
* Lists the latest transactions on one of the Primary Network chains.
|
|
3795
3899
|
*
|
|
3796
|
-
* Transactions are filterable by addresses.
|
|
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.
|
|
3797
3901
|
*
|
|
3798
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.
|
|
3799
3903
|
* @returns any
|
|
3800
3904
|
* @throws ApiError
|
|
3801
3905
|
*/
|
|
3802
|
-
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp,
|
|
3906
|
+
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
3803
3907
|
/**
|
|
3804
3908
|
* A primary network blockchain id or alias.
|
|
3805
3909
|
*/
|
|
@@ -3824,14 +3928,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3824
3928
|
* Query param for retrieving items before a specific timestamp.
|
|
3825
3929
|
*/
|
|
3826
3930
|
endTimestamp?: number;
|
|
3827
|
-
/**
|
|
3828
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3829
|
-
*/
|
|
3830
|
-
pageSize?: number;
|
|
3831
3931
|
/**
|
|
3832
3932
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3833
3933
|
*/
|
|
3834
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;
|
|
3835
3939
|
/**
|
|
3836
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.
|
|
3837
3941
|
*/
|
|
@@ -3843,7 +3947,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3843
3947
|
* @returns ListPChainTransactionsResponse
|
|
3844
3948
|
* @throws ApiError
|
|
3845
3949
|
*/
|
|
3846
|
-
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp,
|
|
3950
|
+
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
3847
3951
|
/**
|
|
3848
3952
|
* A primary network blockchain id or alias.
|
|
3849
3953
|
*/
|
|
@@ -3868,14 +3972,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3868
3972
|
* Query param for retrieving items before a specific timestamp.
|
|
3869
3973
|
*/
|
|
3870
3974
|
endTimestamp?: number;
|
|
3871
|
-
/**
|
|
3872
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3873
|
-
*/
|
|
3874
|
-
pageSize?: number;
|
|
3875
3975
|
/**
|
|
3876
3976
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3877
3977
|
*/
|
|
3878
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;
|
|
3879
3983
|
/**
|
|
3880
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.
|
|
3881
3985
|
*/
|
|
@@ -3887,7 +3991,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3887
3991
|
* @returns ListXChainTransactionsResponse
|
|
3888
3992
|
* @throws ApiError
|
|
3889
3993
|
*/
|
|
3890
|
-
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp,
|
|
3994
|
+
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3891
3995
|
/**
|
|
3892
3996
|
* A primary network blockchain id or alias.
|
|
3893
3997
|
*/
|
|
@@ -3912,14 +4016,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3912
4016
|
* Query param for retrieving items before a specific timestamp.
|
|
3913
4017
|
*/
|
|
3914
4018
|
endTimestamp?: number;
|
|
3915
|
-
/**
|
|
3916
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3917
|
-
*/
|
|
3918
|
-
pageSize?: number;
|
|
3919
4019
|
/**
|
|
3920
4020
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3921
4021
|
*/
|
|
3922
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;
|
|
3923
4027
|
}): CancelablePromise<ListXChainTransactionsResponse>;
|
|
3924
4028
|
}
|
|
3925
4029
|
|
|
@@ -3950,7 +4054,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
3950
4054
|
* @returns any
|
|
3951
4055
|
* @throws ApiError
|
|
3952
4056
|
*/
|
|
3953
|
-
getUtxosByAddresses({ blockchainId, network, addresses,
|
|
4057
|
+
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
3954
4058
|
/**
|
|
3955
4059
|
* A primary network blockchain id or alias.
|
|
3956
4060
|
*/
|
|
@@ -3963,14 +4067,14 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
3963
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".
|
|
3964
4068
|
*/
|
|
3965
4069
|
addresses?: string;
|
|
3966
|
-
/**
|
|
3967
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3968
|
-
*/
|
|
3969
|
-
pageSize?: number;
|
|
3970
4070
|
/**
|
|
3971
4071
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3972
4072
|
*/
|
|
3973
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;
|
|
3974
4078
|
/**
|
|
3975
4079
|
* Asset ID for any asset (only applicable X-Chain)
|
|
3976
4080
|
*/
|
|
@@ -4015,7 +4119,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4015
4119
|
* @returns ListXChainVerticesResponse
|
|
4016
4120
|
* @throws ApiError
|
|
4017
4121
|
*/
|
|
4018
|
-
listLatestXChainVertices({ blockchainId, network,
|
|
4122
|
+
listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
|
|
4019
4123
|
/**
|
|
4020
4124
|
* A primary network blockchain id or alias.
|
|
4021
4125
|
*/
|
|
@@ -4024,14 +4128,14 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4024
4128
|
* Either mainnet or a testnet.
|
|
4025
4129
|
*/
|
|
4026
4130
|
network: Network;
|
|
4027
|
-
/**
|
|
4028
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4029
|
-
*/
|
|
4030
|
-
pageSize?: number;
|
|
4031
4131
|
/**
|
|
4032
4132
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4033
4133
|
*/
|
|
4034
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;
|
|
4035
4139
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4036
4140
|
/**
|
|
4037
4141
|
* Get vertex
|
|
@@ -4059,7 +4163,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4059
4163
|
* @returns ListXChainVerticesResponse
|
|
4060
4164
|
* @throws ApiError
|
|
4061
4165
|
*/
|
|
4062
|
-
getVertexByHeight({ vertexHeight, blockchainId, network,
|
|
4166
|
+
getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
|
|
4063
4167
|
/**
|
|
4064
4168
|
* The height of a vertex.
|
|
4065
4169
|
*/
|
|
@@ -4072,14 +4176,14 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4072
4176
|
* Either mainnet or a testnet.
|
|
4073
4177
|
*/
|
|
4074
4178
|
network: Network;
|
|
4075
|
-
/**
|
|
4076
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4077
|
-
*/
|
|
4078
|
-
pageSize?: number;
|
|
4079
4179
|
/**
|
|
4080
4180
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4081
4181
|
*/
|
|
4082
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;
|
|
4083
4187
|
/**
|
|
4084
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.
|
|
4085
4189
|
*/
|
|
@@ -4126,4 +4230,4 @@ declare class ApiError extends Error {
|
|
|
4126
4230
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
4127
4231
|
}
|
|
4128
4232
|
|
|
4129
|
-
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,
|
|
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 };
|