Skip to contents

Publishes multiple items in one transaction from a specified address.

Usage

mc_publish_multi_from(conn, from_address, stream, items, options = NULL)

Arguments

conn

A connection object created by mc_connect.

from_address

Character string. Address that will publish the items.

stream

Character string. Default stream.

items

List of item objects.

options

Optional default "offchain" string.

Value

A character string containing the transaction ID.

Examples

if (FALSE) { # \dontrun{
items <- list(list(key = "k1", data = "value1"))
txid <- mc_publish_multi_from(conn, "1A...", "mystream", items)
} # }