24 v, has 4 pins on each side, just two relay ‘legs’ with the contact points
I haven’t come across a relay with that specific 8-pin configuration (4 pins per end). It’s possible some of those pins are for mechanical mounting. Do you know what all the pins are for? Is this an SPST-NO relay? Could you please provide a photograph of the PCB’s underside and the pin spacing measurements?