Class: NftOutput
NFT output.
Hierarchy
StateMetadataOutput
↳
NftOutput
Table of contents
Methods
- getType
- getAmount
- getUnlockConditions
- getNativeTokens
- getFeatures
- getImmutableFeatures
- getStateMetadata
- getNnftId
Methods
getType
▸ getType(): OutputType
The type of output.
Returns
Inherited from
StateMetadataOutput.getType
getAmount
▸ getAmount(): string
The amount of the output.
Returns
string
Inherited from
StateMetadataOutput.getAmount
getUnlockConditions
▸ getUnlockConditions(): UnlockCondition
[]
The unlock conditions for the output.
Returns
UnlockCondition
[]
Inherited from
StateMetadataOutput.getUnlockConditions
getNativeTokens
▸ getNativeTokens(): undefined
| INativeToken
[]
The native tokens held by the output.
Returns
undefined
| INativeToken
[]
Inherited from
StateMetadataOutput.getNativeTokens
getFeatures
▸ getFeatures(): undefined
| Feature
[]
Features contained by the output.
Returns
undefined
| Feature
[]
Inherited from
StateMetadataOutput.getFeatures
getImmutableFeatures
▸ getImmutableFeatures(): undefined
| Feature
[]
Immutable features contained by the output.
Returns
undefined
| Feature
[]
Inherited from
StateMetadataOutput.getImmutableFeatures
getStateMetadata
▸ getStateMetadata(): undefined
| string
Metadata that can only be changed by the state controller.
Returns
undefined
| string
Inherited from
StateMetadataOutput.getStateMetadata
getNnftId
▸ getNnftId(): string
Unique identifier of the NFT, which is the BLAKE2b-160 hash of the Output ID that created it. Unless its newly minted, then the id is zeroed.
Returns
string