@arkade-os/sdk Documentation - v0.5.0-rc.11
    Preparing search index...

    Function assetMintResolver

    • Built-in resolver: labels the genesis transaction of a minted asset — "Asset mint" on the issuer's sent tx, "Asset receive" when the fresh supply arrives in the genesis tx itself. An asset id encodes its genesis txid; reissues and transfers carry the asset under a different arkTxid, so they are left plain.

      metadata.amount is the decimal string of the asset's bigint amount, kept as a string so large supplies survive JSON round-trips without truncation. Recover the value with BigInt(metadata.amount as string) — using it directly in arithmetic coerces ("10" + 1 is "101", not 11) and loses precision past Number.MAX_SAFE_INTEGER.

      Returns ActivityResolver