@avalabs/glacier-sdk 3.1.0-canary.814908f.0 → 3.1.0-canary.82c40e2.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.cjs +1 -1
- package/dist/index.d.ts +673 -113
- package/esm/generated/Glacier.d.ts +2 -0
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
- package/esm/generated/core/OpenAPI.js +1 -1
- package/esm/generated/models/AddressActivityEventType.d.ts +5 -0
- package/esm/generated/models/AddressActivityEventType.js +1 -0
- package/esm/generated/models/AddressActivityMetadata.d.ts +4 -4
- package/esm/generated/models/AvaxSupplyResponse.d.ts +48 -0
- package/esm/generated/models/Blockchain.d.ts +7 -1
- package/esm/generated/models/BlockchainId.d.ts +0 -2
- package/esm/generated/models/BlockchainId.js +1 -1
- package/esm/generated/models/BlockchainIds.d.ts +1 -3
- package/esm/generated/models/BlockchainIds.js +1 -1
- package/esm/generated/models/BlockchainInfo.d.ts +12 -0
- package/esm/generated/models/EVMAddressActivityRequest.d.ts +2 -4
- package/esm/generated/models/EVMAddressActivityResponse.d.ts +2 -2
- package/esm/generated/models/Erc1155Transfer.d.ts +5 -1
- package/esm/generated/models/Erc20Transfer.d.ts +5 -1
- package/esm/generated/models/Erc721Transfer.d.ts +5 -1
- package/esm/generated/models/EvmBlock.d.ts +9 -1
- package/esm/generated/models/EvmGenesisAllocDto.d.ts +16 -0
- package/esm/generated/models/EvmGenesisAllowListConfigDto.d.ts +20 -0
- package/esm/generated/models/EvmGenesisConfigDto.d.ts +96 -0
- package/esm/generated/models/EvmGenesisDto.d.ts +75 -0
- package/esm/generated/models/EvmGenesisFeeConfigDto.d.ts +36 -0
- package/esm/generated/models/EvmGenesisWarpConfigDto.d.ts +16 -0
- package/esm/generated/models/FullNativeTransactionDetails.d.ts +9 -1
- package/esm/generated/models/GetEvmBlockResponse.d.ts +9 -1
- package/esm/generated/models/InternalTransaction.d.ts +20 -15
- package/esm/generated/models/ListIcmMessagesResponse.d.ts +2 -1
- package/esm/generated/models/ListL1ValidatorsResponse.d.ts +4 -0
- package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +2 -1
- package/esm/generated/models/ListWebhooksResponse.d.ts +3 -2
- package/esm/generated/models/NativeTransaction.d.ts +9 -1
- package/esm/generated/models/PChainTransaction.d.ts +6 -1
- package/esm/generated/models/PChainUtxo.d.ts +4 -0
- package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
- package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
- package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
- package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
- package/esm/generated/models/PrimaryNetworkAddressesBodyDto.d.ts +8 -0
- package/esm/generated/models/{PlatformBalanceThresholdFilter.d.ts → PrimaryNetworkBalanceThresholdFilter.d.ts} +2 -2
- package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
- package/esm/generated/models/SignatureAggregatorRequest.d.ts +21 -1
- package/esm/generated/models/TeleporterMessageInfo.d.ts +2 -2
- package/esm/generated/models/Transaction.d.ts +2 -2
- package/esm/generated/models/Utxo.d.ts +4 -0
- package/esm/generated/models/UtxosSortByOption.d.ts +6 -0
- package/esm/generated/models/UtxosSortByOption.js +1 -0
- package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
- package/esm/generated/models/ValidatorActivityEventType.js +1 -0
- package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
- package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
- package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
- package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
- package/esm/generated/models/ValidatorActivityRequest.js +1 -0
- package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
- package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
- package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
- package/esm/generated/models/XChainId.d.ts +0 -1
- package/esm/generated/models/XChainId.js +1 -1
- package/esm/generated/services/AvaxSupplyService.d.ts +17 -0
- package/esm/generated/services/AvaxSupplyService.js +1 -0
- package/esm/generated/services/EvmBlocksService.d.ts +1 -1
- package/esm/generated/services/EvmChainsService.d.ts +1 -1
- package/esm/generated/services/EvmTransactionsService.d.ts +1 -1
- package/esm/generated/services/HealthCheckService.d.ts +9 -2
- package/esm/generated/services/HealthCheckService.js +1 -1
- package/esm/generated/services/PrimaryNetworkService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +56 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
- package/esm/generated/services/WebhooksService.d.ts +9 -7
- package/esm/index.d.ts +29 -8
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/EventType.d.ts +0 -7
- package/esm/generated/models/EventType.js +0 -1
- package/esm/generated/models/PlatformActivityKeyType.d.ts +0 -10
- package/esm/generated/models/PlatformActivityKeyType.js +0 -1
- package/esm/generated/models/PlatformActivityMetadata.d.ts +0 -37
- package/esm/generated/models/PlatformActivityRequest.d.ts +0 -31
- package/esm/generated/models/PlatformActivityRequest.js +0 -1
- package/esm/generated/models/PlatformActivityResponse.d.ts +0 -17
- package/esm/generated/models/PlatformActivitySubEvents.d.ts +0 -11
- package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +0 -10
- package/esm/generated/models/PlatformAddressActivitySubEventType.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -54,6 +54,65 @@ declare abstract class BaseHttpRequest {
|
|
|
54
54
|
abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
type AvaxSupplyResponse = {
|
|
58
|
+
/**
|
|
59
|
+
* The circulating supply of AVAX.
|
|
60
|
+
*/
|
|
61
|
+
circulatingSupply: string;
|
|
62
|
+
/**
|
|
63
|
+
* The total supply of AVAX.
|
|
64
|
+
*/
|
|
65
|
+
totalSupply: string;
|
|
66
|
+
/**
|
|
67
|
+
* Represents the total amount of AVAX burned on the P-Chain. This value includes AVAX lost when the sum of input UTXOs exceeds the sum of output UTXOs—potentially by more than the expected transaction fee, such as in malformed or improperly constructed transactions—as well as all L1 validator fees that have been burned to date.
|
|
68
|
+
*/
|
|
69
|
+
totalPBurned: string;
|
|
70
|
+
/**
|
|
71
|
+
* Represents the total amount of AVAX burned on the C-Chain. This value includes the total amount of AVAX burned on the C-Chain in evm txns and the total amount of AVAX burned on the C-Chain in atomic txns.
|
|
72
|
+
*/
|
|
73
|
+
totalCBurned: string;
|
|
74
|
+
/**
|
|
75
|
+
* The total X-chain burned fees of AVAX.
|
|
76
|
+
*/
|
|
77
|
+
totalXBurned: string;
|
|
78
|
+
/**
|
|
79
|
+
* The total staked AVAX.
|
|
80
|
+
*/
|
|
81
|
+
totalStaked: string;
|
|
82
|
+
/**
|
|
83
|
+
* The total locked AVAX.
|
|
84
|
+
*/
|
|
85
|
+
totalLocked: string;
|
|
86
|
+
/**
|
|
87
|
+
* The total rewards AVAX.
|
|
88
|
+
*/
|
|
89
|
+
totalRewards: string;
|
|
90
|
+
/**
|
|
91
|
+
* The last updated time of the AVAX supply.
|
|
92
|
+
*/
|
|
93
|
+
lastUpdated: string;
|
|
94
|
+
/**
|
|
95
|
+
* The genesis unlock amount of the AVAX supply.
|
|
96
|
+
*/
|
|
97
|
+
genesisUnlock: string;
|
|
98
|
+
/**
|
|
99
|
+
* The total L1 validator fees of AVAX.
|
|
100
|
+
*/
|
|
101
|
+
l1ValidatorFees: string;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
declare class AvaxSupplyService {
|
|
105
|
+
readonly httpRequest: BaseHttpRequest;
|
|
106
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
107
|
+
/**
|
|
108
|
+
* Get AVAX supply information
|
|
109
|
+
* Get AVAX supply information that includes total supply, circulating supply, total p burned, total c burned, total x burned, total staked, total locked, total rewards, and last updated.
|
|
110
|
+
* @returns AvaxSupplyResponse Successful response
|
|
111
|
+
* @throws ApiError
|
|
112
|
+
*/
|
|
113
|
+
getAvaxSupply(): CancelablePromise<AvaxSupplyResponse>;
|
|
114
|
+
}
|
|
115
|
+
|
|
57
116
|
type LogsFormatMetadata = {
|
|
58
117
|
/**
|
|
59
118
|
* The IP address of the client that made the request.
|
|
@@ -1092,9 +1151,17 @@ type GetEvmBlockResponse = {
|
|
|
1092
1151
|
*/
|
|
1093
1152
|
blockNumber: string;
|
|
1094
1153
|
/**
|
|
1095
|
-
* The block
|
|
1154
|
+
* The block creation (proposal) timestamp in seconds
|
|
1096
1155
|
*/
|
|
1097
1156
|
blockTimestamp: number;
|
|
1157
|
+
/**
|
|
1158
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
1159
|
+
*/
|
|
1160
|
+
blockTimestampMilliseconds?: number;
|
|
1161
|
+
/**
|
|
1162
|
+
* Minimum block delay in milliseconds. Available only after Granite upgrade.
|
|
1163
|
+
*/
|
|
1164
|
+
blockMinDelayExcess?: number;
|
|
1098
1165
|
/**
|
|
1099
1166
|
* The block hash identifier.
|
|
1100
1167
|
*/
|
|
@@ -1140,9 +1207,17 @@ type EvmBlock = {
|
|
|
1140
1207
|
*/
|
|
1141
1208
|
blockNumber: string;
|
|
1142
1209
|
/**
|
|
1143
|
-
* The block
|
|
1210
|
+
* The block creation (proposal) timestamp in seconds
|
|
1144
1211
|
*/
|
|
1145
1212
|
blockTimestamp: number;
|
|
1213
|
+
/**
|
|
1214
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
1215
|
+
*/
|
|
1216
|
+
blockTimestampMilliseconds?: number;
|
|
1217
|
+
/**
|
|
1218
|
+
* Minimum block delay in milliseconds. Available only after Granite upgrade.
|
|
1219
|
+
*/
|
|
1220
|
+
blockMinDelayExcess?: number;
|
|
1146
1221
|
/**
|
|
1147
1222
|
* The block hash identifier.
|
|
1148
1223
|
*/
|
|
@@ -1191,7 +1266,7 @@ declare class EvmBlocksService {
|
|
|
1191
1266
|
constructor(httpRequest: BaseHttpRequest);
|
|
1192
1267
|
/**
|
|
1193
1268
|
* List latest blocks across all supported EVM chains
|
|
1194
|
-
* Lists the most recent blocks from all supported
|
|
1269
|
+
* Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
|
|
1195
1270
|
* @returns ListEvmBlocksResponse Successful response
|
|
1196
1271
|
* @throws ApiError
|
|
1197
1272
|
*/
|
|
@@ -1390,9 +1465,17 @@ type NativeTransaction = {
|
|
|
1390
1465
|
*/
|
|
1391
1466
|
blockNumber: string;
|
|
1392
1467
|
/**
|
|
1393
|
-
* The block
|
|
1468
|
+
* The block creation (proposal) timestamp in seconds
|
|
1394
1469
|
*/
|
|
1395
1470
|
blockTimestamp: number;
|
|
1471
|
+
/**
|
|
1472
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
1473
|
+
*/
|
|
1474
|
+
blockTimestampMilliseconds?: number;
|
|
1475
|
+
/**
|
|
1476
|
+
* Minimum block delay in milliseconds. Available only after Granite upgrade.
|
|
1477
|
+
*/
|
|
1478
|
+
blockMinDelayExcess?: number;
|
|
1396
1479
|
/**
|
|
1397
1480
|
* The block hash identifier.
|
|
1398
1481
|
*/
|
|
@@ -1457,7 +1540,7 @@ declare class EvmChainsService {
|
|
|
1457
1540
|
constructor(httpRequest: BaseHttpRequest);
|
|
1458
1541
|
/**
|
|
1459
1542
|
* List all chains associated with a given address
|
|
1460
|
-
* Lists the chains where the specified address has
|
|
1543
|
+
* Lists the chains where the specified address has participated in transactions or ERC token transfers, either as a sender or receiver. The data is refreshed every 15 minutes.
|
|
1461
1544
|
* @returns ListAddressChainsResponse Successful response
|
|
1462
1545
|
* @throws ApiError
|
|
1463
1546
|
*/
|
|
@@ -1981,9 +2064,17 @@ type FullNativeTransactionDetails = {
|
|
|
1981
2064
|
*/
|
|
1982
2065
|
blockNumber: string;
|
|
1983
2066
|
/**
|
|
1984
|
-
* The block
|
|
2067
|
+
* The block creation (proposal) timestamp in seconds
|
|
1985
2068
|
*/
|
|
1986
2069
|
blockTimestamp: number;
|
|
2070
|
+
/**
|
|
2071
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
2072
|
+
*/
|
|
2073
|
+
blockTimestampMilliseconds?: number;
|
|
2074
|
+
/**
|
|
2075
|
+
* Minimum block delay in milliseconds. Available only after Granite upgrade.
|
|
2076
|
+
*/
|
|
2077
|
+
blockMinDelayExcess?: number;
|
|
1987
2078
|
/**
|
|
1988
2079
|
* The block hash identifier.
|
|
1989
2080
|
*/
|
|
@@ -2084,11 +2175,11 @@ type TeleporterMessageInfo = {
|
|
|
2084
2175
|
/**
|
|
2085
2176
|
* chain id of the source chain. valid only for destination transactions
|
|
2086
2177
|
*/
|
|
2087
|
-
sourceChainId?:
|
|
2178
|
+
sourceChainId?: string;
|
|
2088
2179
|
/**
|
|
2089
2180
|
* chain id of the destination chain. valid only for source transactions
|
|
2090
2181
|
*/
|
|
2091
|
-
destinationChainId?:
|
|
2182
|
+
destinationChainId?: string;
|
|
2092
2183
|
};
|
|
2093
2184
|
|
|
2094
2185
|
type GetTransactionResponse = {
|
|
@@ -2130,9 +2221,13 @@ type Erc1155Transfer = {
|
|
|
2130
2221
|
*/
|
|
2131
2222
|
blockNumber: string;
|
|
2132
2223
|
/**
|
|
2133
|
-
* The block
|
|
2224
|
+
* The block creation (proposal) timestamp in seconds
|
|
2134
2225
|
*/
|
|
2135
2226
|
blockTimestamp: number;
|
|
2227
|
+
/**
|
|
2228
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
2229
|
+
*/
|
|
2230
|
+
blockTimestampMilliseconds?: number;
|
|
2136
2231
|
/**
|
|
2137
2232
|
* The block hash identifier.
|
|
2138
2233
|
*/
|
|
@@ -2162,9 +2257,13 @@ type Erc20Transfer = {
|
|
|
2162
2257
|
*/
|
|
2163
2258
|
blockNumber: string;
|
|
2164
2259
|
/**
|
|
2165
|
-
* The block
|
|
2260
|
+
* The block creation (proposal) timestamp in seconds
|
|
2166
2261
|
*/
|
|
2167
2262
|
blockTimestamp: number;
|
|
2263
|
+
/**
|
|
2264
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
2265
|
+
*/
|
|
2266
|
+
blockTimestampMilliseconds?: number;
|
|
2168
2267
|
/**
|
|
2169
2268
|
* The block hash identifier.
|
|
2170
2269
|
*/
|
|
@@ -2194,9 +2293,13 @@ type Erc721Transfer = {
|
|
|
2194
2293
|
*/
|
|
2195
2294
|
blockNumber: string;
|
|
2196
2295
|
/**
|
|
2197
|
-
* The block
|
|
2296
|
+
* The block creation (proposal) timestamp in seconds
|
|
2198
2297
|
*/
|
|
2199
2298
|
blockTimestamp: number;
|
|
2299
|
+
/**
|
|
2300
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
2301
|
+
*/
|
|
2302
|
+
blockTimestampMilliseconds?: number;
|
|
2200
2303
|
/**
|
|
2201
2304
|
* The block hash identifier.
|
|
2202
2305
|
*/
|
|
@@ -2221,33 +2324,35 @@ type ListErc721TransactionsResponse = {
|
|
|
2221
2324
|
|
|
2222
2325
|
type InternalTransaction = {
|
|
2223
2326
|
/**
|
|
2224
|
-
*
|
|
2327
|
+
* The block number on the chain.
|
|
2225
2328
|
*/
|
|
2226
|
-
|
|
2329
|
+
blockNumber: string;
|
|
2227
2330
|
/**
|
|
2228
|
-
*
|
|
2331
|
+
* The block creation (proposal) timestamp in seconds
|
|
2229
2332
|
*/
|
|
2230
|
-
|
|
2333
|
+
blockTimestamp: number;
|
|
2231
2334
|
/**
|
|
2232
|
-
*
|
|
2335
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
2233
2336
|
*/
|
|
2234
|
-
|
|
2337
|
+
blockTimestampMilliseconds?: number;
|
|
2235
2338
|
/**
|
|
2236
|
-
*
|
|
2339
|
+
* The block hash identifier.
|
|
2237
2340
|
*/
|
|
2238
|
-
|
|
2341
|
+
blockHash: string;
|
|
2239
2342
|
/**
|
|
2240
|
-
*
|
|
2343
|
+
* The transaction hash identifier.
|
|
2241
2344
|
*/
|
|
2242
|
-
|
|
2345
|
+
txHash: string;
|
|
2346
|
+
from: RichAddress;
|
|
2347
|
+
to: RichAddress;
|
|
2348
|
+
internalTxType: InternalTransactionOpCall;
|
|
2349
|
+
value: string;
|
|
2243
2350
|
/**
|
|
2244
|
-
*
|
|
2351
|
+
* True if the internal transaction was reverted.
|
|
2245
2352
|
*/
|
|
2353
|
+
isReverted: boolean;
|
|
2354
|
+
gasUsed: string;
|
|
2246
2355
|
gasLimit: string;
|
|
2247
|
-
/**
|
|
2248
|
-
* Transaction hash
|
|
2249
|
-
*/
|
|
2250
|
-
transactionHash: string;
|
|
2251
2356
|
};
|
|
2252
2357
|
|
|
2253
2358
|
type ListInternalTransactionsResponse = {
|
|
@@ -2307,7 +2412,7 @@ declare class EvmTransactionsService {
|
|
|
2307
2412
|
constructor(httpRequest: BaseHttpRequest);
|
|
2308
2413
|
/**
|
|
2309
2414
|
* List the latest transactions across all supported EVM chains
|
|
2310
|
-
* Lists the most recent transactions from all supported EVM-compatible
|
|
2415
|
+
* Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
|
|
2311
2416
|
* @returns ListNativeTransactionsResponse Successful response
|
|
2312
2417
|
* @throws ApiError
|
|
2313
2418
|
*/
|
|
@@ -2706,11 +2811,18 @@ declare class HealthCheckService {
|
|
|
2706
2811
|
constructor(httpRequest: BaseHttpRequest);
|
|
2707
2812
|
/**
|
|
2708
2813
|
* Get the health of the service
|
|
2709
|
-
* Check the health of the service.
|
|
2710
|
-
* @returns HealthCheckResultDto The health of the service
|
|
2814
|
+
* Check the health of the service. This checks the read and write health of the database and cache.
|
|
2815
|
+
* @returns HealthCheckResultDto The health of the service. This checks the read and write health of the database and cache.
|
|
2711
2816
|
* @throws ApiError
|
|
2712
2817
|
*/
|
|
2713
2818
|
dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
|
|
2819
|
+
/**
|
|
2820
|
+
* Get the liveliness of the service (reads only)
|
|
2821
|
+
* Check the liveliness of the service (reads only).
|
|
2822
|
+
* @returns HealthCheckResultDto The liveliness of the service (reads only)
|
|
2823
|
+
* @throws ApiError
|
|
2824
|
+
*/
|
|
2825
|
+
liveCheck(): CancelablePromise<HealthCheckResultDto>;
|
|
2714
2826
|
}
|
|
2715
2827
|
|
|
2716
2828
|
type IcmDestinationTransaction = {
|
|
@@ -2844,7 +2956,7 @@ type ListIcmMessagesResponse = {
|
|
|
2844
2956
|
* 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.
|
|
2845
2957
|
*/
|
|
2846
2958
|
nextPageToken?: string;
|
|
2847
|
-
messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
|
|
2959
|
+
messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
2848
2960
|
};
|
|
2849
2961
|
|
|
2850
2962
|
declare class InterchainMessagingService {
|
|
@@ -3140,7 +3252,7 @@ declare enum PrimaryNetworkOperationType {
|
|
|
3140
3252
|
type PrimaryNetworkOptions = {
|
|
3141
3253
|
addresses?: Array<string>;
|
|
3142
3254
|
cChainEvmAddresses?: Array<string>;
|
|
3143
|
-
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '
|
|
3255
|
+
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
3144
3256
|
};
|
|
3145
3257
|
|
|
3146
3258
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
@@ -3228,6 +3340,252 @@ declare class OperationsService {
|
|
|
3228
3340
|
}): CancelablePromise<OperationStatusResponse>;
|
|
3229
3341
|
}
|
|
3230
3342
|
|
|
3343
|
+
type EvmGenesisAllocDto = {
|
|
3344
|
+
/**
|
|
3345
|
+
* Account balance in hex format
|
|
3346
|
+
*/
|
|
3347
|
+
balance?: string;
|
|
3348
|
+
/**
|
|
3349
|
+
* Contract bytecode in hex format
|
|
3350
|
+
*/
|
|
3351
|
+
code?: string;
|
|
3352
|
+
/**
|
|
3353
|
+
* Contract storage slots
|
|
3354
|
+
*/
|
|
3355
|
+
storage?: Record<string, string>;
|
|
3356
|
+
};
|
|
3357
|
+
|
|
3358
|
+
type EvmGenesisAllowListConfigDto = {
|
|
3359
|
+
/**
|
|
3360
|
+
* Block timestamp
|
|
3361
|
+
*/
|
|
3362
|
+
blockTimestamp?: number;
|
|
3363
|
+
/**
|
|
3364
|
+
* Admin addresses
|
|
3365
|
+
*/
|
|
3366
|
+
adminAddresses?: Array<string>;
|
|
3367
|
+
/**
|
|
3368
|
+
* Manager addresses
|
|
3369
|
+
*/
|
|
3370
|
+
managerAddresses?: Array<string>;
|
|
3371
|
+
/**
|
|
3372
|
+
* Enabled addresses
|
|
3373
|
+
*/
|
|
3374
|
+
enabledAddresses?: Array<string>;
|
|
3375
|
+
};
|
|
3376
|
+
|
|
3377
|
+
type EvmGenesisFeeConfigDto = {
|
|
3378
|
+
/**
|
|
3379
|
+
* Base fee change denominator
|
|
3380
|
+
*/
|
|
3381
|
+
baseFeeChangeDenominator?: number;
|
|
3382
|
+
/**
|
|
3383
|
+
* Block gas cost step
|
|
3384
|
+
*/
|
|
3385
|
+
blockGasCostStep?: number;
|
|
3386
|
+
/**
|
|
3387
|
+
* Gas limit
|
|
3388
|
+
*/
|
|
3389
|
+
gasLimit?: number;
|
|
3390
|
+
/**
|
|
3391
|
+
* Maximum block gas cost
|
|
3392
|
+
*/
|
|
3393
|
+
maxBlockGasCost?: number;
|
|
3394
|
+
/**
|
|
3395
|
+
* Minimum base fee
|
|
3396
|
+
*/
|
|
3397
|
+
minBaseFee?: number;
|
|
3398
|
+
/**
|
|
3399
|
+
* Minimum block gas cost
|
|
3400
|
+
*/
|
|
3401
|
+
minBlockGasCost?: number;
|
|
3402
|
+
/**
|
|
3403
|
+
* Target block rate
|
|
3404
|
+
*/
|
|
3405
|
+
targetBlockRate?: number;
|
|
3406
|
+
/**
|
|
3407
|
+
* Target gas
|
|
3408
|
+
*/
|
|
3409
|
+
targetGas?: number;
|
|
3410
|
+
};
|
|
3411
|
+
|
|
3412
|
+
type EvmGenesisWarpConfigDto = {
|
|
3413
|
+
/**
|
|
3414
|
+
* Block timestamp
|
|
3415
|
+
*/
|
|
3416
|
+
blockTimestamp?: number;
|
|
3417
|
+
/**
|
|
3418
|
+
* Quorum numerator
|
|
3419
|
+
*/
|
|
3420
|
+
quorumNumerator?: number;
|
|
3421
|
+
/**
|
|
3422
|
+
* Require primary network signers
|
|
3423
|
+
*/
|
|
3424
|
+
requirePrimaryNetworkSigners?: boolean;
|
|
3425
|
+
};
|
|
3426
|
+
|
|
3427
|
+
type EvmGenesisConfigDto = {
|
|
3428
|
+
/**
|
|
3429
|
+
* Berlin block number
|
|
3430
|
+
*/
|
|
3431
|
+
berlinBlock?: number;
|
|
3432
|
+
/**
|
|
3433
|
+
* Byzantium block number
|
|
3434
|
+
*/
|
|
3435
|
+
byzantiumBlock?: number;
|
|
3436
|
+
/**
|
|
3437
|
+
* Chain ID
|
|
3438
|
+
*/
|
|
3439
|
+
chainId?: number;
|
|
3440
|
+
/**
|
|
3441
|
+
* Constantinople block number
|
|
3442
|
+
*/
|
|
3443
|
+
constantinopleBlock?: number;
|
|
3444
|
+
/**
|
|
3445
|
+
* EIP-150 block number
|
|
3446
|
+
*/
|
|
3447
|
+
eip150Block?: number;
|
|
3448
|
+
/**
|
|
3449
|
+
* EIP-150 hash
|
|
3450
|
+
*/
|
|
3451
|
+
eip150Hash?: string;
|
|
3452
|
+
/**
|
|
3453
|
+
* EIP-155 block number
|
|
3454
|
+
*/
|
|
3455
|
+
eip155Block?: number;
|
|
3456
|
+
/**
|
|
3457
|
+
* EIP-158 block number
|
|
3458
|
+
*/
|
|
3459
|
+
eip158Block?: number;
|
|
3460
|
+
/**
|
|
3461
|
+
* Fee configuration
|
|
3462
|
+
*/
|
|
3463
|
+
feeConfig?: EvmGenesisFeeConfigDto;
|
|
3464
|
+
/**
|
|
3465
|
+
* Homestead block number
|
|
3466
|
+
*/
|
|
3467
|
+
homesteadBlock?: number;
|
|
3468
|
+
/**
|
|
3469
|
+
* Istanbul block number
|
|
3470
|
+
*/
|
|
3471
|
+
istanbulBlock?: number;
|
|
3472
|
+
/**
|
|
3473
|
+
* London block number
|
|
3474
|
+
*/
|
|
3475
|
+
londonBlock?: number;
|
|
3476
|
+
/**
|
|
3477
|
+
* Muir Glacier block number
|
|
3478
|
+
*/
|
|
3479
|
+
muirGlacierBlock?: number;
|
|
3480
|
+
/**
|
|
3481
|
+
* Petersburg block number
|
|
3482
|
+
*/
|
|
3483
|
+
petersburgBlock?: number;
|
|
3484
|
+
/**
|
|
3485
|
+
* Subnet EVM timestamp
|
|
3486
|
+
*/
|
|
3487
|
+
subnetEVMTimestamp?: number;
|
|
3488
|
+
/**
|
|
3489
|
+
* Allow fee recipients
|
|
3490
|
+
*/
|
|
3491
|
+
allowFeeRecipients?: boolean;
|
|
3492
|
+
/**
|
|
3493
|
+
* Warp configuration
|
|
3494
|
+
*/
|
|
3495
|
+
warpConfig?: EvmGenesisWarpConfigDto;
|
|
3496
|
+
/**
|
|
3497
|
+
* Transaction allow list configuration
|
|
3498
|
+
*/
|
|
3499
|
+
txAllowListConfig?: EvmGenesisAllowListConfigDto;
|
|
3500
|
+
/**
|
|
3501
|
+
* Contract deployer allow list configuration
|
|
3502
|
+
*/
|
|
3503
|
+
contractDeployerAllowListConfig?: EvmGenesisAllowListConfigDto;
|
|
3504
|
+
/**
|
|
3505
|
+
* Contract native minter configuration
|
|
3506
|
+
*/
|
|
3507
|
+
contractNativeMinterConfig?: EvmGenesisAllowListConfigDto;
|
|
3508
|
+
/**
|
|
3509
|
+
* Fee manager configuration
|
|
3510
|
+
*/
|
|
3511
|
+
feeManagerConfig?: EvmGenesisAllowListConfigDto;
|
|
3512
|
+
/**
|
|
3513
|
+
* Reward manager configuration
|
|
3514
|
+
*/
|
|
3515
|
+
rewardManagerConfig?: EvmGenesisAllowListConfigDto;
|
|
3516
|
+
};
|
|
3517
|
+
|
|
3518
|
+
type EvmGenesisDto = {
|
|
3519
|
+
/**
|
|
3520
|
+
* Airdrop amount
|
|
3521
|
+
*/
|
|
3522
|
+
airdropAmount?: number | null;
|
|
3523
|
+
/**
|
|
3524
|
+
* Airdrop hash
|
|
3525
|
+
*/
|
|
3526
|
+
airdropHash?: string;
|
|
3527
|
+
/**
|
|
3528
|
+
* Allocation of accounts and balances
|
|
3529
|
+
*/
|
|
3530
|
+
alloc?: Record<string, EvmGenesisAllocDto>;
|
|
3531
|
+
/**
|
|
3532
|
+
* Base fee per gas
|
|
3533
|
+
*/
|
|
3534
|
+
baseFeePerGas?: number | null;
|
|
3535
|
+
/**
|
|
3536
|
+
* Blob gas used
|
|
3537
|
+
*/
|
|
3538
|
+
blobGasUsed?: string | null;
|
|
3539
|
+
/**
|
|
3540
|
+
* Coinbase address
|
|
3541
|
+
*/
|
|
3542
|
+
coinbase?: string;
|
|
3543
|
+
/**
|
|
3544
|
+
* Genesis configuration
|
|
3545
|
+
*/
|
|
3546
|
+
config?: EvmGenesisConfigDto;
|
|
3547
|
+
/**
|
|
3548
|
+
* Difficulty
|
|
3549
|
+
*/
|
|
3550
|
+
difficulty?: string;
|
|
3551
|
+
/**
|
|
3552
|
+
* Excess blob gas
|
|
3553
|
+
*/
|
|
3554
|
+
excessBlobGas?: string | null;
|
|
3555
|
+
/**
|
|
3556
|
+
* Extra data
|
|
3557
|
+
*/
|
|
3558
|
+
extraData?: string;
|
|
3559
|
+
/**
|
|
3560
|
+
* Gas limit
|
|
3561
|
+
*/
|
|
3562
|
+
gasLimit?: string;
|
|
3563
|
+
/**
|
|
3564
|
+
* Gas used
|
|
3565
|
+
*/
|
|
3566
|
+
gasUsed?: string;
|
|
3567
|
+
/**
|
|
3568
|
+
* Mix hash
|
|
3569
|
+
*/
|
|
3570
|
+
mixHash?: string;
|
|
3571
|
+
/**
|
|
3572
|
+
* Nonce
|
|
3573
|
+
*/
|
|
3574
|
+
nonce?: string;
|
|
3575
|
+
/**
|
|
3576
|
+
* Block number
|
|
3577
|
+
*/
|
|
3578
|
+
number?: string;
|
|
3579
|
+
/**
|
|
3580
|
+
* Parent hash
|
|
3581
|
+
*/
|
|
3582
|
+
parentHash?: string;
|
|
3583
|
+
/**
|
|
3584
|
+
* Block timestamp
|
|
3585
|
+
*/
|
|
3586
|
+
timestamp?: string;
|
|
3587
|
+
};
|
|
3588
|
+
|
|
3231
3589
|
type Blockchain = {
|
|
3232
3590
|
createBlockTimestamp: number;
|
|
3233
3591
|
createBlockNumber: string;
|
|
@@ -3238,17 +3596,19 @@ type Blockchain = {
|
|
|
3238
3596
|
/**
|
|
3239
3597
|
* EVM Chain ID for the EVM-based chains. This field is extracted from genesis data, and may be present for non-EVM chains as well.
|
|
3240
3598
|
*/
|
|
3241
|
-
evmChainId
|
|
3599
|
+
evmChainId?: number;
|
|
3600
|
+
/**
|
|
3601
|
+
* The genesis data of the blockchain. Can be either a parsed EvmGenesisDto object or a raw JSON string.
|
|
3602
|
+
*/
|
|
3603
|
+
genesisData?: (EvmGenesisDto | string);
|
|
3242
3604
|
};
|
|
3243
3605
|
|
|
3244
3606
|
declare enum BlockchainIds {
|
|
3245
3607
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
3246
3608
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3247
3609
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3248
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3249
3610
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
3250
|
-
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
3251
|
-
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
|
|
3611
|
+
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
3252
3612
|
}
|
|
3253
3613
|
|
|
3254
3614
|
type ChainAddressChainIdMap = {
|
|
@@ -3438,6 +3798,10 @@ type ListL1ValidatorsResponse = {
|
|
|
3438
3798
|
* The list of L1 validations for the given Subnet ID, NodeId or validationId
|
|
3439
3799
|
*/
|
|
3440
3800
|
validators: Array<L1ValidatorDetailsFull>;
|
|
3801
|
+
/**
|
|
3802
|
+
* Block height at which the L1 validator's remaining balance is calculated
|
|
3803
|
+
*/
|
|
3804
|
+
blockHeight: string;
|
|
3441
3805
|
};
|
|
3442
3806
|
|
|
3443
3807
|
type L1ValidatorManagerDetails = {
|
|
@@ -3763,7 +4127,6 @@ type XChainAssetDetails = {
|
|
|
3763
4127
|
declare enum XChainId {
|
|
3764
4128
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3765
4129
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3766
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3767
4130
|
X_CHAIN = "x-chain"
|
|
3768
4131
|
}
|
|
3769
4132
|
|
|
@@ -3834,7 +4197,7 @@ declare class PrimaryNetworkService {
|
|
|
3834
4197
|
*/
|
|
3835
4198
|
pageToken?: string;
|
|
3836
4199
|
/**
|
|
3837
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
4200
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
|
|
3838
4201
|
*/
|
|
3839
4202
|
pageSize?: number;
|
|
3840
4203
|
/**
|
|
@@ -3874,7 +4237,7 @@ declare class PrimaryNetworkService {
|
|
|
3874
4237
|
*/
|
|
3875
4238
|
pageToken?: string;
|
|
3876
4239
|
/**
|
|
3877
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
4240
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
|
|
3878
4241
|
*/
|
|
3879
4242
|
pageSize?: number;
|
|
3880
4243
|
/**
|
|
@@ -4079,10 +4442,8 @@ declare enum BlockchainId {
|
|
|
4079
4442
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
4080
4443
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
4081
4444
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
4082
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
4083
4445
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
4084
4446
|
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
|
|
4085
|
-
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
|
|
4086
4447
|
P_CHAIN = "p-chain",
|
|
4087
4448
|
X_CHAIN = "x-chain",
|
|
4088
4449
|
C_CHAIN = "c-chain"
|
|
@@ -4672,6 +5033,10 @@ type Utxo = {
|
|
|
4672
5033
|
* UTXO ID for this output.
|
|
4673
5034
|
*/
|
|
4674
5035
|
utxoId: string;
|
|
5036
|
+
/**
|
|
5037
|
+
* The bytes of the UTXO
|
|
5038
|
+
*/
|
|
5039
|
+
utxoBytes?: string;
|
|
4675
5040
|
/**
|
|
4676
5041
|
* Unix timestamp in seconds at which this output was consumed.
|
|
4677
5042
|
*/
|
|
@@ -4840,6 +5205,15 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
4840
5205
|
chainInfo: PrimaryNetworkChainInfo;
|
|
4841
5206
|
};
|
|
4842
5207
|
|
|
5208
|
+
type BlockchainInfo = {
|
|
5209
|
+
chainName: string;
|
|
5210
|
+
vmId: string;
|
|
5211
|
+
/**
|
|
5212
|
+
* The genesis data of the blockchain. Present for CreateChainTx. EVM based chains will return the genesis data as an object. Non-EVM based chains will return the genesis data as an encoded string. The encoding depends on the VM
|
|
5213
|
+
*/
|
|
5214
|
+
genesisData?: (EvmGenesisDto | string);
|
|
5215
|
+
};
|
|
5216
|
+
|
|
4843
5217
|
type L1ValidatorDetailsTransaction = {
|
|
4844
5218
|
/**
|
|
4845
5219
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
@@ -4920,6 +5294,10 @@ type PChainUtxo = {
|
|
|
4920
5294
|
* UTXO ID for this output.
|
|
4921
5295
|
*/
|
|
4922
5296
|
utxoId: string;
|
|
5297
|
+
/**
|
|
5298
|
+
* The bytes of the UTXO
|
|
5299
|
+
*/
|
|
5300
|
+
utxoBytes?: string;
|
|
4923
5301
|
/**
|
|
4924
5302
|
* @deprecated
|
|
4925
5303
|
*/
|
|
@@ -4978,7 +5356,7 @@ type PChainTransaction = {
|
|
|
4978
5356
|
txHash: string;
|
|
4979
5357
|
txType: PChainTransactionType;
|
|
4980
5358
|
/**
|
|
4981
|
-
* The block
|
|
5359
|
+
* The block creation (proposal) timestamp in seconds
|
|
4982
5360
|
*/
|
|
4983
5361
|
blockTimestamp: number;
|
|
4984
5362
|
/**
|
|
@@ -5068,6 +5446,10 @@ type PChainTransaction = {
|
|
|
5068
5446
|
* Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
|
|
5069
5447
|
*/
|
|
5070
5448
|
blsCredentials?: BlsCredentials;
|
|
5449
|
+
/**
|
|
5450
|
+
* Details of the blockchain that was created in the CreateChainTx
|
|
5451
|
+
*/
|
|
5452
|
+
blockchainInfo?: BlockchainInfo;
|
|
5071
5453
|
};
|
|
5072
5454
|
|
|
5073
5455
|
type ListPChainTransactionsResponse = {
|
|
@@ -5438,6 +5820,18 @@ type ListUtxosResponse = {
|
|
|
5438
5820
|
chainInfo: PrimaryNetworkChainInfo;
|
|
5439
5821
|
};
|
|
5440
5822
|
|
|
5823
|
+
type PrimaryNetworkAddressesBodyDto = {
|
|
5824
|
+
/**
|
|
5825
|
+
* Comma-separated list of primary network addresses
|
|
5826
|
+
*/
|
|
5827
|
+
addresses: string;
|
|
5828
|
+
};
|
|
5829
|
+
|
|
5830
|
+
declare enum UtxosSortByOption {
|
|
5831
|
+
TIMESTAMP = "timestamp",
|
|
5832
|
+
AMOUNT = "amount"
|
|
5833
|
+
}
|
|
5834
|
+
|
|
5441
5835
|
declare class PrimaryNetworkUtxOsService {
|
|
5442
5836
|
readonly httpRequest: BaseHttpRequest;
|
|
5443
5837
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -5447,7 +5841,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
5447
5841
|
* @returns any Successful response
|
|
5448
5842
|
* @throws ApiError
|
|
5449
5843
|
*/
|
|
5450
|
-
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
5844
|
+
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
|
|
5451
5845
|
/**
|
|
5452
5846
|
* A primary network blockchain id or alias.
|
|
5453
5847
|
*/
|
|
@@ -5472,10 +5866,63 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
5472
5866
|
* Asset ID for any asset (only applicable X-Chain)
|
|
5473
5867
|
*/
|
|
5474
5868
|
assetId?: string;
|
|
5869
|
+
/**
|
|
5870
|
+
* The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
|
|
5871
|
+
*/
|
|
5872
|
+
minUtxoAmount?: number;
|
|
5475
5873
|
/**
|
|
5476
5874
|
* Boolean filter to include spent UTXOs.
|
|
5477
5875
|
*/
|
|
5478
5876
|
includeSpent?: boolean;
|
|
5877
|
+
/**
|
|
5878
|
+
* Which property to sort by, in conjunction with sortOrder.
|
|
5879
|
+
*/
|
|
5880
|
+
sortBy?: UtxosSortByOption;
|
|
5881
|
+
/**
|
|
5882
|
+
* 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.
|
|
5883
|
+
*/
|
|
5884
|
+
sortOrder?: SortOrder;
|
|
5885
|
+
}): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
|
|
5886
|
+
/**
|
|
5887
|
+
* List UTXOs v2 - Supports querying for more addresses
|
|
5888
|
+
* Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.
|
|
5889
|
+
* @returns any Successful response
|
|
5890
|
+
* @throws ApiError
|
|
5891
|
+
*/
|
|
5892
|
+
getUtxosByAddressesV2({ blockchainId, network, requestBody, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
|
|
5893
|
+
/**
|
|
5894
|
+
* A primary network blockchain id or alias.
|
|
5895
|
+
*/
|
|
5896
|
+
blockchainId: BlockchainId;
|
|
5897
|
+
/**
|
|
5898
|
+
* Either mainnet or testnet/fuji.
|
|
5899
|
+
*/
|
|
5900
|
+
network: Network;
|
|
5901
|
+
requestBody: PrimaryNetworkAddressesBodyDto;
|
|
5902
|
+
/**
|
|
5903
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
5904
|
+
*/
|
|
5905
|
+
pageToken?: string;
|
|
5906
|
+
/**
|
|
5907
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 1024.
|
|
5908
|
+
*/
|
|
5909
|
+
pageSize?: number;
|
|
5910
|
+
/**
|
|
5911
|
+
* Asset ID for any asset (only applicable X-Chain)
|
|
5912
|
+
*/
|
|
5913
|
+
assetId?: string;
|
|
5914
|
+
/**
|
|
5915
|
+
* The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
|
|
5916
|
+
*/
|
|
5917
|
+
minUtxoAmount?: number;
|
|
5918
|
+
/**
|
|
5919
|
+
* Boolean filter to include spent UTXOs.
|
|
5920
|
+
*/
|
|
5921
|
+
includeSpent?: boolean;
|
|
5922
|
+
/**
|
|
5923
|
+
* Which property to sort by, in conjunction with sortOrder.
|
|
5924
|
+
*/
|
|
5925
|
+
sortBy?: UtxosSortByOption;
|
|
5479
5926
|
/**
|
|
5480
5927
|
* 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.
|
|
5481
5928
|
*/
|
|
@@ -5589,10 +6036,30 @@ type SignatureAggregationResponse = {
|
|
|
5589
6036
|
};
|
|
5590
6037
|
|
|
5591
6038
|
type SignatureAggregatorRequest = {
|
|
5592
|
-
|
|
6039
|
+
/**
|
|
6040
|
+
* Either Message or Justification must be provided. Hex-encoded message, optionally prefixed with "0x"
|
|
6041
|
+
*/
|
|
6042
|
+
message?: string;
|
|
6043
|
+
/**
|
|
6044
|
+
* Either Justification or Message must be provided. Hex-encoded justification, optionally prefixed with "0x"
|
|
6045
|
+
*/
|
|
5593
6046
|
justification?: string;
|
|
6047
|
+
/**
|
|
6048
|
+
* Optional hex or cb58 encoded signing subnet ID. If omitted will default to the subnetID of the source blockchain.
|
|
6049
|
+
*/
|
|
5594
6050
|
signingSubnetId?: string;
|
|
6051
|
+
/**
|
|
6052
|
+
* Optional. Integer from 0 to 100 representing the percentage of the weight of the signing Subnet that is required to sign the message. Defaults to 67 if omitted.
|
|
6053
|
+
*/
|
|
5595
6054
|
quorumPercentage?: number;
|
|
6055
|
+
/**
|
|
6056
|
+
* Optional. Integer from 0 to 100 representing the additional percentage of weight of the signing Subnet that will be attempted to add to the signature. QuorumPercentage+QuorumPercentageBuffer must be less than or equal to 100. Obtaining signatures from more validators can take a longer time, but signatures representing a large percentage of the Subnet weight are less prone to become invalid due to validator weight changes. Defaults to 0 if omitted.
|
|
6057
|
+
*/
|
|
6058
|
+
quorumPercentageBuffer?: number;
|
|
6059
|
+
/**
|
|
6060
|
+
* Optional P-Chain height for validator set selection. If 0 (default), validators at proposed height will be used. If non-zero, validators at the specified P-Chain height will be used for signature aggregation.
|
|
6061
|
+
*/
|
|
6062
|
+
pChainHeight?: number;
|
|
5596
6063
|
};
|
|
5597
6064
|
|
|
5598
6065
|
declare class SignatureAggregatorService {
|
|
@@ -5760,7 +6227,7 @@ type ListTeleporterMessagesResponse = {
|
|
|
5760
6227
|
* 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.
|
|
5761
6228
|
*/
|
|
5762
6229
|
nextPageToken?: string;
|
|
5763
|
-
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
|
|
6230
|
+
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
5764
6231
|
};
|
|
5765
6232
|
|
|
5766
6233
|
declare class TeleporterService {
|
|
@@ -5858,28 +6325,23 @@ type AddressesChangeRequest = {
|
|
|
5858
6325
|
};
|
|
5859
6326
|
|
|
5860
6327
|
type AddressActivityMetadata = {
|
|
5861
|
-
/**
|
|
5862
|
-
* Ethereum address(es) for the address_activity event type
|
|
5863
|
-
*/
|
|
5864
|
-
addresses: Array<string>;
|
|
5865
6328
|
/**
|
|
5866
6329
|
* Array of hexadecimal strings of the event signatures.
|
|
5867
6330
|
*/
|
|
5868
6331
|
eventSignatures?: Array<string>;
|
|
6332
|
+
/**
|
|
6333
|
+
* Ethereum address(es) for the address_activity event type. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
|
|
6334
|
+
*/
|
|
6335
|
+
addresses: Array<string>;
|
|
5869
6336
|
};
|
|
5870
6337
|
|
|
5871
|
-
declare enum PrimaryNetworkType {
|
|
5872
|
-
MAINNET = "mainnet",
|
|
5873
|
-
FUJI = "fuji"
|
|
5874
|
-
}
|
|
5875
|
-
|
|
5876
6338
|
type EVMAddressActivityRequest = {
|
|
5877
6339
|
eventType: EVMAddressActivityRequest.eventType;
|
|
5878
6340
|
url: string;
|
|
5879
|
-
chainId: string;
|
|
5880
|
-
network?: PrimaryNetworkType;
|
|
5881
6341
|
name?: string;
|
|
5882
6342
|
description?: string;
|
|
6343
|
+
chainId: string;
|
|
6344
|
+
metadata: AddressActivityMetadata;
|
|
5883
6345
|
/**
|
|
5884
6346
|
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
5885
6347
|
*/
|
|
@@ -5888,7 +6350,6 @@ type EVMAddressActivityRequest = {
|
|
|
5888
6350
|
* Whether to include logs in the webhook payload.
|
|
5889
6351
|
*/
|
|
5890
6352
|
includeLogs?: boolean;
|
|
5891
|
-
metadata: AddressActivityMetadata;
|
|
5892
6353
|
};
|
|
5893
6354
|
declare namespace EVMAddressActivityRequest {
|
|
5894
6355
|
enum eventType {
|
|
@@ -5896,10 +6357,8 @@ declare namespace EVMAddressActivityRequest {
|
|
|
5896
6357
|
}
|
|
5897
6358
|
}
|
|
5898
6359
|
|
|
5899
|
-
declare enum
|
|
5900
|
-
ADDRESS_ACTIVITY = "address_activity"
|
|
5901
|
-
PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
|
|
5902
|
-
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6360
|
+
declare enum AddressActivityEventType {
|
|
6361
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
5903
6362
|
}
|
|
5904
6363
|
|
|
5905
6364
|
declare enum WebhookStatusType {
|
|
@@ -5909,13 +6368,13 @@ declare enum WebhookStatusType {
|
|
|
5909
6368
|
|
|
5910
6369
|
type EVMAddressActivityResponse = {
|
|
5911
6370
|
id: string;
|
|
5912
|
-
eventType: EventType;
|
|
5913
6371
|
url: string;
|
|
5914
6372
|
chainId: string;
|
|
5915
6373
|
status: WebhookStatusType;
|
|
5916
6374
|
createdAt: number;
|
|
5917
6375
|
name: string;
|
|
5918
6376
|
description: string;
|
|
6377
|
+
eventType: AddressActivityEventType;
|
|
5919
6378
|
metadata: AddressActivityMetadata;
|
|
5920
6379
|
/**
|
|
5921
6380
|
* Whether to include traces in the webhook payload.
|
|
@@ -5936,30 +6395,28 @@ type ListWebhookAddressesResponse = {
|
|
|
5936
6395
|
totalAddresses: number;
|
|
5937
6396
|
};
|
|
5938
6397
|
|
|
6398
|
+
declare enum PrimaryNetworkAddressActivityEventType {
|
|
6399
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
6400
|
+
}
|
|
6401
|
+
|
|
5939
6402
|
/**
|
|
5940
|
-
* The type of key
|
|
6403
|
+
* The type of key to monitor for the address activity event type.
|
|
5941
6404
|
*/
|
|
5942
|
-
declare enum
|
|
5943
|
-
ADDRESSES = "addresses"
|
|
5944
|
-
NODE_ID = "nodeId",
|
|
5945
|
-
SUBNET_ID = "subnetId"
|
|
6405
|
+
declare enum PlatformAddressActivityKeyType {
|
|
6406
|
+
ADDRESSES = "addresses"
|
|
5946
6407
|
}
|
|
5947
6408
|
|
|
5948
6409
|
/**
|
|
5949
6410
|
* Array of address activity sub-event types
|
|
5950
6411
|
*/
|
|
5951
|
-
declare enum
|
|
5952
|
-
|
|
5953
|
-
|
|
6412
|
+
declare enum PrimaryNetworkAddressActivitySubEventType {
|
|
6413
|
+
BALANCE_CHANGE = "balance_change",
|
|
6414
|
+
BALANCE_THRESHOLD = "balance_threshold",
|
|
5954
6415
|
REWARD_DISTRIBUTION = "reward_distribution"
|
|
5955
6416
|
}
|
|
5956
6417
|
|
|
5957
|
-
type
|
|
5958
|
-
|
|
5959
|
-
* Array of validator activity sub-event types
|
|
5960
|
-
*/
|
|
5961
|
-
validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
5962
|
-
addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
|
|
6418
|
+
type PrimaryNetworkAddressActivitySubEvents = {
|
|
6419
|
+
addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
|
|
5963
6420
|
};
|
|
5964
6421
|
|
|
5965
6422
|
/**
|
|
@@ -5978,7 +6435,7 @@ declare enum CommonBalanceType {
|
|
|
5978
6435
|
ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
|
|
5979
6436
|
}
|
|
5980
6437
|
|
|
5981
|
-
type
|
|
6438
|
+
type PrimaryNetworkBalanceThresholdFilter = {
|
|
5982
6439
|
balanceType: CommonBalanceType;
|
|
5983
6440
|
/**
|
|
5984
6441
|
* Threshold for balance corresponding to balanceType in nAVAX
|
|
@@ -5986,20 +6443,71 @@ type PlatformBalanceThresholdFilter = {
|
|
|
5986
6443
|
balanceThreshold: string;
|
|
5987
6444
|
};
|
|
5988
6445
|
|
|
5989
|
-
type
|
|
5990
|
-
keyType: PlatformActivityKeyType;
|
|
6446
|
+
type PrimaryNetworkAddressActivityMetadata = {
|
|
5991
6447
|
/**
|
|
5992
|
-
* Array of
|
|
6448
|
+
* Array of hexadecimal strings of the event signatures.
|
|
6449
|
+
*/
|
|
6450
|
+
eventSignatures?: Array<string>;
|
|
6451
|
+
keyType: PlatformAddressActivityKeyType;
|
|
6452
|
+
/**
|
|
6453
|
+
* Array of keys like addresses corresponding to the keyType being monitored. For PrimaryNetworkAddressActivity event, an array of multiple addresses can be provided. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
|
|
5993
6454
|
*/
|
|
5994
6455
|
keys: Array<string>;
|
|
5995
6456
|
/**
|
|
5996
6457
|
* Sub-events to monitor
|
|
5997
6458
|
*/
|
|
5998
|
-
subEvents
|
|
6459
|
+
subEvents: PrimaryNetworkAddressActivitySubEvents;
|
|
6460
|
+
/**
|
|
6461
|
+
* Balance threshold filter
|
|
6462
|
+
*/
|
|
6463
|
+
balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
|
|
6464
|
+
};
|
|
6465
|
+
|
|
6466
|
+
type PrimaryNetworkAddressActivityResponse = {
|
|
6467
|
+
id: string;
|
|
6468
|
+
url: string;
|
|
6469
|
+
chainId: string;
|
|
6470
|
+
status: WebhookStatusType;
|
|
6471
|
+
createdAt: number;
|
|
6472
|
+
name: string;
|
|
6473
|
+
description: string;
|
|
6474
|
+
eventType: PrimaryNetworkAddressActivityEventType;
|
|
6475
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6476
|
+
};
|
|
6477
|
+
|
|
6478
|
+
declare enum ValidatorActivityEventType {
|
|
6479
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6480
|
+
}
|
|
6481
|
+
|
|
6482
|
+
/**
|
|
6483
|
+
* The type of key to monitor for the validator activity event type.
|
|
6484
|
+
*/
|
|
6485
|
+
declare enum ValidatorActivityKeyType {
|
|
6486
|
+
NODE_ID = "nodeId",
|
|
6487
|
+
SUBNET_ID = "subnetId"
|
|
6488
|
+
}
|
|
6489
|
+
|
|
6490
|
+
type ValidatorActivitySubEvents = {
|
|
6491
|
+
/**
|
|
6492
|
+
* Array of validator activity sub-event types
|
|
6493
|
+
*/
|
|
6494
|
+
validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
6495
|
+
};
|
|
6496
|
+
|
|
6497
|
+
type ValidatorActivityMetadata = {
|
|
5999
6498
|
/**
|
|
6000
6499
|
* Array of hexadecimal strings of the event signatures.
|
|
6001
6500
|
*/
|
|
6002
6501
|
eventSignatures?: Array<string>;
|
|
6502
|
+
keyType: ValidatorActivityKeyType;
|
|
6503
|
+
/**
|
|
6504
|
+
* Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
|
|
6505
|
+
*/
|
|
6506
|
+
keys: Array<string>;
|
|
6507
|
+
/**
|
|
6508
|
+
* Sub-events to monitor
|
|
6509
|
+
*/
|
|
6510
|
+
subEvents: ValidatorActivitySubEvents;
|
|
6003
6511
|
/**
|
|
6004
6512
|
* Array of node IDs to filter the events
|
|
6005
6513
|
*/
|
|
@@ -6008,26 +6516,22 @@ type PlatformActivityMetadata = {
|
|
|
6008
6516
|
* Array of subnet IDs to filter the events
|
|
6009
6517
|
*/
|
|
6010
6518
|
subnetIds?: Array<string>;
|
|
6011
|
-
/**
|
|
6012
|
-
* Balance threshold filter
|
|
6013
|
-
*/
|
|
6014
|
-
balanceThresholdFilter?: PlatformBalanceThresholdFilter;
|
|
6015
6519
|
/**
|
|
6016
6520
|
* L1 validator fee balance threshold in nAVAX
|
|
6017
6521
|
*/
|
|
6018
6522
|
l1ValidatorFeeBalanceThreshold?: string;
|
|
6019
6523
|
};
|
|
6020
6524
|
|
|
6021
|
-
type
|
|
6525
|
+
type ValidatorActivityResponse = {
|
|
6022
6526
|
id: string;
|
|
6023
|
-
eventType: EventType;
|
|
6024
6527
|
url: string;
|
|
6025
6528
|
chainId: string;
|
|
6026
6529
|
status: WebhookStatusType;
|
|
6027
6530
|
createdAt: number;
|
|
6028
6531
|
name: string;
|
|
6029
6532
|
description: string;
|
|
6030
|
-
|
|
6533
|
+
eventType: ValidatorActivityEventType;
|
|
6534
|
+
metadata: ValidatorActivityMetadata;
|
|
6031
6535
|
};
|
|
6032
6536
|
|
|
6033
6537
|
type ListWebhooksResponse = {
|
|
@@ -6035,33 +6539,29 @@ type ListWebhooksResponse = {
|
|
|
6035
6539
|
* 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.
|
|
6036
6540
|
*/
|
|
6037
6541
|
nextPageToken?: string;
|
|
6038
|
-
webhooks: Array<(EVMAddressActivityResponse |
|
|
6542
|
+
webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6039
6543
|
};
|
|
6040
6544
|
|
|
6041
|
-
|
|
6042
|
-
|
|
6545
|
+
declare enum PrimaryNetworkType {
|
|
6546
|
+
MAINNET = "mainnet",
|
|
6547
|
+
FUJI = "fuji"
|
|
6548
|
+
}
|
|
6549
|
+
|
|
6550
|
+
type PrimaryNetworkAddressActivityRequest = {
|
|
6551
|
+
eventType: PrimaryNetworkAddressActivityRequest.eventType;
|
|
6043
6552
|
url: string;
|
|
6044
|
-
chainId: string;
|
|
6045
|
-
network?: PrimaryNetworkType;
|
|
6046
6553
|
name?: string;
|
|
6047
6554
|
description?: string;
|
|
6555
|
+
network: PrimaryNetworkType;
|
|
6556
|
+
chainId: string;
|
|
6048
6557
|
/**
|
|
6049
|
-
*
|
|
6050
|
-
*/
|
|
6051
|
-
includeInternalTxs?: boolean;
|
|
6052
|
-
/**
|
|
6053
|
-
* Whether to include logs in the webhook payload.
|
|
6054
|
-
*/
|
|
6055
|
-
includeLogs?: boolean;
|
|
6056
|
-
/**
|
|
6057
|
-
* Metadata for platform activity
|
|
6558
|
+
* Metadata for platform address activity event
|
|
6058
6559
|
*/
|
|
6059
|
-
metadata:
|
|
6560
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6060
6561
|
};
|
|
6061
|
-
declare namespace
|
|
6562
|
+
declare namespace PrimaryNetworkAddressActivityRequest {
|
|
6062
6563
|
enum eventType {
|
|
6063
|
-
|
|
6064
|
-
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6564
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
6065
6565
|
}
|
|
6066
6566
|
}
|
|
6067
6567
|
|
|
@@ -6081,6 +6581,23 @@ type UpdateWebhookRequest = {
|
|
|
6081
6581
|
includeLogs?: boolean;
|
|
6082
6582
|
};
|
|
6083
6583
|
|
|
6584
|
+
type ValidatorActivityRequest = {
|
|
6585
|
+
eventType: ValidatorActivityRequest.eventType;
|
|
6586
|
+
url: string;
|
|
6587
|
+
name?: string;
|
|
6588
|
+
description?: string;
|
|
6589
|
+
network: PrimaryNetworkType;
|
|
6590
|
+
/**
|
|
6591
|
+
* Metadata for platform validator activity event
|
|
6592
|
+
*/
|
|
6593
|
+
metadata: ValidatorActivityMetadata;
|
|
6594
|
+
};
|
|
6595
|
+
declare namespace ValidatorActivityRequest {
|
|
6596
|
+
enum eventType {
|
|
6597
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6598
|
+
}
|
|
6599
|
+
}
|
|
6600
|
+
|
|
6084
6601
|
declare enum WebhookStatus {
|
|
6085
6602
|
ACTIVE = "active",
|
|
6086
6603
|
INACTIVE = "inactive"
|
|
@@ -6096,8 +6613,8 @@ declare class WebhooksService {
|
|
|
6096
6613
|
* @throws ApiError
|
|
6097
6614
|
*/
|
|
6098
6615
|
createWebhook({ requestBody, }: {
|
|
6099
|
-
requestBody: (EVMAddressActivityRequest |
|
|
6100
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6616
|
+
requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
|
|
6617
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6101
6618
|
/**
|
|
6102
6619
|
* List webhooks
|
|
6103
6620
|
* Lists webhooks for the user.
|
|
@@ -6129,7 +6646,7 @@ declare class WebhooksService {
|
|
|
6129
6646
|
* The webhook identifier.
|
|
6130
6647
|
*/
|
|
6131
6648
|
id: string;
|
|
6132
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6649
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6133
6650
|
/**
|
|
6134
6651
|
* Deactivate a webhook
|
|
6135
6652
|
* Deactivates a webhook by ID.
|
|
@@ -6141,7 +6658,7 @@ declare class WebhooksService {
|
|
|
6141
6658
|
* The webhook identifier.
|
|
6142
6659
|
*/
|
|
6143
6660
|
id: string;
|
|
6144
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6661
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6145
6662
|
/**
|
|
6146
6663
|
* Update a webhook
|
|
6147
6664
|
* Updates an existing webhook.
|
|
@@ -6154,7 +6671,7 @@ declare class WebhooksService {
|
|
|
6154
6671
|
*/
|
|
6155
6672
|
id: string;
|
|
6156
6673
|
requestBody: UpdateWebhookRequest;
|
|
6157
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6674
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6158
6675
|
/**
|
|
6159
6676
|
* Generate or rotate a shared secret
|
|
6160
6677
|
* Generates a new shared secret or rotate an existing one.
|
|
@@ -6219,6 +6736,7 @@ declare class WebhooksService {
|
|
|
6219
6736
|
|
|
6220
6737
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
6221
6738
|
declare class Glacier {
|
|
6739
|
+
readonly avaxSupply: AvaxSupplyService;
|
|
6222
6740
|
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
6223
6741
|
readonly default: DefaultService;
|
|
6224
6742
|
readonly evmBalances: EvmBalancesService;
|
|
@@ -6517,6 +7035,37 @@ type TooManyRequests = {
|
|
|
6517
7035
|
error: string;
|
|
6518
7036
|
};
|
|
6519
7037
|
|
|
7038
|
+
type WebhookInternalTransaction = {
|
|
7039
|
+
/**
|
|
7040
|
+
* Sender address
|
|
7041
|
+
*/
|
|
7042
|
+
from: string;
|
|
7043
|
+
/**
|
|
7044
|
+
* Recipient address
|
|
7045
|
+
*/
|
|
7046
|
+
to: string;
|
|
7047
|
+
/**
|
|
7048
|
+
* Internal transaction type
|
|
7049
|
+
*/
|
|
7050
|
+
internalTxType: string;
|
|
7051
|
+
/**
|
|
7052
|
+
* Value transferred
|
|
7053
|
+
*/
|
|
7054
|
+
value: string;
|
|
7055
|
+
/**
|
|
7056
|
+
* Gas used
|
|
7057
|
+
*/
|
|
7058
|
+
gasUsed: string;
|
|
7059
|
+
/**
|
|
7060
|
+
* Gas limit
|
|
7061
|
+
*/
|
|
7062
|
+
gasLimit: string;
|
|
7063
|
+
/**
|
|
7064
|
+
* Transaction hash
|
|
7065
|
+
*/
|
|
7066
|
+
transactionHash: string;
|
|
7067
|
+
};
|
|
7068
|
+
|
|
6520
7069
|
type Transaction = {
|
|
6521
7070
|
/**
|
|
6522
7071
|
* Block hash of the transaction
|
|
@@ -6621,7 +7170,7 @@ type Transaction = {
|
|
|
6621
7170
|
/**
|
|
6622
7171
|
* Internal transactions (optional)
|
|
6623
7172
|
*/
|
|
6624
|
-
internalTransactions?: Array<
|
|
7173
|
+
internalTransactions?: Array<WebhookInternalTransaction>;
|
|
6625
7174
|
/**
|
|
6626
7175
|
* Access list (optional)
|
|
6627
7176
|
*/
|
|
@@ -6685,5 +7234,16 @@ declare namespace WebhookAddressActivityResponse {
|
|
|
6685
7234
|
}
|
|
6686
7235
|
}
|
|
6687
7236
|
|
|
6688
|
-
|
|
6689
|
-
|
|
7237
|
+
declare class FetchHttpRequest extends BaseHttpRequest {
|
|
7238
|
+
constructor(config: OpenAPIConfig);
|
|
7239
|
+
/**
|
|
7240
|
+
* Request method
|
|
7241
|
+
* @param options The request options from the service
|
|
7242
|
+
* @returns CancelablePromise<T>
|
|
7243
|
+
* @throws ApiError
|
|
7244
|
+
*/
|
|
7245
|
+
request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
7246
|
+
}
|
|
7247
|
+
|
|
7248
|
+
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, ApiError, ApiFeature, AvaxSupplyService, BaseHttpRequest, BlockchainId, BlockchainIds, CChainExportTransaction, CChainImportTransaction, CancelError, CancelablePromise, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CurrencyCode, DataApiUsageMetricsService, DefaultService, DelegationStatusType, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMAddressActivityRequest, EVMOperationType, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc721Contract, Erc721Token, Erc721TokenBalance, EvmBalancesService, EvmBlocksService, EvmChainsService, EvmContractsService, EvmTransactionsService, FetchHttpRequest, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, IcmRewardDetails, InterchainMessagingService, InternalTransactionOpCall, Network, NfTsService, NftTokenMetadataStatus, NotificationsService, OpenAPI, OperationStatus, OperationStatusCode, OperationType, OperationsService, PChainId, PChainTransactionType, PendingDelegatorDetails, PendingIcmMessage, PendingTeleporterMessage, PendingValidatorDetails, PlatformAddressActivityKeyType, PrimaryNetworkAddressActivityEventType, PrimaryNetworkAddressActivityRequest, PrimaryNetworkAddressActivitySubEventType, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlocksService, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, RemovedValidatorDetails, RequestType, ResourceLinkType, RewardType, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, SignatureAggregatorService, SortByOption, SortOrder, SubnetRpcTimeIntervalGranularity, TeleporterRewardDetails, TeleporterService, TimeIntervalGranularityExtended, TransactionDirectionType, TransactionMethodType, TransactionStatus, UnknownContract, UsageMetricsGroupByEnum, UsageMetricsValueDTO, UtxoType, UtxosSortByOption, ValidationStatusType, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityRequest, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
|
|
7249
|
+
export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiRequestOptions, AssetAmount, AssetWithPriceInfo, AvaxSupplyResponse, BadGateway, BadRequest, BalanceOwner, Blockchain, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainSharedAssetBalance, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ContractDeploymentDetails, ContractSubmissionBody, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, DataListChainsResponse, DelegatorsDetails, ERCToken, ERCTransfer, EVMAddressActivityResponse, EVMInput, EVMOutput, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Transfer, Erc20TransferDetails, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBlock, EvmGenesisAllocDto, EvmGenesisAllowListConfigDto, EvmGenesisConfigDto, EvmGenesisDto, EvmGenesisFeeConfigDto, EvmGenesisWarpConfigDto, EvmNetworkOptions, Forbidden, FullNativeTransactionDetails, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmSourceTransaction, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NotFound, NotificationsResponse, OpenAPIConfig, OperationStatusResponse, PChainBalance, PChainSharedAsset, PChainTransaction, PChainUtxo, PendingReward, PricingProviders, PrimaryNetworkAddressActivityMetadata, PrimaryNetworkAddressActivityResponse, PrimaryNetworkAddressActivitySubEvents, PrimaryNetworkAddressesBodyDto, PrimaryNetworkBalanceThresholdFilter, PrimaryNetworkBlock, PrimaryNetworkChainInfo, PrimaryNetworkOptions, ProposerDetails, ResourceLink, Rewards, RichAddress, RpcMetrics, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterSourceTransaction, TooManyRequests, Transaction, TransactionDetails, TransactionEvent, TransactionExportMetadata, TransactionVertexDetail, Unauthorized, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsResponseDTO, UtilityAddresses, Utxo, UtxoCredential, ValidatorActivityMetadata, ValidatorActivityResponse, ValidatorActivitySubEvents, ValidatorHealthDetails, ValidatorsDetails, WebhookInternalTransaction, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };
|