IStructTag
Namespace: IotaSdk
Type information for a move struct
BCS
The BCS serialized form for this type is defined by the following ABNF:
struct-tag = address ; address of the package
identifier ; name of the module
identifier ; name of the type
(vector type-tag) ; type parameters
public interface IStructTag : System.IEquatable`1[[IotaSdk.StructTag, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Implements IEquatable<StructTag>
Attributes NullableContextAttribute
Methods
Address()
Returns the address part of a StructTag
Address Address()
Returns
CoinType()
Returns the coin type part of a StructTag, panics if this is not a
Coin type
TypeTag CoinType()
Returns
CoinTypeOpt()
Returns the coin type part of a StructTag, if this is a Coin type
TypeTag? CoinTypeOpt()
Returns
IsAlias()
bool IsAlias()
Returns
IsAliasOutput()
bool IsAliasOutput()
Returns
IsAsciiString()
bool IsAsciiString()
Returns
IsAuthenticatorFunctionRefV1Key()
bool IsAuthenticatorFunctionRefV1Key()
Returns
IsBag()
bool IsBag()
Returns
IsBalance()
bool IsBalance()
Returns
IsBasicOutput()
bool IsBasicOutput()
Returns
IsClock()
bool IsClock()
Returns
IsCoin()
bool IsCoin()
Returns
IsCoinManager()
bool IsCoinManager()
Returns
IsCoinMetadata()
bool IsCoinMetadata()
Returns
IsConfig()
bool IsConfig()
Returns
IsConfigSetting()
bool IsConfigSetting()
Returns
IsDenyCapV1()
bool IsDenyCapV1()
Returns
IsDenyListAddressKey()
bool IsDenyListAddressKey()
Returns
IsDenyListConfigKey()
bool IsDenyListConfigKey()
Returns
IsDenyListGlobalPauseKey()
bool IsDenyListGlobalPauseKey()
Returns
IsDisplayCreated()
bool IsDisplayCreated()
Returns
IsDisplayVersionUpdated()
bool IsDisplayVersionUpdated()
Returns
IsDynamicField()
bool IsDynamicField()
Returns
IsDynamicObjectFieldWrapper()
bool IsDynamicObjectFieldWrapper()
Returns
IsGas()
bool IsGas()
Returns
IsGasBalance()
bool IsGasBalance()
Returns
IsGasCoin()
bool IsGasCoin()
Returns
IsId()
bool IsId()
Returns
IsIotaSystemAdminCap()
bool IsIotaSystemAdminCap()
Returns
IsIotaSystemState()
bool IsIotaSystemState()
Returns
IsIotaTreasuryCap()
bool IsIotaTreasuryCap()
Returns
IsIrc27Metadata()
bool IsIrc27Metadata()
Returns
IsKiosk()
bool IsKiosk()
Returns
IsKioskOwnerCap()
bool IsKioskOwnerCap()
Returns
IsName()
Checks if this is an IOTA-Names Name type.
Note that this does not check the package address, so it will return
true for any struct with the correct module and type name with no
type params.
bool IsName()
Returns
IsNft()
bool IsNft()
Returns
IsNftOutput()
bool IsNftOutput()
Returns
IsObjectBag()
bool IsObjectBag()
Returns
IsOption()
bool IsOption()
Returns
IsPackageMetadataKey()
bool IsPackageMetadataKey()
Returns
IsPublisher()
bool IsPublisher()
Returns
IsRandom()
bool IsRandom()
Returns
IsRegulatedCoinMetadata()
bool IsRegulatedCoinMetadata()
Returns
IsSameTypeAs(StructTag)
Returns whether the type (excluding the type params) is the same as another struct tag.
bool IsSameTypeAs(StructTag other)
Parameters
other StructTag
Returns
IsStakedIota()
bool IsStakedIota()
Returns
IsString()
bool IsString()
Returns
IsSystemEpochInfoEvent()
bool IsSystemEpochInfoEvent()
Returns
IsTimeLock()
bool IsTimeLock()
Returns
IsTimelockedBalance()
bool IsTimelockedBalance()
Returns
IsTimelockedGasBalance()
bool IsTimelockedGasBalance()
Returns
IsTimelockedStakedIota()
bool IsTimelockedStakedIota()
Returns
IsTransferReceiving()
bool IsTransferReceiving()
Returns
IsTreasuryCap()
bool IsTreasuryCap()
Returns
IsTxContext()
bool IsTxContext()
Returns
IsUid()
bool IsUid()
Returns
IsUpgradeCap()
bool IsUpgradeCap()
Returns
IsUpgradeReceipt()
bool IsUpgradeReceipt()
Returns
IsUpgradeTicket()
bool IsUpgradeTicket()
Returns
IsUrl()
bool IsUrl()
Returns
Module()
Returns the module part of a StructTag
Identifier Module()
Returns
Name()
Returns the name part of a StructTag
Identifier Name()
Returns
ToCanonicalString(Boolean)
Returns the string representation of this struct tag using the
canonical display, with or without a 0x prefix.
string ToCanonicalString(bool withPrefix)
Parameters
withPrefix Boolean
Returns
TypeArgs()
Returns the type params part of a StructTag
TypeTag[] TypeArgs()