code: def ledger_effects(self, ledger_id, cursor=None, order='asc', limit=10):
          
          endpoint = '/ledgers/{ledger_id}/effects'.format(ledger_id=ledger_id)
          params = self.__query_params(cursor=cursor, order=order, limit=limit)
          return self.query(endpoint, params)
docs: This endpoint represents all effects that occurred in the given
          ledger.
  
          `GET /ledgers/{id}/effects{?cursor,limit,order}
          <https://www.stellar.org/developers/horizon/reference/endpoints/effects-for-ledger.html>`_
  
          :param int ledger_id: The id of the ledger to look up.
          :param int cursor: A paging token, specifying where to start returning records from.
          :param str order: The order in which to return rows, "asc" or "desc".
          :param int limit: Maximum number of records to return.
          :return: The effects for a single ledger.
          :rtype: dict