Issues tokens (non‑fungible) and specifies the sending address.
Usage
mc_issue_token_from(
conn,
from_address,
to_address,
asset,
token,
quantity,
native_amount = NULL,
token_details = NULL
)Arguments
- conn
A connection object created by
mc_connect.- from_address
Character string. Address that pays for and issues the token.
- to_address
Character string. Recipient address.
- asset
Character string. Parent asset name, reference, or issuance ID.
- token
Character string. Token name (must be unique within the asset).
- quantity
Numeric. Number of token units to issue (usually
1).- native_amount
Numeric (optional). Amount of native currency to send.
- token_details
List (optional). Custom details for the token (e.g.,
list(description = "My NFT")).
See also
mc_issue_token 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_list_asset_issues(),
mc_list_assets(),
mc_update(),
mc_update_from()
Examples
if (FALSE) { # \dontrun{
# Issue token from a specific address
txid <- mc_issue_token_from(conn, "1A...", "1B...", "art", "painting2",
quantity = 1, token_details = list(artist = "Picasso"))
} # }