hyperweb-io / hyperweb-io/telescope
Query by block height
Open
- 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.