@avalabs/glacier-sdk 3.1.0-canary.639f9ba.0 → 3.1.0-canary.6749359.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 (116) hide show
  1. package/dist/index.d.ts +2346 -1630
  2. package/dist/index.js +1 -1
  3. package/esm/generated/Glacier.d.ts +6 -4
  4. package/esm/generated/Glacier.js +1 -1
  5. package/esm/generated/models/AccessRequest.d.ts +12 -0
  6. package/esm/generated/models/ActiveValidatorDetails.d.ts +21 -0
  7. package/esm/generated/models/ApiFeature.d.ts +7 -0
  8. package/esm/generated/models/ApiFeature.js +1 -0
  9. package/esm/generated/models/BalanceOwner.d.ts +6 -0
  10. package/esm/generated/models/BlockchainId.d.ts +2 -0
  11. package/esm/generated/models/BlockchainId.js +1 -1
  12. package/esm/generated/models/BlockchainIds.d.ts +3 -1
  13. package/esm/generated/models/BlockchainIds.js +1 -1
  14. package/esm/generated/models/ChainInfo.d.ts +1 -1
  15. package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
  16. package/esm/generated/models/CompletedValidatorDetails.d.ts +4 -0
  17. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +4 -4
  18. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +4 -4
  19. package/esm/generated/models/CreateWebhookRequest.d.ts +1 -1
  20. package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
  21. package/esm/generated/models/Erc20TokenBalance.js +1 -1
  22. package/esm/generated/models/EvmBlock.d.ts +4 -0
  23. package/esm/generated/models/FullNativeTransactionDetails.d.ts +4 -0
  24. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  25. package/esm/generated/models/GetEvmBlockResponse.d.ts +4 -0
  26. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +2 -0
  27. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +33 -0
  28. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +23 -0
  29. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
  30. package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
  31. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +5 -0
  32. package/esm/generated/models/ListErc20BalancesResponse.d.ts +5 -0
  33. package/esm/generated/models/ListErc721BalancesResponse.d.ts +5 -0
  34. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +14 -0
  35. package/esm/generated/models/NativeTransaction.d.ts +4 -0
  36. package/esm/generated/models/Network.d.ts +3 -1
  37. package/esm/generated/models/Network.js +1 -1
  38. package/esm/generated/models/NotificationsResponse.d.ts +5 -0
  39. package/esm/generated/models/PChainTransaction.d.ts +33 -7
  40. package/esm/generated/models/PChainTransactionType.d.ts +5 -0
  41. package/esm/generated/models/PChainTransactionType.js +1 -1
  42. package/esm/generated/models/PChainUtxo.d.ts +27 -0
  43. package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
  44. package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
  45. package/esm/generated/models/PrimaryNetworkBlock.d.ts +2 -0
  46. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +2 -2
  47. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  48. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +9 -0
  49. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
  50. package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -0
  51. package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
  52. package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
  53. package/esm/generated/models/RpcMetrics.d.ts +14 -0
  54. package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
  55. package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
  56. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +51 -0
  57. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -0
  58. package/esm/generated/models/SignatureAggregationResponse.d.ts +5 -0
  59. package/esm/generated/models/SignatureAggregatorRequest.d.ts +8 -0
  60. package/esm/generated/models/StakingDistribution.d.ts +9 -0
  61. package/esm/generated/models/Subnet.d.ts +13 -0
  62. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
  63. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
  64. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +18 -0
  65. package/esm/generated/models/SubscribeRequest.d.ts +16 -0
  66. package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
  67. package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
  68. package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
  69. package/esm/generated/models/UpdateWebhookRequest.d.ts +3 -0
  70. package/esm/generated/models/UtxoType.d.ts +3 -0
  71. package/esm/generated/models/ValidatorsDetails.d.ts +6 -0
  72. package/esm/generated/models/XChainId.d.ts +1 -0
  73. package/esm/generated/models/XChainId.js +1 -1
  74. package/esm/generated/services/DataApiUsageMetricsService.d.ts +204 -0
  75. package/esm/generated/services/DataApiUsageMetricsService.js +1 -0
  76. package/esm/generated/services/EvmBalancesService.d.ts +5 -5
  77. package/esm/generated/services/EvmBlocksService.d.ts +23 -2
  78. package/esm/generated/services/EvmBlocksService.js +1 -1
  79. package/esm/generated/services/EvmChainsService.d.ts +86 -8
  80. package/esm/generated/services/EvmChainsService.js +1 -1
  81. package/esm/generated/services/EvmContractsService.d.ts +2 -2
  82. package/esm/generated/services/EvmTransactionsService.d.ts +46 -13
  83. package/esm/generated/services/EvmTransactionsService.js +1 -1
  84. package/esm/generated/services/NfTsService.d.ts +3 -3
  85. package/esm/generated/services/NotificationsService.d.ts +51 -0
  86. package/esm/generated/services/NotificationsService.js +1 -0
  87. package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +1 -1
  88. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +21 -5
  89. package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
  90. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +2 -2
  91. package/esm/generated/services/PrimaryNetworkService.d.ts +43 -9
  92. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  93. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +12 -9
  94. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  95. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +1 -1
  96. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +3 -3
  97. package/esm/generated/services/SignatureAggregatorService.d.ts +25 -0
  98. package/esm/generated/services/SignatureAggregatorService.js +1 -0
  99. package/esm/generated/services/TeleporterService.d.ts +5 -5
  100. package/esm/index.d.ts +24 -9
  101. package/esm/index.js +1 -1
  102. package/package.json +2 -2
  103. package/esm/generated/models/GlacierApiFeature.d.ts +0 -6
  104. package/esm/generated/models/GlacierApiFeature.js +0 -1
  105. package/esm/generated/models/NetworkType.d.ts +0 -6
  106. package/esm/generated/models/NetworkType.js +0 -1
  107. package/esm/generated/models/PrimaryNetwork.d.ts +0 -6
  108. package/esm/generated/models/PrimaryNetwork.js +0 -1
  109. package/esm/generated/models/RpcErrorDto.d.ts +0 -7
  110. package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
  111. package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
  112. package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
  113. package/esm/generated/services/GlacierApiUsageMetricsService.d.ts +0 -109
  114. package/esm/generated/services/GlacierApiUsageMetricsService.js +0 -1
  115. package/esm/generated/services/RpcService.d.ts +0 -25
  116. package/esm/generated/services/RpcService.js +0 -1
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}getAssetDetails({blockchainId:e,network:r,assetId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}",path:{blockchainId:e,network:r,assetId:t},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."}})}getChainIdsForAddresses({addresses:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/addresses:listChainIds",path:{network:r},query:{addresses: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."}})}getNetworkDetails({network:e}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}",path:{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."}})}listBlockchains({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},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."}})}listSubnets({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},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."}})}getSubnetById({network:e,subnetId:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets/{subnetId}",path:{network:e,subnetId:r},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."}})}listValidators({network:e,pageToken:r,pageSize:t=10,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:c,maxFeePercentage:l,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators",path:{network:e},query:{pageToken:r,pageSize:t,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:c,maxFeePercentage:l,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v},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."}})}getSingleValidatorDetails({network:e,nodeId:r,pageToken:t,pageSize:n=10,validationStatus:s,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators/{nodeId}",path:{network:e,nodeId:r},query:{pageToken:t,pageSize:n,validationStatus:s,sortOrder:a},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."}})}listDelegators({network:e,pageToken:r,pageSize:t=10,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/delegators",path:{network:e},query:{pageToken:r,pageSize:t,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i},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 PrimaryNetworkService};
1
+ class e{constructor(e){this.httpRequest=e}getAssetDetails({blockchainId:e,network:r,assetId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}",path:{blockchainId:e,network:r,assetId:t},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."}})}getChainIdsForAddresses({addresses:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/addresses:listChainIds",path:{network:r},query:{addresses: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."}})}getNetworkDetails({network:e}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}",path:{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."}})}listBlockchains({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},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."}})}listSubnets({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},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."}})}getSubnetById({network:e,subnetId:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets/{subnetId}",path:{network:e,subnetId:r},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."}})}listValidators({network:e,pageToken:r,pageSize:t=10,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:l,maxFeePercentage:c,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators",path:{network:e},query:{pageToken:r,pageSize:t,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:l,maxFeePercentage:c,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v},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."}})}getSingleValidatorDetails({network:e,nodeId:r,pageToken:t,pageSize:n=10,validationStatus:s,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators/{nodeId}",path:{network:e,nodeId:r},query:{pageToken:t,pageSize:n,validationStatus:s,sortOrder:a},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."}})}listDelegators({network:e,pageToken:r,pageSize:t=10,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/delegators",path:{network:e},query:{pageToken:r,pageSize:t,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i},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."}})}listL1Validators({network:e,pageToken:r,pageSize:t=10,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/l1Validators",path:{network:e},query:{pageToken:r,pageSize:t,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i},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 PrimaryNetworkService};
@@ -30,7 +30,7 @@ declare class PrimaryNetworkTransactionsService {
30
30
  */
31
31
  blockchainId: BlockchainId;
32
32
  /**
33
- * Either mainnet or a testnet.
33
+ * Either mainnet or testnet/fuji.
34
34
  */
35
35
  network: Network;
36
36
  /**
@@ -44,23 +44,26 @@ declare class PrimaryNetworkTransactionsService {
44
44
  *
45
45
  * Transactions are filterable by addresses, txTypes, and timestamps. When querying for latest transactions without an address parameter, filtering by txTypes and timestamps is not supported. An address filter must be provided to utilize txTypes and timestamp filters.
46
46
  *
47
+ * For P-Chain, you can fetch all L1 validators related transactions like ConvertSubnetToL1Tx, IncreaseL1ValidatorBalanceTx etc. using the unique L1 validation ID. These transactions are further filterable by txTypes and timestamps as well.
48
+ *
47
49
  * Given that each transaction may return a large number of UTXO objects, bounded only by the maximum transaction size, the query may return less transactions than the provided page size. The result will contain less results than the page size if the number of utxos contained in the resulting transactions reach a performance threshold.
48
50
  * @returns any Successful response
49
51
  * @throws ApiError
50
52
  */
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;
53
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, l1ValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
56
54
  /**
57
55
  * A primary network blockchain id or alias.
58
56
  */
59
57
  blockchainId: BlockchainId;
60
58
  /**
61
- * Either mainnet or a testnet.
59
+ * Either mainnet or testnet/fuji.
62
60
  */
63
61
  network: Network;
62
+ /**
63
+ * 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.
64
+ */
65
+ addresses?: string;
66
+ l1ValidationId?: string;
64
67
  /**
65
68
  * Query param for filtering items based on transaction types.
66
69
  */
@@ -98,7 +101,7 @@ declare class PrimaryNetworkTransactionsService {
98
101
  */
99
102
  blockchainId: PChainId;
100
103
  /**
101
- * Either mainnet or a testnet.
104
+ * Either mainnet or testnet/fuji.
102
105
  */
103
106
  network: Network;
104
107
  /**
@@ -142,7 +145,7 @@ declare class PrimaryNetworkTransactionsService {
142
145
  */
143
146
  blockchainId: XChainId;
144
147
  /**
145
- * Either mainnet or a testnet.
148
+ * Either mainnet or testnet/fuji.
146
149
  */
147
150
  network: Network;
148
151
  /**
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}getTxByHash({blockchainId:e,network:t,txHash:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions/{txHash}",path:{blockchainId:e,network:t,txHash:r},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."}})}listLatestPrimaryNetworkTransactions({addresses:e,blockchainId:t,network:r,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o=10,sortOrder:h}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions",path:{blockchainId:t,network:r},query:{addresses:e,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o,sortOrder: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."}})}listActivePrimaryNetworkStakingTransactions({blockchainId:e,network:t,addresses:r,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o=10,sortOrder:h}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions:listStaking",path:{blockchainId:e,network:t},query:{addresses:r,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o,sortOrder: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."}})}listAssetTransactions({blockchainId:e,network:t,assetId:r,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}/transactions",path:{blockchainId:e,network:t,assetId:r},query:{txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize: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."}})}}export{e as PrimaryNetworkTransactionsService};
1
+ class e{constructor(e){this.httpRequest=e}getTxByHash({blockchainId:e,network:t,txHash:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions/{txHash}",path:{blockchainId:e,network:t,txHash:r},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."}})}listLatestPrimaryNetworkTransactions({blockchainId:e,network:t,addresses:r,l1ValidationId:s,txTypes:n,startTimestamp:a,endTimestamp:i,pageToken:o,pageSize:h=10,sortOrder:d}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions",path:{blockchainId:e,network:t},query:{addresses:r,l1ValidationId:s,txTypes:n,startTimestamp:a,endTimestamp:i,pageToken:o,pageSize:h,sortOrder: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."}})}listActivePrimaryNetworkStakingTransactions({blockchainId:e,network:t,addresses:r,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o=10,sortOrder:h}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions:listStaking",path:{blockchainId:e,network:t},query:{addresses:r,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o,sortOrder: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."}})}listAssetTransactions({blockchainId:e,network:t,assetId:r,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}/transactions",path:{blockchainId:e,network:t,assetId:r},query:{txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize: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."}})}}export{e as PrimaryNetworkTransactionsService};
@@ -21,7 +21,7 @@ declare class PrimaryNetworkUtxOsService {
21
21
  */
22
22
  blockchainId: BlockchainId;
23
23
  /**
24
- * Either mainnet or a testnet.
24
+ * Either mainnet or testnet/fuji.
25
25
  */
26
26
  network: Network;
27
27
  /**
@@ -21,7 +21,7 @@ declare class PrimaryNetworkVerticesService {
21
21
  */
22
22
  blockchainId: XChainId;
23
23
  /**
24
- * Either mainnet or a testnet.
24
+ * Either mainnet or testnet/fuji.
25
25
  */
26
26
  network: Network;
27
27
  /**
@@ -49,7 +49,7 @@ declare class PrimaryNetworkVerticesService {
49
49
  */
50
50
  blockchainId: XChainId;
51
51
  /**
52
- * Either mainnet or a testnet.
52
+ * Either mainnet or testnet/fuji.
53
53
  */
54
54
  network: Network;
55
55
  }): CancelablePromise<XChainVertex>;
@@ -69,7 +69,7 @@ declare class PrimaryNetworkVerticesService {
69
69
  */
70
70
  blockchainId: XChainId;
71
71
  /**
72
- * Either mainnet or a testnet.
72
+ * Either mainnet or testnet/fuji.
73
73
  */
74
74
  network: Network;
75
75
  /**
@@ -0,0 +1,25 @@
1
+ import { Network } from '../models/Network.js';
2
+ import { SignatureAggregationResponse } from '../models/SignatureAggregationResponse.js';
3
+ import { SignatureAggregatorRequest } from '../models/SignatureAggregatorRequest.js';
4
+ import { CancelablePromise } from '../core/CancelablePromise.js';
5
+ import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
6
+
7
+ declare class SignatureAggregatorService {
8
+ readonly httpRequest: BaseHttpRequest;
9
+ constructor(httpRequest: BaseHttpRequest);
10
+ /**
11
+ * Aggregate Signatures
12
+ * Aggregates Signatures for a Warp message from Subnet validators.
13
+ * @returns SignatureAggregationResponse Successful response
14
+ * @throws ApiError
15
+ */
16
+ aggregateSignatures({ network, requestBody, }: {
17
+ /**
18
+ * Either mainnet or testnet/fuji.
19
+ */
20
+ network: Network;
21
+ requestBody: SignatureAggregatorRequest;
22
+ }): CancelablePromise<SignatureAggregationResponse>;
23
+ }
24
+
25
+ export { SignatureAggregatorService };
@@ -0,0 +1 @@
1
+ class e{constructor(e){this.httpRequest=e}aggregateSignatures({network:e,requestBody:r}){return this.httpRequest.request({method:"POST",url:"/v1/signatureAggregator/{network}/aggregateSignatures",path:{network:e},body:r,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 SignatureAggregatorService};
@@ -1,7 +1,7 @@
1
1
  import { DeliveredSourceNotIndexedTeleporterMessage } from '../models/DeliveredSourceNotIndexedTeleporterMessage.js';
2
2
  import { DeliveredTeleporterMessage } from '../models/DeliveredTeleporterMessage.js';
3
3
  import { ListTeleporterMessagesResponse } from '../models/ListTeleporterMessagesResponse.js';
4
- import { NetworkType } from '../models/NetworkType.js';
4
+ import { Network } from '../models/Network.js';
5
5
  import { PendingTeleporterMessage } from '../models/PendingTeleporterMessage.js';
6
6
  import { CancelablePromise } from '../core/CancelablePromise.js';
7
7
  import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
@@ -57,9 +57,9 @@ declare class TeleporterService {
57
57
  */
58
58
  from?: string;
59
59
  /**
60
- * mainnet or testnet.
60
+ * Either mainnet or testnet/fuji.
61
61
  */
62
- network?: NetworkType;
62
+ network?: Network;
63
63
  }): CancelablePromise<ListTeleporterMessagesResponse>;
64
64
  /**
65
65
  * List teleporter messages by address
@@ -81,9 +81,9 @@ declare class TeleporterService {
81
81
  */
82
82
  pageSize?: number;
83
83
  /**
84
- * mainnet or testnet.
84
+ * Either mainnet or testnet/fuji.
85
85
  */
86
- network?: NetworkType;
86
+ network?: Network;
87
87
  }): CancelablePromise<ListTeleporterMessagesResponse>;
88
88
  }
89
89
 
package/esm/index.d.ts CHANGED
@@ -3,15 +3,18 @@ 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';
9
10
  export { AddressesChangeRequest } from './generated/models/AddressesChangeRequest.js';
10
11
  export { AggregatedAssetAmount } from './generated/models/AggregatedAssetAmount.js';
12
+ export { ApiFeature } from './generated/models/ApiFeature.js';
11
13
  export { AssetAmount } from './generated/models/AssetAmount.js';
12
14
  export { AssetWithPriceInfo } from './generated/models/AssetWithPriceInfo.js';
13
15
  export { BadGateway } from './generated/models/BadGateway.js';
14
16
  export { BadRequest } from './generated/models/BadRequest.js';
17
+ export { BalanceOwner } from './generated/models/BalanceOwner.js';
15
18
  export { Blockchain } from './generated/models/Blockchain.js';
16
19
  export { BlockchainId } from './generated/models/BlockchainId.js';
17
20
  export { BlockchainIds } from './generated/models/BlockchainIds.js';
@@ -73,13 +76,16 @@ export { GetNativeBalanceResponse } from './generated/models/GetNativeBalanceRes
73
76
  export { GetNetworkDetailsResponse } from './generated/models/GetNetworkDetailsResponse.js';
74
77
  export { GetPrimaryNetworkBlockResponse } from './generated/models/GetPrimaryNetworkBlockResponse.js';
75
78
  export { GetTransactionResponse } from './generated/models/GetTransactionResponse.js';
76
- export { GlacierApiFeature } from './generated/models/GlacierApiFeature.js';
77
79
  export { HistoricalReward } from './generated/models/HistoricalReward.js';
78
80
  export { ImageAsset } from './generated/models/ImageAsset.js';
79
81
  export { InternalServerError } from './generated/models/InternalServerError.js';
80
82
  export { InternalTransaction } from './generated/models/InternalTransaction.js';
81
83
  export { InternalTransactionDetails } from './generated/models/InternalTransactionDetails.js';
82
84
  export { InternalTransactionOpCall } from './generated/models/InternalTransactionOpCall.js';
85
+ export { L1ValidatorDetailsFull } from './generated/models/L1ValidatorDetailsFull.js';
86
+ export { L1ValidatorDetailsTransaction } from './generated/models/L1ValidatorDetailsTransaction.js';
87
+ export { L1ValidatorManagerDetails } from './generated/models/L1ValidatorManagerDetails.js';
88
+ export { ListAddressChainsResponse } from './generated/models/ListAddressChainsResponse.js';
83
89
  export { ListBlockchainsResponse } from './generated/models/ListBlockchainsResponse.js';
84
90
  export { ListCChainAtomicBalancesResponse } from './generated/models/ListCChainAtomicBalancesResponse.js';
85
91
  export { ListCChainAtomicTransactionsResponse } from './generated/models/ListCChainAtomicTransactionsResponse.js';
@@ -96,6 +102,7 @@ export { ListErc721TransactionsResponse } from './generated/models/ListErc721Tra
96
102
  export { ListEvmBlocksResponse } from './generated/models/ListEvmBlocksResponse.js';
97
103
  export { ListHistoricalRewardsResponse } from './generated/models/ListHistoricalRewardsResponse.js';
98
104
  export { ListInternalTransactionsResponse } from './generated/models/ListInternalTransactionsResponse.js';
105
+ export { ListL1ValidatorsResponse } from './generated/models/ListL1ValidatorsResponse.js';
99
106
  export { ListNativeTransactionsResponse } from './generated/models/ListNativeTransactionsResponse.js';
100
107
  export { ListNftTokens } from './generated/models/ListNftTokens.js';
101
108
  export { ListPChainBalancesResponse } from './generated/models/ListPChainBalancesResponse.js';
@@ -125,10 +132,10 @@ export { NativeTransaction } from './generated/models/NativeTransaction.js';
125
132
  export { Network } from './generated/models/Network.js';
126
133
  export { NetworkToken } from './generated/models/NetworkToken.js';
127
134
  export { NetworkTokenDetails } from './generated/models/NetworkTokenDetails.js';
128
- export { NetworkType } from './generated/models/NetworkType.js';
129
135
  export { NextPageToken } from './generated/models/NextPageToken.js';
130
136
  export { NftTokenMetadataStatus } from './generated/models/NftTokenMetadataStatus.js';
131
137
  export { NotFound } from './generated/models/NotFound.js';
138
+ export { NotificationsResponse } from './generated/models/NotificationsResponse.js';
132
139
  export { OperationStatus } from './generated/models/OperationStatus.js';
133
140
  export { OperationStatusCode } from './generated/models/OperationStatusCode.js';
134
141
  export { OperationStatusResponse } from './generated/models/OperationStatusResponse.js';
@@ -144,7 +151,6 @@ export { PendingReward } from './generated/models/PendingReward.js';
144
151
  export { PendingTeleporterMessage } from './generated/models/PendingTeleporterMessage.js';
145
152
  export { PendingValidatorDetails } from './generated/models/PendingValidatorDetails.js';
146
153
  export { PricingProviders } from './generated/models/PricingProviders.js';
147
- export { PrimaryNetwork } from './generated/models/PrimaryNetwork.js';
148
154
  export { PrimaryNetworkAssetCap } from './generated/models/PrimaryNetworkAssetCap.js';
149
155
  export { PrimaryNetworkAssetType } from './generated/models/PrimaryNetworkAssetType.js';
150
156
  export { PrimaryNetworkBlock } from './generated/models/PrimaryNetworkBlock.js';
@@ -152,6 +158,7 @@ export { PrimaryNetworkChainInfo } from './generated/models/PrimaryNetworkChainI
152
158
  export { PrimaryNetworkChainName } from './generated/models/PrimaryNetworkChainName.js';
153
159
  export { PrimaryNetworkOperationType } from './generated/models/PrimaryNetworkOperationType.js';
154
160
  export { PrimaryNetworkOptions } from './generated/models/PrimaryNetworkOptions.js';
161
+ export { PrimaryNetworkRpcMetricsGroupByEnum } from './generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js';
155
162
  export { PrimaryNetworkTxType } from './generated/models/PrimaryNetworkTxType.js';
156
163
  export { ProposerDetails } from './generated/models/ProposerDetails.js';
157
164
  export { RemovedValidatorDetails } from './generated/models/RemovedValidatorDetails.js';
@@ -161,17 +168,23 @@ export { ResourceLinkType } from './generated/models/ResourceLinkType.js';
161
168
  export { Rewards } from './generated/models/Rewards.js';
162
169
  export { RewardType } from './generated/models/RewardType.js';
163
170
  export { RichAddress } from './generated/models/RichAddress.js';
164
- export { RpcErrorDto } from './generated/models/RpcErrorDto.js';
165
- export { RpcErrorResponseDto } from './generated/models/RpcErrorResponseDto.js';
166
- export { RpcRequestBodyDto } from './generated/models/RpcRequestBodyDto.js';
167
- export { RpcSuccessResponseDto } from './generated/models/RpcSuccessResponseDto.js';
171
+ export { RpcMetrics } from './generated/models/RpcMetrics.js';
172
+ export { RpcUsageMetricsGroupByEnum } from './generated/models/RpcUsageMetricsGroupByEnum.js';
173
+ export { RpcUsageMetricsValueAggregated } from './generated/models/RpcUsageMetricsValueAggregated.js';
168
174
  export { ServiceUnavailable } from './generated/models/ServiceUnavailable.js';
169
175
  export { SharedSecretsResponse } from './generated/models/SharedSecretsResponse.js';
176
+ export { SignatureAggregationResponse } from './generated/models/SignatureAggregationResponse.js';
177
+ export { SignatureAggregatorRequest } from './generated/models/SignatureAggregatorRequest.js';
170
178
  export { SortByOption } from './generated/models/SortByOption.js';
171
179
  export { SortOrder } from './generated/models/SortOrder.js';
172
180
  export { StakingDistribution } from './generated/models/StakingDistribution.js';
173
181
  export { Subnet } from './generated/models/Subnet.js';
174
182
  export { SubnetOwnershipInfo } from './generated/models/SubnetOwnershipInfo.js';
183
+ export { SubnetRpcTimeIntervalGranularity } from './generated/models/SubnetRpcTimeIntervalGranularity.js';
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';
175
188
  export { TeleporterDestinationTransaction } from './generated/models/TeleporterDestinationTransaction.js';
176
189
  export { TeleporterMessageInfo } from './generated/models/TeleporterMessageInfo.js';
177
190
  export { TeleporterReceipt } from './generated/models/TeleporterReceipt.js';
@@ -187,6 +200,7 @@ export { TransactionStatus } from './generated/models/TransactionStatus.js';
187
200
  export { TransactionVertexDetail } from './generated/models/TransactionVertexDetail.js';
188
201
  export { Unauthorized } from './generated/models/Unauthorized.js';
189
202
  export { UnknownContract } from './generated/models/UnknownContract.js';
203
+ export { UnsubscribeRequest } from './generated/models/UnsubscribeRequest.js';
190
204
  export { UpdateContractResponse } from './generated/models/UpdateContractResponse.js';
191
205
  export { UpdateWebhookRequest } from './generated/models/UpdateWebhookRequest.js';
192
206
  export { UsageMetricsGroupByEnum } from './generated/models/UsageMetricsGroupByEnum.js';
@@ -211,15 +225,16 @@ export { XChainNonLinearTransaction } from './generated/models/XChainNonLinearTr
211
225
  export { XChainSharedAssetBalance } from './generated/models/XChainSharedAssetBalance.js';
212
226
  export { XChainTransactionType } from './generated/models/XChainTransactionType.js';
213
227
  export { XChainVertex } from './generated/models/XChainVertex.js';
228
+ export { DataApiUsageMetricsService } from './generated/services/DataApiUsageMetricsService.js';
214
229
  export { DefaultService } from './generated/services/DefaultService.js';
215
230
  export { EvmBalancesService } from './generated/services/EvmBalancesService.js';
216
231
  export { EvmBlocksService } from './generated/services/EvmBlocksService.js';
217
232
  export { EvmChainsService } from './generated/services/EvmChainsService.js';
218
233
  export { EvmContractsService } from './generated/services/EvmContractsService.js';
219
234
  export { EvmTransactionsService } from './generated/services/EvmTransactionsService.js';
220
- export { GlacierApiUsageMetricsService } from './generated/services/GlacierApiUsageMetricsService.js';
221
235
  export { HealthCheckService } from './generated/services/HealthCheckService.js';
222
236
  export { NfTsService } from './generated/services/NfTsService.js';
237
+ export { NotificationsService } from './generated/services/NotificationsService.js';
223
238
  export { OperationsService } from './generated/services/OperationsService.js';
224
239
  export { PrimaryNetworkService } from './generated/services/PrimaryNetworkService.js';
225
240
  export { PrimaryNetworkBalancesService } from './generated/services/PrimaryNetworkBalancesService.js';
@@ -228,6 +243,6 @@ export { PrimaryNetworkRewardsService } from './generated/services/PrimaryNetwor
228
243
  export { PrimaryNetworkTransactionsService } from './generated/services/PrimaryNetworkTransactionsService.js';
229
244
  export { PrimaryNetworkUtxOsService } from './generated/services/PrimaryNetworkUtxOsService.js';
230
245
  export { PrimaryNetworkVerticesService } from './generated/services/PrimaryNetworkVerticesService.js';
231
- export { RpcService } from './generated/services/RpcService.js';
246
+ export { SignatureAggregatorService } from './generated/services/SignatureAggregatorService.js';
232
247
  export { TeleporterService } from './generated/services/TeleporterService.js';
233
248
  export { WebhooksService } from './generated/services/WebhooksService.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{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{GlacierApiFeature}from"./generated/models/GlacierApiFeature.js";export{InternalTransactionOpCall}from"./generated/models/InternalTransactionOpCall.js";export{Network}from"./generated/models/Network.js";export{NetworkType}from"./generated/models/NetworkType.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{PrimaryNetwork}from"./generated/models/PrimaryNetwork.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{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{SortByOption}from"./generated/models/SortByOption.js";export{SortOrder}from"./generated/models/SortOrder.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{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{GlacierApiUsageMetricsService}from"./generated/services/GlacierApiUsageMetricsService.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{RpcService}from"./generated/services/RpcService.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.639f9ba.0+639f9ba",
3
+ "version": "3.1.0-canary.6749359.0+6749359",
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": "639f9ba6aa07f0f9f190360edb2005506f534a50"
32
+ "gitHead": "6749359d2151d00564d0b7d012ca67f50cdbc9a6"
33
33
  }
@@ -1,6 +0,0 @@
1
- declare enum GlacierApiFeature {
2
- NFT_INDEXING = "nftIndexing",
3
- WEBHOOKS = "webhooks"
4
- }
5
-
6
- export { GlacierApiFeature };
@@ -1 +0,0 @@
1
- var e=(e=>(e.NFT_INDEXING="nftIndexing",e.WEBHOOKS="webhooks",e))(e||{});export{e as GlacierApiFeature};
@@ -1,6 +0,0 @@
1
- declare enum NetworkType {
2
- MAINNET = "mainnet",
3
- TESTNET = "testnet"
4
- }
5
-
6
- export { NetworkType };
@@ -1 +0,0 @@
1
- var t=(t=>(t.MAINNET="mainnet",t.TESTNET="testnet",t))(t||{});export{t as NetworkType};
@@ -1,6 +0,0 @@
1
- declare enum PrimaryNetwork {
2
- MAINNET = "mainnet",
3
- FUJI = "fuji"
4
- }
5
-
6
- export { PrimaryNetwork };
@@ -1 +0,0 @@
1
- var a=(a=>(a.MAINNET="mainnet",a.FUJI="fuji",a))(a||{});export{a as PrimaryNetwork};
@@ -1,7 +0,0 @@
1
- type RpcErrorDto = {
2
- code: number;
3
- message: string;
4
- data?: Record<string, any>;
5
- };
6
-
7
- export { RpcErrorDto };
@@ -1,9 +0,0 @@
1
- import { RpcErrorDto } from './RpcErrorDto.js';
2
-
3
- type RpcErrorResponseDto = {
4
- jsonrpc: string;
5
- id?: (string | number);
6
- error: RpcErrorDto;
7
- };
8
-
9
- export { RpcErrorResponseDto };
@@ -1,8 +0,0 @@
1
- type RpcRequestBodyDto = {
2
- method: string;
3
- params?: Record<string, any>;
4
- id?: (string | number);
5
- jsonrpc?: string;
6
- };
7
-
8
- export { RpcRequestBodyDto };
@@ -1,7 +0,0 @@
1
- type RpcSuccessResponseDto = {
2
- jsonrpc: string;
3
- id?: (string | number);
4
- result: Record<string, any>;
5
- };
6
-
7
- export { RpcSuccessResponseDto };