code: async function unpackAndVerify (txHash, { networkId } = {}) {
    const { tx: unpackedTx, rlpEncoded, txType } = unpackTx(txHash)
  
    if (+unpackedTx.tag === OBJECT_TAG_SIGNED_TRANSACTION) {
      const { txType, tx } = unpackedTx.encodedTx
      const signatures = unpackedTx.signatures.map(raw => ({ raw, hash: encode(raw, 'sg') }))
      const rlpEncodedTx = unpackedTx.encodedTx.rlpEncoded
  
      return {
        validation: await this.verifyTx({ tx, signatures, rlpEncoded: rlpEncodedTx }, networkId),
        tx,
        signatures,
        txType
      }
    }
    return {
      validation: await this.verifyTx({ tx: unpackedTx, rlpEncoded }, networkId),
      tx: unpackedTx,
      txType
    }
  }
docs: TODO FINISH THIS async function customVerification(nodeApi, { tx, resolvedBaseData }) { const [schema, resolver] = CUSTOM_VERIFICATION_SCHEMA[+tx.tag]  const resolvedCustomData = await resolver(nodeApi, { ...tx, ...resolvedBaseData }) return verifySchema(schema, { ...tx, ...resolvedBaseData, ...resolvedCustomData}) } 
  Unpack and verify transaction (verify nonce, ttl, fee, signature, account balance)
  @function
  @alias module:@aeternity/aepp-sdk/es/tx/validator
  
  @param {String} txHash Base64Check transaction hash
  @param {Object} [options={}] Options
  @param {String} [options.networkId] networkId Use in signature verification
  @return {Promise<Object>} Object with verification errors and warnings