pub trait Queryable<C: RpcApi>: Sized {
    type Id;

    fn query(rpc: &C, id: &Self::Id) -> Result<Self>;
}
Expand description

A type that can be queried from Bitcoin Core.

Required Associated Types

Type of the ID used to query the item.

Required Methods

Query the item using rpc and convert to Self.

Implementations on Foreign Types

Implementors