Core
Other
Extension
Typed Multi Asset
Typed Multi Asset

IRMRKTypedMultiAsset

RMRK team

IRMRKTypedMultiAsset

Interface smart contract of the RMRK typed multi asset module.

Methods

getAssetType

function getAssetType(uint64 assetId) external view returns (string)

Used to get the type of the asset.

Parameters

NameTypeDescription
assetIduint64ID of the asset to check

Returns

NameTypeDescription
_0stringThe type of the asset

supportsInterface

function supportsInterface(bytes4 interfaceId) external view returns (bool)

Returns true if this contract implements the interface defined by interfaceId. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP (opens in a new tab) section] to learn more about how these ids are created. This function call must use less than 30 000 gas.

Parameters

NameTypeDescription
interfaceIdbytes4undefined

Returns

NameTypeDescription
_0boolundefined