@avalabs/glacier-sdk 3.1.0-canary.639f9ba.0 → 3.1.0-canary.676e2d8.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 +2225 -1612
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +4 -4
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/models/ActiveValidatorDetails.d.ts +21 -0
- package/esm/generated/models/ApiFeature.d.ts +7 -0
- package/esm/generated/models/ApiFeature.js +1 -0
- package/esm/generated/models/BalanceOwner.d.ts +6 -0
- package/esm/generated/models/BlockchainId.d.ts +2 -0
- package/esm/generated/models/BlockchainId.js +1 -1
- package/esm/generated/models/BlockchainIds.d.ts +3 -1
- package/esm/generated/models/BlockchainIds.js +1 -1
- package/esm/generated/models/ChainInfo.d.ts +1 -1
- package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
- package/esm/generated/models/CompletedValidatorDetails.d.ts +4 -0
- package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +4 -4
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +4 -4
- package/esm/generated/models/CreateWebhookRequest.d.ts +1 -1
- package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
- package/esm/generated/models/Erc20TokenBalance.js +1 -1
- package/esm/generated/models/EvmBlock.d.ts +4 -0
- package/esm/generated/models/FullNativeTransactionDetails.d.ts +4 -0
- package/esm/generated/models/GetChainResponse.d.ts +1 -1
- package/esm/generated/models/GetEvmBlockResponse.d.ts +4 -0
- package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +2 -0
- package/esm/generated/models/L1ValidatorDetailsFull.d.ts +33 -0
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +23 -0
- package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
- package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
- package/esm/generated/models/ListErc1155BalancesResponse.d.ts +5 -0
- package/esm/generated/models/ListErc20BalancesResponse.d.ts +5 -0
- package/esm/generated/models/ListErc721BalancesResponse.d.ts +5 -0
- package/esm/generated/models/ListL1ValidatorsResponse.d.ts +14 -0
- package/esm/generated/models/NativeTransaction.d.ts +4 -0
- package/esm/generated/models/Network.d.ts +3 -1
- package/esm/generated/models/Network.js +1 -1
- package/esm/generated/models/PChainTransaction.d.ts +33 -7
- package/esm/generated/models/PChainTransactionType.d.ts +5 -0
- package/esm/generated/models/PChainTransactionType.js +1 -1
- 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/PrimaryNetworkBlock.d.ts +2 -0
- package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +2 -2
- package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +9 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -0
- package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
- package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
- package/esm/generated/models/RpcMetrics.d.ts +14 -0
- package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
- package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +51 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -0
- package/esm/generated/models/SignatureAggregationResponse.d.ts +5 -0
- package/esm/generated/models/SignatureAggregatorRequest.d.ts +8 -0
- package/esm/generated/models/StakingDistribution.d.ts +9 -0
- package/esm/generated/models/Subnet.d.ts +13 -0
- package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
- package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
- package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +18 -0
- package/esm/generated/models/UpdateWebhookRequest.d.ts +3 -0
- package/esm/generated/models/UtxoType.d.ts +3 -0
- package/esm/generated/models/ValidatorsDetails.d.ts +6 -0
- package/esm/generated/models/XChainId.d.ts +1 -0
- package/esm/generated/models/XChainId.js +1 -1
- package/esm/generated/services/DataApiUsageMetricsService.d.ts +204 -0
- package/esm/generated/services/DataApiUsageMetricsService.js +1 -0
- package/esm/generated/services/EvmBalancesService.d.ts +5 -5
- package/esm/generated/services/EvmBlocksService.d.ts +23 -2
- package/esm/generated/services/EvmBlocksService.js +1 -1
- package/esm/generated/services/EvmChainsService.d.ts +86 -8
- package/esm/generated/services/EvmChainsService.js +1 -1
- package/esm/generated/services/EvmContractsService.d.ts +2 -2
- package/esm/generated/services/EvmTransactionsService.d.ts +46 -13
- package/esm/generated/services/EvmTransactionsService.js +1 -1
- package/esm/generated/services/NfTsService.d.ts +3 -3
- package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +1 -1
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +21 -5
- package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkService.d.ts +43 -9
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +12 -9
- package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +1 -1
- package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +3 -3
- package/esm/generated/services/SignatureAggregatorService.d.ts +25 -0
- package/esm/generated/services/SignatureAggregatorService.js +1 -0
- package/esm/generated/services/TeleporterService.d.ts +5 -5
- package/esm/index.d.ts +17 -9
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/GlacierApiFeature.d.ts +0 -6
- package/esm/generated/models/GlacierApiFeature.js +0 -1
- package/esm/generated/models/NetworkType.d.ts +0 -6
- package/esm/generated/models/NetworkType.js +0 -1
- package/esm/generated/models/PrimaryNetwork.d.ts +0 -6
- package/esm/generated/models/PrimaryNetwork.js +0 -1
- package/esm/generated/models/RpcErrorDto.d.ts +0 -7
- package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
- package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
- package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
- package/esm/generated/services/GlacierApiUsageMetricsService.d.ts +0 -109
- package/esm/generated/services/GlacierApiUsageMetricsService.js +0 -1
- package/esm/generated/services/RpcService.d.ts +0 -25
- package/esm/generated/services/RpcService.js +0 -1
|
@@ -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;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Network } from './Network.js';
|
|
2
2
|
import { PrimaryNetworkChainName } from './PrimaryNetworkChainName.js';
|
|
3
3
|
|
|
4
4
|
type PrimaryNetworkChainInfo = {
|
|
5
5
|
chainName: PrimaryNetworkChainName;
|
|
6
|
-
network:
|
|
6
|
+
network: Network;
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
export { PrimaryNetworkChainInfo };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type PrimaryNetworkOptions = {
|
|
2
2
|
addresses?: Array<string>;
|
|
3
3
|
cChainEvmAddresses?: Array<string>;
|
|
4
|
-
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
4
|
+
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
export { PrimaryNetworkOptions };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=(e=>(e.REQUEST_PATH="requestPath",e.RESPONSE_CODE="responseCode",e.COUNTRY="country",e.CONTINENT="continent",e.USER_AGENT="userAgent",e))(e||{});export{e as PrimaryNetworkRpcMetricsGroupByEnum};
|
|
@@ -14,6 +14,11 @@ declare enum PrimaryNetworkTxType {
|
|
|
14
14
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
15
15
|
BASE_TX = "BaseTx",
|
|
16
16
|
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
17
|
+
CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
|
|
18
|
+
REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
|
|
19
|
+
SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
|
|
20
|
+
DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
|
|
21
|
+
INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
|
|
17
22
|
UNKNOWN = "UNKNOWN",
|
|
18
23
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
19
24
|
OPERATION_TX = "OperationTx"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var T=(T=>(T.ADD_VALIDATOR_TX="AddValidatorTx",T.ADD_SUBNET_VALIDATOR_TX="AddSubnetValidatorTx",T.ADD_DELEGATOR_TX="AddDelegatorTx",T.CREATE_CHAIN_TX="CreateChainTx",T.CREATE_SUBNET_TX="CreateSubnetTx",T.IMPORT_TX="ImportTx",T.EXPORT_TX="ExportTx",T.ADVANCE_TIME_TX="AdvanceTimeTx",T.REWARD_VALIDATOR_TX="RewardValidatorTx",T.REMOVE_SUBNET_VALIDATOR_TX="RemoveSubnetValidatorTx",T.TRANSFORM_SUBNET_TX="TransformSubnetTx",T.ADD_PERMISSIONLESS_VALIDATOR_TX="AddPermissionlessValidatorTx",T.ADD_PERMISSIONLESS_DELEGATOR_TX="AddPermissionlessDelegatorTx",T.BASE_TX="BaseTx",T.TRANSFER_SUBNET_OWNERSHIP_TX="TransferSubnetOwnershipTx",T.UNKNOWN="UNKNOWN",T.CREATE_ASSET_TX="CreateAssetTx",T.OPERATION_TX="OperationTx",T))(T||{});export{T as PrimaryNetworkTxType};
|
|
1
|
+
var T=(T=>(T.ADD_VALIDATOR_TX="AddValidatorTx",T.ADD_SUBNET_VALIDATOR_TX="AddSubnetValidatorTx",T.ADD_DELEGATOR_TX="AddDelegatorTx",T.CREATE_CHAIN_TX="CreateChainTx",T.CREATE_SUBNET_TX="CreateSubnetTx",T.IMPORT_TX="ImportTx",T.EXPORT_TX="ExportTx",T.ADVANCE_TIME_TX="AdvanceTimeTx",T.REWARD_VALIDATOR_TX="RewardValidatorTx",T.REMOVE_SUBNET_VALIDATOR_TX="RemoveSubnetValidatorTx",T.TRANSFORM_SUBNET_TX="TransformSubnetTx",T.ADD_PERMISSIONLESS_VALIDATOR_TX="AddPermissionlessValidatorTx",T.ADD_PERMISSIONLESS_DELEGATOR_TX="AddPermissionlessDelegatorTx",T.BASE_TX="BaseTx",T.TRANSFER_SUBNET_OWNERSHIP_TX="TransferSubnetOwnershipTx",T.CONVERT_SUBNET_TO_L1TX="ConvertSubnetToL1Tx",T.REGISTER_L1VALIDATOR_TX="RegisterL1ValidatorTx",T.SET_L1VALIDATOR_WEIGHT_TX="SetL1ValidatorWeightTx",T.DISABLE_L1VALIDATOR_TX="DisableL1ValidatorTx",T.INCREASE_L1VALIDATOR_BALANCE_TX="IncreaseL1ValidatorBalanceTx",T.UNKNOWN="UNKNOWN",T.CREATE_ASSET_TX="CreateAssetTx",T.OPERATION_TX="OperationTx",T))(T||{});export{T as PrimaryNetworkTxType};
|
|
@@ -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
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RpcUsageMetricsValueAggregated } from './RpcUsageMetricsValueAggregated.js';
|
|
2
|
+
|
|
3
|
+
type RpcMetrics = {
|
|
4
|
+
/**
|
|
5
|
+
* The timestamp of the metrics value
|
|
6
|
+
*/
|
|
7
|
+
timestamp: number;
|
|
8
|
+
/**
|
|
9
|
+
* The metrics values for the timestamp
|
|
10
|
+
*/
|
|
11
|
+
values: Array<RpcUsageMetricsValueAggregated>;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { RpcMetrics };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=(e=>(e.RPC_METHOD="rpcMethod",e.RESPONSE_CODE="responseCode",e.RL_BYPASS_TOKEN="rlBypassToken",e))(e||{});export{e as RpcUsageMetricsGroupByEnum};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
type RpcUsageMetricsValueAggregated = {
|
|
2
|
+
/**
|
|
3
|
+
* The total number of requests
|
|
4
|
+
*/
|
|
5
|
+
totalRequests: number;
|
|
6
|
+
/**
|
|
7
|
+
* The number of API credits used
|
|
8
|
+
*/
|
|
9
|
+
apiCreditsUsed: number;
|
|
10
|
+
/**
|
|
11
|
+
* The number of requests per second
|
|
12
|
+
*/
|
|
13
|
+
requestsPerSecond: number;
|
|
14
|
+
/**
|
|
15
|
+
* The success rate percentage
|
|
16
|
+
*/
|
|
17
|
+
successRatePercent: number;
|
|
18
|
+
/**
|
|
19
|
+
* The median response time in milliseconds
|
|
20
|
+
*/
|
|
21
|
+
medianResponseTimeMsecs: number;
|
|
22
|
+
/**
|
|
23
|
+
* The number of invalid requests
|
|
24
|
+
*/
|
|
25
|
+
invalidRequests: number;
|
|
26
|
+
/**
|
|
27
|
+
* The number of API credits wasted on invalid requests
|
|
28
|
+
*/
|
|
29
|
+
apiCreditsWasted: number;
|
|
30
|
+
/**
|
|
31
|
+
* Column name used for data aggregation
|
|
32
|
+
*/
|
|
33
|
+
groupedBy: RpcUsageMetricsValueAggregated.groupedBy;
|
|
34
|
+
/**
|
|
35
|
+
* The value of the column used for data aggregation
|
|
36
|
+
*/
|
|
37
|
+
groupValue?: (string | number);
|
|
38
|
+
};
|
|
39
|
+
declare namespace RpcUsageMetricsValueAggregated {
|
|
40
|
+
/**
|
|
41
|
+
* Column name used for data aggregation
|
|
42
|
+
*/
|
|
43
|
+
enum groupedBy {
|
|
44
|
+
RPC_METHOD = "rpcMethod",
|
|
45
|
+
RESPONSE_CODE = "responseCode",
|
|
46
|
+
RL_BYPASS_TOKEN = "rlBypassToken",
|
|
47
|
+
NONE = "None"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export { RpcUsageMetricsValueAggregated };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e,o,r;o=e||(e={}),(r=o.groupedBy||(o.groupedBy={})).RPC_METHOD="rpcMethod",r.RESPONSE_CODE="responseCode",r.RL_BYPASS_TOKEN="rlBypassToken",r.NONE="None";export{e as RpcUsageMetricsValueAggregated};
|
|
@@ -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
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BlockchainInfo } from './BlockchainInfo.js';
|
|
2
|
+
import { L1ValidatorManagerDetails } from './L1ValidatorManagerDetails.js';
|
|
2
3
|
import { SubnetOwnershipInfo } from './SubnetOwnershipInfo.js';
|
|
3
4
|
|
|
4
5
|
type Subnet = {
|
|
@@ -24,6 +25,18 @@ type Subnet = {
|
|
|
24
25
|
* Latest subnet owner details for this Subnet.
|
|
25
26
|
*/
|
|
26
27
|
subnetOwnershipInfo: SubnetOwnershipInfo;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the subnet is an L1 or not.
|
|
30
|
+
*/
|
|
31
|
+
isL1: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1.
|
|
34
|
+
*/
|
|
35
|
+
l1ConversionTransactionHash?: string;
|
|
36
|
+
/**
|
|
37
|
+
* L1 validator manager details.
|
|
38
|
+
*/
|
|
39
|
+
l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
|
|
27
40
|
blockchains: Array<BlockchainInfo>;
|
|
28
41
|
};
|
|
29
42
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var l=(l=>(l.HOURLY="hourly",l.DAILY="daily",l.WEEKLY="weekly",l.MONTHLY="monthly",l))(l||{});export{l as SubnetRpcTimeIntervalGranularity};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RpcMetrics } from './RpcMetrics.js';
|
|
2
|
+
|
|
3
|
+
type SubnetRpcUsageMetricsResponseDTO = {
|
|
4
|
+
/**
|
|
5
|
+
* Duration in which the metrics value is aggregated
|
|
6
|
+
*/
|
|
7
|
+
aggregateDuration: string;
|
|
8
|
+
/**
|
|
9
|
+
* Metrics values
|
|
10
|
+
*/
|
|
11
|
+
metrics: Array<RpcMetrics>;
|
|
12
|
+
/**
|
|
13
|
+
* ChainId for which the metrics are aggregated
|
|
14
|
+
*/
|
|
15
|
+
chainId: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { SubnetRpcUsageMetricsResponseDTO };
|
|
@@ -5,6 +5,9 @@ type UpdateWebhookRequest = {
|
|
|
5
5
|
description?: string;
|
|
6
6
|
url?: string;
|
|
7
7
|
status?: WebhookStatusType;
|
|
8
|
+
/**
|
|
9
|
+
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
10
|
+
*/
|
|
8
11
|
includeInternalTxs?: boolean;
|
|
9
12
|
includeLogs?: boolean;
|
|
10
13
|
};
|
|
@@ -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
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare enum XChainId {
|
|
2
2
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3
3
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
4
|
+
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
4
5
|
X_CHAIN = "x-chain"
|
|
5
6
|
}
|
|
6
7
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _=(_=>(_._2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M="2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",_._2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM="2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",_._2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V="2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",_.X_CHAIN="x-chain",_))(_||{});export{_ as XChainId};
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { LogsResponseDTO } from '../models/LogsResponseDTO.js';
|
|
2
|
+
import { Network } from '../models/Network.js';
|
|
3
|
+
import { PrimaryNetworkRpcMetricsGroupByEnum } from '../models/PrimaryNetworkRpcMetricsGroupByEnum.js';
|
|
4
|
+
import { RpcUsageMetricsGroupByEnum } from '../models/RpcUsageMetricsGroupByEnum.js';
|
|
5
|
+
import { SubnetRpcTimeIntervalGranularity } from '../models/SubnetRpcTimeIntervalGranularity.js';
|
|
6
|
+
import { SubnetRpcUsageMetricsResponseDTO } from '../models/SubnetRpcUsageMetricsResponseDTO.js';
|
|
7
|
+
import { TimeIntervalGranularityExtended } from '../models/TimeIntervalGranularityExtended.js';
|
|
8
|
+
import { UsageMetricsGroupByEnum } from '../models/UsageMetricsGroupByEnum.js';
|
|
9
|
+
import { UsageMetricsResponseDTO } from '../models/UsageMetricsResponseDTO.js';
|
|
10
|
+
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
11
|
+
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
12
|
+
|
|
13
|
+
declare class DataApiUsageMetricsService {
|
|
14
|
+
readonly httpRequest: BaseHttpRequest;
|
|
15
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
16
|
+
/**
|
|
17
|
+
* Get usage metrics for the Data API
|
|
18
|
+
* Gets metrics for Data API usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
19
|
+
* @returns UsageMetricsResponseDTO Successful response
|
|
20
|
+
* @throws ApiError
|
|
21
|
+
*/
|
|
22
|
+
getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, responseCode, requestType, apiKeyId, requestPath, }: {
|
|
23
|
+
/**
|
|
24
|
+
* Organization ID to fetch usage metrics for
|
|
25
|
+
*/
|
|
26
|
+
orgId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
|
|
29
|
+
*/
|
|
30
|
+
startTimestamp?: number;
|
|
31
|
+
/**
|
|
32
|
+
* The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
|
|
33
|
+
*/
|
|
34
|
+
endTimestamp?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Time interval granularity for data aggregation
|
|
37
|
+
*/
|
|
38
|
+
timeInterval?: TimeIntervalGranularityExtended;
|
|
39
|
+
/**
|
|
40
|
+
* Query param for the criterion used for grouping metrics
|
|
41
|
+
*/
|
|
42
|
+
groupBy?: UsageMetricsGroupByEnum;
|
|
43
|
+
/**
|
|
44
|
+
* Filter data by chain ID.
|
|
45
|
+
*/
|
|
46
|
+
chainId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Filter data by response status code.
|
|
49
|
+
*/
|
|
50
|
+
responseCode?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Filter data by request type.
|
|
53
|
+
*/
|
|
54
|
+
requestType?: 'data' | 'rpc';
|
|
55
|
+
/**
|
|
56
|
+
* Filter data by API key ID.
|
|
57
|
+
*/
|
|
58
|
+
apiKeyId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Filter data by request path.
|
|
61
|
+
*/
|
|
62
|
+
requestPath?: string;
|
|
63
|
+
}): CancelablePromise<UsageMetricsResponseDTO>;
|
|
64
|
+
/**
|
|
65
|
+
* Get logs for requests made by client
|
|
66
|
+
* Gets logs for requests made by client over a specified time interval for a specific organization.
|
|
67
|
+
* @returns LogsResponseDTO Successful response
|
|
68
|
+
* @throws ApiError
|
|
69
|
+
*/
|
|
70
|
+
getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, responseCode, requestType, apiKeyId, requestPath, pageToken, pageSize, }: {
|
|
71
|
+
/**
|
|
72
|
+
* Organization ID to fetch usage metrics for
|
|
73
|
+
*/
|
|
74
|
+
orgId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
|
|
77
|
+
*/
|
|
78
|
+
startTimestamp?: number;
|
|
79
|
+
/**
|
|
80
|
+
* The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
|
|
81
|
+
*/
|
|
82
|
+
endTimestamp?: number;
|
|
83
|
+
/**
|
|
84
|
+
* Filter data by chain ID.
|
|
85
|
+
*/
|
|
86
|
+
chainId?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Filter data by response status code.
|
|
89
|
+
*/
|
|
90
|
+
responseCode?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Filter data by request type.
|
|
93
|
+
*/
|
|
94
|
+
requestType?: 'data' | 'rpc';
|
|
95
|
+
/**
|
|
96
|
+
* Filter data by API key ID.
|
|
97
|
+
*/
|
|
98
|
+
apiKeyId?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Filter data by request path.
|
|
101
|
+
*/
|
|
102
|
+
requestPath?: string;
|
|
103
|
+
/**
|
|
104
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
105
|
+
*/
|
|
106
|
+
pageToken?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The maximum number of items to return.
|
|
109
|
+
*/
|
|
110
|
+
pageSize?: number;
|
|
111
|
+
}): CancelablePromise<LogsResponseDTO>;
|
|
112
|
+
/**
|
|
113
|
+
* Get usage metrics for the Subnet RPC
|
|
114
|
+
* Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
115
|
+
* @returns SubnetRpcUsageMetricsResponseDTO Successful response
|
|
116
|
+
* @throws ApiError
|
|
117
|
+
*/
|
|
118
|
+
getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
|
|
119
|
+
/**
|
|
120
|
+
* Time interval granularity for data aggregation for subnet
|
|
121
|
+
* rpc metrics
|
|
122
|
+
*/
|
|
123
|
+
timeInterval?: SubnetRpcTimeIntervalGranularity;
|
|
124
|
+
/**
|
|
125
|
+
* The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
|
|
126
|
+
*/
|
|
127
|
+
startTimestamp?: number;
|
|
128
|
+
/**
|
|
129
|
+
* The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
|
|
130
|
+
*/
|
|
131
|
+
endTimestamp?: number;
|
|
132
|
+
/**
|
|
133
|
+
* Query param for the criterion used for grouping metrics
|
|
134
|
+
*/
|
|
135
|
+
groupBy?: RpcUsageMetricsGroupByEnum;
|
|
136
|
+
/**
|
|
137
|
+
* Filter data by chain ID.
|
|
138
|
+
*/
|
|
139
|
+
chainId?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Filter data by response status code.
|
|
142
|
+
*/
|
|
143
|
+
responseCode?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Filter data by RPC method.
|
|
146
|
+
*/
|
|
147
|
+
rpcMethod?: string;
|
|
148
|
+
/**
|
|
149
|
+
* Filter data by Rl Bypass API Token.
|
|
150
|
+
*/
|
|
151
|
+
rlBypassApiToken?: string;
|
|
152
|
+
}): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
|
|
153
|
+
/**
|
|
154
|
+
* Get usage metrics for the Primary Network RPC
|
|
155
|
+
* Gets metrics for public Primary Network RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
156
|
+
* @returns SubnetRpcUsageMetricsResponseDTO Successful response
|
|
157
|
+
* @throws ApiError
|
|
158
|
+
*/
|
|
159
|
+
getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, }: {
|
|
160
|
+
/**
|
|
161
|
+
* Either mainnet or testnet/fuji.
|
|
162
|
+
*/
|
|
163
|
+
network: Network;
|
|
164
|
+
/**
|
|
165
|
+
* Time interval granularity for data aggregation for subnet
|
|
166
|
+
* rpc metrics
|
|
167
|
+
*/
|
|
168
|
+
timeInterval?: SubnetRpcTimeIntervalGranularity;
|
|
169
|
+
/**
|
|
170
|
+
* The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
|
|
171
|
+
*/
|
|
172
|
+
startTimestamp?: number;
|
|
173
|
+
/**
|
|
174
|
+
* The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
|
|
175
|
+
*/
|
|
176
|
+
endTimestamp?: number;
|
|
177
|
+
/**
|
|
178
|
+
* Query param for the criterion used for grouping metrics
|
|
179
|
+
*/
|
|
180
|
+
groupBy?: PrimaryNetworkRpcMetricsGroupByEnum;
|
|
181
|
+
/**
|
|
182
|
+
* Filter data by response status code.
|
|
183
|
+
*/
|
|
184
|
+
responseCode?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Filter data by request path.
|
|
187
|
+
*/
|
|
188
|
+
requestPath?: string;
|
|
189
|
+
/**
|
|
190
|
+
* Filter data by Country.
|
|
191
|
+
*/
|
|
192
|
+
country?: string;
|
|
193
|
+
/**
|
|
194
|
+
* Filter data by Continent.
|
|
195
|
+
*/
|
|
196
|
+
continent?: string;
|
|
197
|
+
/**
|
|
198
|
+
* Filter data by User Agent.
|
|
199
|
+
*/
|
|
200
|
+
userAgent?: string;
|
|
201
|
+
}): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export { DataApiUsageMetricsService };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class e{constructor(e){this.httpRequest=e}getApiUsageMetrics({orgId:e,startTimestamp:r,endTimestamp:t,timeInterval:s,groupBy:n,chainId:a,responseCode:i,requestType:o,apiKeyId:h,requestPath:d}){return this.httpRequest.request({method:"GET",url:"/v1/apiUsageMetrics",query:{orgId:e,startTimestamp:r,endTimestamp:t,timeInterval:s,groupBy:n,chainId:a,responseCode:i,requestType:o,apiKeyId:h,requestPath:d},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."}})}getApiLogs({orgId:e,startTimestamp:r,endTimestamp:t,chainId:s,responseCode:n,requestType:a,apiKeyId:i,requestPath:o,pageToken:h,pageSize:d=10}){return this.httpRequest.request({method:"GET",url:"/v1/apiLogs",query:{orgId:e,startTimestamp:r,endTimestamp:t,chainId:s,responseCode:n,requestType:a,apiKeyId:i,requestPath:o,pageToken:h,pageSize:d},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."}})}getRpcUsageMetrics({timeInterval:e,startTimestamp:r,endTimestamp:t,groupBy:s,chainId:n,responseCode:a,rpcMethod:i,rlBypassApiToken:o}){return this.httpRequest.request({method:"GET",url:"/v1/rpcUsageMetrics",query:{timeInterval:e,startTimestamp:r,endTimestamp:t,groupBy:s,chainId:n,responseCode:a,rpcMethod:i,rlBypassApiToken:o},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."}})}getPrimaryNetworkRpcUsageMetrics({network:e,timeInterval:r,startTimestamp:t,endTimestamp:s,groupBy:n,responseCode:a,requestPath:i,country:o,continent:h,userAgent:d}){return this.httpRequest.request({method:"GET",url:"/v1/primaryNetworkRpcUsageMetrics",query:{timeInterval:r,startTimestamp:t,endTimestamp:s,groupBy:n,responseCode:a,requestPath:i,country:o,continent:h,userAgent:d,network:e},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 DataApiUsageMetricsService};
|
|
@@ -20,7 +20,7 @@ declare class EvmBalancesService {
|
|
|
20
20
|
*/
|
|
21
21
|
getNativeBalance({ chainId, address, blockNumber, currency, }: {
|
|
22
22
|
/**
|
|
23
|
-
* A supported evm chain id
|
|
23
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
24
24
|
*/
|
|
25
25
|
chainId: string;
|
|
26
26
|
/**
|
|
@@ -48,7 +48,7 @@ declare class EvmBalancesService {
|
|
|
48
48
|
*/
|
|
49
49
|
listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, filterSpamTokens, contractAddresses, currency, }: {
|
|
50
50
|
/**
|
|
51
|
-
* A supported evm chain id
|
|
51
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
52
52
|
*/
|
|
53
53
|
chainId: string;
|
|
54
54
|
/**
|
|
@@ -90,7 +90,7 @@ declare class EvmBalancesService {
|
|
|
90
90
|
*/
|
|
91
91
|
listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
92
92
|
/**
|
|
93
|
-
* A supported evm chain id
|
|
93
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
94
94
|
*/
|
|
95
95
|
chainId: string;
|
|
96
96
|
/**
|
|
@@ -122,7 +122,7 @@ declare class EvmBalancesService {
|
|
|
122
122
|
*/
|
|
123
123
|
listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
|
|
124
124
|
/**
|
|
125
|
-
* A supported evm chain id
|
|
125
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
126
126
|
*/
|
|
127
127
|
chainId: string;
|
|
128
128
|
/**
|
|
@@ -156,7 +156,7 @@ declare class EvmBalancesService {
|
|
|
156
156
|
*/
|
|
157
157
|
listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
158
158
|
/**
|
|
159
|
-
* A supported evm chain id
|
|
159
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
160
160
|
*/
|
|
161
161
|
chainId: string;
|
|
162
162
|
/**
|