Parameters when i use update stream api:
curl --request POST \
--url 'https://api.moralis-streams.com/streams/evm/test_stream_id' \
--header 'accept: application/json' \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'content-type: application/json' \
--data '
{
"topic0": [
"Transfer(address,address,uint256)"
],
"advancedOptions": {
"topic0": "Transfer(address,address,uint256)",
"filter": {
"or": [
{
"and": [
{
"eq": [
"from",
"0xba8e6302eb699282233b305a7cee5b1a343a85cd"
]
},
{
"gte": [
"value",
"100000"
]
}
]
}
]
}
}
}
'
And i get some error:
{
"message": "Invalid filter check: https://v1docs.moralis.io/moralis-dapp/automatic-transaction-sync/smart-contract-events#event-filters"
}
I can set the filter through dashbord, and it has passed the test. This is the abi in my stream:
I donโt know whatโs wrong with the format of the filter.
Thanks for your help!