Get Hub MAC address via Groovy?

I’m writing a Smart App that allows control of various devices via a cloud-based application. When the Smart App initializes I would like for it to call a remote API method to obtain a unique GUID (stored cloud-side), by provided its MAC address. How do it grab the Smart Things Hub’s MAC address with Groovy?

I don’t believe that the MAC is exposed however, if I understand what you are trying to do correctly, should it:

Brilliant thanks for the pointer… def hub = location.hubs[0], will work just fine!