Blockchain Tron区块链:过滤器不处理get事件

Blockchain Tron区块链:过滤器不处理get事件,blockchain,smartcontracts,contract,tron,Blockchain,Smartcontracts,Contract,Tron,尝试对合同事件应用筛选器,但它总是返回所有记录,这似乎筛选器不起作用。 this.CONTRACT_ADDRESS, { eventName: "InvoiceLog", filters: { '_invoiceId': id.toString()}, } ).then((result: any) => { console.log("result

尝试对合同事件应用筛选器,但它总是返回所有记录,这似乎筛选器不起作用。

        this.CONTRACT_ADDRESS,
        {
          eventName: "InvoiceLog",
          filters: { '_invoiceId': id.toString()},
        }
      ).then((result: any) => {
        console.log("result of testing",result);
        // CommonModel.updateInvoicebal(result._invoiceId,result.currentBalance,result._toCurrentBalance);
        return result;
      });
也尝试了TronGrid,但得到了相同的结果

案例:存在多个事件日志,我希望通过应用筛选器获取单个记录。在这里,我们对“\u invoiceId”应用了索引。现在我试图从1000条记录中得到1条结果,但它总是发送多条记录给我

应根据应用的过滤器提供1条记录