@qudusayo
Yeah, Fixed.
but, Return values from runContractFunction has no objects array with key: value?
Can you share me the details so I can check that out
You need to be sure it returns something.
Now, It returns array without key.
so, is there another way to get object array with key:value?
Array doesnโt use key-value pair it uses index rather. Object uses key-value pair.
So you can look at the contract and be sure about what it returns. If itโs to return an array, then you shouldnโt expect an object.
Okay, Thanks for your help.
A way around is to look at the array returned, they should all follow same structure, you can then modify it to your wished data type
1 Like