Query implementation generated by telescope for cosmos chains
npm install @uni-sign/cosmos-query
Make queries (taking querying validators
as example)
import { RpcQuery } from "@uni-sign/cosmos-query/rpc";
const rpcQuery = new RpcQuery(<rpc-endpoint>);
const { validators } = await rpcQuery.validators({
status: bondStatusToJSON(BondStatus.BOND_STATUS_BONDED),
});
-
query
-
rpc query client from
@uni-sign/cosmos-query/rpc
-
rpc query client from
MIT License (MIT) & Apache License
Copyright (c) 2024 Cosmology (https://cosmology.zone/)