src/util/request.js
/**
   * for broadcasting transaction
   * @param {} params
   */
for broadcasting transaction
@param {} params
for broadcasting transaction @param {} params
transaction_pushtx (params, type) {
    if (type === 'assemble') {
      let bchTx = { tx: params.signedTx }
      return Vue.axios.post('/bch/broadcast', qs.stringify(bchTx))
    }
    return Vue.axios.post('/transaction/push', qs.stringify(params))
  }
transaction_pushtx ( params , type ) { if ( type === 'assemble' ) { let bchTx = { tx : params . signedTx } return Vue . axios . post ( '/bch/broadcast' , qs . stringify ( bchTx ) ) } return Vue . axios . post ( '/transaction/push' , qs . stringify ( params ) ) }
for broadcasting transaction
 @param {} params
for broadcasting transaction @param {} params