UNPKG

leap-node

Version:

[![codecov](https://codecov.io/gh/leapdao/leap-node/branch/master/graph/badge.svg)](https://codecov.io/gh/leapdao/leap-node) [![Docker Repository on Quay](https://quay.io/repository/leapdao/leap-node/status "Docker Repository on Quay")](https://quay.io/re

9 lines (7 loc) 234 B
const { Tx } = require('leap-core'); const sendTx = require('../../txHelpers/sendTx'); module.exports = async (tendermintPort, rawTx) => { const tx = Tx.fromRaw(rawTx); await sendTx(tendermintPort, rawTx); return tx.hash(); };