TESTfeature located in the Smart Trigger code editor can help you understand if the ParsiQL code is right and will run without error.
TESTyou need to change the fields so the sample transaction would match with the conditions you wrote in your Smart Trigger code. For example, check the following BSC Smart Trigger code:
"to"address must be
"value"must be more than or equal to
TESTthen switch to
CONSOLEtab. It should automatically go to testing part of the console. If everything was correct, There you’ll see JSON string that your Smart Trigger produced, containing everything that you chose to emit.
AdminChangedand saved this user stream as TEST. So automatically our Stream is called
ETH_TEST_AdminChanged_Eventsin code editor.
contractEventStreammust have the same name as your User Defined Stream
AdminChanged, we need to fill this field as
contractmust have an address of a contract that you are monitoring
AdminChangedevent has several components:
address'eth'type. If you need these components (i.e. you are emitting them in your code), you must add them in your transaction sample.