Skip to contents

Changes the status of an asset (e.g., open/close) and specifies the address that pays for and authorizes the update.

Usage

mc_update_from(conn, from_address, asset, params)

Arguments

conn

A connection object created by mc_connect.

from_address

Character string. Address that pays for the transaction.

asset

Character string. Asset name, reference, or issuance ID.

params

A list of parameters to update.

Value

A character string containing the transaction ID.

Examples

if (FALSE) { # \dontrun{
# Close the asset from a specific address
txid <- mc_update_from(conn, "1A...", "mycoin", list(open = FALSE))
} # }