code: function getAccountAssets (queryOptions, { accountId }) {
    return sendQuery(
      queryOptions,
      queryHelper.addQuery(
        queryHelper.emptyQuery(),
        'getAccountAssets',
        {
          accountId
        }
      ),
      (resolve, reject, responseName, response) => {
        if (responseName !== 'ACCOUNT_ASSETS_RESPONSE') {
          const error = JSON.stringify(response.toObject().errorResponse)
          return reject(new Error(`Query response error: expected=ACCOUNT_ASSETS_RESPONSE, actual=${responseName}\nReason: ${error}`))
        }
  
        const assets = response.getAccountAssetsResponse().toObject().accountAssetsList
        resolve(assets)
      }
    )
  }
docs: getAccountAssets
  @param {Object} queryOptions
  @param {Object} args
  @property {String} args.accountId
  @link https://iroha.readthedocs.io/en/latest/api/queries.html#get-account-assets