UNPKG

@signumjs/core

Version:

Principal package with functions and models for building Signum Network applications.

21 lines 704 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getAllContractsByCodeHash = void 0; /** * Use with {@link ApiComposer} and belongs to {@link ContractApi}. * * See details at {@link ContractApi.getAllContractIds} * * @category factories */ const getAllContractsByCodeHash = (service) => (args) => { const params = { machineCodeHashId: args.machineCodeHash, includeDetails: args.includeDetails || false, firstIndex: args.firstIndex, lastIndex: args.lastIndex, }; return service.query('getATs', params); }; exports.getAllContractsByCodeHash = getAllContractsByCodeHash; //# sourceMappingURL=getAllContractsByCodeHash.js.map