hyperweb-io / hyperweb-io/telescope

Query by block height

Open
#356 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
154
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Trying to query by block height by doing the following:
```
const client = await osmosis.ClientFactory.createRPCQueryClient({
rpcEndpoint: {
url: "https://rpc-osmosis-ia.cosmosia.notional.ventures:443",
headers: { x_cosmos_block_height: "9179139" },
},
});

const pool = await client.osmosis.gamm.v1beta1.pool({
poolId: new Long(1),
})
```
but doesn't work. Can be done from CLI with
```
osmosisd q gamm pool 1 --height 9179139 --node https://rpc-osmosis-ia.cosmosia.notional.ventures:443
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.