1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.createSubmittable = void 0;
|
4 | const createClass_js_1 = require("./createClass.js");
|
5 | function createSubmittable(apiType, api, decorateMethod, registry, blockHash) {
|
6 | const Submittable = (0, createClass_js_1.createClass)({ api, apiType, blockHash, decorateMethod });
|
7 | return (extrinsic) => new Submittable(registry || api.registry, extrinsic);
|
8 | }
|
9 | exports.createSubmittable = createSubmittable;
|