Hello, I have this complex array, all I want to return from it is the “nonce” but only if “trait_type” equals “Brut_Head“. I spent on this hours and still can’t get it right. Can anyone help?
1 Like
Hello @Przemek , you should be able to map the data directly to the next module, but if you can’t map the Attribute array to an iterator then an array to get the data as output
Hello @Przemek
You can use map function on the attributes array. If you use Map function in array filter after iterating all collections in data array like shown below
You will only get the collection passed from filter in which attributes array contains “Brut_Head” for “trait_type” and you can directly map nonce in the next module.
I hope this help!
Best,
@Prem_Patel
1 Like
It worked! Thank you Prem! I’m using Make for couple years and I did not know how to filter arrays
every day is a school day!
1 Like
Glad that it helped! @Przemek
Best,
@Prem_Patel
1 Like


