Skip to contents

Retrieves details about a token (non‑fungible) within a parent asset. This function requires MultiChain version 2.2.1 or later.

Usage

mc_get_token_info(conn, asset, token, verbose = FALSE)

Arguments

conn

A connection object created by mc_connect.

asset

Character string. Parent asset name, reference, or issuance transaction ID.

token

Character string. Token name or index (e.g., "token0").

verbose

Logical. If TRUE, returns detailed information, including token details. Default is FALSE.

Value

A list with token information, such as name, quantity, and (if verbose) custom fields.

Examples

if (FALSE) { # \dontrun{
# Get basic info about token "nft1" in asset "art"
token_info <- mc_get_token_info(conn, "art", "nft1")
} # }