JSFiddle - React, Tailwind, and code Playground

by shrpne

HTML

<textarea name="" id="" cols="30" rows="10"></textarea>

JavaScript

document.querySelector('textarea').value = `responseTextCache: '{\n  "jsonrpc": "2.0",\n  "id": "",\n  "error": {\n    "code": 412,\n    "message": "Check tx error",\n    "tx_result": {\n      "code": 113,\n      "log": "Tx from Mx7633980c000139dd3bd24a3f54e06474fa941e16 already exists in mempool"\n    }\n  }\n}',
            `