Changes the status of an asset (e.g., open/close) and specifies the address that pays for and authorizes the update.
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.
See also
mc_update for simpler usage.
Other assets:
mc_get_asset_info(),
mc_get_token_info(),
mc_issue(),
mc_issue_from(),
mc_issue_more(),
mc_issue_more_from(),
mc_issue_token(),
mc_issue_token_from(),
mc_list_asset_issues(),
mc_list_assets(),
mc_update()
Examples
if (FALSE) { # \dontrun{
# Close the asset from a specific address
txid <- mc_update_from(conn, "1A...", "mycoin", list(open = FALSE))
} # }