@avalabs/glacier-sdk 3.1.0-alpha.44 → 3.1.0-alpha.45
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 +349 -32
- package/dist/index.js +1 -1
- package/esm/generated/models/AccessListData.d.ts +12 -0
- package/esm/generated/models/{PChainBalanceType.d.ts → CommonBalanceType.d.ts} +4 -2
- package/esm/generated/models/CommonBalanceType.js +1 -0
- package/esm/generated/models/ERCToken.d.ts +24 -0
- package/esm/generated/models/ERCTransfer.d.ts +50 -0
- package/esm/generated/models/InternalTransaction.d.ts +15 -16
- package/esm/generated/models/L1ValidatorDetailsFull.d.ts +4 -0
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +4 -0
- package/esm/generated/models/Log.d.ts +40 -0
- package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
- package/esm/generated/models/PlatformActivitySubEvents.d.ts +1 -1
- package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +2 -1
- package/esm/generated/models/PlatformAddressActivitySubEventType.js +1 -1
- package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +2 -2
- package/esm/generated/models/Subnet.d.ts +2 -2
- package/esm/generated/models/Transaction.d.ts +121 -0
- package/esm/generated/models/TransactionEvent.d.ts +15 -0
- package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
- package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
- package/esm/generated/services/PrimaryNetworkService.d.ts +17 -0
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/index.d.ts +9 -2
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/BlockchainInfo.d.ts +0 -5
- package/esm/generated/models/PChainBalanceType.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -2220,31 +2220,33 @@ type ListErc721TransactionsResponse = {
|
|
|
2220
2220
|
|
|
2221
2221
|
type InternalTransaction = {
|
|
2222
2222
|
/**
|
|
2223
|
-
*
|
|
2223
|
+
* Sender address
|
|
2224
2224
|
*/
|
|
2225
|
-
|
|
2225
|
+
from: string;
|
|
2226
2226
|
/**
|
|
2227
|
-
*
|
|
2227
|
+
* Recipient address
|
|
2228
2228
|
*/
|
|
2229
|
-
|
|
2229
|
+
to: string;
|
|
2230
2230
|
/**
|
|
2231
|
-
*
|
|
2231
|
+
* Internal transaction type
|
|
2232
2232
|
*/
|
|
2233
|
-
|
|
2233
|
+
internalTxType: string;
|
|
2234
2234
|
/**
|
|
2235
|
-
*
|
|
2235
|
+
* Value transferred
|
|
2236
2236
|
*/
|
|
2237
|
-
txHash: string;
|
|
2238
|
-
from: RichAddress;
|
|
2239
|
-
to: RichAddress;
|
|
2240
|
-
internalTxType: InternalTransactionOpCall;
|
|
2241
2237
|
value: string;
|
|
2242
2238
|
/**
|
|
2243
|
-
*
|
|
2239
|
+
* Gas used
|
|
2244
2240
|
*/
|
|
2245
|
-
isReverted: boolean;
|
|
2246
2241
|
gasUsed: string;
|
|
2242
|
+
/**
|
|
2243
|
+
* Gas limit
|
|
2244
|
+
*/
|
|
2247
2245
|
gasLimit: string;
|
|
2246
|
+
/**
|
|
2247
|
+
* Transaction hash
|
|
2248
|
+
*/
|
|
2249
|
+
transactionHash: string;
|
|
2248
2250
|
};
|
|
2249
2251
|
|
|
2250
2252
|
type ListInternalTransactionsResponse = {
|
|
@@ -3225,6 +3227,15 @@ declare class OperationsService {
|
|
|
3225
3227
|
}): CancelablePromise<OperationStatusResponse>;
|
|
3226
3228
|
}
|
|
3227
3229
|
|
|
3230
|
+
type Blockchain = {
|
|
3231
|
+
createBlockTimestamp: number;
|
|
3232
|
+
createBlockNumber: string;
|
|
3233
|
+
blockchainId: string;
|
|
3234
|
+
vmId: string;
|
|
3235
|
+
subnetId: string;
|
|
3236
|
+
blockchainName: string;
|
|
3237
|
+
};
|
|
3238
|
+
|
|
3228
3239
|
declare enum BlockchainIds {
|
|
3229
3240
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
3230
3241
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
@@ -3289,15 +3300,6 @@ type GetNetworkDetailsResponse = {
|
|
|
3289
3300
|
delegatorDetails: DelegatorsDetails;
|
|
3290
3301
|
};
|
|
3291
3302
|
|
|
3292
|
-
type Blockchain = {
|
|
3293
|
-
createBlockTimestamp: number;
|
|
3294
|
-
createBlockNumber: string;
|
|
3295
|
-
blockchainId: string;
|
|
3296
|
-
vmId: string;
|
|
3297
|
-
subnetId: string;
|
|
3298
|
-
blockchainName: string;
|
|
3299
|
-
};
|
|
3300
|
-
|
|
3301
3303
|
type ListBlockchainsResponse = {
|
|
3302
3304
|
/**
|
|
3303
3305
|
* 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.
|
|
@@ -3393,6 +3395,10 @@ type L1ValidatorDetailsFull = {
|
|
|
3393
3395
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
3394
3396
|
*/
|
|
3395
3397
|
validationId: string;
|
|
3398
|
+
/**
|
|
3399
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
|
|
3400
|
+
*/
|
|
3401
|
+
validationIdHex: string;
|
|
3396
3402
|
nodeId: string;
|
|
3397
3403
|
subnetId: string;
|
|
3398
3404
|
/**
|
|
@@ -3429,10 +3435,6 @@ type ListL1ValidatorsResponse = {
|
|
|
3429
3435
|
validators: Array<L1ValidatorDetailsFull>;
|
|
3430
3436
|
};
|
|
3431
3437
|
|
|
3432
|
-
type BlockchainInfo = {
|
|
3433
|
-
blockchainId: string;
|
|
3434
|
-
};
|
|
3435
|
-
|
|
3436
3438
|
type L1ValidatorManagerDetails = {
|
|
3437
3439
|
blockchainId: string;
|
|
3438
3440
|
contractAddress: string;
|
|
@@ -3488,7 +3490,7 @@ type Subnet = {
|
|
|
3488
3490
|
* L1 validator manager details.
|
|
3489
3491
|
*/
|
|
3490
3492
|
l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
|
|
3491
|
-
blockchains: Array<
|
|
3493
|
+
blockchains: Array<Blockchain>;
|
|
3492
3494
|
};
|
|
3493
3495
|
|
|
3494
3496
|
type ListSubnetsResponse = {
|
|
@@ -3808,6 +3810,22 @@ declare class PrimaryNetworkService {
|
|
|
3808
3810
|
*/
|
|
3809
3811
|
sortOrder?: SortOrder;
|
|
3810
3812
|
}): CancelablePromise<ListBlockchainsResponse>;
|
|
3813
|
+
/**
|
|
3814
|
+
* Get blockchain details by ID
|
|
3815
|
+
* Get details of the blockchain registered on the network.
|
|
3816
|
+
* @returns Blockchain Successful response
|
|
3817
|
+
* @throws ApiError
|
|
3818
|
+
*/
|
|
3819
|
+
getBlockchainById({ blockchainId, network, }: {
|
|
3820
|
+
/**
|
|
3821
|
+
* The blockchain ID of the blockchain to retrieve.
|
|
3822
|
+
*/
|
|
3823
|
+
blockchainId: string;
|
|
3824
|
+
/**
|
|
3825
|
+
* Either mainnet or testnet/fuji.
|
|
3826
|
+
*/
|
|
3827
|
+
network: Network;
|
|
3828
|
+
}): CancelablePromise<Blockchain>;
|
|
3811
3829
|
/**
|
|
3812
3830
|
* List subnets
|
|
3813
3831
|
* Lists all subnets registered on the network.
|
|
@@ -4795,6 +4813,10 @@ type L1ValidatorDetailsTransaction = {
|
|
|
4795
4813
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
4796
4814
|
*/
|
|
4797
4815
|
validationId: string;
|
|
4816
|
+
/**
|
|
4817
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
|
|
4818
|
+
*/
|
|
4819
|
+
validationIdHex: string;
|
|
4798
4820
|
nodeId: string;
|
|
4799
4821
|
subnetId: string;
|
|
4800
4822
|
/**
|
|
@@ -5896,33 +5918,36 @@ declare enum PlatformActivityKeyType {
|
|
|
5896
5918
|
*/
|
|
5897
5919
|
declare enum PlatformAddressActivitySubEventType {
|
|
5898
5920
|
BALANCE_CHANGE_PLATFORM = "balance_change_platform",
|
|
5899
|
-
BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform"
|
|
5921
|
+
BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform",
|
|
5922
|
+
REWARD_DISTRIBUTION = "reward_distribution"
|
|
5900
5923
|
}
|
|
5901
5924
|
|
|
5902
5925
|
type PlatformActivitySubEvents = {
|
|
5903
5926
|
/**
|
|
5904
5927
|
* Array of validator activity sub-event types
|
|
5905
5928
|
*/
|
|
5906
|
-
validatorActivitySubEvents?: Array<'
|
|
5929
|
+
validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
5907
5930
|
addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
|
|
5908
5931
|
};
|
|
5909
5932
|
|
|
5910
5933
|
/**
|
|
5911
5934
|
* Type of balance to monitor
|
|
5912
5935
|
*/
|
|
5913
|
-
declare enum
|
|
5936
|
+
declare enum CommonBalanceType {
|
|
5914
5937
|
UNLOCKED_UNSTAKED = "unlockedUnstaked",
|
|
5915
5938
|
UNLOCKED_STAKED = "unlockedStaked",
|
|
5916
5939
|
LOCKED_PLATFORM = "lockedPlatform",
|
|
5917
5940
|
LOCKED_STAKEABLE = "lockedStakeable",
|
|
5918
5941
|
LOCKED_STAKED = "lockedStaked",
|
|
5919
5942
|
PENDING_STAKED = "pendingStaked",
|
|
5943
|
+
UNLOCKED = "unlocked",
|
|
5944
|
+
LOCKED = "locked",
|
|
5920
5945
|
ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
|
|
5921
5946
|
ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
|
|
5922
5947
|
}
|
|
5923
5948
|
|
|
5924
5949
|
type PlatformBalanceThresholdFilter = {
|
|
5925
|
-
balanceType:
|
|
5950
|
+
balanceType: CommonBalanceType;
|
|
5926
5951
|
/**
|
|
5927
5952
|
* Threshold for balance corresponding to balanceType in nAVAX
|
|
5928
5953
|
*/
|
|
@@ -6205,6 +6230,17 @@ declare class ApiError extends Error {
|
|
|
6205
6230
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
6206
6231
|
}
|
|
6207
6232
|
|
|
6233
|
+
type AccessListData = {
|
|
6234
|
+
/**
|
|
6235
|
+
* Access Address
|
|
6236
|
+
*/
|
|
6237
|
+
accessAddresses: string;
|
|
6238
|
+
/**
|
|
6239
|
+
* Storage keys
|
|
6240
|
+
*/
|
|
6241
|
+
storageKeys: Array<string>;
|
|
6242
|
+
};
|
|
6243
|
+
|
|
6208
6244
|
type BadGateway = {
|
|
6209
6245
|
/**
|
|
6210
6246
|
* The error message describing the reason for the exception
|
|
@@ -6239,6 +6275,76 @@ type DataListChainsResponse = {
|
|
|
6239
6275
|
chains: Array<ChainInfo>;
|
|
6240
6276
|
};
|
|
6241
6277
|
|
|
6278
|
+
type ERCToken = {
|
|
6279
|
+
/**
|
|
6280
|
+
* Token contract address
|
|
6281
|
+
*/
|
|
6282
|
+
address: string;
|
|
6283
|
+
/**
|
|
6284
|
+
* Token name
|
|
6285
|
+
*/
|
|
6286
|
+
name: string;
|
|
6287
|
+
/**
|
|
6288
|
+
* Token symbol
|
|
6289
|
+
*/
|
|
6290
|
+
symbol: string;
|
|
6291
|
+
/**
|
|
6292
|
+
* Token decimals
|
|
6293
|
+
*/
|
|
6294
|
+
decimals: number;
|
|
6295
|
+
/**
|
|
6296
|
+
* Value including decimals
|
|
6297
|
+
*/
|
|
6298
|
+
valueWithDecimals: string;
|
|
6299
|
+
};
|
|
6300
|
+
|
|
6301
|
+
type ERCTransfer = {
|
|
6302
|
+
/**
|
|
6303
|
+
* Transaction hash
|
|
6304
|
+
*/
|
|
6305
|
+
transactionHash: string;
|
|
6306
|
+
/**
|
|
6307
|
+
* Transfer type
|
|
6308
|
+
*/
|
|
6309
|
+
type: string;
|
|
6310
|
+
/**
|
|
6311
|
+
* Sender address
|
|
6312
|
+
*/
|
|
6313
|
+
from: string;
|
|
6314
|
+
/**
|
|
6315
|
+
* Recipient address
|
|
6316
|
+
*/
|
|
6317
|
+
to: string;
|
|
6318
|
+
/**
|
|
6319
|
+
* Amount transferred
|
|
6320
|
+
*/
|
|
6321
|
+
value: string;
|
|
6322
|
+
/**
|
|
6323
|
+
* Token Id
|
|
6324
|
+
*/
|
|
6325
|
+
tokenId?: string;
|
|
6326
|
+
/**
|
|
6327
|
+
* Block timestamp
|
|
6328
|
+
*/
|
|
6329
|
+
blockTimestamp: number;
|
|
6330
|
+
/**
|
|
6331
|
+
* Log index
|
|
6332
|
+
*/
|
|
6333
|
+
logIndex: number;
|
|
6334
|
+
/**
|
|
6335
|
+
* erc20 Token details
|
|
6336
|
+
*/
|
|
6337
|
+
erc20Token?: ERCToken;
|
|
6338
|
+
/**
|
|
6339
|
+
* erc721 Token details
|
|
6340
|
+
*/
|
|
6341
|
+
erc721Token?: ERCToken;
|
|
6342
|
+
/**
|
|
6343
|
+
* erc1155 Token details
|
|
6344
|
+
*/
|
|
6345
|
+
erc1155Token?: ERCToken;
|
|
6346
|
+
};
|
|
6347
|
+
|
|
6242
6348
|
type Forbidden = {
|
|
6243
6349
|
/**
|
|
6244
6350
|
* The error message describing the reason for the exception
|
|
@@ -6269,6 +6375,64 @@ type InternalServerError = {
|
|
|
6269
6375
|
error: string;
|
|
6270
6376
|
};
|
|
6271
6377
|
|
|
6378
|
+
type Log = {
|
|
6379
|
+
/**
|
|
6380
|
+
* Contract address
|
|
6381
|
+
*/
|
|
6382
|
+
address: string;
|
|
6383
|
+
/**
|
|
6384
|
+
* First topic
|
|
6385
|
+
*/
|
|
6386
|
+
topic0: string;
|
|
6387
|
+
/**
|
|
6388
|
+
* Second topic (optional)
|
|
6389
|
+
*/
|
|
6390
|
+
topic1?: string;
|
|
6391
|
+
/**
|
|
6392
|
+
* Third topic (optional)
|
|
6393
|
+
*/
|
|
6394
|
+
topic2?: string;
|
|
6395
|
+
/**
|
|
6396
|
+
* Fourth topic (optional)
|
|
6397
|
+
*/
|
|
6398
|
+
topic3?: string;
|
|
6399
|
+
/**
|
|
6400
|
+
* Event data
|
|
6401
|
+
*/
|
|
6402
|
+
data: string;
|
|
6403
|
+
/**
|
|
6404
|
+
* Transaction index
|
|
6405
|
+
*/
|
|
6406
|
+
transactionIndex: number;
|
|
6407
|
+
/**
|
|
6408
|
+
* Log index
|
|
6409
|
+
*/
|
|
6410
|
+
logIndex: number;
|
|
6411
|
+
/**
|
|
6412
|
+
* Indicates if the log was removed
|
|
6413
|
+
*/
|
|
6414
|
+
removed: boolean;
|
|
6415
|
+
};
|
|
6416
|
+
|
|
6417
|
+
type NetworkTokenInfo = {
|
|
6418
|
+
/**
|
|
6419
|
+
* Token name
|
|
6420
|
+
*/
|
|
6421
|
+
tokenName?: string;
|
|
6422
|
+
/**
|
|
6423
|
+
* Token symbol
|
|
6424
|
+
*/
|
|
6425
|
+
tokenSymbol?: string;
|
|
6426
|
+
/**
|
|
6427
|
+
* Token decimals
|
|
6428
|
+
*/
|
|
6429
|
+
tokenDecimals?: number;
|
|
6430
|
+
/**
|
|
6431
|
+
* Value including decimals
|
|
6432
|
+
*/
|
|
6433
|
+
valueWithDecimals?: string;
|
|
6434
|
+
};
|
|
6435
|
+
|
|
6272
6436
|
type NextPageToken = {
|
|
6273
6437
|
/**
|
|
6274
6438
|
* 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.
|
|
@@ -6321,6 +6485,132 @@ type TooManyRequests = {
|
|
|
6321
6485
|
error: string;
|
|
6322
6486
|
};
|
|
6323
6487
|
|
|
6488
|
+
type Transaction = {
|
|
6489
|
+
/**
|
|
6490
|
+
* Block hash of the transaction
|
|
6491
|
+
*/
|
|
6492
|
+
blockHash: string;
|
|
6493
|
+
/**
|
|
6494
|
+
* Block number of the transaction
|
|
6495
|
+
*/
|
|
6496
|
+
blockNumber: string;
|
|
6497
|
+
/**
|
|
6498
|
+
* Sender address
|
|
6499
|
+
*/
|
|
6500
|
+
from: string;
|
|
6501
|
+
/**
|
|
6502
|
+
* Gas limit for the transaction
|
|
6503
|
+
*/
|
|
6504
|
+
gas: string;
|
|
6505
|
+
/**
|
|
6506
|
+
* Gas price used
|
|
6507
|
+
*/
|
|
6508
|
+
gasPrice: string;
|
|
6509
|
+
/**
|
|
6510
|
+
* Maximum fee per gas
|
|
6511
|
+
*/
|
|
6512
|
+
maxFeePerGas: string;
|
|
6513
|
+
/**
|
|
6514
|
+
* Maximum priority fee per gas
|
|
6515
|
+
*/
|
|
6516
|
+
maxPriorityFeePerGas: string;
|
|
6517
|
+
/**
|
|
6518
|
+
* Transaction hash
|
|
6519
|
+
*/
|
|
6520
|
+
txHash: string;
|
|
6521
|
+
/**
|
|
6522
|
+
* Transaction status
|
|
6523
|
+
*/
|
|
6524
|
+
txStatus: string;
|
|
6525
|
+
/**
|
|
6526
|
+
* Input data
|
|
6527
|
+
*/
|
|
6528
|
+
input: string;
|
|
6529
|
+
/**
|
|
6530
|
+
* Nonce value
|
|
6531
|
+
*/
|
|
6532
|
+
nonce: string;
|
|
6533
|
+
/**
|
|
6534
|
+
* Recipient address
|
|
6535
|
+
*/
|
|
6536
|
+
to: string;
|
|
6537
|
+
/**
|
|
6538
|
+
* Transaction index
|
|
6539
|
+
*/
|
|
6540
|
+
transactionIndex: number;
|
|
6541
|
+
/**
|
|
6542
|
+
* Value transferred in the transaction
|
|
6543
|
+
*/
|
|
6544
|
+
value: string;
|
|
6545
|
+
/**
|
|
6546
|
+
* Transaction type
|
|
6547
|
+
*/
|
|
6548
|
+
type: number;
|
|
6549
|
+
/**
|
|
6550
|
+
* Chain ID of the network
|
|
6551
|
+
*/
|
|
6552
|
+
chainId: string;
|
|
6553
|
+
/**
|
|
6554
|
+
* Cumulative gas used
|
|
6555
|
+
*/
|
|
6556
|
+
receiptCumulativeGasUsed: string;
|
|
6557
|
+
/**
|
|
6558
|
+
* Gas used
|
|
6559
|
+
*/
|
|
6560
|
+
receiptGasUsed: string;
|
|
6561
|
+
/**
|
|
6562
|
+
* Effective gas price
|
|
6563
|
+
*/
|
|
6564
|
+
receiptEffectiveGasPrice: string;
|
|
6565
|
+
/**
|
|
6566
|
+
* Receipt root
|
|
6567
|
+
*/
|
|
6568
|
+
receiptRoot: string;
|
|
6569
|
+
/**
|
|
6570
|
+
* Block timestamp
|
|
6571
|
+
*/
|
|
6572
|
+
blockTimestamp: number;
|
|
6573
|
+
/**
|
|
6574
|
+
* Contract address (optional)
|
|
6575
|
+
*/
|
|
6576
|
+
contractAddress?: string;
|
|
6577
|
+
/**
|
|
6578
|
+
* ERC20 transfers
|
|
6579
|
+
*/
|
|
6580
|
+
erc20Transfers: Array<ERCTransfer>;
|
|
6581
|
+
/**
|
|
6582
|
+
* ERC721 transfers
|
|
6583
|
+
*/
|
|
6584
|
+
erc721Transfers: Array<ERCTransfer>;
|
|
6585
|
+
/**
|
|
6586
|
+
* ERC1155 transfers
|
|
6587
|
+
*/
|
|
6588
|
+
erc1155Transfers: Array<ERCTransfer>;
|
|
6589
|
+
/**
|
|
6590
|
+
* Internal transactions (optional)
|
|
6591
|
+
*/
|
|
6592
|
+
internalTransactions?: Array<InternalTransaction>;
|
|
6593
|
+
/**
|
|
6594
|
+
* Access list (optional)
|
|
6595
|
+
*/
|
|
6596
|
+
accessList?: Array<AccessListData>;
|
|
6597
|
+
/**
|
|
6598
|
+
* Network token info (optional)
|
|
6599
|
+
*/
|
|
6600
|
+
networkToken?: NetworkTokenInfo;
|
|
6601
|
+
};
|
|
6602
|
+
|
|
6603
|
+
type TransactionEvent = {
|
|
6604
|
+
/**
|
|
6605
|
+
* Transaction details
|
|
6606
|
+
*/
|
|
6607
|
+
transaction: Transaction;
|
|
6608
|
+
/**
|
|
6609
|
+
* Array of log events
|
|
6610
|
+
*/
|
|
6611
|
+
logs?: Array<Log>;
|
|
6612
|
+
};
|
|
6613
|
+
|
|
6324
6614
|
type Unauthorized = {
|
|
6325
6615
|
/**
|
|
6326
6616
|
* The error message describing the reason for the exception
|
|
@@ -6336,4 +6626,31 @@ type Unauthorized = {
|
|
|
6336
6626
|
error: string;
|
|
6337
6627
|
};
|
|
6338
6628
|
|
|
6339
|
-
|
|
6629
|
+
type WebhookAddressActivityResponse = {
|
|
6630
|
+
/**
|
|
6631
|
+
* Webhook ID
|
|
6632
|
+
*/
|
|
6633
|
+
webhookId: string;
|
|
6634
|
+
/**
|
|
6635
|
+
* Event type
|
|
6636
|
+
*/
|
|
6637
|
+
eventType: WebhookAddressActivityResponse.eventType;
|
|
6638
|
+
/**
|
|
6639
|
+
* Message ID
|
|
6640
|
+
*/
|
|
6641
|
+
messageId: string;
|
|
6642
|
+
/**
|
|
6643
|
+
* Event details
|
|
6644
|
+
*/
|
|
6645
|
+
event: TransactionEvent;
|
|
6646
|
+
};
|
|
6647
|
+
declare namespace WebhookAddressActivityResponse {
|
|
6648
|
+
/**
|
|
6649
|
+
* Event type
|
|
6650
|
+
*/
|
|
6651
|
+
enum eventType {
|
|
6652
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
6653
|
+
}
|
|
6654
|
+
}
|
|
6655
|
+
|
|
6656
|
+
export { AccessListData, AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, ERCToken, ERCTransfer, EVMAddressActivityRequest, EVMAddressActivityResponse, EVMInput, EVMOperationType, 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, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmRewardDetails, IcmSourceTransaction, ImageAsset, InterchainMessagingService, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, 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, Network, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, NotificationsResponse, NotificationsService, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingIcmMessage, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PlatformActivityKeyType, PlatformActivityMetadata, PlatformActivityRequest, PlatformActivityResponse, PlatformActivitySubEvents, PlatformAddressActivitySubEventType, PlatformBalanceThresholdFilter, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, Transaction, TransactionDetails, TransactionDirectionType, TransactionEvent, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|