Skip to content

Commit ebee3a7

Browse files
feat(api): api update
1 parent 219ae5e commit ebee3a7

3 files changed

Lines changed: 17 additions & 5 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 50
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cryptech%2Fneptune-api-v2-3e68b318eeaab1241ee6ed696300829c9eae836a937905e7389788413f9daa8a.yml
3-
openapi_spec_hash: b76569f104863b1e7b3c5271f53df840
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cryptech%2Fneptune-api-v2-cd88dd75403e620991c3659cd7e9278f9c8c439f3857c25db8634dfc7e77a9b9.yml
3+
openapi_spec_hash: 35a0cbd0262458d633e38fc5ba442118
44
config_hash: 84ae3ae9153257feb1da17e9d67435dc

src/neptune_api_v2/resources/swap/routes.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,11 @@ def list_by_denom(
100100
source_denom: Source asset denom to fetch target routes for
101101
102102
**Note**: This is a normal injective asset denom, and not an `AssetSpec` ID.
103-
E.g. While `inj` is a valid `source_denom, `native;inj` is not valid.
103+
104+
E.g.
105+
106+
- `inj` is a **valid** value for `source_denom`.
107+
- `native;inj` is **not a valid value** for `source_denom`.
104108
105109
extra_headers: Send extra headers
106110
@@ -209,7 +213,11 @@ async def list_by_denom(
209213
source_denom: Source asset denom to fetch target routes for
210214
211215
**Note**: This is a normal injective asset denom, and not an `AssetSpec` ID.
212-
E.g. While `inj` is a valid `source_denom, `native;inj` is not valid.
216+
217+
E.g.
218+
219+
- `inj` is a **valid** value for `source_denom`.
220+
- `native;inj` is **not a valid value** for `source_denom`.
213221
214222
extra_headers: Send extra headers
215223

src/neptune_api_v2/types/swap/route_list_by_denom_params.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,9 @@ class RouteListByDenomParams(TypedDict, total=False):
1515
"""Source asset denom to fetch target routes for
1616
1717
**Note**: This is a normal injective asset denom, and not an `AssetSpec` ID.
18-
E.g. While `inj` is a valid `source_denom, `native;inj` is not valid.
18+
19+
E.g.
20+
21+
- `inj` is a **valid** value for `source_denom`.
22+
- `native;inj` is **not a valid value** for `source_denom`.
1923
"""

0 commit comments

Comments
 (0)