Skip to contents

Retrieves a single stream item by its transaction ID.

Usage

mc_get_stream_item(conn, stream, txid, verbose = FALSE)

Arguments

conn

A connection object created by mc_connect.

stream

Character string. Stream name, reference, or txid.

txid

Character string. Transaction ID of the item.

verbose

Logical. If TRUE, includes additional details.

Value

A list with item details (key, data, publisher, etc.).

Examples

if (FALSE) { # \dontrun{
item <- mc_get_stream_item(conn, "mystream", "txid...")
print(item$data)
} # }