UNPKG

@tronlink/core

Version:

The library serves as a core module within TronLink Extension, which provides low-level wallet functionality for both Tron and Ethereum networks, primary features includes account generation and transaction signing

10 lines 403 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.checkSignParams = checkSignParams; const error_1 = require("../base_wallet/error"); function checkSignParams(params) { if (!params || !params.privateKey || !params.data || Object.keys(params.data).length <= 0) { throw new error_1.InvalidParameterError(); } } //# sourceMappingURL=checkSignParams.js.map