code: def _detail_participant(
              self,
              channel_identifier: ChannelID,
              participant: Address,
              partner: Address,
              block_identifier: BlockSpecification,
      ) -> ParticipantDetails:
          
  
          data = self._call_and_check_result(
              block_identifier,
              'getChannelParticipantInfo',
              channel_identifier=channel_identifier,
              participant=to_checksum_address(participant),
              partner=to_checksum_address(partner),
          )
          return ParticipantDetails(
              address=participant,
              deposit=data[ParticipantInfoIndex.DEPOSIT],
              withdrawn=data[ParticipantInfoIndex.WITHDRAWN],
              is_closer=data[ParticipantInfoIndex.IS_CLOSER],
              balance_hash=data[ParticipantInfoIndex.BALANCE_HASH],
              nonce=data[ParticipantInfoIndex.NONCE],
              locksroot=data[ParticipantInfoIndex.LOCKSROOT],
              locked_amount=data[ParticipantInfoIndex.LOCKED_AMOUNT],
          )
docs: Returns a dictionary with the channel participant information.