@uni-sign/cosmos-query
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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

License

MIT License (MIT) & Apache License

Copyright (c) 2024 Cosmology (https://cosmology.zone/)

Readme

Keywords

Package Sidebar

Install

npm i @uni-sign/cosmos-query

Weekly Downloads

5

Version

0.0.5

License

MIT

Unpacked Size

5.87 MB

Total Files

259

Last publish

Collaborators

  • ljun
  • pyramation