UNPKG

fabric-network

Version:

SDK for writing node.js applications to interact with Hyperledger Fabric. This package encapsulates the APIs to connect to a Fabric network, submit transactions and perform queries against the ledger.

11 lines (10 loc) 360 B
/// <reference types="node" /> import { QueryHandler } from './queryhandler'; import { Query } from './query'; import { Endorser } from 'fabric-common'; export declare class SingleQueryHandler implements QueryHandler { private readonly peers; private currentPeerIndex; constructor(peers: Endorser[]); evaluate(query: Query): Promise<Buffer>; }