ASSET_TYPE_CODES_WRAPPER

An object mapping asset types to their respective codes (registered within the Wrapper).

ERC20

Code for ERC20 assets.

ERC721

Code for ERC721 assets.

ERC1155

Code for ERC1155 assets.

Example

import { ASSET_TYPE_CODES_WRAPPER } from "@nexeraprotocol/cts-tokenizer-sdk";

// Example: Get the asset type code for ERC20
const erc20AssetTypeCode = ASSET_TYPE_CODES_WRAPPER.ERC20;

console.log("Asset type code for ERC20:", erc20AssetTypeCode);