Class: FoundryOutput
A Foundry output.
Hierarchy
ImmutableFeaturesOutput
↳
FoundryOutput
Table of contents
Constructors
Properties
Methods
- getType
- getAmount
- parse
- getUnlockConditions
- getNativeTokens
- getFeatures
- getImmutableFeatures
- getSerialNumber
- getTokenScheme
Constructors
constructor
• new FoundryOutput(amount
, serialNumber
, unlockConditions
, tokenScheme
)
Parameters
Name | Type | Description |
---|---|---|
amount | bigint | The amount of the output. |
serialNumber | number | The serial number of the Foundry with respect to the controlling alias. |
unlockConditions | UnlockCondition [] | The unlock conditions of the output. |
tokenScheme | TokenScheme | The token scheme for the Foundry. |
Overrides
ImmutableFeaturesOutput.constructor
Properties
amount
• Readonly
amount: string
Inherited from
ImmutableFeaturesOutput.amount
type
• Readonly
type: OutputType
Inherited from
ImmutableFeaturesOutput.type
unlockConditions
• Readonly
unlockConditions: UnlockCondition
[]
Inherited from
ImmutableFeaturesOutput.unlockConditions
nativeTokens
• Optional
Readonly
nativeTokens: INativeToken
[]
Inherited from
ImmutableFeaturesOutput.nativeTokens
features
• Optional
Readonly
features: Feature
[]
Inherited from
ImmutableFeaturesOutput.features
immutableFeatures
• Optional
Readonly
immutableFeatures: Feature
[]
Inherited from
ImmutableFeaturesOutput.immutableFeatures
serialNumber
• Readonly
serialNumber: number
The serial number of the Foundry with respect to the controlling alias.
tokenScheme
• Readonly
tokenScheme: TokenScheme
The token scheme for the Foundry.
Methods
getType
▸ getType(): OutputType
Get the type of output.
Returns
Inherited from
ImmutableFeaturesOutput.getType
getAmount
▸ getAmount(): bigint
Get the amount of the output.
Returns
bigint
Inherited from
ImmutableFeaturesOutput.getAmount
parse
▸ Static
parse(data
): Output
Parse an output from a plain JS JSON object.
Parameters
Name | Type |
---|---|
data | any |
Returns
Inherited from
ImmutableFeaturesOutput.parse
getUnlockConditions
▸ getUnlockConditions(): UnlockCondition
[]
The unlock conditions for the output.
Returns
Inherited from
ImmutableFeaturesOutput.getUnlockConditions
getNativeTokens
▸ getNativeTokens(): undefined
| INativeToken
[]
The native tokens held by the output.
Returns
undefined
| INativeToken
[]
Inherited from
ImmutableFeaturesOutput.getNativeTokens
getFeatures
▸ getFeatures(): undefined
| Feature
[]
Get the features contained by the output.
Returns
undefined
| Feature
[]
Inherited from
ImmutableFeaturesOutput.getFeatures
getImmutableFeatures
▸ getImmutableFeatures(): undefined
| Feature
[]
Immutable features contained by the output.
Returns
undefined
| Feature
[]
Inherited from
ImmutableFeaturesOutput.getImmutableFeatures
getSerialNumber
▸ getSerialNumber(): number
Get the serial number of the Foundry.
Returns
number
getTokenScheme
▸ getTokenScheme(): TokenScheme
Get the token scheme for the Foundry.