Skip to content

Commit d1918f6

Browse files
Add expand.network aggregated state price adapter (#3467)
1 parent 97d0517 commit d1918f6

25 files changed

+453
-0
lines changed

.changeset/breezy-hounds-clean.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@chainlink/expand-network-adapter': minor
3+
---
4+
5+
Add adapter for expand network.

.pnp.cjs

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

packages/sources/expand-network/CHANGELOG.md

Whitespace-only changes.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# EXPAND_NETWORK
2+
3+
![0.0.0](https://img.shields.io/github/package-json/v/smartcontractkit/external-adapters-js?filename=packages/sources/expand-network/package.json) ![v3](https://img.shields.io/badge/framework%20version-v3-blueviolet)
4+
5+
This document was generated automatically. Please see [README Generator](../../scripts#readme-generator) for more info.
6+
7+
## Environment Variables
8+
9+
| Required? | Name | Description | Type | Options | Default |
10+
| :-------: | :-------------: | :---------------------------------------------: | :----: | :-----: | :------------------------------: |
11+
| | WS_API_ENDPOINT | WS endpoint for expand.network price aggregator | string | | `wss://aggregate.expand.network` |
12+
|| API_KEY | An API key for expand.network price aggregator | string | | |
13+
14+
---
15+
16+
## Data Provider Rate Limits
17+
18+
There are no rate limits for this adapter.
19+
20+
---
21+
22+
## Input Parameters
23+
24+
| Required? | Name | Description | Type | Options | Default |
25+
| :-------: | :------: | :-----------------: | :----: | :------------------------------------------------: | :-----: |
26+
| | endpoint | The endpoint to use | string | [price](#price-endpoint), [state](#price-endpoint) | `price` |
27+
28+
## Price Endpoint
29+
30+
Supported names for this endpoint are: `price`, `state`.
31+
32+
### Input Params
33+
34+
| Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
35+
| :-------: | :---: | :------------: | :--------------------------------------------: | :----: | :-----: | :-----: | :--------: | :------------: |
36+
|| base | `coin`, `from` | The symbol of symbols of the currency to query | string | | | | |
37+
|| quote | `market`, `to` | The symbol of the currency to convert to | string | | | | |
38+
39+
### Example
40+
41+
Request:
42+
43+
```json
44+
{
45+
"data": {
46+
"endpoint": "price",
47+
"base": "wstETH",
48+
"quote": "ETH"
49+
}
50+
}
51+
```
52+
53+
---
54+
55+
MIT License

0 commit comments

Comments
 (0)