Tests a stream filter's JavaScript code against a specific stream item (transaction and optional vout) without permanently creating the filter.
Arguments
- conn
A connection object created by
mc_connect.- options
List of filter options (similar to
mc_create_stream_filter).- js_code
Character string. JavaScript code to test.
- tx
Optional character string. Transaction ID or hex representation of the stream item's transaction.
- vout
Optional integer. Output index if the stream item is in a transaction output.
See also
mc_create_stream_filter, mc_run_stream_filter
Other filters:
mc_approve_from(),
mc_create_stream_filter(),
mc_create_tx_filter(),
mc_create_upgrade(),
mc_get_filter_code(),
mc_list_stream_filters(),
mc_list_tx_filters(),
mc_list_upgrades(),
mc_run_stream_filter(),
mc_run_tx_filter(),
mc_test_tx_filter()