Im afraid this is not possible, The closest you can get is calling a function that calls web3 and then using that response to return the value. It would help to know what the exact purpose of your request is to be able to further help.
Lucas Rodriguez Benitez
- 551
- 1
- 5
- 16