Crates.io | ibc-query |
lib.rs | ibc-query |
version | 0.56.0 |
source | src |
created_at | 2023-10-12 15:46:38.042 |
updated_at | 2024-11-15 14:49:02.471289 |
description | Maintained by `ibc-rs`, contains essential IBC query types, utility functions and gRPC service implementations for the IBC core. |
homepage | |
repository | https://github.com/cosmos/ibc-rs |
max_upload_size | |
id | 1001410 |
size | 157,615 |
This crate offers a comprehensive set of utility types, traits, and functions
designed for integrating either a gRPC query server or implementing RPC methods
in hosts. It specifically facilitates querying the state of the IBC core client,
connection, and channel layers of a chain enabled with ibc-rs
.
QueryContext
and ProvableContext
traits that extend
the capabilities of an implemented IBC module, enabling the retrieval of state
from the chain.serde
and schema
for all the domain types enabling easy
(de)serialization. This feature is particularly beneficial for JSON RPC
implementations.At present, the Protobuf representation of request types does not include
support for querying at a specific height. Consequently, the current state of
ibc-query
allows conversion from protos as a compatible direction but does
not support conversion into protos due to the absence of the query_height
fields.
Currently ibc-query
does not support pagination. If pagination is a
requirement for your project, please open an issue and provide details about
your usage.