UNPKG

@airgap/coinlib-core

Version:

The @airgap/coinlib-core is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.

16 lines 498 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RPCBody = void 0; 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