Hey there!
How do I access this input parameter via a selector?
$input[0]
yields as invalid usage.
you are trying to call a read only function based on the input that you got in a transaction?
are there events in that transaction that have that input that you are looking for?
Yes – to pass it along with the webhook sent by Moralis API
Yes, though if I wanted to retrieve these, I would have to enable Moralis’ Logs sync, which would bill me for yet another record, whereas I already have the data in the Txs data so doing that would be superfluous
using web3api to make that readonly call is a possible option for you?
you could use runContractFunction
we don’t have now support in streams api to parse the values from the input buffer
Im thinking about this. Wouldn’t this create too much overhead when being called from Parse’s afterSave
~5 times a second, continuously?
Okay, so this is a feature request, then!
You expect to call it five times a second?
It should still work.
You can also do your own custom code that listens for webhook requests from streams api and then processes those webhook requests.