The 36-27 vote came in the early morning hours as the Senate wrapped up its legislative session.

The bill was previously approved by the New York State Assembly and now goes to Gov.

Kathy Hochul for her potential signature.

Bitcoin and other cryptocurrencies use mining to generate new coins and verify transactions.

This involves vast, decentralized networks of computers around the world and huge amounts of electricity.

The networks verify and secure blockchains the virtual ledgers that document cryptocurrency transactions.

In return for contributing their processing power, computers on the web link get rewarded with new coins.

Read More: