UNPKG

@steemit/steem-js

Version:

JavaScript library for the Steem blockchain

22 lines (17 loc) 477 B
"use strict"; /** Console print any transaction object with zero default values. */ module.exports = function template(op) { var object = op.toObject(void 0, { use_default: true, annotate: true }); // visual (with descriptions) console.error(JSON.stringify(object, null, 4)); // usable in a copy-paste object = op.toObject(void 0, { use_default: true, annotate: false }); // copy-paste one-lineer console.error(JSON.stringify(object)); };