@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
|
@@ -9,6 +9,7 @@ import { EvmContractsService } from './services/EvmContractsService.js';
|
|
|
9
9
|
import { EvmTransactionsService } from './services/EvmTransactionsService.js';
|
|
10
10
|
import { HealthCheckService } from './services/HealthCheckService.js';
|
|
11
11
|
import { NfTsService } from './services/NfTsService.js';
|
|
12
|
+
import { NotificationsService } from './services/NotificationsService.js';
|
|
12
13
|
import { OperationsService } from './services/OperationsService.js';
|
|
13
14
|
import { PrimaryNetworkService } from './services/PrimaryNetworkService.js';
|
|
14
15
|
import { PrimaryNetworkBalancesService } from './services/PrimaryNetworkBalancesService.js';
|
|
@@ -32,6 +33,7 @@ declare class Glacier {
|
|
|
32
33
|
readonly evmTransactions: EvmTransactionsService;
|
|
33
34
|
readonly healthCheck: HealthCheckService;
|
|
34
35
|
readonly nfTs: NfTsService;
|
|
36
|
+
readonly notifications: NotificationsService;
|
|
35
37
|
readonly operations: OperationsService;
|
|
36
38
|
readonly primaryNetwork: PrimaryNetworkService;
|
|
37
39
|
readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
|
package/esm/generated/Glacier.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{FetchHttpRequest as e}from"./core/FetchHttpRequest.js";import{DataApiUsageMetricsService as r}from"./services/DataApiUsageMetricsService.js";import{DefaultService as s}from"./services/DefaultService.js";import{EvmBalancesService as t}from"./services/EvmBalancesService.js";import{EvmBlocksService as i}from"./services/EvmBlocksService.js";import{EvmChainsService as o}from"./services/EvmChainsService.js";import{EvmContractsService as a}from"./services/EvmContractsService.js";import{EvmTransactionsService as
|
|
1
|
+
import{FetchHttpRequest as e}from"./core/FetchHttpRequest.js";import{DataApiUsageMetricsService as r}from"./services/DataApiUsageMetricsService.js";import{DefaultService as s}from"./services/DefaultService.js";import{EvmBalancesService as t}from"./services/EvmBalancesService.js";import{EvmBlocksService as i}from"./services/EvmBlocksService.js";import{EvmChainsService as o}from"./services/EvmChainsService.js";import{EvmContractsService as a}from"./services/EvmContractsService.js";import{EvmTransactionsService as c}from"./services/EvmTransactionsService.js";import{HealthCheckService as m}from"./services/HealthCheckService.js";import{NfTsService as n}from"./services/NfTsService.js";import{NotificationsService as h}from"./services/NotificationsService.js";import{OperationsService as v}from"./services/OperationsService.js";import{PrimaryNetworkService as p}from"./services/PrimaryNetworkService.js";import{PrimaryNetworkBalancesService as w}from"./services/PrimaryNetworkBalancesService.js";import{PrimaryNetworkBlocksService as S}from"./services/PrimaryNetworkBlocksService.js";import{PrimaryNetworkRewardsService as N}from"./services/PrimaryNetworkRewardsService.js";import{PrimaryNetworkTransactionsService as k}from"./services/PrimaryNetworkTransactionsService.js";import{PrimaryNetworkUtxOsService as u}from"./services/PrimaryNetworkUtxOsService.js";import{PrimaryNetworkVerticesService as f}from"./services/PrimaryNetworkVerticesService.js";import{SignatureAggregatorService as E}from"./services/SignatureAggregatorService.js";import{TeleporterService as l}from"./services/TeleporterService.js";import{WebhooksService as q}from"./services/WebhooksService.js";class j{dataApiUsageMetrics;default;evmBalances;evmBlocks;evmChains;evmContracts;evmTransactions;healthCheck;nfTs;notifications;operations;primaryNetwork;primaryNetworkBalances;primaryNetworkBlocks;primaryNetworkRewards;primaryNetworkTransactions;primaryNetworkUtxOs;primaryNetworkVertices;signatureAggregator;teleporter;webhooks;request;constructor(j,y=e){this.request=new y({BASE:j?.BASE??"https://glacier-api-dev.avax.network",VERSION:j?.VERSION??"Beta",WITH_CREDENTIALS:j?.WITH_CREDENTIALS??!1,CREDENTIALS:j?.CREDENTIALS??"include",TOKEN:j?.TOKEN,USERNAME:j?.USERNAME,PASSWORD:j?.PASSWORD,HEADERS:j?.HEADERS,ENCODE_PATH:j?.ENCODE_PATH}),this.dataApiUsageMetrics=new r(this.request),this.default=new s(this.request),this.evmBalances=new t(this.request),this.evmBlocks=new i(this.request),this.evmChains=new o(this.request),this.evmContracts=new a(this.request),this.evmTransactions=new c(this.request),this.healthCheck=new m(this.request),this.nfTs=new n(this.request),this.notifications=new h(this.request),this.operations=new v(this.request),this.primaryNetwork=new p(this.request),this.primaryNetworkBalances=new w(this.request),this.primaryNetworkBlocks=new S(this.request),this.primaryNetworkRewards=new N(this.request),this.primaryNetworkTransactions=new k(this.request),this.primaryNetworkUtxOs=new u(this.request),this.primaryNetworkVertices=new f(this.request),this.signatureAggregator=new E(this.request),this.teleporter=new l(this.request),this.webhooks=new q(this.request)}}export{j as Glacier};
|
|
@@ -7,6 +7,9 @@ type ActiveValidatorDetails = {
|
|
|
7
7
|
nodeId: string;
|
|
8
8
|
subnetId: string;
|
|
9
9
|
amountStaked: string;
|
|
10
|
+
/**
|
|
11
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
12
|
+
*/
|
|
10
13
|
delegationFee?: string;
|
|
11
14
|
startTimestamp: number;
|
|
12
15
|
endTimestamp: number;
|
|
@@ -14,12 +17,30 @@ type ActiveValidatorDetails = {
|
|
|
14
17
|
* Present for AddPermissionlessValidatorTx
|
|
15
18
|
*/
|
|
16
19
|
blsCredentials?: BlsCredentials;
|
|
20
|
+
/**
|
|
21
|
+
* The percentage of this validator's stake amount to the total active stake.
|
|
22
|
+
*/
|
|
17
23
|
stakePercentage: number;
|
|
24
|
+
/**
|
|
25
|
+
* The number of delegators linked to the validator.
|
|
26
|
+
*/
|
|
18
27
|
delegatorCount: number;
|
|
28
|
+
/**
|
|
29
|
+
* The total amount in nAVAX delegated to the validator.
|
|
30
|
+
*/
|
|
19
31
|
amountDelegated?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The validator's uptime percentage, as observed by our internal node and measured over time.
|
|
34
|
+
*/
|
|
20
35
|
uptimePerformance: number;
|
|
21
36
|
avalancheGoVersion?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The amount of stake in nAVAX that can be delegated to this validator.
|
|
39
|
+
*/
|
|
22
40
|
delegationCapacity?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Estimated rewards for the validator if the validation is successful.
|
|
43
|
+
*/
|
|
23
44
|
potentialRewards: Rewards;
|
|
24
45
|
validationStatus: ActiveValidatorDetails.validationStatus;
|
|
25
46
|
validatorHealth: ValidatorHealthDetails;
|
|
@@ -6,7 +6,13 @@ type CompletedDelegatorDetails = {
|
|
|
6
6
|
delegationFee: string;
|
|
7
7
|
startTimestamp: number;
|
|
8
8
|
endTimestamp: number;
|
|
9
|
+
/**
|
|
10
|
+
* Total rewards distributed for the successful delegation.
|
|
11
|
+
*/
|
|
9
12
|
grossReward: string;
|
|
13
|
+
/**
|
|
14
|
+
* Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
|
|
15
|
+
*/
|
|
10
16
|
netReward: string;
|
|
11
17
|
delegationStatus: CompletedDelegatorDetails.delegationStatus;
|
|
12
18
|
};
|
|
@@ -6,6 +6,9 @@ type CompletedValidatorDetails = {
|
|
|
6
6
|
nodeId: string;
|
|
7
7
|
subnetId: string;
|
|
8
8
|
amountStaked: string;
|
|
9
|
+
/**
|
|
10
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
11
|
+
*/
|
|
9
12
|
delegationFee?: string;
|
|
10
13
|
startTimestamp: number;
|
|
11
14
|
endTimestamp: number;
|
|
@@ -14,7 +14,7 @@ type L1ValidatorDetailsTransaction = {
|
|
|
14
14
|
*/
|
|
15
15
|
remainingBalance: number;
|
|
16
16
|
/**
|
|
17
|
-
* 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
|
|
17
|
+
* 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
|
|
18
18
|
*/
|
|
19
19
|
balanceChange?: number;
|
|
20
20
|
blsCredentials?: Record<string, any>;
|
|
@@ -16,9 +16,18 @@ type PChainTransaction = {
|
|
|
16
16
|
* The block finality timestamp.
|
|
17
17
|
*/
|
|
18
18
|
blockTimestamp: number;
|
|
19
|
+
/**
|
|
20
|
+
* The height of the block in which the transaction was included
|
|
21
|
+
*/
|
|
19
22
|
blockNumber: string;
|
|
20
23
|
blockHash: string;
|
|
24
|
+
/**
|
|
25
|
+
* The consumed UTXOs of the transaction
|
|
26
|
+
*/
|
|
21
27
|
consumedUtxos: Array<PChainUtxo>;
|
|
28
|
+
/**
|
|
29
|
+
* The newly created UTXOs of the transaction
|
|
30
|
+
*/
|
|
22
31
|
emittedUtxos: Array<PChainUtxo>;
|
|
23
32
|
/**
|
|
24
33
|
* Source chain for an atomic transaction.
|
|
@@ -29,11 +38,11 @@ type PChainTransaction = {
|
|
|
29
38
|
*/
|
|
30
39
|
destinationChain?: string;
|
|
31
40
|
/**
|
|
32
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
41
|
+
* 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
|
|
33
42
|
*/
|
|
34
43
|
value: Array<AssetAmount>;
|
|
35
44
|
/**
|
|
36
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
45
|
+
* 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
|
|
37
46
|
*/
|
|
38
47
|
amountBurned: Array<AssetAmount>;
|
|
39
48
|
/**
|
|
@@ -41,7 +50,7 @@ type PChainTransaction = {
|
|
|
41
50
|
*/
|
|
42
51
|
amountStaked: Array<AssetAmount>;
|
|
43
52
|
/**
|
|
44
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
53
|
+
* 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.
|
|
45
54
|
*/
|
|
46
55
|
amountL1ValidatorBalanceBurned: Array<AssetAmount>;
|
|
47
56
|
/**
|
|
@@ -53,11 +62,11 @@ type PChainTransaction = {
|
|
|
53
62
|
*/
|
|
54
63
|
endTimestamp?: number;
|
|
55
64
|
/**
|
|
56
|
-
* Present for AddValidatorTx, AddPermissionlessValidatorTx
|
|
65
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
|
|
57
66
|
*/
|
|
58
67
|
delegationFeePercent?: string;
|
|
59
68
|
/**
|
|
60
|
-
* Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
69
|
+
* The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
61
70
|
*/
|
|
62
71
|
nodeId?: string;
|
|
63
72
|
/**
|
|
@@ -73,14 +82,17 @@ type PChainTransaction = {
|
|
|
73
82
|
*/
|
|
74
83
|
l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
|
|
75
84
|
/**
|
|
76
|
-
* Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
85
|
+
* Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
77
86
|
*/
|
|
78
87
|
estimatedReward?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Reward transaction hash for the completed validations or delegations
|
|
90
|
+
*/
|
|
79
91
|
rewardTxHash?: string;
|
|
80
92
|
rewardAddresses?: Array<string>;
|
|
81
93
|
memo?: string;
|
|
82
94
|
/**
|
|
83
|
-
*
|
|
95
|
+
* Staking transaction corresponding to the RewardValidatorTx
|
|
84
96
|
*/
|
|
85
97
|
stakingTxHash?: string;
|
|
86
98
|
/**
|
|
@@ -88,7 +100,7 @@ type PChainTransaction = {
|
|
|
88
100
|
*/
|
|
89
101
|
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
90
102
|
/**
|
|
91
|
-
* Present for AddPermissionlessValidatorTx
|
|
103
|
+
* Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
|
|
92
104
|
*/
|
|
93
105
|
blsCredentials?: BlsCredentials;
|
|
94
106
|
};
|
|
@@ -34,16 +34,43 @@ type PChainUtxo = {
|
|
|
34
34
|
assetId: string;
|
|
35
35
|
blockNumber: string;
|
|
36
36
|
blockTimestamp: number;
|
|
37
|
+
/**
|
|
38
|
+
* Block height in which the transaction consuming this UTXO was included
|
|
39
|
+
*/
|
|
37
40
|
consumingBlockNumber?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Timestamp in seconds at which this UTXO is used in a consuming transaction
|
|
43
|
+
*/
|
|
38
44
|
consumingBlockTimestamp?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Timestamp in seconds after which this UTXO can be consumed
|
|
47
|
+
*/
|
|
39
48
|
platformLocktime?: number;
|
|
49
|
+
/**
|
|
50
|
+
* The index of the UTXO in the transaction
|
|
51
|
+
*/
|
|
40
52
|
outputIndex: number;
|
|
41
53
|
rewardType?: RewardType;
|
|
54
|
+
/**
|
|
55
|
+
* Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
|
|
56
|
+
*/
|
|
42
57
|
stakeableLocktime?: number;
|
|
43
58
|
staked?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* The minimum number of signatures required to spend this UTXO
|
|
61
|
+
*/
|
|
44
62
|
threshold?: number;
|
|
63
|
+
/**
|
|
64
|
+
* The hash of the transaction that created this UTXO
|
|
65
|
+
*/
|
|
45
66
|
txHash: string;
|
|
67
|
+
/**
|
|
68
|
+
* Timestamp in seconds after which the staked UTXO will be unlocked.
|
|
69
|
+
*/
|
|
46
70
|
utxoEndTimestamp?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Timestamp in seconds at which the staked UTXO was locked.
|
|
73
|
+
*/
|
|
47
74
|
utxoStartTimestamp?: number;
|
|
48
75
|
utxoType: UtxoType;
|
|
49
76
|
};
|
|
@@ -6,7 +6,13 @@ type PendingDelegatorDetails = {
|
|
|
6
6
|
delegationFee: string;
|
|
7
7
|
startTimestamp: number;
|
|
8
8
|
endTimestamp: number;
|
|
9
|
+
/**
|
|
10
|
+
* Estimated total rewards that will be distributed for the successful delegation.
|
|
11
|
+
*/
|
|
9
12
|
estimatedGrossReward: string;
|
|
13
|
+
/**
|
|
14
|
+
* Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
|
|
15
|
+
*/
|
|
10
16
|
estimatedNetReward: string;
|
|
11
17
|
delegationStatus: PendingDelegatorDetails.delegationStatus;
|
|
12
18
|
};
|
|
@@ -5,6 +5,9 @@ type PendingValidatorDetails = {
|
|
|
5
5
|
nodeId: string;
|
|
6
6
|
subnetId: string;
|
|
7
7
|
amountStaked: string;
|
|
8
|
+
/**
|
|
9
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
10
|
+
*/
|
|
8
11
|
delegationFee?: string;
|
|
9
12
|
startTimestamp: number;
|
|
10
13
|
endTimestamp: number;
|
|
@@ -5,6 +5,9 @@ type RemovedValidatorDetails = {
|
|
|
5
5
|
nodeId: string;
|
|
6
6
|
subnetId: string;
|
|
7
7
|
amountStaked: string;
|
|
8
|
+
/**
|
|
9
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
10
|
+
*/
|
|
8
11
|
delegationFee?: string;
|
|
9
12
|
startTimestamp: number;
|
|
10
13
|
endTimestamp: number;
|
|
@@ -12,7 +15,13 @@ type RemovedValidatorDetails = {
|
|
|
12
15
|
* Present for AddPermissionlessValidatorTx
|
|
13
16
|
*/
|
|
14
17
|
blsCredentials?: BlsCredentials;
|
|
18
|
+
/**
|
|
19
|
+
* The transaction hash that removed the permissioned subnet validator.
|
|
20
|
+
*/
|
|
15
21
|
removeTxHash: string;
|
|
22
|
+
/**
|
|
23
|
+
* The timestamp of the transaction that removed the permissioned subnet validator.
|
|
24
|
+
*/
|
|
16
25
|
removeTimestamp: number;
|
|
17
26
|
validationStatus: RemovedValidatorDetails.validationStatus;
|
|
18
27
|
};
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
type StakingDistribution = {
|
|
2
|
+
/**
|
|
3
|
+
* AvalancheGo version for the validator node.
|
|
4
|
+
*/
|
|
2
5
|
version: string;
|
|
6
|
+
/**
|
|
7
|
+
* The total amount staked by validators using this version.
|
|
8
|
+
*/
|
|
3
9
|
amountStaked: string;
|
|
10
|
+
/**
|
|
11
|
+
* The number of validators using this version.
|
|
12
|
+
*/
|
|
4
13
|
validatorCount: number;
|
|
5
14
|
};
|
|
6
15
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type SubscribeRequest = {
|
|
2
|
+
/**
|
|
3
|
+
* The access token to use for authentication
|
|
4
|
+
*/
|
|
5
|
+
accessToken: string;
|
|
6
|
+
/**
|
|
7
|
+
* The node ID to subscribe to
|
|
8
|
+
*/
|
|
9
|
+
nodeId: string;
|
|
10
|
+
/**
|
|
11
|
+
* The notification types to subscribe to. If not provided, all notification types will be subscribed to
|
|
12
|
+
*/
|
|
13
|
+
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { SubscribeRequest };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type SubscriptionsResponse = {
|
|
2
|
+
/**
|
|
3
|
+
* The email address of the user
|
|
4
|
+
*/
|
|
5
|
+
email: string;
|
|
6
|
+
/**
|
|
7
|
+
* The subscriptions of the user
|
|
8
|
+
*/
|
|
9
|
+
subscriptions: Record<string, {
|
|
10
|
+
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
11
|
+
}>;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { SubscriptionsResponse };
|
|
@@ -3,8 +3,14 @@ import { StakingDistribution } from './StakingDistribution.js';
|
|
|
3
3
|
type ValidatorsDetails = {
|
|
4
4
|
validatorCount: number;
|
|
5
5
|
totalAmountStaked: string;
|
|
6
|
+
/**
|
|
7
|
+
* Total potential rewards from currently active validations and delegations.
|
|
8
|
+
*/
|
|
6
9
|
estimatedAnnualStakingReward: string;
|
|
7
10
|
stakingDistributionByVersion: Array<StakingDistribution>;
|
|
11
|
+
/**
|
|
12
|
+
* Ratio of total active stake amount to the current supply.
|
|
13
|
+
*/
|
|
8
14
|
stakingRatio: string;
|
|
9
15
|
};
|
|
10
16
|
|
|
@@ -26,7 +26,7 @@ declare class EvmChainsService {
|
|
|
26
26
|
}): CancelablePromise<ListAddressChainsResponse>;
|
|
27
27
|
/**
|
|
28
28
|
* List chains
|
|
29
|
-
* Lists the supported EVM-compatible chains. Filterable by network.
|
|
29
|
+
* Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
|
|
30
30
|
* @returns ListChainsResponse Successful response
|
|
31
31
|
* @throws ApiError
|
|
32
32
|
*/
|
|
@@ -42,7 +42,7 @@ declare class EvmChainsService {
|
|
|
42
42
|
}): CancelablePromise<ListChainsResponse>;
|
|
43
43
|
/**
|
|
44
44
|
* Get chain information
|
|
45
|
-
* Gets chain information for the EVM-compatible chain if supported by
|
|
45
|
+
* Gets chain information for the EVM-compatible chain if supported by AvaCloud.
|
|
46
46
|
* @returns GetChainResponse Successful response
|
|
47
47
|
* @throws ApiError
|
|
48
48
|
*/
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { AccessRequest } from '../models/AccessRequest.js';
|
|
2
|
+
import { NotificationsResponse } from '../models/NotificationsResponse.js';
|
|
3
|
+
import { SubscribeRequest } from '../models/SubscribeRequest.js';
|
|
4
|
+
import { SubscriptionsRequest } from '../models/SubscriptionsRequest.js';
|
|
5
|
+
import { SubscriptionsResponse } from '../models/SubscriptionsResponse.js';
|
|
6
|
+
import { UnsubscribeRequest } from '../models/UnsubscribeRequest.js';
|
|
7
|
+
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
8
|
+
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
9
|
+
|
|
10
|
+
declare class NotificationsService {
|
|
11
|
+
readonly httpRequest: BaseHttpRequest;
|
|
12
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
13
|
+
/**
|
|
14
|
+
* Access Notifications
|
|
15
|
+
* Access notifications.
|
|
16
|
+
* @returns NotificationsResponse Successful response
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
access({ requestBody, }: {
|
|
20
|
+
requestBody: AccessRequest;
|
|
21
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Subscribe to Notifications
|
|
24
|
+
* Subscribe to receive notifications.
|
|
25
|
+
* @returns NotificationsResponse Successful response
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
subscribe({ requestBody, }: {
|
|
29
|
+
requestBody: SubscribeRequest;
|
|
30
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Unsubscribe from Notifications
|
|
33
|
+
* Unsubscribe from receiving notifications.
|
|
34
|
+
* @returns NotificationsResponse Successful response
|
|
35
|
+
* @throws ApiError
|
|
36
|
+
*/
|
|
37
|
+
unsubscribe({ requestBody, }: {
|
|
38
|
+
requestBody: UnsubscribeRequest;
|
|
39
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Get Subscriptions
|
|
42
|
+
* Get subscriptions.
|
|
43
|
+
* @returns SubscriptionsResponse Successful response
|
|
44
|
+
* @throws ApiError
|
|
45
|
+
*/
|
|
46
|
+
subscriptions({ requestBody, }: {
|
|
47
|
+
requestBody: SubscriptionsRequest;
|
|
48
|
+
}): CancelablePromise<SubscriptionsResponse>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export { NotificationsService };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class e{constructor(e){this.httpRequest=e}access({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/notifications/access",body:e,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}subscribe({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/notifications/subscribe",body:e,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}unsubscribe({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/notifications/unsubscribe",body:e,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}subscriptions({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/notifications/subscriptions",body:e,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as NotificationsService};
|
package/esm/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { ApiError } from './generated/core/ApiError.js';
|
|
|
3
3
|
export { BaseHttpRequest } from './generated/core/BaseHttpRequest.js';
|
|
4
4
|
export { CancelError, CancelablePromise } from './generated/core/CancelablePromise.js';
|
|
5
5
|
export { OpenAPI, OpenAPIConfig } from './generated/core/OpenAPI.js';
|
|
6
|
+
export { AccessRequest } from './generated/models/AccessRequest.js';
|
|
6
7
|
export { ActiveDelegatorDetails } from './generated/models/ActiveDelegatorDetails.js';
|
|
7
8
|
export { ActiveValidatorDetails } from './generated/models/ActiveValidatorDetails.js';
|
|
8
9
|
export { AddressActivityMetadata } from './generated/models/AddressActivityMetadata.js';
|
|
@@ -134,6 +135,7 @@ export { NetworkTokenDetails } from './generated/models/NetworkTokenDetails.js';
|
|
|
134
135
|
export { NextPageToken } from './generated/models/NextPageToken.js';
|
|
135
136
|
export { NftTokenMetadataStatus } from './generated/models/NftTokenMetadataStatus.js';
|
|
136
137
|
export { NotFound } from './generated/models/NotFound.js';
|
|
138
|
+
export { NotificationsResponse } from './generated/models/NotificationsResponse.js';
|
|
137
139
|
export { OperationStatus } from './generated/models/OperationStatus.js';
|
|
138
140
|
export { OperationStatusCode } from './generated/models/OperationStatusCode.js';
|
|
139
141
|
export { OperationStatusResponse } from './generated/models/OperationStatusResponse.js';
|
|
@@ -180,6 +182,9 @@ export { Subnet } from './generated/models/Subnet.js';
|
|
|
180
182
|
export { SubnetOwnershipInfo } from './generated/models/SubnetOwnershipInfo.js';
|
|
181
183
|
export { SubnetRpcTimeIntervalGranularity } from './generated/models/SubnetRpcTimeIntervalGranularity.js';
|
|
182
184
|
export { SubnetRpcUsageMetricsResponseDTO } from './generated/models/SubnetRpcUsageMetricsResponseDTO.js';
|
|
185
|
+
export { SubscribeRequest } from './generated/models/SubscribeRequest.js';
|
|
186
|
+
export { SubscriptionsRequest } from './generated/models/SubscriptionsRequest.js';
|
|
187
|
+
export { SubscriptionsResponse } from './generated/models/SubscriptionsResponse.js';
|
|
183
188
|
export { TeleporterDestinationTransaction } from './generated/models/TeleporterDestinationTransaction.js';
|
|
184
189
|
export { TeleporterMessageInfo } from './generated/models/TeleporterMessageInfo.js';
|
|
185
190
|
export { TeleporterReceipt } from './generated/models/TeleporterReceipt.js';
|
|
@@ -195,6 +200,7 @@ export { TransactionStatus } from './generated/models/TransactionStatus.js';
|
|
|
195
200
|
export { TransactionVertexDetail } from './generated/models/TransactionVertexDetail.js';
|
|
196
201
|
export { Unauthorized } from './generated/models/Unauthorized.js';
|
|
197
202
|
export { UnknownContract } from './generated/models/UnknownContract.js';
|
|
203
|
+
export { UnsubscribeRequest } from './generated/models/UnsubscribeRequest.js';
|
|
198
204
|
export { UpdateContractResponse } from './generated/models/UpdateContractResponse.js';
|
|
199
205
|
export { UpdateWebhookRequest } from './generated/models/UpdateWebhookRequest.js';
|
|
200
206
|
export { UsageMetricsGroupByEnum } from './generated/models/UsageMetricsGroupByEnum.js';
|
|
@@ -228,6 +234,7 @@ export { EvmContractsService } from './generated/services/EvmContractsService.js
|
|
|
228
234
|
export { EvmTransactionsService } from './generated/services/EvmTransactionsService.js';
|
|
229
235
|
export { HealthCheckService } from './generated/services/HealthCheckService.js';
|
|
230
236
|
export { NfTsService } from './generated/services/NfTsService.js';
|
|
237
|
+
export { NotificationsService } from './generated/services/NotificationsService.js';
|
|
231
238
|
export { OperationsService } from './generated/services/OperationsService.js';
|
|
232
239
|
export { PrimaryNetworkService } from './generated/services/PrimaryNetworkService.js';
|
|
233
240
|
export { PrimaryNetworkBalancesService } from './generated/services/PrimaryNetworkBalancesService.js';
|
package/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Glacier}from"./generated/Glacier.js";export{ApiError}from"./generated/core/ApiError.js";export{BaseHttpRequest}from"./generated/core/BaseHttpRequest.js";export{CancelError,CancelablePromise}from"./generated/core/CancelablePromise.js";export{OpenAPI}from"./generated/core/OpenAPI.js";export{ActiveDelegatorDetails}from"./generated/models/ActiveDelegatorDetails.js";export{ActiveValidatorDetails}from"./generated/models/ActiveValidatorDetails.js";export{ApiFeature}from"./generated/models/ApiFeature.js";export{BlockchainId}from"./generated/models/BlockchainId.js";export{BlockchainIds}from"./generated/models/BlockchainIds.js";export{CChainExportTransaction}from"./generated/models/CChainExportTransaction.js";export{CChainImportTransaction}from"./generated/models/CChainImportTransaction.js";export{ChainStatus}from"./generated/models/ChainStatus.js";export{CompletedDelegatorDetails}from"./generated/models/CompletedDelegatorDetails.js";export{CompletedValidatorDetails}from"./generated/models/CompletedValidatorDetails.js";export{ContractSubmissionErc1155}from"./generated/models/ContractSubmissionErc1155.js";export{ContractSubmissionErc20}from"./generated/models/ContractSubmissionErc20.js";export{ContractSubmissionErc721}from"./generated/models/ContractSubmissionErc721.js";export{ContractSubmissionUnknown}from"./generated/models/ContractSubmissionUnknown.js";export{CurrencyCode}from"./generated/models/CurrencyCode.js";export{DelegationStatusType}from"./generated/models/DelegationStatusType.js";export{DeliveredSourceNotIndexedTeleporterMessage}from"./generated/models/DeliveredSourceNotIndexedTeleporterMessage.js";export{DeliveredTeleporterMessage}from"./generated/models/DeliveredTeleporterMessage.js";export{Erc1155Contract}from"./generated/models/Erc1155Contract.js";export{Erc1155Token}from"./generated/models/Erc1155Token.js";export{Erc1155TokenBalance}from"./generated/models/Erc1155TokenBalance.js";export{Erc20Contract}from"./generated/models/Erc20Contract.js";export{Erc20Token}from"./generated/models/Erc20Token.js";export{Erc20TokenBalance}from"./generated/models/Erc20TokenBalance.js";export{Erc721Contract}from"./generated/models/Erc721Contract.js";export{Erc721Token}from"./generated/models/Erc721Token.js";export{Erc721TokenBalance}from"./generated/models/Erc721TokenBalance.js";export{EventType}from"./generated/models/EventType.js";export{EVMOperationType}from"./generated/models/EVMOperationType.js";export{InternalTransactionOpCall}from"./generated/models/InternalTransactionOpCall.js";export{Network}from"./generated/models/Network.js";export{NftTokenMetadataStatus}from"./generated/models/NftTokenMetadataStatus.js";export{OperationStatus}from"./generated/models/OperationStatus.js";export{OperationStatusCode}from"./generated/models/OperationStatusCode.js";export{OperationType}from"./generated/models/OperationType.js";export{PChainId}from"./generated/models/PChainId.js";export{PChainTransactionType}from"./generated/models/PChainTransactionType.js";export{PendingDelegatorDetails}from"./generated/models/PendingDelegatorDetails.js";export{PendingTeleporterMessage}from"./generated/models/PendingTeleporterMessage.js";export{PendingValidatorDetails}from"./generated/models/PendingValidatorDetails.js";export{PrimaryNetworkAssetCap}from"./generated/models/PrimaryNetworkAssetCap.js";export{PrimaryNetworkAssetType}from"./generated/models/PrimaryNetworkAssetType.js";export{PrimaryNetworkChainName}from"./generated/models/PrimaryNetworkChainName.js";export{PrimaryNetworkOperationType}from"./generated/models/PrimaryNetworkOperationType.js";export{PrimaryNetworkRpcMetricsGroupByEnum}from"./generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js";export{PrimaryNetworkTxType}from"./generated/models/PrimaryNetworkTxType.js";export{RemovedValidatorDetails}from"./generated/models/RemovedValidatorDetails.js";export{RequestType}from"./generated/models/RequestType.js";export{ResourceLinkType}from"./generated/models/ResourceLinkType.js";export{RewardType}from"./generated/models/RewardType.js";export{RpcUsageMetricsGroupByEnum}from"./generated/models/RpcUsageMetricsGroupByEnum.js";export{RpcUsageMetricsValueAggregated}from"./generated/models/RpcUsageMetricsValueAggregated.js";export{SortByOption}from"./generated/models/SortByOption.js";export{SortOrder}from"./generated/models/SortOrder.js";export{SubnetRpcTimeIntervalGranularity}from"./generated/models/SubnetRpcTimeIntervalGranularity.js";export{TeleporterRewardDetails}from"./generated/models/TeleporterRewardDetails.js";export{TimeIntervalGranularityExtended}from"./generated/models/TimeIntervalGranularityExtended.js";export{TransactionDirectionType}from"./generated/models/TransactionDirectionType.js";export{TransactionMethodType}from"./generated/models/TransactionMethodType.js";export{TransactionStatus}from"./generated/models/TransactionStatus.js";export{UnknownContract}from"./generated/models/UnknownContract.js";export{UsageMetricsGroupByEnum}from"./generated/models/UsageMetricsGroupByEnum.js";export{UsageMetricsValueDTO}from"./generated/models/UsageMetricsValueDTO.js";export{UtxoType}from"./generated/models/UtxoType.js";export{ValidationStatusType}from"./generated/models/ValidationStatusType.js";export{VmName}from"./generated/models/VmName.js";export{WebhookStatus}from"./generated/models/WebhookStatus.js";export{WebhookStatusType}from"./generated/models/WebhookStatusType.js";export{XChainId}from"./generated/models/XChainId.js";export{XChainLinearTransaction}from"./generated/models/XChainLinearTransaction.js";export{XChainNonLinearTransaction}from"./generated/models/XChainNonLinearTransaction.js";export{XChainTransactionType}from"./generated/models/XChainTransactionType.js";export{DataApiUsageMetricsService}from"./generated/services/DataApiUsageMetricsService.js";export{DefaultService}from"./generated/services/DefaultService.js";export{EvmBalancesService}from"./generated/services/EvmBalancesService.js";export{EvmBlocksService}from"./generated/services/EvmBlocksService.js";export{EvmChainsService}from"./generated/services/EvmChainsService.js";export{EvmContractsService}from"./generated/services/EvmContractsService.js";export{EvmTransactionsService}from"./generated/services/EvmTransactionsService.js";export{HealthCheckService}from"./generated/services/HealthCheckService.js";export{NfTsService}from"./generated/services/NfTsService.js";export{OperationsService}from"./generated/services/OperationsService.js";export{PrimaryNetworkService}from"./generated/services/PrimaryNetworkService.js";export{PrimaryNetworkBalancesService}from"./generated/services/PrimaryNetworkBalancesService.js";export{PrimaryNetworkBlocksService}from"./generated/services/PrimaryNetworkBlocksService.js";export{PrimaryNetworkRewardsService}from"./generated/services/PrimaryNetworkRewardsService.js";export{PrimaryNetworkTransactionsService}from"./generated/services/PrimaryNetworkTransactionsService.js";export{PrimaryNetworkUtxOsService}from"./generated/services/PrimaryNetworkUtxOsService.js";export{PrimaryNetworkVerticesService}from"./generated/services/PrimaryNetworkVerticesService.js";export{SignatureAggregatorService}from"./generated/services/SignatureAggregatorService.js";export{TeleporterService}from"./generated/services/TeleporterService.js";export{WebhooksService}from"./generated/services/WebhooksService.js";
|
|
1
|
+
export{Glacier}from"./generated/Glacier.js";export{ApiError}from"./generated/core/ApiError.js";export{BaseHttpRequest}from"./generated/core/BaseHttpRequest.js";export{CancelError,CancelablePromise}from"./generated/core/CancelablePromise.js";export{OpenAPI}from"./generated/core/OpenAPI.js";export{ActiveDelegatorDetails}from"./generated/models/ActiveDelegatorDetails.js";export{ActiveValidatorDetails}from"./generated/models/ActiveValidatorDetails.js";export{ApiFeature}from"./generated/models/ApiFeature.js";export{BlockchainId}from"./generated/models/BlockchainId.js";export{BlockchainIds}from"./generated/models/BlockchainIds.js";export{CChainExportTransaction}from"./generated/models/CChainExportTransaction.js";export{CChainImportTransaction}from"./generated/models/CChainImportTransaction.js";export{ChainStatus}from"./generated/models/ChainStatus.js";export{CompletedDelegatorDetails}from"./generated/models/CompletedDelegatorDetails.js";export{CompletedValidatorDetails}from"./generated/models/CompletedValidatorDetails.js";export{ContractSubmissionErc1155}from"./generated/models/ContractSubmissionErc1155.js";export{ContractSubmissionErc20}from"./generated/models/ContractSubmissionErc20.js";export{ContractSubmissionErc721}from"./generated/models/ContractSubmissionErc721.js";export{ContractSubmissionUnknown}from"./generated/models/ContractSubmissionUnknown.js";export{CurrencyCode}from"./generated/models/CurrencyCode.js";export{DelegationStatusType}from"./generated/models/DelegationStatusType.js";export{DeliveredSourceNotIndexedTeleporterMessage}from"./generated/models/DeliveredSourceNotIndexedTeleporterMessage.js";export{DeliveredTeleporterMessage}from"./generated/models/DeliveredTeleporterMessage.js";export{Erc1155Contract}from"./generated/models/Erc1155Contract.js";export{Erc1155Token}from"./generated/models/Erc1155Token.js";export{Erc1155TokenBalance}from"./generated/models/Erc1155TokenBalance.js";export{Erc20Contract}from"./generated/models/Erc20Contract.js";export{Erc20Token}from"./generated/models/Erc20Token.js";export{Erc20TokenBalance}from"./generated/models/Erc20TokenBalance.js";export{Erc721Contract}from"./generated/models/Erc721Contract.js";export{Erc721Token}from"./generated/models/Erc721Token.js";export{Erc721TokenBalance}from"./generated/models/Erc721TokenBalance.js";export{EventType}from"./generated/models/EventType.js";export{EVMOperationType}from"./generated/models/EVMOperationType.js";export{InternalTransactionOpCall}from"./generated/models/InternalTransactionOpCall.js";export{Network}from"./generated/models/Network.js";export{NftTokenMetadataStatus}from"./generated/models/NftTokenMetadataStatus.js";export{OperationStatus}from"./generated/models/OperationStatus.js";export{OperationStatusCode}from"./generated/models/OperationStatusCode.js";export{OperationType}from"./generated/models/OperationType.js";export{PChainId}from"./generated/models/PChainId.js";export{PChainTransactionType}from"./generated/models/PChainTransactionType.js";export{PendingDelegatorDetails}from"./generated/models/PendingDelegatorDetails.js";export{PendingTeleporterMessage}from"./generated/models/PendingTeleporterMessage.js";export{PendingValidatorDetails}from"./generated/models/PendingValidatorDetails.js";export{PrimaryNetworkAssetCap}from"./generated/models/PrimaryNetworkAssetCap.js";export{PrimaryNetworkAssetType}from"./generated/models/PrimaryNetworkAssetType.js";export{PrimaryNetworkChainName}from"./generated/models/PrimaryNetworkChainName.js";export{PrimaryNetworkOperationType}from"./generated/models/PrimaryNetworkOperationType.js";export{PrimaryNetworkRpcMetricsGroupByEnum}from"./generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js";export{PrimaryNetworkTxType}from"./generated/models/PrimaryNetworkTxType.js";export{RemovedValidatorDetails}from"./generated/models/RemovedValidatorDetails.js";export{RequestType}from"./generated/models/RequestType.js";export{ResourceLinkType}from"./generated/models/ResourceLinkType.js";export{RewardType}from"./generated/models/RewardType.js";export{RpcUsageMetricsGroupByEnum}from"./generated/models/RpcUsageMetricsGroupByEnum.js";export{RpcUsageMetricsValueAggregated}from"./generated/models/RpcUsageMetricsValueAggregated.js";export{SortByOption}from"./generated/models/SortByOption.js";export{SortOrder}from"./generated/models/SortOrder.js";export{SubnetRpcTimeIntervalGranularity}from"./generated/models/SubnetRpcTimeIntervalGranularity.js";export{TeleporterRewardDetails}from"./generated/models/TeleporterRewardDetails.js";export{TimeIntervalGranularityExtended}from"./generated/models/TimeIntervalGranularityExtended.js";export{TransactionDirectionType}from"./generated/models/TransactionDirectionType.js";export{TransactionMethodType}from"./generated/models/TransactionMethodType.js";export{TransactionStatus}from"./generated/models/TransactionStatus.js";export{UnknownContract}from"./generated/models/UnknownContract.js";export{UsageMetricsGroupByEnum}from"./generated/models/UsageMetricsGroupByEnum.js";export{UsageMetricsValueDTO}from"./generated/models/UsageMetricsValueDTO.js";export{UtxoType}from"./generated/models/UtxoType.js";export{ValidationStatusType}from"./generated/models/ValidationStatusType.js";export{VmName}from"./generated/models/VmName.js";export{WebhookStatus}from"./generated/models/WebhookStatus.js";export{WebhookStatusType}from"./generated/models/WebhookStatusType.js";export{XChainId}from"./generated/models/XChainId.js";export{XChainLinearTransaction}from"./generated/models/XChainLinearTransaction.js";export{XChainNonLinearTransaction}from"./generated/models/XChainNonLinearTransaction.js";export{XChainTransactionType}from"./generated/models/XChainTransactionType.js";export{DataApiUsageMetricsService}from"./generated/services/DataApiUsageMetricsService.js";export{DefaultService}from"./generated/services/DefaultService.js";export{EvmBalancesService}from"./generated/services/EvmBalancesService.js";export{EvmBlocksService}from"./generated/services/EvmBlocksService.js";export{EvmChainsService}from"./generated/services/EvmChainsService.js";export{EvmContractsService}from"./generated/services/EvmContractsService.js";export{EvmTransactionsService}from"./generated/services/EvmTransactionsService.js";export{HealthCheckService}from"./generated/services/HealthCheckService.js";export{NfTsService}from"./generated/services/NfTsService.js";export{NotificationsService}from"./generated/services/NotificationsService.js";export{OperationsService}from"./generated/services/OperationsService.js";export{PrimaryNetworkService}from"./generated/services/PrimaryNetworkService.js";export{PrimaryNetworkBalancesService}from"./generated/services/PrimaryNetworkBalancesService.js";export{PrimaryNetworkBlocksService}from"./generated/services/PrimaryNetworkBlocksService.js";export{PrimaryNetworkRewardsService}from"./generated/services/PrimaryNetworkRewardsService.js";export{PrimaryNetworkTransactionsService}from"./generated/services/PrimaryNetworkTransactionsService.js";export{PrimaryNetworkUtxOsService}from"./generated/services/PrimaryNetworkUtxOsService.js";export{PrimaryNetworkVerticesService}from"./generated/services/PrimaryNetworkVerticesService.js";export{SignatureAggregatorService}from"./generated/services/SignatureAggregatorService.js";export{TeleporterService}from"./generated/services/TeleporterService.js";export{WebhooksService}from"./generated/services/WebhooksService.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/glacier-sdk",
|
|
3
|
-
"version": "3.1.0-canary.
|
|
3
|
+
"version": "3.1.0-canary.cd6be5c.0+cd6be5c",
|
|
4
4
|
"description": "sdk for interacting with glacier-api",
|
|
5
5
|
"author": "Oliver Wang <oliver.wang@avalabs.org>",
|
|
6
6
|
"homepage": "https://github.com/ava-labs/avalanche-sdks#readme",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"bugs": {
|
|
30
30
|
"url": "https://github.com/ava-labs/avalanche-sdks/issues"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "cd6be5cfa3bf3ba371bd8565ef54396962e165ee"
|
|
33
33
|
}
|