airgap-coin-lib
Version:
The airgap-coin-lib is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.
15 lines • 472 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var RPCBody = /** @class */ (function () {
function RPCBody(method, params, id, jsonrpc) {
if (id === void 0) { id = 1; }
if (jsonrpc === void 0) { jsonrpc = '2.0'; }
this.method = method;
this.params = params;
this.id = id;
this.jsonrpc = jsonrpc;
}
return RPCBody;
}());
exports.RPCBody = RPCBody;
//# sourceMappingURL=RPCBody.js.map