@avalabs/glacier-sdk 2.8.0-canary.6e43603.0 → 2.8.0-canary.736c05a.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 +358 -130
- package/dist/index.js +124 -30
- package/esm/generated/models/AddressActivityMetadata.d.ts +12 -0
- package/esm/generated/models/EventType.d.ts +5 -0
- package/esm/generated/models/EventType.js +6 -0
- package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -0
- package/esm/generated/models/HistoricalReward.d.ts +2 -2
- package/esm/generated/models/ListNftTokens.d.ts +12 -0
- package/esm/generated/models/ListWebhooksResponse.d.ts +11 -0
- package/esm/generated/models/PChainBalance.d.ts +7 -7
- package/esm/generated/models/PChainSharedAsset.d.ts +22 -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/PrimaryNetworkBlock.d.ts +1 -0
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +6 -5
- package/esm/generated/models/PrimaryNetworkTxType.js +6 -5
- package/esm/generated/models/RegisterWebhookRequest.d.ts +14 -0
- package/esm/generated/models/SharedSecretsResponse.d.ts +5 -0
- package/esm/generated/models/Utxo.d.ts +28 -28
- package/esm/generated/models/UtxoCredential.d.ts +2 -2
- package/esm/generated/models/WebhookResponse.d.ts +15 -0
- package/esm/generated/models/WebhookStatus.d.ts +6 -0
- package/esm/generated/models/WebhookStatus.js +7 -0
- package/esm/generated/models/WebhookStatusType.d.ts +6 -0
- package/esm/generated/models/WebhookStatusType.js +7 -0
- package/esm/generated/models/XChainLinearTransaction.d.ts +2 -1
- package/esm/generated/models/XChainNonLinearTransaction.d.ts +2 -1
- package/esm/generated/models/XChainTransactionType.d.ts +10 -0
- package/esm/generated/models/XChainTransactionType.js +11 -0
- package/esm/generated/services/DefaultService.d.ts +53 -0
- package/esm/generated/services/DefaultService.js +42 -0
- package/esm/generated/services/EvmTransactionsService.d.ts +42 -0
- package/esm/generated/services/NfTsService.d.ts +25 -0
- package/esm/generated/services/NfTsService.js +19 -0
- package/esm/generated/services/OperationsService.d.ts +11 -11
- package/esm/generated/services/OperationsService.js +10 -10
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +4 -4
- package/esm/generated/services/PrimaryNetworkService.d.ts +19 -19
- package/esm/generated/services/PrimaryNetworkService.js +10 -10
- package/esm/index.d.ts +10 -1
- package/esm/index.js +4 -0
- package/package.json +2 -2
- package/esm/generated/models/PChainAsset.d.ts +0 -6
package/dist/index.d.ts
CHANGED
|
@@ -60,6 +60,63 @@ declare abstract class BaseHttpRequest {
|
|
|
60
60
|
abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
type AddressActivityMetadata = {
|
|
64
|
+
/**
|
|
65
|
+
* Ethereum address for the address_activity event type
|
|
66
|
+
*/
|
|
67
|
+
address: string;
|
|
68
|
+
/**
|
|
69
|
+
* Array of hexadecimal strings of the event signatures.
|
|
70
|
+
*/
|
|
71
|
+
eventSignatures?: Array<string>;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
declare enum EventType {
|
|
75
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
declare enum WebhookStatusType {
|
|
79
|
+
ACTIVE = "active",
|
|
80
|
+
INACTIVE = "inactive"
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
type WebhookResponse = {
|
|
84
|
+
id: string;
|
|
85
|
+
eventType: EventType;
|
|
86
|
+
metadata: AddressActivityMetadata;
|
|
87
|
+
url: string;
|
|
88
|
+
chainId: string;
|
|
89
|
+
status: WebhookStatusType;
|
|
90
|
+
createdAt: number;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
type ListWebhooksResponse = {
|
|
94
|
+
/**
|
|
95
|
+
* 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.
|
|
96
|
+
*/
|
|
97
|
+
nextPageToken?: string;
|
|
98
|
+
webhooks: Array<WebhookResponse>;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
type RegisterWebhookRequest = {
|
|
102
|
+
url: string;
|
|
103
|
+
chainId: string;
|
|
104
|
+
/**
|
|
105
|
+
* The type of event for the webhook
|
|
106
|
+
*/
|
|
107
|
+
eventType: EventType;
|
|
108
|
+
metadata: AddressActivityMetadata;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
type SharedSecretsResponse = {
|
|
112
|
+
secret: string;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
declare enum WebhookStatus {
|
|
116
|
+
ACTIVE = "active",
|
|
117
|
+
INACTIVE = "inactive"
|
|
118
|
+
}
|
|
119
|
+
|
|
63
120
|
declare class DefaultService {
|
|
64
121
|
readonly httpRequest: BaseHttpRequest;
|
|
65
122
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -68,6 +125,54 @@ declare class DefaultService {
|
|
|
68
125
|
* @throws ApiError
|
|
69
126
|
*/
|
|
70
127
|
mediaControllerUploadImage(): CancelablePromise<any>;
|
|
128
|
+
/**
|
|
129
|
+
* Register a webhook
|
|
130
|
+
* Registers a new webhook.
|
|
131
|
+
* @returns WebhookResponse
|
|
132
|
+
* @throws ApiError
|
|
133
|
+
*/
|
|
134
|
+
registerWebhook({ requestBody, }: {
|
|
135
|
+
requestBody: RegisterWebhookRequest;
|
|
136
|
+
}): CancelablePromise<WebhookResponse>;
|
|
137
|
+
/**
|
|
138
|
+
* List webhooks
|
|
139
|
+
* Lists webhooks for the user.
|
|
140
|
+
* @returns ListWebhooksResponse
|
|
141
|
+
* @throws ApiError
|
|
142
|
+
*/
|
|
143
|
+
listWebhooks({ pageSize, pageToken, status, }: {
|
|
144
|
+
/**
|
|
145
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
146
|
+
*/
|
|
147
|
+
pageSize?: number;
|
|
148
|
+
/**
|
|
149
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
150
|
+
*/
|
|
151
|
+
pageToken?: string;
|
|
152
|
+
/**
|
|
153
|
+
* 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.
|
|
154
|
+
*/
|
|
155
|
+
status?: WebhookStatus;
|
|
156
|
+
}): CancelablePromise<ListWebhooksResponse>;
|
|
157
|
+
/**
|
|
158
|
+
* Deactivate a webhook
|
|
159
|
+
* Deactivates a webhook by ID.
|
|
160
|
+
* @returns WebhookResponse
|
|
161
|
+
* @throws ApiError
|
|
162
|
+
*/
|
|
163
|
+
deactivateWebhook({ id, }: {
|
|
164
|
+
/**
|
|
165
|
+
* The webhook identifier.
|
|
166
|
+
*/
|
|
167
|
+
id: string;
|
|
168
|
+
}): CancelablePromise<WebhookResponse>;
|
|
169
|
+
/**
|
|
170
|
+
* Generate a shared secret
|
|
171
|
+
* Generates a new shared secret.
|
|
172
|
+
* @returns SharedSecretsResponse
|
|
173
|
+
* @throws ApiError
|
|
174
|
+
*/
|
|
175
|
+
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
71
176
|
}
|
|
72
177
|
|
|
73
178
|
declare enum CurrencyCode {
|
|
@@ -1637,7 +1742,13 @@ declare class EvmTransactionsService {
|
|
|
1637
1742
|
* A wallet address.
|
|
1638
1743
|
*/
|
|
1639
1744
|
address: string;
|
|
1745
|
+
/**
|
|
1746
|
+
* 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.
|
|
1747
|
+
*/
|
|
1640
1748
|
startBlock?: number;
|
|
1749
|
+
/**
|
|
1750
|
+
* 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.
|
|
1751
|
+
*/
|
|
1641
1752
|
endBlock?: number;
|
|
1642
1753
|
/**
|
|
1643
1754
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
@@ -1673,7 +1784,13 @@ declare class EvmTransactionsService {
|
|
|
1673
1784
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1674
1785
|
*/
|
|
1675
1786
|
pageToken?: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* 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.
|
|
1789
|
+
*/
|
|
1676
1790
|
startBlock?: number;
|
|
1791
|
+
/**
|
|
1792
|
+
* 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.
|
|
1793
|
+
*/
|
|
1677
1794
|
endBlock?: number;
|
|
1678
1795
|
/**
|
|
1679
1796
|
* 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.
|
|
@@ -1695,7 +1812,13 @@ declare class EvmTransactionsService {
|
|
|
1695
1812
|
* A wallet address.
|
|
1696
1813
|
*/
|
|
1697
1814
|
address: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* 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.
|
|
1817
|
+
*/
|
|
1698
1818
|
startBlock?: number;
|
|
1819
|
+
/**
|
|
1820
|
+
* 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.
|
|
1821
|
+
*/
|
|
1699
1822
|
endBlock?: number;
|
|
1700
1823
|
/**
|
|
1701
1824
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
@@ -1721,7 +1844,13 @@ declare class EvmTransactionsService {
|
|
|
1721
1844
|
* A wallet address.
|
|
1722
1845
|
*/
|
|
1723
1846
|
address: string;
|
|
1847
|
+
/**
|
|
1848
|
+
* 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.
|
|
1849
|
+
*/
|
|
1724
1850
|
startBlock?: number;
|
|
1851
|
+
/**
|
|
1852
|
+
* 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.
|
|
1853
|
+
*/
|
|
1725
1854
|
endBlock?: number;
|
|
1726
1855
|
/**
|
|
1727
1856
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
@@ -1747,7 +1876,13 @@ declare class EvmTransactionsService {
|
|
|
1747
1876
|
* A wallet address.
|
|
1748
1877
|
*/
|
|
1749
1878
|
address: string;
|
|
1879
|
+
/**
|
|
1880
|
+
* 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.
|
|
1881
|
+
*/
|
|
1750
1882
|
startBlock?: number;
|
|
1883
|
+
/**
|
|
1884
|
+
* 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.
|
|
1885
|
+
*/
|
|
1751
1886
|
endBlock?: number;
|
|
1752
1887
|
/**
|
|
1753
1888
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
@@ -1773,7 +1908,13 @@ declare class EvmTransactionsService {
|
|
|
1773
1908
|
* A wallet address.
|
|
1774
1909
|
*/
|
|
1775
1910
|
address: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* 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.
|
|
1913
|
+
*/
|
|
1776
1914
|
startBlock?: number;
|
|
1915
|
+
/**
|
|
1916
|
+
* 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.
|
|
1917
|
+
*/
|
|
1777
1918
|
endBlock?: number;
|
|
1778
1919
|
/**
|
|
1779
1920
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
@@ -1801,7 +1942,13 @@ declare class EvmTransactionsService {
|
|
|
1801
1942
|
* A wallet address.
|
|
1802
1943
|
*/
|
|
1803
1944
|
address: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* 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.
|
|
1947
|
+
*/
|
|
1804
1948
|
startBlock?: number;
|
|
1949
|
+
/**
|
|
1950
|
+
* 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.
|
|
1951
|
+
*/
|
|
1805
1952
|
endBlock?: number;
|
|
1806
1953
|
/**
|
|
1807
1954
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
@@ -1886,6 +2033,14 @@ declare class HealthCheckService {
|
|
|
1886
2033
|
}>;
|
|
1887
2034
|
}
|
|
1888
2035
|
|
|
2036
|
+
type ListNftTokens = {
|
|
2037
|
+
/**
|
|
2038
|
+
* 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.
|
|
2039
|
+
*/
|
|
2040
|
+
nextPageToken?: string;
|
|
2041
|
+
tokens: (Array<Erc721Token> | Array<Erc1155Token>);
|
|
2042
|
+
};
|
|
2043
|
+
|
|
1889
2044
|
declare class NfTsService {
|
|
1890
2045
|
readonly httpRequest: BaseHttpRequest;
|
|
1891
2046
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -1909,6 +2064,30 @@ declare class NfTsService {
|
|
|
1909
2064
|
*/
|
|
1910
2065
|
tokenId: string;
|
|
1911
2066
|
}): CancelablePromise<any>;
|
|
2067
|
+
/**
|
|
2068
|
+
* List tokens
|
|
2069
|
+
* Lists tokens for an NFT contract.
|
|
2070
|
+
* @returns ListNftTokens
|
|
2071
|
+
* @throws ApiError
|
|
2072
|
+
*/
|
|
2073
|
+
listTokens({ chainId, address, pageSize, pageToken, }: {
|
|
2074
|
+
/**
|
|
2075
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2076
|
+
*/
|
|
2077
|
+
chainId: string;
|
|
2078
|
+
/**
|
|
2079
|
+
* Contract address on the relevant chain.
|
|
2080
|
+
*/
|
|
2081
|
+
address: string;
|
|
2082
|
+
/**
|
|
2083
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2084
|
+
*/
|
|
2085
|
+
pageSize?: number;
|
|
2086
|
+
/**
|
|
2087
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2088
|
+
*/
|
|
2089
|
+
pageToken?: string;
|
|
2090
|
+
}): CancelablePromise<ListNftTokens>;
|
|
1912
2091
|
/**
|
|
1913
2092
|
* Get token details
|
|
1914
2093
|
* Gets token details for a specific token of an NFT contract.
|
|
@@ -2025,17 +2204,6 @@ type OperationStatusResponse = {
|
|
|
2025
2204
|
declare class OperationsService {
|
|
2026
2205
|
readonly httpRequest: BaseHttpRequest;
|
|
2027
2206
|
constructor(httpRequest: BaseHttpRequest);
|
|
2028
|
-
/**
|
|
2029
|
-
* Create transaction export operation
|
|
2030
|
-
* Trigger a transaction export operation with given parameters.
|
|
2031
|
-
*
|
|
2032
|
-
* The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
|
|
2033
|
-
* @returns OperationStatusResponse
|
|
2034
|
-
* @throws ApiError
|
|
2035
|
-
*/
|
|
2036
|
-
postTransactionExportJob({ requestBody, }: {
|
|
2037
|
-
requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
|
|
2038
|
-
}): CancelablePromise<OperationStatusResponse>;
|
|
2039
2207
|
/**
|
|
2040
2208
|
* Get operation
|
|
2041
2209
|
* Gets operation details for the given operation id.
|
|
@@ -2048,6 +2216,17 @@ declare class OperationsService {
|
|
|
2048
2216
|
*/
|
|
2049
2217
|
operationId: string;
|
|
2050
2218
|
}): CancelablePromise<OperationStatusResponse>;
|
|
2219
|
+
/**
|
|
2220
|
+
* Create transaction export operation
|
|
2221
|
+
* Trigger a transaction export operation with given parameters.
|
|
2222
|
+
*
|
|
2223
|
+
* The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
|
|
2224
|
+
* @returns OperationStatusResponse
|
|
2225
|
+
* @throws ApiError
|
|
2226
|
+
*/
|
|
2227
|
+
postTransactionExportJob({ requestBody, }: {
|
|
2228
|
+
requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
|
|
2229
|
+
}): CancelablePromise<OperationStatusResponse>;
|
|
2051
2230
|
}
|
|
2052
2231
|
|
|
2053
2232
|
declare enum BlockchainIds {
|
|
@@ -2449,7 +2628,7 @@ declare class PrimaryNetworkService {
|
|
|
2449
2628
|
* @returns ListValidatorDetailsResponse
|
|
2450
2629
|
* @throws ApiError
|
|
2451
2630
|
*/
|
|
2452
|
-
listValidators({ network, pageSize, pageToken,
|
|
2631
|
+
listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
|
|
2453
2632
|
/**
|
|
2454
2633
|
* Either mainnet or a testnet.
|
|
2455
2634
|
*/
|
|
@@ -2463,41 +2642,41 @@ declare class PrimaryNetworkService {
|
|
|
2463
2642
|
*/
|
|
2464
2643
|
pageToken?: string;
|
|
2465
2644
|
/**
|
|
2466
|
-
*
|
|
2645
|
+
* A comma separated list of node ids to filter by.
|
|
2467
2646
|
*/
|
|
2468
|
-
|
|
2647
|
+
nodeIds?: string;
|
|
2469
2648
|
/**
|
|
2470
|
-
* The
|
|
2649
|
+
* 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.
|
|
2471
2650
|
*/
|
|
2472
|
-
|
|
2651
|
+
sortOrder?: SortOrder;
|
|
2473
2652
|
/**
|
|
2474
|
-
*
|
|
2653
|
+
* Validation status of the node.
|
|
2475
2654
|
*/
|
|
2476
|
-
|
|
2655
|
+
validationStatus?: ValidationStatusType;
|
|
2477
2656
|
/**
|
|
2478
|
-
* The
|
|
2657
|
+
* 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
|
|
2479
2658
|
*/
|
|
2480
|
-
|
|
2659
|
+
minDelegationCapacity?: any;
|
|
2481
2660
|
/**
|
|
2482
|
-
* The
|
|
2661
|
+
* 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.
|
|
2483
2662
|
*/
|
|
2484
|
-
|
|
2663
|
+
maxDelegationCapacity?: any;
|
|
2485
2664
|
/**
|
|
2486
|
-
* The
|
|
2665
|
+
* The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
|
|
2487
2666
|
*/
|
|
2488
|
-
|
|
2667
|
+
minTimeRemaining?: any;
|
|
2489
2668
|
/**
|
|
2490
|
-
*
|
|
2669
|
+
* The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
|
|
2491
2670
|
*/
|
|
2492
|
-
|
|
2671
|
+
maxTimeRemaining?: any;
|
|
2493
2672
|
/**
|
|
2494
|
-
* The
|
|
2673
|
+
* 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.
|
|
2495
2674
|
*/
|
|
2496
|
-
|
|
2675
|
+
minFeePercentage?: any;
|
|
2497
2676
|
/**
|
|
2498
|
-
*
|
|
2677
|
+
* 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.
|
|
2499
2678
|
*/
|
|
2500
|
-
|
|
2679
|
+
maxFeePercentage?: any;
|
|
2501
2680
|
/**
|
|
2502
2681
|
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
2503
2682
|
*/
|
|
@@ -2639,13 +2818,57 @@ type ListCChainAtomicBalancesResponse = {
|
|
|
2639
2818
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2640
2819
|
};
|
|
2641
2820
|
|
|
2642
|
-
type
|
|
2821
|
+
type Asset = {
|
|
2822
|
+
/**
|
|
2823
|
+
* Unique ID for an asset.
|
|
2824
|
+
*/
|
|
2643
2825
|
assetId: string;
|
|
2826
|
+
/**
|
|
2827
|
+
* Name of this asset.
|
|
2828
|
+
*/
|
|
2829
|
+
name: string;
|
|
2830
|
+
/**
|
|
2831
|
+
* Symbol for this asset (max 4 characters).
|
|
2832
|
+
*/
|
|
2833
|
+
symbol: string;
|
|
2834
|
+
/**
|
|
2835
|
+
* Denomination of this asset to represent fungibility.
|
|
2836
|
+
*/
|
|
2837
|
+
denomination: number;
|
|
2838
|
+
/**
|
|
2839
|
+
* Type of asset like SECP256K1 or NFT.
|
|
2840
|
+
*/
|
|
2841
|
+
type: string;
|
|
2842
|
+
/**
|
|
2843
|
+
* Amount of the asset.
|
|
2844
|
+
*/
|
|
2644
2845
|
amount: string;
|
|
2645
2846
|
};
|
|
2646
2847
|
|
|
2647
2848
|
type PChainSharedAsset = {
|
|
2849
|
+
/**
|
|
2850
|
+
* Unique ID for an asset.
|
|
2851
|
+
*/
|
|
2648
2852
|
assetId: string;
|
|
2853
|
+
/**
|
|
2854
|
+
* Name of this asset.
|
|
2855
|
+
*/
|
|
2856
|
+
name: string;
|
|
2857
|
+
/**
|
|
2858
|
+
* Symbol for this asset (max 4 characters).
|
|
2859
|
+
*/
|
|
2860
|
+
symbol: string;
|
|
2861
|
+
/**
|
|
2862
|
+
* Denomination of this asset to represent fungibility.
|
|
2863
|
+
*/
|
|
2864
|
+
denomination: number;
|
|
2865
|
+
/**
|
|
2866
|
+
* Type of asset like SECP256K1 or NFT.
|
|
2867
|
+
*/
|
|
2868
|
+
type: string;
|
|
2869
|
+
/**
|
|
2870
|
+
* Amount of the asset.
|
|
2871
|
+
*/
|
|
2649
2872
|
amount: string;
|
|
2650
2873
|
sharedWithChainId: string;
|
|
2651
2874
|
status: string;
|
|
@@ -2655,27 +2878,27 @@ type PChainBalance = {
|
|
|
2655
2878
|
/**
|
|
2656
2879
|
* 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.
|
|
2657
2880
|
*/
|
|
2658
|
-
unlockedUnstaked: Array<
|
|
2881
|
+
unlockedUnstaked: Array<Asset>;
|
|
2659
2882
|
/**
|
|
2660
2883
|
* 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.
|
|
2661
2884
|
*/
|
|
2662
|
-
unlockedStaked: Array<
|
|
2885
|
+
unlockedStaked: Array<Asset>;
|
|
2663
2886
|
/**
|
|
2664
2887
|
* 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.
|
|
2665
2888
|
*/
|
|
2666
|
-
lockedPlatform: Array<
|
|
2889
|
+
lockedPlatform: Array<Asset>;
|
|
2667
2890
|
/**
|
|
2668
2891
|
* 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.
|
|
2669
2892
|
*/
|
|
2670
|
-
lockedStakeable: Array<
|
|
2893
|
+
lockedStakeable: Array<Asset>;
|
|
2671
2894
|
/**
|
|
2672
2895
|
* 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.
|
|
2673
2896
|
*/
|
|
2674
|
-
lockedStaked: Array<
|
|
2897
|
+
lockedStaked: Array<Asset>;
|
|
2675
2898
|
/**
|
|
2676
2899
|
* 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.
|
|
2677
2900
|
*/
|
|
2678
|
-
pendingStaked: Array<
|
|
2901
|
+
pendingStaked: Array<Asset>;
|
|
2679
2902
|
/**
|
|
2680
2903
|
* 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.
|
|
2681
2904
|
*/
|
|
@@ -2814,6 +3037,7 @@ type GetPrimaryNetworkBlockResponse = {
|
|
|
2814
3037
|
txCount: number;
|
|
2815
3038
|
transactions: Array<string>;
|
|
2816
3039
|
blockSizeBytes: number;
|
|
3040
|
+
currentSupply?: string;
|
|
2817
3041
|
proposerDetails?: ProposerDetails;
|
|
2818
3042
|
};
|
|
2819
3043
|
|
|
@@ -2826,6 +3050,7 @@ type PrimaryNetworkBlock = {
|
|
|
2826
3050
|
txCount: number;
|
|
2827
3051
|
transactions: Array<string>;
|
|
2828
3052
|
blockSizeBytes: number;
|
|
3053
|
+
currentSupply?: string;
|
|
2829
3054
|
proposerDetails?: ProposerDetails;
|
|
2830
3055
|
};
|
|
2831
3056
|
|
|
@@ -2937,7 +3162,7 @@ type HistoricalReward = {
|
|
|
2937
3162
|
/**
|
|
2938
3163
|
* An object containing P-chain Asset ID and the amount of that Asset ID.
|
|
2939
3164
|
*/
|
|
2940
|
-
reward:
|
|
3165
|
+
reward: Asset;
|
|
2941
3166
|
rewardTxHash: string;
|
|
2942
3167
|
};
|
|
2943
3168
|
|
|
@@ -2964,7 +3189,7 @@ type PendingReward = {
|
|
|
2964
3189
|
/**
|
|
2965
3190
|
* An object containing P-chain Asset ID and the amount of that Asset ID.
|
|
2966
3191
|
*/
|
|
2967
|
-
estimatedReward:
|
|
3192
|
+
estimatedReward: Asset;
|
|
2968
3193
|
};
|
|
2969
3194
|
|
|
2970
3195
|
type ListPendingRewardsResponse = {
|
|
@@ -2990,7 +3215,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
2990
3215
|
*/
|
|
2991
3216
|
network: Network;
|
|
2992
3217
|
/**
|
|
2993
|
-
* 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".
|
|
3218
|
+
* 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.
|
|
2994
3219
|
*/
|
|
2995
3220
|
addresses?: string;
|
|
2996
3221
|
/**
|
|
@@ -3002,7 +3227,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3002
3227
|
*/
|
|
3003
3228
|
pageToken?: string;
|
|
3004
3229
|
/**
|
|
3005
|
-
* A comma separated list of node ids to filter by.
|
|
3230
|
+
* A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
|
|
3006
3231
|
*/
|
|
3007
3232
|
nodeIds?: string;
|
|
3008
3233
|
/**
|
|
@@ -3022,7 +3247,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3022
3247
|
*/
|
|
3023
3248
|
network: Network;
|
|
3024
3249
|
/**
|
|
3025
|
-
* 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".
|
|
3250
|
+
* 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.
|
|
3026
3251
|
*/
|
|
3027
3252
|
addresses?: string;
|
|
3028
3253
|
/**
|
|
@@ -3034,7 +3259,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3034
3259
|
*/
|
|
3035
3260
|
pageToken?: string;
|
|
3036
3261
|
/**
|
|
3037
|
-
* A comma separated list of node ids to filter by.
|
|
3262
|
+
* A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
|
|
3038
3263
|
*/
|
|
3039
3264
|
nodeIds?: string;
|
|
3040
3265
|
/**
|
|
@@ -3044,40 +3269,13 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3044
3269
|
}): CancelablePromise<ListHistoricalRewardsResponse>;
|
|
3045
3270
|
}
|
|
3046
3271
|
|
|
3047
|
-
type Asset = {
|
|
3048
|
-
/**
|
|
3049
|
-
* Unique ID for an asset.
|
|
3050
|
-
*/
|
|
3051
|
-
assetId: string;
|
|
3052
|
-
/**
|
|
3053
|
-
* Name of this asset.
|
|
3054
|
-
*/
|
|
3055
|
-
name: string;
|
|
3056
|
-
/**
|
|
3057
|
-
* Symbol for this asset (max 4 characters).
|
|
3058
|
-
*/
|
|
3059
|
-
symbol: string;
|
|
3060
|
-
/**
|
|
3061
|
-
* Denomination of this asset to represent fungibility.
|
|
3062
|
-
*/
|
|
3063
|
-
denomination: number;
|
|
3064
|
-
/**
|
|
3065
|
-
* Type of asset like SECP256K1 or NFT.
|
|
3066
|
-
*/
|
|
3067
|
-
type: string;
|
|
3068
|
-
/**
|
|
3069
|
-
* Amount of the asset.
|
|
3070
|
-
*/
|
|
3071
|
-
amount: string;
|
|
3072
|
-
};
|
|
3073
|
-
|
|
3074
3272
|
type UtxoCredential = {
|
|
3075
3273
|
/**
|
|
3076
|
-
* Signature provided to consume the output
|
|
3274
|
+
* Signature provided to consume the output.
|
|
3077
3275
|
*/
|
|
3078
3276
|
signature?: string;
|
|
3079
3277
|
/**
|
|
3080
|
-
* Public key associated with the signature
|
|
3278
|
+
* Public key associated with the signature.
|
|
3081
3279
|
*/
|
|
3082
3280
|
publicKey?: string;
|
|
3083
3281
|
};
|
|
@@ -3099,66 +3297,66 @@ type EVMInput = {
|
|
|
3099
3297
|
|
|
3100
3298
|
type Utxo = {
|
|
3101
3299
|
/**
|
|
3102
|
-
*
|
|
3300
|
+
* Addresses that are eligible to sign the consumption of this output.
|
|
3103
3301
|
*/
|
|
3104
|
-
|
|
3302
|
+
addresses: Array<string>;
|
|
3105
3303
|
asset: Asset;
|
|
3106
3304
|
/**
|
|
3107
|
-
*
|
|
3305
|
+
* Blockchain ID on which this output is consumed on.
|
|
3108
3306
|
*/
|
|
3109
|
-
|
|
3307
|
+
consumedOnChainId: string;
|
|
3110
3308
|
/**
|
|
3111
|
-
*
|
|
3309
|
+
* Transaction ID that consumed this output.
|
|
3112
3310
|
*/
|
|
3113
|
-
|
|
3311
|
+
consumingTxHash?: string;
|
|
3114
3312
|
/**
|
|
3115
|
-
* Blockchain ID on which this output is
|
|
3313
|
+
* Blockchain ID on which this output is created on.
|
|
3116
3314
|
*/
|
|
3117
|
-
|
|
3315
|
+
createdOnChainId: string;
|
|
3118
3316
|
/**
|
|
3119
|
-
*
|
|
3317
|
+
* UTXO ID for this output.
|
|
3120
3318
|
*/
|
|
3121
|
-
|
|
3319
|
+
utxoId: string;
|
|
3122
3320
|
/**
|
|
3123
|
-
*
|
|
3321
|
+
* Unix timestamp in seconds at which this output was consumed.
|
|
3124
3322
|
*/
|
|
3125
|
-
|
|
3323
|
+
consumingTxTimestamp?: number;
|
|
3126
3324
|
/**
|
|
3127
|
-
*
|
|
3325
|
+
* Transaction ID that created this output.
|
|
3128
3326
|
*/
|
|
3129
|
-
|
|
3327
|
+
creationTxHash: string;
|
|
3130
3328
|
/**
|
|
3131
|
-
*
|
|
3329
|
+
* Credentials that signed the transaction to consume this utxo
|
|
3132
3330
|
*/
|
|
3133
|
-
|
|
3331
|
+
credentials?: Array<UtxoCredential>;
|
|
3134
3332
|
/**
|
|
3135
|
-
*
|
|
3333
|
+
* Index representing the minting set for the NFT mint output.
|
|
3136
3334
|
*/
|
|
3137
|
-
|
|
3335
|
+
groupId?: number;
|
|
3138
3336
|
/**
|
|
3139
3337
|
* Locktime in seconds after which this output can be consumed.
|
|
3140
3338
|
*/
|
|
3141
3339
|
locktime: number;
|
|
3142
3340
|
/**
|
|
3143
|
-
*
|
|
3341
|
+
* Postion of this output in a list of lexiographically sorted outputs of a transaction.
|
|
3144
3342
|
*/
|
|
3145
|
-
|
|
3343
|
+
outputIndex: string;
|
|
3146
3344
|
/**
|
|
3147
|
-
*
|
|
3345
|
+
* Hex encoded data for NFT assets.
|
|
3148
3346
|
*/
|
|
3149
|
-
|
|
3347
|
+
payload?: string;
|
|
3150
3348
|
/**
|
|
3151
|
-
*
|
|
3349
|
+
* Minimum number of signatures required to consume this output.
|
|
3152
3350
|
*/
|
|
3153
|
-
|
|
3351
|
+
threshold: number;
|
|
3154
3352
|
/**
|
|
3155
|
-
*
|
|
3353
|
+
* Unix timestamp in seconds at which this outptut was created.
|
|
3156
3354
|
*/
|
|
3157
|
-
|
|
3355
|
+
timestamp: number;
|
|
3158
3356
|
/**
|
|
3159
|
-
*
|
|
3357
|
+
* Type of output.
|
|
3160
3358
|
*/
|
|
3161
|
-
|
|
3359
|
+
utxoType: string;
|
|
3162
3360
|
};
|
|
3163
3361
|
|
|
3164
3362
|
type CChainExportTransaction = {
|
|
@@ -3289,17 +3487,18 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
3289
3487
|
|
|
3290
3488
|
declare enum PChainTransactionType {
|
|
3291
3489
|
ADD_VALIDATOR_TX = "AddValidatorTx",
|
|
3292
|
-
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
3293
|
-
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3294
|
-
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3295
3490
|
ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
|
|
3296
|
-
|
|
3297
|
-
REWARD_VALIDATOR_TX = "RewardValidatorTx",
|
|
3491
|
+
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
3298
3492
|
CREATE_CHAIN_TX = "CreateChainTx",
|
|
3299
3493
|
CREATE_SUBNET_TX = "CreateSubnetTx",
|
|
3300
3494
|
IMPORT_TX = "ImportTx",
|
|
3301
3495
|
EXPORT_TX = "ExportTx",
|
|
3302
3496
|
ADVANCE_TIME_TX = "AdvanceTimeTx",
|
|
3497
|
+
REWARD_VALIDATOR_TX = "RewardValidatorTx",
|
|
3498
|
+
REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
|
|
3499
|
+
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3500
|
+
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3501
|
+
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3303
3502
|
UNKNOWN = "UNKNOWN"
|
|
3304
3503
|
}
|
|
3305
3504
|
|
|
@@ -3310,29 +3509,48 @@ declare enum UtxoType {
|
|
|
3310
3509
|
|
|
3311
3510
|
type PChainUtxo = {
|
|
3312
3511
|
/**
|
|
3313
|
-
*
|
|
3512
|
+
* Addresses that are eligible to sign the consumption of this output.
|
|
3314
3513
|
*/
|
|
3315
3514
|
addresses: Array<string>;
|
|
3515
|
+
asset: Asset;
|
|
3516
|
+
/**
|
|
3517
|
+
* Blockchain ID on which this output is consumed on.
|
|
3518
|
+
*/
|
|
3519
|
+
consumedOnChainId: string;
|
|
3520
|
+
/**
|
|
3521
|
+
* Transaction ID that consumed this output.
|
|
3522
|
+
*/
|
|
3523
|
+
consumingTxHash?: string;
|
|
3524
|
+
/**
|
|
3525
|
+
* Blockchain ID on which this output is created on.
|
|
3526
|
+
*/
|
|
3527
|
+
createdOnChainId: string;
|
|
3528
|
+
/**
|
|
3529
|
+
* UTXO ID for this output.
|
|
3530
|
+
*/
|
|
3316
3531
|
utxoId: string;
|
|
3317
|
-
|
|
3318
|
-
|
|
3532
|
+
/**
|
|
3533
|
+
* @deprecated
|
|
3534
|
+
*/
|
|
3535
|
+
amount: string;
|
|
3536
|
+
/**
|
|
3537
|
+
* @deprecated
|
|
3538
|
+
*/
|
|
3539
|
+
assetId: string;
|
|
3319
3540
|
blockNumber: string;
|
|
3320
3541
|
blockTimestamp: number;
|
|
3321
|
-
consumingTxHash?: string;
|
|
3322
|
-
consumingBlockTimestamp?: number;
|
|
3323
3542
|
consumingBlockNumber?: string;
|
|
3324
|
-
|
|
3325
|
-
utxoType: UtxoType;
|
|
3326
|
-
amount: string;
|
|
3327
|
-
stakeableLocktime?: number;
|
|
3543
|
+
consumingBlockTimestamp?: number;
|
|
3328
3544
|
platformLocktime?: number;
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3545
|
+
outputIndex: number;
|
|
3546
|
+
rewardType?: RewardType;
|
|
3547
|
+
stakeableLocktime?: number;
|
|
3332
3548
|
staked?: boolean;
|
|
3333
|
-
|
|
3549
|
+
threshold?: number;
|
|
3550
|
+
txHash: string;
|
|
3334
3551
|
utxoEndTimestamp?: number;
|
|
3335
|
-
|
|
3552
|
+
utxoStartTimestamp?: number;
|
|
3553
|
+
utxoType: UtxoType;
|
|
3336
3554
|
};
|
|
3337
3555
|
|
|
3338
3556
|
type PChainTransaction = {
|
|
@@ -3360,15 +3578,15 @@ type PChainTransaction = {
|
|
|
3360
3578
|
/**
|
|
3361
3579
|
* A list of objects containing P-chain Asset ID and the amount of that Asset ID.
|
|
3362
3580
|
*/
|
|
3363
|
-
value: Array<
|
|
3581
|
+
value: Array<Asset>;
|
|
3364
3582
|
/**
|
|
3365
3583
|
* A list of objects containing P-chain Asset ID and the amount of that Asset ID.
|
|
3366
3584
|
*/
|
|
3367
|
-
amountBurned: Array<
|
|
3585
|
+
amountBurned: Array<Asset>;
|
|
3368
3586
|
/**
|
|
3369
3587
|
* A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3370
3588
|
*/
|
|
3371
|
-
amountStaked: Array<
|
|
3589
|
+
amountStaked: Array<Asset>;
|
|
3372
3590
|
/**
|
|
3373
3591
|
* Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3374
3592
|
*/
|
|
@@ -3411,6 +3629,15 @@ type ListPChainTransactionsResponse = {
|
|
|
3411
3629
|
chainInfo: PrimaryNetworkChainInfo;
|
|
3412
3630
|
};
|
|
3413
3631
|
|
|
3632
|
+
declare enum XChainTransactionType {
|
|
3633
|
+
BASE_TX = "BaseTx",
|
|
3634
|
+
CREATE_ASSET_TX = "CreateAssetTx",
|
|
3635
|
+
OPERATION_TX = "OperationTx",
|
|
3636
|
+
IMPORT_TX = "ImportTx",
|
|
3637
|
+
EXPORT_TX = "ExportTx",
|
|
3638
|
+
UNKNOWN = "UNKNOWN"
|
|
3639
|
+
}
|
|
3640
|
+
|
|
3414
3641
|
type XChainLinearTransaction = {
|
|
3415
3642
|
/**
|
|
3416
3643
|
* Unique ID for this transaction.
|
|
@@ -3427,7 +3654,7 @@ type XChainLinearTransaction = {
|
|
|
3427
3654
|
/**
|
|
3428
3655
|
* Type of transaction.
|
|
3429
3656
|
*/
|
|
3430
|
-
txType:
|
|
3657
|
+
txType: XChainTransactionType;
|
|
3431
3658
|
/**
|
|
3432
3659
|
* Hex encoded memo bytes for this transaction.
|
|
3433
3660
|
*/
|
|
@@ -3504,7 +3731,7 @@ type XChainNonLinearTransaction = {
|
|
|
3504
3731
|
/**
|
|
3505
3732
|
* Type of transaction.
|
|
3506
3733
|
*/
|
|
3507
|
-
txType:
|
|
3734
|
+
txType: XChainTransactionType;
|
|
3508
3735
|
/**
|
|
3509
3736
|
* Hex encoded memo bytes for this transaction.
|
|
3510
3737
|
*/
|
|
@@ -3562,17 +3789,18 @@ declare enum PChainId {
|
|
|
3562
3789
|
|
|
3563
3790
|
declare enum PrimaryNetworkTxType {
|
|
3564
3791
|
ADD_VALIDATOR_TX = "AddValidatorTx",
|
|
3565
|
-
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
3566
|
-
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3567
|
-
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3568
3792
|
ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
|
|
3569
|
-
|
|
3570
|
-
REWARD_VALIDATOR_TX = "RewardValidatorTx",
|
|
3793
|
+
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
3571
3794
|
CREATE_CHAIN_TX = "CreateChainTx",
|
|
3572
3795
|
CREATE_SUBNET_TX = "CreateSubnetTx",
|
|
3573
3796
|
IMPORT_TX = "ImportTx",
|
|
3574
3797
|
EXPORT_TX = "ExportTx",
|
|
3575
3798
|
ADVANCE_TIME_TX = "AdvanceTimeTx",
|
|
3799
|
+
REWARD_VALIDATOR_TX = "RewardValidatorTx",
|
|
3800
|
+
REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
|
|
3801
|
+
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3802
|
+
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3803
|
+
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3576
3804
|
UNKNOWN = "UNKNOWN",
|
|
3577
3805
|
BASE_TX = "BaseTx",
|
|
3578
3806
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
@@ -3939,4 +4167,4 @@ declare class ApiError extends Error {
|
|
|
3939
4167
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
3940
4168
|
}
|
|
3941
4169
|
|
|
3942
|
-
export { ActiveDelegatorDetails, ActiveValidatorDetails, 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, 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, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService,
|
|
4170
|
+
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 };
|