Problems with 'Get Multiple ERC20 token prices'

Hey there, we are having troubles getting the API endpoint

to work. Postman is giving us the error ‘tokens must contain not more than 25 elements, tokens must contain at least 1 elements’, React gives us ‘no valid method’, no matter how we try to use the parameters.

This is the body I use in Postman:

tokens: [{“token_address”: “0xae7ab96520de3a18e5e111b5eaab095312d7fe84”,“to_block”: 16314545}]}

Can anyone help out?

Thanks in advance,


Hi Westcoaster, can you please share your full code when calling this endpoint?

Hi, we were able to solve the problem. Thanks.