Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.650.0
speakeasyVersion: 1.656.1
sources:
chainkit-source:
sourceNamespace: avalanche-sdk-chainkit-typescript
sourceRevisionDigest: sha256:ab3972b494cb8bf8b42f03e60b9328034c38065c779fc006d59f42573513fb7b
sourceBlobDigest: sha256:bd8f240c05cc61972898e16aaf9a51b3ca94fb6af5f589f4dbefe0d0219842aa
sourceRevisionDigest: sha256:e2953246d53ca27f12a6617f56a2f787c4e3b4ae9d84575647b160eaf82f09aa
sourceBlobDigest: sha256:98e9809f2b8b28ebd8e65286fe0c7820897af9284d20934ea6614b373254f069
tags:
- latest
- speakeasy-sdk-regen-1762514433
- speakeasy-sdk-regen-1762886584
- 1.0.0
targets:
chainkit-sdk:
source: chainkit-source
sourceNamespace: avalanche-sdk-chainkit-typescript
sourceRevisionDigest: sha256:ab3972b494cb8bf8b42f03e60b9328034c38065c779fc006d59f42573513fb7b
sourceBlobDigest: sha256:bd8f240c05cc61972898e16aaf9a51b3ca94fb6af5f589f4dbefe0d0219842aa
sourceRevisionDigest: sha256:e2953246d53ca27f12a6617f56a2f787c4e3b4ae9d84575647b160eaf82f09aa
sourceBlobDigest: sha256:98e9809f2b8b28ebd8e65286fe0c7820897af9284d20934ea6614b373254f069
codeSamplesNamespace: avalanche-sdk-chainkit-typescript-code-samples
codeSamplesRevisionDigest: sha256:9bdf92d8e9e8447d7d15817c2be482258490395145fe99cccbed8fe4c26767b3
codeSamplesRevisionDigest: sha256:2db91ddf35288c9adfbe48a0673b1e06cb3ba3c2a9f2a71c6dc5012db2afecd3
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
50 changes: 33 additions & 17 deletions chainkit/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 125b8491-d8a2-4e4f-ad7e-83badf249c68
management:
docChecksum: ef2075f5fdb3c1d8c753b26c69506b9f
docChecksum: efae928baffb9610349ce5af551e06ca
docVersion: 1.0.0
speakeasyVersion: 1.650.0
generationVersion: 2.743.2
releaseVersion: 0.3.0-alpha.8
configChecksum: 0c3ddab268d08f518a28224675737e40
speakeasyVersion: 1.656.1
generationVersion: 2.753.1
releaseVersion: 0.3.0-alpha.9
configChecksum: a4d1ddd06bf56a50029bc01f068a4af1
repoURL: https://github.com/ava-labs/avalanche-sdk-typescript.git
repoSubDirectory: chainkit
installationURL: https://gitpkg.now.sh/ava-labs/avalanche-sdk-typescript/chainkit
Expand All @@ -15,7 +15,7 @@ features:
typescript:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.12
core: 3.26.3
core: 3.26.6
defaultEnabledRetries: 0.1.0
deprecations: 2.81.1
enumUnions: 0.1.0
Expand Down Expand Up @@ -736,6 +736,7 @@ generatedFiles:
- src/funcs/metricsL1ValidatorsGetMetricsBySubnetId.ts
- src/funcs/metricsL1ValidatorsGetMetricsByValidationId.ts
- src/funcs/metricsL1ValidatorsListMetrics.ts
- src/funcs/metricsLiveCheck.ts
- src/funcs/metricsNetworksGetStakingMetrics.ts
- src/funcs/metricsSubnetsGetValidators.ts
- src/funcs/webhooksAddressesAdd.ts
Expand Down Expand Up @@ -868,6 +869,7 @@ generatedFiles:
- src/mcp-server/tools/metricsL1ValidatorsGetMetricsBySubnetId.ts
- src/mcp-server/tools/metricsL1ValidatorsGetMetricsByValidationId.ts
- src/mcp-server/tools/metricsL1ValidatorsListMetrics.ts
- src/mcp-server/tools/metricsLiveCheck.ts
- src/mcp-server/tools/metricsNetworksGetStakingMetrics.ts
- src/mcp-server/tools/metricsSubnetsGetValidators.ts
- src/mcp-server/tools/webhooksAddressesAdd.ts
Expand Down Expand Up @@ -1256,6 +1258,7 @@ generatedFiles:
- src/models/operations/listwebhooks.ts
- src/models/operations/livecheck.ts
- src/models/operations/metricshealthcheck.ts
- src/models/operations/metricslivecheck.ts
- src/models/operations/posttransactionexportjob.ts
- src/models/operations/reindexnft.ts
- src/models/operations/removeaddressesfromwebhook.ts
Expand Down Expand Up @@ -4573,6 +4576,7 @@ examples:
addresses: "avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg"
pageSize: 10
sortOrder: "asc"
minUtxoAmount: 1000
responses:
"200":
application/json: {"utxos": [{"addresses": ["avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw"], "asset": {"assetId": "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof", "name": "Avalanche", "symbol": "AVAX", "denomination": 9, "type": "nft", "amount": "5001000"}, "consumedOnChainId": "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", "consumingTxHash": "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c", "createdOnChainId": "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", "utxoId": "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC", "consumingTxTimestamp": 1599696000, "creationTxHash": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z", "credentials": [{"signature": "bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA", "publicKey": "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI"}], "locktime": 0, "outputIndex": "38", "threshold": 1, "timestamp": 1599696000, "utxoType": "mint"}], "chainInfo": {"chainName": "x-chain", "network": "mainnet"}}
Expand Down Expand Up @@ -6262,6 +6266,7 @@ examples:
query:
pageSize: 10
sortOrder: "asc"
minUtxoAmount: 1000
requestBody:
application/json: {"addresses": "P-avax1abc123,X-avax1def456,C-avax1ghi789"}
responses:
Expand Down Expand Up @@ -6304,16 +6309,27 @@ examples:
application/json: {"message": "<value>", "statusCode": 502, "error": "Bad Gateway"}
"503":
application/json: {"message": "<value>", "statusCode": 503, "error": "Service Unavailable"}
metrics-live-check:
speakeasy-default-metrics-live-check:
responses:
"200":
application/json: {"info": {"database": {"status": "up"}}, "error": {}, "details": {"database": {"status": "up"}}}
"400":
application/json: {"message": "<value>", "statusCode": 400, "error": "Bad Request"}
"401":
application/json: {"message": ["<value 1>"], "statusCode": 401, "error": "Unauthorized"}
"403":
application/json: {"message": "<value>", "statusCode": 403, "error": "Forbidden"}
"404":
application/json: {"message": "<value>", "statusCode": 404, "error": "Not Found"}
"429":
application/json: {"message": "<value>", "statusCode": 429, "error": "Too Many Requests"}
"500":
application/json: {"message": ["<value 1>", "<value 2>"], "statusCode": 500, "error": "Internal Server Error"}
"502":
application/json: {"message": "<value>", "statusCode": 502, "error": "Bad Gateway"}
"503":
application/json: {"message": "<value>", "statusCode": 503, "error": "Service Unavailable"}
examplesVersion: 1.0.2
generatedTests: {}
releaseNotes: |
## Typescript SDK Changes Detected:
* `avalanche.data.primaryNetwork.listBlockchains()`: `response.blockchains.[].genesisData` **Changed** **Breaking** :warning:
* `avalanche.data.primaryNetwork.getBlockchainById()`: `response.genesisdata` **Changed** **Breaking** :warning:
* `avalanche.data.primaryNetwork.listSubnets()`: `response.subnets.[].blockchains.[].genesisData` **Changed** **Breaking** :warning:
* `avalanche.data.primaryNetwork.getSubnetById()`: `response.blockchains.[].genesisData` **Changed** **Breaking** :warning:
* `avalanche.data.primaryNetwork.transactions.get()`: `response.[pchaintransaction].blockchainInfo.genesisData` **Changed** **Breaking** :warning:
* `avalanche.data.primaryNetwork.transactions.listLatest()`: `response.[listpchaintransactionsresponse].transactions.[].blockchainInfo.genesisData` **Changed** **Breaking** :warning:
* `avalanche.data.primaryNetwork.transactions.listActiveStakingTransactions()`: `response.transactions.[].blockchainInfo.genesisData` **Changed** **Breaking** :warning:
* `avalanche.avaxSupply.get()`: `response` **Changed** **Breaking** :warning:
* `avalanche.data.liveCheck()`: **Added**
releaseNotes: "## Typescript SDK Changes Detected:\n* `avalanche.metrics.liveCheck()`: **Added**\n* `avalanche.data.primaryNetwork.listBlockchains()`: `response.blockchains.[].evmChainId` **Changed**\n* `avalanche.data.primaryNetwork.getBlockchainById()`: `response.evmchainid` **Changed**\n* `avalanche.data.primaryNetwork.listSubnets()`: `response.subnets.[].blockchains.[].evmChainId` **Changed**\n* `avalanche.data.primaryNetwork.getSubnetById()`: `response.blockchains.[].evmChainId` **Changed**\n* `avalanche.data.primaryNetwork.utxos.listByAddresses()`: \n * `request.minUtxoAmount` **Added**\n* `avalanche.data.primaryNetwork.utxos.listByAddressesV2()`: \n * `request.minUtxoAmount` **Added**\n"
3 changes: 2 additions & 1 deletion chainkit/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
typescript:
version: 0.3.0-alpha.8
version: 0.3.0-alpha.9
acceptHeaderEnum: true
additionalDependencies:
dependencies:
Expand Down Expand Up @@ -72,6 +72,7 @@ typescript:
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
unionStrategy: left-to-right
usageSDKInitImports: []
useIndexModules: true
zodVersion: v3
2 changes: 2 additions & 0 deletions chainkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ run();
### [metrics](docs/sdks/metrics/README.md)

* [healthCheck](docs/sdks/metrics/README.md#healthcheck) - Get the health of the service
* [liveCheck](docs/sdks/metrics/README.md#livecheck) - Get the liveliness of the service

#### [metrics.chains](docs/sdks/metricschains/README.md)

Expand Down Expand Up @@ -540,6 +541,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`metricsL1ValidatorsGetMetricsBySubnetId`](docs/sdks/l1validators/README.md#getmetricsbysubnetid) - Get metric values with given subnetId and timestamp range
- [`metricsL1ValidatorsGetMetricsByValidationId`](docs/sdks/l1validators/README.md#getmetricsbyvalidationid) - Get metric values with given validationId and timestamp range
- [`metricsL1ValidatorsListMetrics`](docs/sdks/l1validators/README.md#listmetrics) - Get given metric for all validators
- [`metricsLiveCheck`](docs/sdks/metrics/README.md#livecheck) - Get the liveliness of the service
- [`metricsNetworksGetStakingMetrics`](docs/sdks/networks/README.md#getstakingmetrics) - Get staking metrics for a given subnet
- [`metricsSubnetsGetValidators`](docs/sdks/subnets/README.md#getvalidators) - Get addresses running validators during a given time frame
- [`webhooksAddressesAdd`](docs/sdks/addresses/README.md#add) - Add addresses to EVM activity webhook
Expand Down
12 changes: 11 additions & 1 deletion chainkit/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,14 @@ Based on:
### Generated
- [typescript v0.3.0-alpha.8] chainkit
### Releases
- [NPM v0.3.0-alpha.8] https://www.npmjs.com/package/@avalanche-sdk/chainkit/v/0.3.0-alpha.8 - chainkit
- [NPM v0.3.0-alpha.8] https://www.npmjs.com/package/@avalanche-sdk/chainkit/v/0.3.0-alpha.8 - chainkit

## 2025-11-13 11:13:15
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.656.1 (2.753.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.3.0-alpha.9] chainkit
### Releases
- [NPM v0.3.0-alpha.9] https://www.npmjs.com/package/@avalanche-sdk/chainkit/v/0.3.0-alpha.9 - chainkit
2 changes: 1 addition & 1 deletion chainkit/docs/models/components/blockchain.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ let value: Blockchain = {
| `vmId` | *string* | :heavy_check_mark: | N/A | |
| `subnetId` | *string* | :heavy_check_mark: | N/A | |
| `blockchainName` | *string* | :heavy_check_mark: | N/A | |
| `evmChainId` | *number* | :heavy_check_mark: | EVM Chain ID for the EVM-based chains. This field is extracted from genesis data, and may be present for non-EVM chains as well. | 43114 |
| `evmChainId` | *number* | :heavy_minus_sign: | EVM Chain ID for the EVM-based chains. This field is extracted from genesis data, and may be present for non-EVM chains as well. | 43114 |
| `genesisData` | *components.BlockchainGenesisData* | :heavy_minus_sign: | The genesis data of the blockchain. Can be either a parsed EvmGenesisDto object or a raw JSON string. | |
Loading