Skip to content

Commit 5ad58f4

Browse files
committed
wip
1 parent 75ab15d commit 5ad58f4

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

.chain-interactions/query-data/query-rest.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,23 @@ For production applications or high-frequency queries, run your own Sidecar inst
2323

2424
=== "Using npm"
2525

26-
```bash
27-
# Install globally
28-
npm install -g @substrate/api-sidecar
26+
```bash
27+
# Install globally
28+
npm install -g @substrate/api-sidecar
2929

30-
# Run with default settings (connects to ws://127.0.0.1:9944)
31-
substrate-api-sidecar
32-
33-
# Run with custom node URL
34-
SAS_SUBSTRATE_URL=wss://polkadot-asset-hub-rpc.polkadot.io substrate-api-sidecar
35-
```
30+
# Run with default settings (connects to ws://127.0.0.1:9944)
31+
substrate-api-sidecar
3632

33+
# Run with custom node URL
34+
SAS_SUBSTRATE_URL=wss://polkadot-asset-hub-rpc.polkadot.io substrate-api-sidecar
35+
```
3736
=== "Using Docker"
3837

39-
```bash
40-
docker run --rm -p 8080:8080 \
41-
-e SAS_SUBSTRATE_URL=wss://polkadot-asset-hub-rpc.polkadot.io \
42-
parity/substrate-api-sidecar
43-
```
38+
```bash
39+
docker run --rm -p 8080:8080 \
40+
-e SAS_SUBSTRATE_URL=wss://polkadot-asset-hub-rpc.polkadot.io \
41+
parity/substrate-api-sidecar
42+
```
4443

4544
Once running, access your local instance at `http://localhost:8080`.
4645

0 commit comments

Comments
 (0)