import { fromUnit } from "https://deno.land/x/lucid@0.10.1/src/utils/utils.ts";
Splits unit into policy id, asset name (entire asset name), name (asset name without label) and label if applicable. name will be returned in Hex.
Parameters
unit: Unit