@avalabs/glacier-sdk 3.1.0-canary.caf0199.0 → 3.1.0-canary.cd6be5c.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 +220 -12
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +2 -0
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/models/AccessRequest.d.ts +12 -0
- package/esm/generated/models/ActiveValidatorDetails.d.ts +21 -0
- package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
- package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -0
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +1 -1
- package/esm/generated/models/NotificationsResponse.d.ts +5 -0
- package/esm/generated/models/PChainTransaction.d.ts +20 -8
- package/esm/generated/models/PChainUtxo.d.ts +27 -0
- package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
- package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
- package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
- package/esm/generated/models/StakingDistribution.d.ts +9 -0
- package/esm/generated/models/SubscribeRequest.d.ts +16 -0
- package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
- package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
- package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
- package/esm/generated/models/UtxoType.d.ts +3 -0
- package/esm/generated/models/ValidatorsDetails.d.ts +6 -0
- package/esm/generated/services/EvmChainsService.d.ts +2 -2
- package/esm/generated/services/NotificationsService.d.ts +51 -0
- package/esm/generated/services/NotificationsService.js +1 -0
- package/esm/index.d.ts +7 -0
- package/esm/index.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1387,7 +1387,7 @@ declare class EvmChainsService {
|
|
|
1387
1387
|
}): CancelablePromise<ListAddressChainsResponse>;
|
|
1388
1388
|
/**
|
|
1389
1389
|
* List chains
|
|
1390
|
-
* Lists the supported EVM-compatible chains. Filterable by network.
|
|
1390
|
+
* Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
|
|
1391
1391
|
* @returns ListChainsResponse Successful response
|
|
1392
1392
|
* @throws ApiError
|
|
1393
1393
|
*/
|
|
@@ -1403,7 +1403,7 @@ declare class EvmChainsService {
|
|
|
1403
1403
|
}): CancelablePromise<ListChainsResponse>;
|
|
1404
1404
|
/**
|
|
1405
1405
|
* Get chain information
|
|
1406
|
-
* Gets chain information for the EVM-compatible chain if supported by
|
|
1406
|
+
* Gets chain information for the EVM-compatible chain if supported by AvaCloud.
|
|
1407
1407
|
* @returns GetChainResponse Successful response
|
|
1408
1408
|
* @throws ApiError
|
|
1409
1409
|
*/
|
|
@@ -2679,6 +2679,108 @@ declare class NfTsService {
|
|
|
2679
2679
|
}): CancelablePromise<(Erc721Token | Erc1155Token)>;
|
|
2680
2680
|
}
|
|
2681
2681
|
|
|
2682
|
+
type AccessRequest = {
|
|
2683
|
+
/**
|
|
2684
|
+
* The email address to send the access token to
|
|
2685
|
+
*/
|
|
2686
|
+
email: string;
|
|
2687
|
+
/**
|
|
2688
|
+
* The captcha to verify the user
|
|
2689
|
+
*/
|
|
2690
|
+
captcha: string;
|
|
2691
|
+
};
|
|
2692
|
+
|
|
2693
|
+
type NotificationsResponse = {
|
|
2694
|
+
message: string;
|
|
2695
|
+
};
|
|
2696
|
+
|
|
2697
|
+
type SubscribeRequest = {
|
|
2698
|
+
/**
|
|
2699
|
+
* The access token to use for authentication
|
|
2700
|
+
*/
|
|
2701
|
+
accessToken: string;
|
|
2702
|
+
/**
|
|
2703
|
+
* The node ID to subscribe to
|
|
2704
|
+
*/
|
|
2705
|
+
nodeId: string;
|
|
2706
|
+
/**
|
|
2707
|
+
* The notification types to subscribe to. If not provided, all notification types will be subscribed to
|
|
2708
|
+
*/
|
|
2709
|
+
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
2710
|
+
};
|
|
2711
|
+
|
|
2712
|
+
type SubscriptionsRequest = {
|
|
2713
|
+
/**
|
|
2714
|
+
* The access token to use for authentication
|
|
2715
|
+
*/
|
|
2716
|
+
accessToken: string;
|
|
2717
|
+
};
|
|
2718
|
+
|
|
2719
|
+
type SubscriptionsResponse = {
|
|
2720
|
+
/**
|
|
2721
|
+
* The email address of the user
|
|
2722
|
+
*/
|
|
2723
|
+
email: string;
|
|
2724
|
+
/**
|
|
2725
|
+
* The subscriptions of the user
|
|
2726
|
+
*/
|
|
2727
|
+
subscriptions: Record<string, {
|
|
2728
|
+
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
2729
|
+
}>;
|
|
2730
|
+
};
|
|
2731
|
+
|
|
2732
|
+
type UnsubscribeRequest = {
|
|
2733
|
+
/**
|
|
2734
|
+
* The access token to use for authentication
|
|
2735
|
+
*/
|
|
2736
|
+
accessToken: string;
|
|
2737
|
+
/**
|
|
2738
|
+
* The node ID to subscribe to
|
|
2739
|
+
*/
|
|
2740
|
+
nodeId: string;
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
declare class NotificationsService {
|
|
2744
|
+
readonly httpRequest: BaseHttpRequest;
|
|
2745
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
2746
|
+
/**
|
|
2747
|
+
* Access Notifications
|
|
2748
|
+
* Access notifications.
|
|
2749
|
+
* @returns NotificationsResponse Successful response
|
|
2750
|
+
* @throws ApiError
|
|
2751
|
+
*/
|
|
2752
|
+
access({ requestBody, }: {
|
|
2753
|
+
requestBody: AccessRequest;
|
|
2754
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
2755
|
+
/**
|
|
2756
|
+
* Subscribe to Notifications
|
|
2757
|
+
* Subscribe to receive notifications.
|
|
2758
|
+
* @returns NotificationsResponse Successful response
|
|
2759
|
+
* @throws ApiError
|
|
2760
|
+
*/
|
|
2761
|
+
subscribe({ requestBody, }: {
|
|
2762
|
+
requestBody: SubscribeRequest;
|
|
2763
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
2764
|
+
/**
|
|
2765
|
+
* Unsubscribe from Notifications
|
|
2766
|
+
* Unsubscribe from receiving notifications.
|
|
2767
|
+
* @returns NotificationsResponse Successful response
|
|
2768
|
+
* @throws ApiError
|
|
2769
|
+
*/
|
|
2770
|
+
unsubscribe({ requestBody, }: {
|
|
2771
|
+
requestBody: UnsubscribeRequest;
|
|
2772
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
2773
|
+
/**
|
|
2774
|
+
* Get Subscriptions
|
|
2775
|
+
* Get subscriptions.
|
|
2776
|
+
* @returns SubscriptionsResponse Successful response
|
|
2777
|
+
* @throws ApiError
|
|
2778
|
+
*/
|
|
2779
|
+
subscriptions({ requestBody, }: {
|
|
2780
|
+
requestBody: SubscriptionsRequest;
|
|
2781
|
+
}): CancelablePromise<SubscriptionsResponse>;
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2682
2784
|
type EvmNetworkOptions = {
|
|
2683
2785
|
addresses: Array<string>;
|
|
2684
2786
|
includeChains: Array<string>;
|
|
@@ -2831,16 +2933,31 @@ type DelegatorsDetails = {
|
|
|
2831
2933
|
};
|
|
2832
2934
|
|
|
2833
2935
|
type StakingDistribution = {
|
|
2936
|
+
/**
|
|
2937
|
+
* AvalancheGo version for the validator node.
|
|
2938
|
+
*/
|
|
2834
2939
|
version: string;
|
|
2940
|
+
/**
|
|
2941
|
+
* The total amount staked by validators using this version.
|
|
2942
|
+
*/
|
|
2835
2943
|
amountStaked: string;
|
|
2944
|
+
/**
|
|
2945
|
+
* The number of validators using this version.
|
|
2946
|
+
*/
|
|
2836
2947
|
validatorCount: number;
|
|
2837
2948
|
};
|
|
2838
2949
|
|
|
2839
2950
|
type ValidatorsDetails = {
|
|
2840
2951
|
validatorCount: number;
|
|
2841
2952
|
totalAmountStaked: string;
|
|
2953
|
+
/**
|
|
2954
|
+
* Total potential rewards from currently active validations and delegations.
|
|
2955
|
+
*/
|
|
2842
2956
|
estimatedAnnualStakingReward: string;
|
|
2843
2957
|
stakingDistributionByVersion: Array<StakingDistribution>;
|
|
2958
|
+
/**
|
|
2959
|
+
* Ratio of total active stake amount to the current supply.
|
|
2960
|
+
*/
|
|
2844
2961
|
stakingRatio: string;
|
|
2845
2962
|
};
|
|
2846
2963
|
|
|
@@ -2892,7 +3009,13 @@ type CompletedDelegatorDetails = {
|
|
|
2892
3009
|
delegationFee: string;
|
|
2893
3010
|
startTimestamp: number;
|
|
2894
3011
|
endTimestamp: number;
|
|
3012
|
+
/**
|
|
3013
|
+
* Total rewards distributed for the successful delegation.
|
|
3014
|
+
*/
|
|
2895
3015
|
grossReward: string;
|
|
3016
|
+
/**
|
|
3017
|
+
* Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
|
|
3018
|
+
*/
|
|
2896
3019
|
netReward: string;
|
|
2897
3020
|
delegationStatus: CompletedDelegatorDetails.delegationStatus;
|
|
2898
3021
|
};
|
|
@@ -2910,7 +3033,13 @@ type PendingDelegatorDetails = {
|
|
|
2910
3033
|
delegationFee: string;
|
|
2911
3034
|
startTimestamp: number;
|
|
2912
3035
|
endTimestamp: number;
|
|
3036
|
+
/**
|
|
3037
|
+
* Estimated total rewards that will be distributed for the successful delegation.
|
|
3038
|
+
*/
|
|
2913
3039
|
estimatedGrossReward: string;
|
|
3040
|
+
/**
|
|
3041
|
+
* Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
|
|
3042
|
+
*/
|
|
2914
3043
|
estimatedNetReward: string;
|
|
2915
3044
|
delegationStatus: PendingDelegatorDetails.delegationStatus;
|
|
2916
3045
|
};
|
|
@@ -3083,6 +3212,9 @@ type ActiveValidatorDetails = {
|
|
|
3083
3212
|
nodeId: string;
|
|
3084
3213
|
subnetId: string;
|
|
3085
3214
|
amountStaked: string;
|
|
3215
|
+
/**
|
|
3216
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3217
|
+
*/
|
|
3086
3218
|
delegationFee?: string;
|
|
3087
3219
|
startTimestamp: number;
|
|
3088
3220
|
endTimestamp: number;
|
|
@@ -3090,12 +3222,30 @@ type ActiveValidatorDetails = {
|
|
|
3090
3222
|
* Present for AddPermissionlessValidatorTx
|
|
3091
3223
|
*/
|
|
3092
3224
|
blsCredentials?: BlsCredentials;
|
|
3225
|
+
/**
|
|
3226
|
+
* The percentage of this validator's stake amount to the total active stake.
|
|
3227
|
+
*/
|
|
3093
3228
|
stakePercentage: number;
|
|
3229
|
+
/**
|
|
3230
|
+
* The number of delegators linked to the validator.
|
|
3231
|
+
*/
|
|
3094
3232
|
delegatorCount: number;
|
|
3233
|
+
/**
|
|
3234
|
+
* The total amount in nAVAX delegated to the validator.
|
|
3235
|
+
*/
|
|
3095
3236
|
amountDelegated?: string;
|
|
3237
|
+
/**
|
|
3238
|
+
* The validator's uptime percentage, as observed by our internal node and measured over time.
|
|
3239
|
+
*/
|
|
3096
3240
|
uptimePerformance: number;
|
|
3097
3241
|
avalancheGoVersion?: string;
|
|
3242
|
+
/**
|
|
3243
|
+
* The amount of stake in nAVAX that can be delegated to this validator.
|
|
3244
|
+
*/
|
|
3098
3245
|
delegationCapacity?: string;
|
|
3246
|
+
/**
|
|
3247
|
+
* Estimated rewards for the validator if the validation is successful.
|
|
3248
|
+
*/
|
|
3099
3249
|
potentialRewards: Rewards;
|
|
3100
3250
|
validationStatus: ActiveValidatorDetails.validationStatus;
|
|
3101
3251
|
validatorHealth: ValidatorHealthDetails;
|
|
@@ -3111,6 +3261,9 @@ type CompletedValidatorDetails = {
|
|
|
3111
3261
|
nodeId: string;
|
|
3112
3262
|
subnetId: string;
|
|
3113
3263
|
amountStaked: string;
|
|
3264
|
+
/**
|
|
3265
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3266
|
+
*/
|
|
3114
3267
|
delegationFee?: string;
|
|
3115
3268
|
startTimestamp: number;
|
|
3116
3269
|
endTimestamp: number;
|
|
@@ -3134,6 +3287,9 @@ type PendingValidatorDetails = {
|
|
|
3134
3287
|
nodeId: string;
|
|
3135
3288
|
subnetId: string;
|
|
3136
3289
|
amountStaked: string;
|
|
3290
|
+
/**
|
|
3291
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3292
|
+
*/
|
|
3137
3293
|
delegationFee?: string;
|
|
3138
3294
|
startTimestamp: number;
|
|
3139
3295
|
endTimestamp: number;
|
|
@@ -3154,6 +3310,9 @@ type RemovedValidatorDetails = {
|
|
|
3154
3310
|
nodeId: string;
|
|
3155
3311
|
subnetId: string;
|
|
3156
3312
|
amountStaked: string;
|
|
3313
|
+
/**
|
|
3314
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3315
|
+
*/
|
|
3157
3316
|
delegationFee?: string;
|
|
3158
3317
|
startTimestamp: number;
|
|
3159
3318
|
endTimestamp: number;
|
|
@@ -3161,7 +3320,13 @@ type RemovedValidatorDetails = {
|
|
|
3161
3320
|
* Present for AddPermissionlessValidatorTx
|
|
3162
3321
|
*/
|
|
3163
3322
|
blsCredentials?: BlsCredentials;
|
|
3323
|
+
/**
|
|
3324
|
+
* The transaction hash that removed the permissioned subnet validator.
|
|
3325
|
+
*/
|
|
3164
3326
|
removeTxHash: string;
|
|
3327
|
+
/**
|
|
3328
|
+
* The timestamp of the transaction that removed the permissioned subnet validator.
|
|
3329
|
+
*/
|
|
3165
3330
|
removeTimestamp: number;
|
|
3166
3331
|
validationStatus: RemovedValidatorDetails.validationStatus;
|
|
3167
3332
|
};
|
|
@@ -4318,7 +4483,7 @@ type L1ValidatorDetailsTransaction = {
|
|
|
4318
4483
|
*/
|
|
4319
4484
|
remainingBalance: number;
|
|
4320
4485
|
/**
|
|
4321
|
-
* The increase in L1 validator balance in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
|
|
4486
|
+
* The increase in L1 validator balance (nAVAX) in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
|
|
4322
4487
|
*/
|
|
4323
4488
|
balanceChange?: number;
|
|
4324
4489
|
blsCredentials?: Record<string, any>;
|
|
@@ -4348,6 +4513,9 @@ declare enum PChainTransactionType {
|
|
|
4348
4513
|
UNKNOWN = "UNKNOWN"
|
|
4349
4514
|
}
|
|
4350
4515
|
|
|
4516
|
+
/**
|
|
4517
|
+
* Indicates whether the UTXO is staked or transferable
|
|
4518
|
+
*/
|
|
4351
4519
|
declare enum UtxoType {
|
|
4352
4520
|
STAKE = "STAKE",
|
|
4353
4521
|
TRANSFER = "TRANSFER"
|
|
@@ -4385,16 +4553,43 @@ type PChainUtxo = {
|
|
|
4385
4553
|
assetId: string;
|
|
4386
4554
|
blockNumber: string;
|
|
4387
4555
|
blockTimestamp: number;
|
|
4556
|
+
/**
|
|
4557
|
+
* Block height in which the transaction consuming this UTXO was included
|
|
4558
|
+
*/
|
|
4388
4559
|
consumingBlockNumber?: string;
|
|
4560
|
+
/**
|
|
4561
|
+
* Timestamp in seconds at which this UTXO is used in a consuming transaction
|
|
4562
|
+
*/
|
|
4389
4563
|
consumingBlockTimestamp?: number;
|
|
4564
|
+
/**
|
|
4565
|
+
* Timestamp in seconds after which this UTXO can be consumed
|
|
4566
|
+
*/
|
|
4390
4567
|
platformLocktime?: number;
|
|
4568
|
+
/**
|
|
4569
|
+
* The index of the UTXO in the transaction
|
|
4570
|
+
*/
|
|
4391
4571
|
outputIndex: number;
|
|
4392
4572
|
rewardType?: RewardType;
|
|
4573
|
+
/**
|
|
4574
|
+
* Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
|
|
4575
|
+
*/
|
|
4393
4576
|
stakeableLocktime?: number;
|
|
4394
4577
|
staked?: boolean;
|
|
4578
|
+
/**
|
|
4579
|
+
* The minimum number of signatures required to spend this UTXO
|
|
4580
|
+
*/
|
|
4395
4581
|
threshold?: number;
|
|
4582
|
+
/**
|
|
4583
|
+
* The hash of the transaction that created this UTXO
|
|
4584
|
+
*/
|
|
4396
4585
|
txHash: string;
|
|
4586
|
+
/**
|
|
4587
|
+
* Timestamp in seconds after which the staked UTXO will be unlocked.
|
|
4588
|
+
*/
|
|
4397
4589
|
utxoEndTimestamp?: number;
|
|
4590
|
+
/**
|
|
4591
|
+
* Timestamp in seconds at which the staked UTXO was locked.
|
|
4592
|
+
*/
|
|
4398
4593
|
utxoStartTimestamp?: number;
|
|
4399
4594
|
utxoType: UtxoType;
|
|
4400
4595
|
};
|
|
@@ -4409,9 +4604,18 @@ type PChainTransaction = {
|
|
|
4409
4604
|
* The block finality timestamp.
|
|
4410
4605
|
*/
|
|
4411
4606
|
blockTimestamp: number;
|
|
4607
|
+
/**
|
|
4608
|
+
* The height of the block in which the transaction was included
|
|
4609
|
+
*/
|
|
4412
4610
|
blockNumber: string;
|
|
4413
4611
|
blockHash: string;
|
|
4612
|
+
/**
|
|
4613
|
+
* The consumed UTXOs of the transaction
|
|
4614
|
+
*/
|
|
4414
4615
|
consumedUtxos: Array<PChainUtxo>;
|
|
4616
|
+
/**
|
|
4617
|
+
* The newly created UTXOs of the transaction
|
|
4618
|
+
*/
|
|
4415
4619
|
emittedUtxos: Array<PChainUtxo>;
|
|
4416
4620
|
/**
|
|
4417
4621
|
* Source chain for an atomic transaction.
|
|
@@ -4422,11 +4626,11 @@ type PChainTransaction = {
|
|
|
4422
4626
|
*/
|
|
4423
4627
|
destinationChain?: string;
|
|
4424
4628
|
/**
|
|
4425
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4629
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX present in the newly created UTXOs of the transaction
|
|
4426
4630
|
*/
|
|
4427
4631
|
value: Array<AssetAmount>;
|
|
4428
4632
|
/**
|
|
4429
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4633
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The nAVAX amount burned in a transaction, partially or fully contributing to the transaction fee
|
|
4430
4634
|
*/
|
|
4431
4635
|
amountBurned: Array<AssetAmount>;
|
|
4432
4636
|
/**
|
|
@@ -4434,7 +4638,7 @@ type PChainTransaction = {
|
|
|
4434
4638
|
*/
|
|
4435
4639
|
amountStaked: Array<AssetAmount>;
|
|
4436
4640
|
/**
|
|
4437
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4641
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX locked for pay-as-you-go continuous fees to sustain L1 validation.
|
|
4438
4642
|
*/
|
|
4439
4643
|
amountL1ValidatorBalanceBurned: Array<AssetAmount>;
|
|
4440
4644
|
/**
|
|
@@ -4446,11 +4650,11 @@ type PChainTransaction = {
|
|
|
4446
4650
|
*/
|
|
4447
4651
|
endTimestamp?: number;
|
|
4448
4652
|
/**
|
|
4449
|
-
* Present for AddValidatorTx, AddPermissionlessValidatorTx
|
|
4653
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
|
|
4450
4654
|
*/
|
|
4451
4655
|
delegationFeePercent?: string;
|
|
4452
4656
|
/**
|
|
4453
|
-
* Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4657
|
+
* The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4454
4658
|
*/
|
|
4455
4659
|
nodeId?: string;
|
|
4456
4660
|
/**
|
|
@@ -4466,14 +4670,17 @@ type PChainTransaction = {
|
|
|
4466
4670
|
*/
|
|
4467
4671
|
l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
|
|
4468
4672
|
/**
|
|
4469
|
-
* Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4673
|
+
* Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4470
4674
|
*/
|
|
4471
4675
|
estimatedReward?: string;
|
|
4676
|
+
/**
|
|
4677
|
+
* Reward transaction hash for the completed validations or delegations
|
|
4678
|
+
*/
|
|
4472
4679
|
rewardTxHash?: string;
|
|
4473
4680
|
rewardAddresses?: Array<string>;
|
|
4474
4681
|
memo?: string;
|
|
4475
4682
|
/**
|
|
4476
|
-
*
|
|
4683
|
+
* Staking transaction corresponding to the RewardValidatorTx
|
|
4477
4684
|
*/
|
|
4478
4685
|
stakingTxHash?: string;
|
|
4479
4686
|
/**
|
|
@@ -4481,7 +4688,7 @@ type PChainTransaction = {
|
|
|
4481
4688
|
*/
|
|
4482
4689
|
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
4483
4690
|
/**
|
|
4484
|
-
* Present for AddPermissionlessValidatorTx
|
|
4691
|
+
* Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
|
|
4485
4692
|
*/
|
|
4486
4693
|
blsCredentials?: BlsCredentials;
|
|
4487
4694
|
};
|
|
@@ -5488,6 +5695,7 @@ declare class Glacier {
|
|
|
5488
5695
|
readonly evmTransactions: EvmTransactionsService;
|
|
5489
5696
|
readonly healthCheck: HealthCheckService;
|
|
5490
5697
|
readonly nfTs: NfTsService;
|
|
5698
|
+
readonly notifications: NotificationsService;
|
|
5491
5699
|
readonly operations: OperationsService;
|
|
5492
5700
|
readonly primaryNetwork: PrimaryNetworkService;
|
|
5493
5701
|
readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
|
|
@@ -5651,4 +5859,4 @@ type Unauthorized = {
|
|
|
5651
5859
|
error: string;
|
|
5652
5860
|
};
|
|
5653
5861
|
|
|
5654
|
-
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, 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, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, 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, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|
|
5862
|
+
export { AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, 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, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, NotificationsResponse, NotificationsService, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, 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, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|