Need help working with multiline input

Hello there

I want to use a list of wallet addresses and values from a multiline input and use it in a plugin.

the multiline input that people will fill out is in this format:

i need to get the whole list and set two states as follows:
state Wallets:

state Values: [0.001,1,3.45]

how can i do that?

there is a plugin called “Wrap List to Array”, but i can’t get it to do what i need…

can anyone help?

thanks in advance