Methods for querying transaction information in blockchain networks