sendRawTransaction(tx, callback, failCallback) {
    return this.rpc.eth.sendRawTransaction(
      ethUtil.bufferToHex(tx.serialize()), (error, hash) => {
        if (error != null) {
          failCallback(error)
        } else {
          callback(hash)
        }
      })
  }
// tx should be ethereumjs-tx object
tx should be ethereumjs-tx object
tx should be ethereumjs - tx object
sendRawTransaction(tx, callback, failCallback) {
    return this.rpc.eth.sendRawTransaction(
      ethUtil.bufferToHex(tx.serialize()), (error, hash) => {
        if (error != null) {
          failCallback(error)
        } else {
          callback(hash)
        }
      })
  }
sendRawTransaction ( tx , callback , failCallback ) { return this . rpc . eth . sendRawTransaction ( ethUtil . bufferToHex ( tx . serialize ( ) ) , ( error , hash ) => { if ( error != null ) { failCallback ( error ) } else { callback ( hash ) } } ) }
tx should be ethereumjs-tx object
tx should be ethereumjs - tx object