import { gateway } from '@hyperledger/fabric-protos'; import { CloseableAsyncIterable } from './client'; /** * Chaincode event emitted by a transaction function. */ export interface ChaincodeEvent { /** * Block number that included this chaincode event. */ blockNumber: bigint; /** * Transaction that emitted this chaincode event. */ transactionId: string; /** * Chaincode that emitted this event. */ chaincodeName: string; /** * Name of the emitted event. */ eventName: string; /** * Application defined payload data associated with this event. */ payload: Uint8Array; } export declare function newChaincodeEvents(responses: CloseableAsyncIterable): CloseableAsyncIterable; //# sourceMappingURL=chaincodeevent.d.ts.map