Skip to contents

Returns items that match a combination of key and publisher filters.

Usage

mc_list_stream_query_items(conn, stream, query, verbose = FALSE)

Arguments

conn

A connection object created by mc_connect.

stream

Character string. Stream name, reference, or txid.

query

A list with optional fields:

  • keys – vector of keys.

  • publishers – vector of publisher addresses.

verbose

Logical. If TRUE, returns detailed information.

Value

A data frame (via rpc_res_to_df) with matching items.

Examples

if (FALSE) { # \dontrun{
query <- list(keys = c("key1", "key2"), publishers = c("1A..."))
items <- mc_list_stream_query_items(conn, "mystream", query)
} # }