-
Required Data
blockchain*: Pick the blockchain to use. Options: [ADA]
amount*: How many copies of the same asset. 1 for NFTs and more than one for fungible tokens
image* : IPFS url is set here.
name*: Name of the asset. The asset name will be generated from this value if "asset_name" is null. You can also use asset_name to set a different asset name.
interface IAssetFile {
name: string;
src: string;
mediaType: string;
}
interface IAsset {
uuid?: string;
blockchain: string;
name: string;
asset_name: string;
image: string;
media_type: string;
fingerprint: string;
description: string;
files: Array<IAssetFile>;
attrs: object;
amount: number;
royalties?: string;
royalties_rate?: string;
transaction?: string | ITransaction;
}
Asset {
uuid string
title: Uuid
readOnly: true
minLength: 1
status string
title: Status
readOnly: true
minLength: 1
blockchain* string
title: Blockchain
minLength: 1
amount* integer
title: Amount
image* string
title: Image
maxLength: 64
minLength: 1
media_type string
title: Mediatype
maxLength: 64
minLength: 1
name* string
title: Name
maxLength: 64
minLength: 1
asset_name string
title: Asset name
maxLength: 32
minLength: 1
description string
title: Description
maxLength: 64
minLength: 1
size string
title: Size
readOnly: true
minLength: 1
collection string
title: Collection
readOnly: true
minLength: 1
files string(JSON list)
title: Files
attrs string(JSON object)
title: Attrs
is_deleted boolean
title: Is deleted
readOnly: true
created_on string
title: Created on
readOnly: true
minLength: 1
updated_on string
title: Updated on
readOnly: true
minLength: 1
is_auto boolean
title: Is auto
has_royalties boolean
title: Has royalties
readOnly: true
royalties string
title: Royalties
maxLength: 120
minLength: 1
royalties_rate string($decimal)
title: Royalties rate
royalties_minted boolean
title: Royalties minted
readOnly: true
royalties_minted_on string
title: Royalties minted on
readOnly: true
minLength: 1
royalties_burned boolean
title: Royalties burned
readOnly: true
royalties_burned_on string
title: Royalties burned on
readOnly: true
minLength: 1
transaction string
title: Transaction
readOnly: true
}