Skip to content

Multiple selection filter  #774

@sanjay-resp

Description

@sanjay-resp

In the config below I am trying to get transaction involving specific address and also with metadata as some value. I am not getting transactions that satisfy the metadata criteria.
`[source]
type = "N2N"
address = ["Tcp", "preview-node.world.dev.cardano.org:30002"]
magic = "preview"
min_depth = 2

[intersect]
type = "Tip"

[source.mapper]
include_transaction_details = true

[[filters]]
type = "Selection"

[filters.check]
predicate = "all_of"

[[filters.check.argument]]
predicate = "variant_in"
argument = ["Transaction","Metadata"]

[[filters.check.argument]]
predicate="any_of"

[[filters.check.argument.argument]]
predicate="any_of"

[[filters.check.argument.argument.argument]]
predicate="metadata_any_sub_label_equals"
argument="TEST"

[[filters.check.argument.argument]]
predicate="any_of"
[[filters.check.argument.argument.argument]]
predicate="address_equals"
argument="addr_test1qpvzm0et3d3r80t6ywqld455u2wkd77sm6l6uc87py00hvja9yvy9vp6as908h4x3fq9xjzrdx83gwnvfpgcj3846s2sdnu0lt"

[[filters.check.argument.argument.argument]]
predicate="address_equals"
argument="addr_test1qr9w94fjq5aj4gh2d6gah3n5zt4jvqn4wx462ssxh6hhpunzgn3d2td49pmmgx7edskxgsrrtwajejkceqd7mfm8xc8q45hqex"

[sink]
type = "Terminal"
throttle_min_span_millis = 500
wrap = true`

Also, if possible can you please answer the following questions. Thanks

  1. Is there a way to dynamically add filtering constraints without restating oura daemon ?
  2. Can I not get filter transaction based on the metadata of transaction?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions