code: async function verifyTx ({ tx, signatures, rlpEncoded }, networkId) {
    networkId = networkId || this.nodeNetworkId || 'ae_mainnet'
    // Fetch data for verification
    const ownerPublicKey = getOwnerPublicKey(tx)
    const gas = tx.hasOwnProperty('gas') ? +tx.gas : 0
    const resolvedData = {
      minFee: calculateFee(0, OBJECT_ID_TX_TYPE[+tx.tag], { gas, params: tx, showWarning: false }),
      ...(await resolveDataForBase(this, { ownerPublicKey })),
      ...tx
    }
    const signatureVerification = signatures && signatures.length
      ? verifySchema(SIGNATURE_VERIFICATION_SCHEMA, {
        rlpEncoded,
        signature: signatures[0].raw,
        ownerPublicKey,
        networkId
      })
      : []
    const baseVerification = verifySchema(BASE_VERIFICATION_SCHEMA, resolvedData)
    // const customVerification = customVerification(this.api, { tx, resolvedBaseData })
  
    return [
      ...baseVerification,
      ...signatureVerification
      // ...customVerification.error
    ]
  }
docs: Verify transaction (verify nonce, ttl, fee, signature, account balance)
  @function
  @alias module:@aeternity/aepp-sdk/es/tx/validator
  
  @param {Object} [data={}] data TX data object
  @param {String} [data.tx] tx Transaction hash
  @param {Array} [data.signatures] signatures Transaction signature's
  @param {Array} [data.rlpEncoded] rlpEncoded RLP encoded transaction
  @param {String} networkId networkId Use in signature verification
  @return {Promise<Array>} Object with verification errors and warnings