@avalabs/glacier-sdk 3.1.0-canary.ca038e3.0 → 3.1.0-canary.d324cd1.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.
Files changed (33) hide show
  1. package/dist/index.d.ts +181 -58
  2. package/dist/index.js +1 -1
  3. package/esm/generated/models/BlockchainId.d.ts +2 -0
  4. package/esm/generated/models/BlockchainId.js +1 -1
  5. package/esm/generated/models/BlockchainIds.d.ts +3 -1
  6. package/esm/generated/models/BlockchainIds.js +1 -1
  7. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +2 -2
  8. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +2 -2
  9. package/esm/generated/models/Network.d.ts +2 -1
  10. package/esm/generated/models/Network.js +1 -1
  11. package/esm/generated/models/PrimaryNetwork.d.ts +2 -1
  12. package/esm/generated/models/PrimaryNetwork.js +1 -1
  13. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  14. package/esm/generated/models/RpcMetrics.d.ts +14 -0
  15. package/esm/generated/models/RpcUsageMetricsResponseDTO.d.ts +18 -0
  16. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +47 -0
  17. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -0
  18. package/esm/generated/models/XChainId.d.ts +1 -0
  19. package/esm/generated/models/XChainId.js +1 -1
  20. package/esm/generated/services/DataApiUsageMetricsService.d.ts +63 -18
  21. package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
  22. package/esm/generated/services/EvmBalancesService.d.ts +5 -5
  23. package/esm/generated/services/EvmBlocksService.d.ts +2 -2
  24. package/esm/generated/services/EvmChainsService.d.ts +1 -1
  25. package/esm/generated/services/EvmContractsService.d.ts +2 -2
  26. package/esm/generated/services/EvmTransactionsService.d.ts +12 -12
  27. package/esm/generated/services/NfTsService.d.ts +3 -3
  28. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +5 -5
  29. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  30. package/esm/generated/services/RpcService.d.ts +1 -1
  31. package/esm/index.d.ts +3 -0
  32. package/esm/index.js +1 -1
  33. package/package.json +2 -2
@@ -2,8 +2,10 @@ declare enum BlockchainId {
2
2
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3
3
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
4
4
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
5
+ _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
5
6
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
6
7
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
8
+ V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
7
9
  P_CHAIN = "p-chain",
8
10
  X_CHAIN = "x-chain",
9
11
  C_CHAIN = "c-chain"
@@ -1 +1 @@
1
- var _=(_=>(_._11111111111111111111111111111111LPO_YY="11111111111111111111111111111111LpoYY",_._2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M="2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",_._2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM="2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",_._2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5="2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",_.Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP="yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",_.P_CHAIN="p-chain",_.X_CHAIN="x-chain",_.C_CHAIN="c-chain",_))(_||{});export{_ as BlockchainId};
1
+ var _=(_=>(_._11111111111111111111111111111111LPO_YY="11111111111111111111111111111111LpoYY",_._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",_._2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5="2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",_.Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP="yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",_.V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU="vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",_.P_CHAIN="p-chain",_.X_CHAIN="x-chain",_.C_CHAIN="c-chain",_))(_||{});export{_ as BlockchainId};
@@ -2,8 +2,10 @@ declare enum BlockchainIds {
2
2
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3
3
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
4
4
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
5
+ _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
5
6
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
6
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
7
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
8
+ V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
7
9
  }
8
10
 
9
11
  export { BlockchainIds };
@@ -1 +1 @@
1
- var _=(_=>(_._11111111111111111111111111111111LPO_YY="11111111111111111111111111111111LpoYY",_._2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M="2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",_._2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM="2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",_._2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5="2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",_.Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP="yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",_))(_||{});export{_ as BlockchainIds};
1
+ var _=(_=>(_._11111111111111111111111111111111LPO_YY="11111111111111111111111111111111LpoYY",_._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",_._2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5="2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",_.Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP="yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",_.V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU="vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",_))(_||{});export{_ as BlockchainIds};
@@ -8,11 +8,11 @@ type CreateEvmTransactionExportRequest = {
8
8
  /**
9
9
  * @deprecated
10
10
  */
11
- startDate: string;
11
+ startDate?: string;
12
12
  /**
13
13
  * @deprecated
14
14
  */
15
- endDate: string;
15
+ endDate?: string;
16
16
  options: EvmNetworkOptions;
17
17
  };
18
18
 
@@ -8,11 +8,11 @@ type CreatePrimaryNetworkTransactionExportRequest = {
8
8
  /**
9
9
  * @deprecated
10
10
  */
11
- startDate: string;
11
+ startDate?: string;
12
12
  /**
13
13
  * @deprecated
14
14
  */
15
- endDate: string;
15
+ endDate?: string;
16
16
  options: PrimaryNetworkOptions;
17
17
  };
18
18
 
@@ -1,7 +1,8 @@
1
1
  declare enum Network {
2
2
  MAINNET = "mainnet",
3
3
  FUJI = "fuji",
4
- TESTNET = "testnet"
4
+ TESTNET = "testnet",
5
+ DEVNET = "devnet"
5
6
  }
6
7
 
7
8
  export { Network };
@@ -1 +1 @@
1
- var t=(t=>(t.MAINNET="mainnet",t.FUJI="fuji",t.TESTNET="testnet",t))(t||{});export{t as Network};
1
+ var e=(e=>(e.MAINNET="mainnet",e.FUJI="fuji",e.TESTNET="testnet",e.DEVNET="devnet",e))(e||{});export{e as Network};
@@ -1,6 +1,7 @@
1
1
  declare enum PrimaryNetwork {
2
2
  MAINNET = "mainnet",
3
- FUJI = "fuji"
3
+ FUJI = "fuji",
4
+ DEVNET = "devnet"
4
5
  }
5
6
 
6
7
  export { PrimaryNetwork };
@@ -1 +1 @@
1
- var a=(a=>(a.MAINNET="mainnet",a.FUJI="fuji",a))(a||{});export{a as PrimaryNetwork};
1
+ var e=(e=>(e.MAINNET="mainnet",e.FUJI="fuji",e.DEVNET="devnet",e))(e||{});export{e as PrimaryNetwork};
@@ -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,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,18 @@
1
+ import { RpcMetrics } from './RpcMetrics.js';
2
+
3
+ type RpcUsageMetricsResponseDTO = {
4
+ /**
5
+ * Duration in which the metrics value is aggregated
6
+ */
7
+ aggregateDuration: string;
8
+ /**
9
+ * ChainId for which the metrics are aggregated
10
+ */
11
+ chainId: string;
12
+ /**
13
+ * Metrics values
14
+ */
15
+ metrics: Array<RpcMetrics>;
16
+ };
17
+
18
+ export { RpcUsageMetricsResponseDTO };
@@ -0,0 +1,47 @@
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
+ * Column name used for data aggregation
28
+ */
29
+ groupedBy: RpcUsageMetricsValueAggregated.groupedBy;
30
+ /**
31
+ * The value of the column used for data aggregation
32
+ */
33
+ groupValue?: (string | number);
34
+ };
35
+ declare namespace RpcUsageMetricsValueAggregated {
36
+ /**
37
+ * Column name used for data aggregation
38
+ */
39
+ enum groupedBy {
40
+ RPC_METHOD = "rpcMethod",
41
+ RESPONSE_CODE = "responseCode",
42
+ RL_BYPASS_TOKEN = "rlBypassToken",
43
+ NONE = "None"
44
+ }
45
+ }
46
+
47
+ 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,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 N=(N=>(N._2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M="2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",N._2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM="2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",N.X_CHAIN="x-chain",N))(N||{});export{N as XChainId};
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};
@@ -1,4 +1,5 @@
1
1
  import { LogsResponseDTO } from '../models/LogsResponseDTO.js';
2
+ import { RpcUsageMetricsResponseDTO } from '../models/RpcUsageMetricsResponseDTO.js';
2
3
  import { TimeIntervalGranularityExtended } from '../models/TimeIntervalGranularityExtended.js';
3
4
  import { UsageMetricsGroupByEnum } from '../models/UsageMetricsGroupByEnum.js';
4
5
  import { UsageMetricsResponseDTO } from '../models/UsageMetricsResponseDTO.js';
@@ -14,17 +15,17 @@ declare class DataApiUsageMetricsService {
14
15
  * @returns UsageMetricsResponseDTO Successful response
15
16
  * @throws ApiError
16
17
  */
17
- getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, requestPath, requestType, responseCode, chainId, apiKeyId, }: {
18
+ getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, requestPath, responseCode, requestType, apiKeyId, }: {
18
19
  /**
19
20
  * Organization ID to fetch usage metrics for
20
21
  */
21
22
  orgId?: string;
22
23
  /**
23
- * Query param for retrieving items after a specific timestamp.
24
+ * 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.
24
25
  */
25
26
  startTimestamp?: number;
26
27
  /**
27
- * Query param for retrieving items before a specific timestamp.
28
+ * 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. `endTimestamp` must be no earlier than 0:00 UTC of the day after `startTimestamp`.
28
29
  */
29
30
  endTimestamp?: number;
30
31
  /**
@@ -36,21 +37,21 @@ declare class DataApiUsageMetricsService {
36
37
  */
37
38
  groupBy?: UsageMetricsGroupByEnum;
38
39
  /**
39
- * Filter data by request path.
40
+ * Filter data by chain ID.
40
41
  */
41
- requestPath?: string;
42
+ chainId?: string;
42
43
  /**
43
- * Filter data by request type.
44
+ * Filter data by request path.
44
45
  */
45
- requestType?: 'data' | 'rpc';
46
+ requestPath?: string;
46
47
  /**
47
48
  * Filter data by response status code.
48
49
  */
49
50
  responseCode?: string;
50
51
  /**
51
- * Filter data by chain ID.
52
+ * Filter data by request type.
52
53
  */
53
- chainId?: string;
54
+ requestType?: 'data' | 'rpc';
54
55
  /**
55
56
  * Filter data by API key ID.
56
57
  */
@@ -62,35 +63,35 @@ declare class DataApiUsageMetricsService {
62
63
  * @returns LogsResponseDTO Successful response
63
64
  * @throws ApiError
64
65
  */
65
- getApiLogs({ orgId, startTimestamp, endTimestamp, requestPath, requestType, responseCode, chainId, apiKeyId, pageToken, pageSize, }: {
66
+ getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, requestPath, responseCode, requestType, apiKeyId, pageToken, pageSize, }: {
66
67
  /**
67
68
  * Organization ID to fetch usage metrics for
68
69
  */
69
70
  orgId?: string;
70
71
  /**
71
- * Query param for retrieving items after a specific timestamp.
72
+ * 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.
72
73
  */
73
74
  startTimestamp?: number;
74
75
  /**
75
- * Query param for retrieving items before a specific timestamp.
76
+ * 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. `endTimestamp` must be no earlier than 0:00 UTC of the day after `startTimestamp`.
76
77
  */
77
78
  endTimestamp?: number;
78
79
  /**
79
- * Filter data by request path.
80
+ * Filter data by chain ID.
80
81
  */
81
- requestPath?: string;
82
+ chainId?: string;
82
83
  /**
83
- * Filter data by request type.
84
+ * Filter data by request path.
84
85
  */
85
- requestType?: 'data' | 'rpc';
86
+ requestPath?: string;
86
87
  /**
87
88
  * Filter data by response status code.
88
89
  */
89
90
  responseCode?: string;
90
91
  /**
91
- * Filter data by chain ID.
92
+ * Filter data by request type.
92
93
  */
93
- chainId?: string;
94
+ requestType?: 'data' | 'rpc';
94
95
  /**
95
96
  * Filter data by API key ID.
96
97
  */
@@ -104,6 +105,50 @@ declare class DataApiUsageMetricsService {
104
105
  */
105
106
  pageSize?: number;
106
107
  }): CancelablePromise<LogsResponseDTO>;
108
+ /**
109
+ * Get usage metrics for the Subnet RPC
110
+ * Gets metrics for Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
111
+ * @returns RpcUsageMetricsResponseDTO Successful response
112
+ * @throws ApiError
113
+ */
114
+ getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, requestPath, responseCode, rpcMethod, rlBypassApiToken, }: {
115
+ /**
116
+ * Query param for setting time interval of data aggregation.
117
+ */
118
+ timeInterval?: string;
119
+ /**
120
+ * 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.
121
+ */
122
+ startTimestamp?: number;
123
+ /**
124
+ * 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. `endTimestamp` must be no earlier than 0:00 UTC of the day after `startTimestamp`.
125
+ */
126
+ endTimestamp?: number;
127
+ /**
128
+ * Query param for the criterion used for grouping metrics
129
+ */
130
+ groupBy?: UsageMetricsGroupByEnum;
131
+ /**
132
+ * Filter data by chain ID.
133
+ */
134
+ chainId?: string;
135
+ /**
136
+ * Filter data by request path.
137
+ */
138
+ requestPath?: string;
139
+ /**
140
+ * Filter data by response status code.
141
+ */
142
+ responseCode?: string;
143
+ /**
144
+ * Filter data by RPC method.
145
+ */
146
+ rpcMethod?: string;
147
+ /**
148
+ * Filter data by Rl Bypass API Token.
149
+ */
150
+ rlBypassApiToken?: string;
151
+ }): CancelablePromise<RpcUsageMetricsResponseDTO>;
107
152
  }
108
153
 
109
154
  export { DataApiUsageMetricsService };
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}getApiUsageMetrics({orgId:e,startTimestamp:r,endTimestamp:t,timeInterval:s,groupBy:n,requestPath:a,requestType:i,responseCode:o,chainId:h,apiKeyId:d}){return this.httpRequest.request({method:"GET",url:"/v1/apiUsageMetrics",query:{orgId:e,startTimestamp:r,endTimestamp:t,timeInterval:s,groupBy:n,requestPath:a,requestType:i,responseCode:o,chainId:h,apiKeyId: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,requestPath:s,requestType:n,responseCode:a,chainId:i,apiKeyId:o,pageToken:h,pageSize:d=10}){return this.httpRequest.request({method:"GET",url:"/v1/apiLogs",query:{orgId:e,startTimestamp:r,endTimestamp:t,requestPath:s,requestType:n,responseCode:a,chainId:i,apiKeyId: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."}})}}export{e as DataApiUsageMetricsService};
1
+ class e{constructor(e){this.httpRequest=e}getApiUsageMetrics({orgId:e,startTimestamp:r,endTimestamp:t,timeInterval:s,groupBy:n,chainId:a,requestPath:i,responseCode:o,requestType:h,apiKeyId:d}){return this.httpRequest.request({method:"GET",url:"/v1/apiUsageMetrics",query:{orgId:e,startTimestamp:r,endTimestamp:t,timeInterval:s,groupBy:n,chainId:a,requestPath:i,responseCode:o,requestType:h,apiKeyId: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,requestPath:n,responseCode:a,requestType:i,apiKeyId:o,pageToken:h,pageSize:d=10}){return this.httpRequest.request({method:"GET",url:"/v1/apiLogs",query:{orgId:e,startTimestamp:r,endTimestamp:t,chainId:s,requestPath:n,responseCode:a,requestType:i,apiKeyId: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="day",startTimestamp:r,endTimestamp:t,groupBy:s,chainId:n,requestPath:a,responseCode:i,rpcMethod:o,rlBypassApiToken:h}){return this.httpRequest.request({method:"GET",url:"/v1/rpcUsageMetrics",query:{timeInterval:e,startTimestamp:r,endTimestamp:t,groupBy:s,chainId:n,requestPath:a,responseCode:i,rpcMethod:o,rlBypassApiToken:h},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, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
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, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
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, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
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, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
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, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
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
  /**
@@ -14,7 +14,7 @@ declare class EvmBlocksService {
14
14
  */
15
15
  getLatestBlocks({ chainId, pageToken, pageSize, }: {
16
16
  /**
17
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
17
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
18
18
  */
19
19
  chainId: string;
20
20
  /**
@@ -34,7 +34,7 @@ declare class EvmBlocksService {
34
34
  */
35
35
  getBlock({ chainId, blockId, }: {
36
36
  /**
37
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
37
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
38
38
  */
39
39
  chainId: string;
40
40
  /**
@@ -32,7 +32,7 @@ declare class EvmChainsService {
32
32
  */
33
33
  getChainInfo({ chainId, }: {
34
34
  /**
35
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
35
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
36
36
  */
37
37
  chainId: string;
38
38
  }): CancelablePromise<GetChainResponse>;
@@ -18,7 +18,7 @@ declare class EvmContractsService {
18
18
  */
19
19
  getContractMetadata({ chainId, address, }: {
20
20
  /**
21
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
21
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
22
22
  */
23
23
  chainId: string;
24
24
  /**
@@ -34,7 +34,7 @@ declare class EvmContractsService {
34
34
  */
35
35
  updateContractInfo({ chainId, address, requestBody, }: {
36
36
  /**
37
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
37
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
38
38
  */
39
39
  chainId: string;
40
40
  /**
@@ -24,7 +24,7 @@ declare class EvmTransactionsService {
24
24
  */
25
25
  getDeploymentTransaction({ chainId, address, currency, }: {
26
26
  /**
27
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
27
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
28
28
  */
29
29
  chainId: string;
30
30
  /**
@@ -44,7 +44,7 @@ declare class EvmTransactionsService {
44
44
  */
45
45
  listContractDeployments({ chainId, address, pageToken, pageSize, }: {
46
46
  /**
47
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
47
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
48
48
  */
49
49
  chainId: string;
50
50
  /**
@@ -68,7 +68,7 @@ declare class EvmTransactionsService {
68
68
  */
69
69
  listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
70
70
  /**
71
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
71
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
72
72
  */
73
73
  chainId: string;
74
74
  /**
@@ -102,7 +102,7 @@ declare class EvmTransactionsService {
102
102
  */
103
103
  listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
104
104
  /**
105
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
105
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
106
106
  */
107
107
  chainId: string;
108
108
  /**
@@ -138,7 +138,7 @@ declare class EvmTransactionsService {
138
138
  */
139
139
  listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
140
140
  /**
141
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
141
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
142
142
  */
143
143
  chainId: string;
144
144
  /**
@@ -170,7 +170,7 @@ declare class EvmTransactionsService {
170
170
  */
171
171
  listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
172
172
  /**
173
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
173
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
174
174
  */
175
175
  chainId: string;
176
176
  /**
@@ -202,7 +202,7 @@ declare class EvmTransactionsService {
202
202
  */
203
203
  listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
204
204
  /**
205
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
205
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
206
206
  */
207
207
  chainId: string;
208
208
  /**
@@ -234,7 +234,7 @@ declare class EvmTransactionsService {
234
234
  */
235
235
  listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
236
236
  /**
237
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
237
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
238
238
  */
239
239
  chainId: string;
240
240
  /**
@@ -268,7 +268,7 @@ declare class EvmTransactionsService {
268
268
  */
269
269
  listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
270
270
  /**
271
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
271
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
272
272
  */
273
273
  chainId: string;
274
274
  /**
@@ -300,7 +300,7 @@ declare class EvmTransactionsService {
300
300
  */
301
301
  getTransaction({ chainId, txHash, }: {
302
302
  /**
303
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
303
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
304
304
  */
305
305
  chainId: string;
306
306
  /**
@@ -316,7 +316,7 @@ declare class EvmTransactionsService {
316
316
  */
317
317
  getTransactionsForBlock({ chainId, blockId, }: {
318
318
  /**
319
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
319
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
320
320
  */
321
321
  chainId: string;
322
322
  /**
@@ -332,7 +332,7 @@ declare class EvmTransactionsService {
332
332
  */
333
333
  listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
334
334
  /**
335
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
335
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
336
336
  */
337
337
  chainId: string;
338
338
  /**
@@ -15,7 +15,7 @@ declare class NfTsService {
15
15
  */
16
16
  reindexNft({ chainId, address, tokenId, }: {
17
17
  /**
18
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
18
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
19
19
  */
20
20
  chainId: string;
21
21
  /**
@@ -35,7 +35,7 @@ declare class NfTsService {
35
35
  */
36
36
  listTokens({ chainId, address, pageToken, pageSize, }: {
37
37
  /**
38
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
38
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
39
39
  */
40
40
  chainId: string;
41
41
  /**
@@ -59,7 +59,7 @@ declare class NfTsService {
59
59
  */
60
60
  getTokenDetails({ chainId, address, tokenId, }: {
61
61
  /**
62
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
62
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
63
63
  */
64
64
  chainId: string;
65
65
  /**
@@ -48,11 +48,7 @@ declare class PrimaryNetworkTransactionsService {
48
48
  * @returns any Successful response
49
49
  * @throws ApiError
50
50
  */
51
- listLatestPrimaryNetworkTransactions({ addresses, blockchainId, network, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
52
- /**
53
- * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups.
54
- */
55
- addresses: string;
51
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
56
52
  /**
57
53
  * A primary network blockchain id or alias.
58
54
  */
@@ -61,6 +57,10 @@ declare class PrimaryNetworkTransactionsService {
61
57
  * Either mainnet or testnet/fuji.
62
58
  */
63
59
  network: Network;
60
+ /**
61
+ * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups.
62
+ */
63
+ addresses?: string;
64
64
  /**
65
65
  * Query param for filtering items based on transaction types.
66
66
  */