bsp-network
Version:
SDK for writing node.js applications to interact with bsp network. This package encapsulates the APIs to connect to a bsp network, submit transactions and perform queries against the ledger.
10 lines (9 loc) • 392 B
TypeScript
/**
* Copyright 2020 IBM All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
import { Block } from 'fabric-common';
import { BlockEvent, TransactionEvent } from '../../events';
export declare function getTransactionEnvelopeIndexes(blockData: Block): number[];
export declare function newFullTransactionEvent(blockEvent: BlockEvent, txEnvelopeIndex: number): TransactionEvent;