@uni-sign/cosmos-query
v0.0.5
Published
Query implementation generated by telescope for cosmos chains
Downloads
1
Readme
Cosmos Query
Query implementation generated by telescope for cosmos chains
Usage
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),
});
Implementations
- query
- rpc query client from
@uni-sign/cosmos-query/rpc
- rpc query client from
License
MIT License (MIT) & Apache License
Copyright (c) 2024 Cosmology (https://cosmology.zone/)