@paradeum/burrow
Version:
TypeScript library that calls a Hyperledger Burrow server over GRPC.
21 lines • 691 B
JavaScript
;
exports.__esModule = true;
exports.Pipe = void 0;
var Pipe = /** @class */ (function () {
function Pipe(burrow, events) {
this.burrow = burrow;
this.events = events;
}
Pipe.prototype.transact = function (payload, callback) {
return this.burrow.callTxSync(payload, callback);
};
Pipe.prototype.call = function (payload, callback) {
this.burrow.callTxSim(payload, callback);
};
Pipe.prototype.eventSub = function (accountAddress, signature, callback) {
return this.events.subContractEvents(accountAddress, signature, callback);
};
return Pipe;
}());
exports.Pipe = Pipe;
//# sourceMappingURL=pipe.js.map