Accessing public Structure from Web3.JS

MilkyWayzMilkyWayz Member Posts: 15

I have a struct defined as follow:
   struct team {
        string name;
        uint lastUpdate;
        address[] members;

    team public red;
I call my public variable though I am able to get it under a string format (with toString() or JSON.stringify), but not under a proper object or array.

Any idea on how could I do ?

Thank you
Sign In or Register to comment.