Skip to content

Commit 5b96cbd

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate ChainKit SDK CHAINKIT-SDK 0.3.0-alpha.11 (#306)
* ## Typescript SDK Changes Detected: * `avalanche.data.primaryNetwork.utxos.listByAddressesV2()`: `response.status[201]` **Added** **Breaking** ⚠️ * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 0f55abf commit 5b96cbd

17 files changed

+316
-49
lines changed

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.658.2
1+
speakeasyVersion: 1.659.0
22
sources:
33
chainkit-source:
44
sourceNamespace: avalanche-sdk-chainkit-typescript
5-
sourceRevisionDigest: sha256:9fee7d090be1dd467728b0ba83dabc5c4a8d1c507678f99832acdfd9aa6fb010
6-
sourceBlobDigest: sha256:791df338e1bc1a9d1dc86e284ae6404bd667a7f4957a5623b0ef6d4bc126711b
5+
sourceRevisionDigest: sha256:a2725e93698de1ec0e06309de395a7be6b7d18f64148e05150a262aa7f76a608
6+
sourceBlobDigest: sha256:179e4d223f82564b1c25d36dbf57c7a232d861a96bd54c3ad44089d4262716d7
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1763232057
9+
- speakeasy-sdk-regen-1763577819
1010
- 1.0.0
1111
targets:
1212
chainkit-sdk:
1313
source: chainkit-source
1414
sourceNamespace: avalanche-sdk-chainkit-typescript
15-
sourceRevisionDigest: sha256:9fee7d090be1dd467728b0ba83dabc5c4a8d1c507678f99832acdfd9aa6fb010
16-
sourceBlobDigest: sha256:791df338e1bc1a9d1dc86e284ae6404bd667a7f4957a5623b0ef6d4bc126711b
15+
sourceRevisionDigest: sha256:a2725e93698de1ec0e06309de395a7be6b7d18f64148e05150a262aa7f76a608
16+
sourceBlobDigest: sha256:179e4d223f82564b1c25d36dbf57c7a232d861a96bd54c3ad44089d4262716d7
1717
codeSamplesNamespace: avalanche-sdk-chainkit-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:f1944be210c241d8993f8b95d9ca896f31322ac89f11f906f8cc3ab84404309c
18+
codeSamplesRevisionDigest: sha256:0f57006ca4e06cd1c43089c12b5c185b31e98856e28bda13e441caafc9f9a6a1
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€Žchainkit/.speakeasy/gen.lockβ€Ž

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 125b8491-d8a2-4e4f-ad7e-83badf249c68
33
management:
4-
docChecksum: 527ef490a067f9f34c8b22e229aee190
4+
docChecksum: 15cecdbe980748d5e71fd0a1cef97ddf
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.658.2
6+
speakeasyVersion: 1.659.0
77
generationVersion: 2.755.9
8-
releaseVersion: 0.3.0-alpha.10
9-
configChecksum: 23dc04d58371ed9ebb90e06ee91d1be3
8+
releaseVersion: 0.3.0-alpha.11
9+
configChecksum: 7c73dbc14327a4c23c9f491eda8c79b2
1010
repoURL: https://github.com/ava-labs/avalanche-sdk-typescript.git
1111
repoSubDirectory: chainkit
1212
installationURL: https://gitpkg.now.sh/ava-labs/avalanche-sdk-typescript/chainkit
@@ -493,7 +493,9 @@ generatedFiles:
493493
- docs/models/operations/getutxosbyaddressesv2globals.md
494494
- docs/models/operations/getutxosbyaddressesv2request.md
495495
- docs/models/operations/getutxosbyaddressesv2response.md
496-
- docs/models/operations/getutxosbyaddressesv2responsebody.md
496+
- docs/models/operations/getutxosbyaddressesv2responsebody1.md
497+
- docs/models/operations/getutxosbyaddressesv2responsebody2.md
498+
- docs/models/operations/getutxosbyaddressesv2responseresult.md
497499
- docs/models/operations/getvalidatorsbydaterangerequest.md
498500
- docs/models/operations/getvalidatorsbydaterangeresponse.md
499501
- docs/models/operations/getvertexbyhashglobals.md
@@ -6288,6 +6290,8 @@ examples:
62886290
application/json: {"message": "<value>", "statusCode": 502, "error": "Bad Gateway"}
62896291
"503":
62906292
application/json: {"message": ["<value 1>", "<value 2>"], "statusCode": 503, "error": "Service Unavailable"}
6293+
"201":
6294+
application/json: {"utxos": [], "chainInfo": {"chainName": "p-chain", "network": "mainnet"}}
62916295
live-check:
62926296
speakeasy-default-live-check:
62936297
responses:
@@ -6334,4 +6338,4 @@ examplesVersion: 1.0.2
63346338
generatedTests: {}
63356339
releaseNotes: |
63366340
## Typescript SDK Changes Detected:
6337-
* `avalanche.avaxSupply.get()`: `response.l1validatorfees` **Added**
6341+
* `avalanche.data.primaryNetwork.utxos.listByAddressesV2()`: `response.status[201]` **Added** **Breaking** :warning:

β€Žchainkit/.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: false
2626
skipResponseBodyAssertions: false
2727
typescript:
28-
version: 0.3.0-alpha.10
28+
version: 0.3.0-alpha.11
2929
acceptHeaderEnum: true
3030
additionalDependencies:
3131
dependencies:

β€Žchainkit/RELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,14 @@ Based on:
120120
### Generated
121121
- [typescript v0.3.0-alpha.10] chainkit
122122
### Releases
123-
- [NPM v0.3.0-alpha.10] https://www.npmjs.com/package/@avalanche-sdk/chainkit/v/0.3.0-alpha.10 - chainkit
123+
- [NPM v0.3.0-alpha.10] https://www.npmjs.com/package/@avalanche-sdk/chainkit/v/0.3.0-alpha.10 - chainkit
124+
125+
## 2025-11-20 21:26:03
126+
### Changes
127+
Based on:
128+
- OpenAPI Doc
129+
- Speakeasy CLI 1.659.0 (2.755.9) https://github.com/speakeasy-api/speakeasy
130+
### Generated
131+
- [typescript v0.3.0-alpha.11] chainkit
132+
### Releases
133+
- [NPM v0.3.0-alpha.11] https://www.npmjs.com/package/@avalanche-sdk/chainkit/v/0.3.0-alpha.11 - chainkit

β€Žchainkit/docs/models/operations/getutxosbyaddressesv2response.mdβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ let value: GetUtxosByAddressesV2Response = {
4343

4444
## Fields
4545

46-
| Field | Type | Required | Description |
47-
| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- |
48-
| `result` | *operations.GetUtxosByAddressesV2ResponseBody* | :heavy_check_mark: | N/A |
46+
| Field | Type | Required | Description |
47+
| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ |
48+
| `result` | *operations.GetUtxosByAddressesV2ResponseResult* | :heavy_check_mark: | N/A |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GetUtxosByAddressesV2ResponseBody
1+
# GetUtxosByAddressesV2ResponseBody1
22

33
Successful response
44

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# GetUtxosByAddressesV2ResponseBody2
2+
3+
Successful response
4+
5+
6+
## Supported Types
7+
8+
### `components.ListPChainUtxosResponse`
9+
10+
```typescript
11+
const value: components.ListPChainUtxosResponse = {
12+
utxos: [
13+
{
14+
addresses: [
15+
"avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw",
16+
],
17+
asset: {
18+
assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof",
19+
name: "Avalanche",
20+
symbol: "AVAX",
21+
denomination: 9,
22+
type: "nft",
23+
amount: "5001000",
24+
},
25+
consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
26+
consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c",
27+
createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
28+
utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC",
29+
amount: "871.14",
30+
assetId: "<id>",
31+
blockNumber: "<value>",
32+
blockTimestamp: 9647.88,
33+
outputIndex: 5158.07,
34+
txHash: "<value>",
35+
utxoType: "STAKE",
36+
},
37+
],
38+
chainInfo: {
39+
chainName: "c-chain",
40+
network: "mainnet",
41+
},
42+
};
43+
```
44+
45+
### `components.ListUtxosResponse`
46+
47+
```typescript
48+
const value: components.ListUtxosResponse = {
49+
utxos: [
50+
{
51+
addresses: [
52+
"avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw",
53+
],
54+
asset: {
55+
assetId: "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof",
56+
name: "Avalanche",
57+
symbol: "AVAX",
58+
denomination: 9,
59+
type: "nft",
60+
amount: "5001000",
61+
},
62+
consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
63+
consumingTxHash: "3j9JpF1aGuQtLLbo3YkvvKkWrCZViXZjdeJQWUSEY5hcqUn2c",
64+
createdOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
65+
utxoId: "68vLva9kfKUsX88ZPM8jdbf8qHUZRoZSFH6NdpAVTspkfrXDC",
66+
consumingTxTimestamp: 1599696000,
67+
creationTxHash: "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
68+
credentials: [
69+
{
70+
signature:
71+
"bWWoZUu0Z3STjuk/+2az7M4vP0oqc9NtiA7kOdqINCIE/2+5va5R1KNCWwEX5jE1xVHLvAxU2LHTN5gK8m84HwA",
72+
publicKey: "AdMQOtubgBFFJu++0faHPIIA6KmdZ2ERErMRGzyy6juI",
73+
},
74+
],
75+
locktime: 0,
76+
outputIndex: "38",
77+
threshold: 1,
78+
timestamp: 1599696000,
79+
utxoType: "mint",
80+
},
81+
],
82+
chainInfo: {
83+
chainName: "c-chain",
84+
network: "mainnet",
85+
},
86+
};
87+
```
88+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# GetUtxosByAddressesV2ResponseResult
2+
3+
4+
## Supported Types
5+
6+
### `operations.GetUtxosByAddressesV2ResponseBody1`
7+
8+
```typescript
9+
const value: operations.GetUtxosByAddressesV2ResponseBody1 = {
10+
utxos: [],
11+
chainInfo: {
12+
chainName: "c-chain",
13+
network: "mainnet",
14+
},
15+
};
16+
```
17+
18+
### `operations.GetUtxosByAddressesV2ResponseBody2`
19+
20+
```typescript
21+
const value: operations.GetUtxosByAddressesV2ResponseBody2 = {
22+
utxos: [],
23+
chainInfo: {
24+
chainName: "c-chain",
25+
network: "mainnet",
26+
},
27+
};
28+
```
29+

β€Žchainkit/docs/models/operations/listpendingprimarynetworkrewardsrequest.mdβ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import { ListPendingPrimaryNetworkRewardsRequest } from "@avalanche-sdk/chainkit/models/operations";
77

88
let value: ListPendingPrimaryNetworkRewardsRequest = {
9-
addresses: "avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg",
109
nodeIds:
1110
"NodeID-111111111111111111116DBWJs,NodeID-222222222222222222227DBWJs",
1211
sortOrder: "asc",
@@ -17,7 +16,7 @@ let value: ListPendingPrimaryNetworkRewardsRequest = {
1716

1817
| Field | Type | Required | Description | Example |
1918
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
20-
| `addresses` | *string* | :heavy_minus_sign: | 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". One of addresses or nodeIds is required. | avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg |
19+
| `addresses` | *string* | :heavy_minus_sign: | 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". One of addresses or nodeIds is required. | |
2120
| `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | |
2221
| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 |
2322
| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or testnet/fuji. | mainnet |

β€Žchainkit/examples/package-lock.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)