It is not directly exposed as a property, but it is stored in the class as an attribute.
These can be read using the RecentChange::getAttribute()
method passing the field name of rc_ip
:
$ip_address = $this->recentchange->getAttribute( 'rc_ip' );
This still requires $wgPutIPinRC
to be set for the data to be recorded in the first place.