Skip to main content

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​

Address

CoinType()​

Returns the coin type part of a StructTag, panics if this is not a Coin type

TypeTag CoinType()

Returns​

TypeTag

CoinTypeOpt()​

Returns the coin type part of a StructTag, if this is a Coin type

TypeTag? CoinTypeOpt()

Returns​

TypeTag?

IsAlias()​

bool IsAlias()

Returns​

Boolean

IsAliasOutput()​

bool IsAliasOutput()

Returns​

Boolean

IsAsciiString()​

bool IsAsciiString()

Returns​

Boolean

IsAuthenticatorFunctionRefV1Key()​

bool IsAuthenticatorFunctionRefV1Key()

Returns​

Boolean

IsBag()​

bool IsBag()

Returns​

Boolean

IsBalance()​

bool IsBalance()

Returns​

Boolean

IsBasicOutput()​

bool IsBasicOutput()

Returns​

Boolean

IsClock()​

bool IsClock()

Returns​

Boolean

IsCoin()​

bool IsCoin()

Returns​

Boolean

IsCoinManager()​

bool IsCoinManager()

Returns​

Boolean

IsCoinMetadata()​

bool IsCoinMetadata()

Returns​

Boolean

IsConfig()​

bool IsConfig()

Returns​

Boolean

IsConfigSetting()​

bool IsConfigSetting()

Returns​

Boolean

IsDenyCapV1()​

bool IsDenyCapV1()

Returns​

Boolean

IsDenyListAddressKey()​

bool IsDenyListAddressKey()

Returns​

Boolean

IsDenyListConfigKey()​

bool IsDenyListConfigKey()

Returns​

Boolean

IsDenyListGlobalPauseKey()​

bool IsDenyListGlobalPauseKey()

Returns​

Boolean

IsDisplayCreated()​

bool IsDisplayCreated()

Returns​

Boolean

IsDisplayVersionUpdated()​

bool IsDisplayVersionUpdated()

Returns​

Boolean

IsDynamicField()​

bool IsDynamicField()

Returns​

Boolean

IsDynamicObjectFieldWrapper()​

bool IsDynamicObjectFieldWrapper()

Returns​

Boolean

IsGas()​

bool IsGas()

Returns​

Boolean

IsGasBalance()​

bool IsGasBalance()

Returns​

Boolean

IsGasCoin()​

bool IsGasCoin()

Returns​

Boolean

IsId()​

bool IsId()

Returns​

Boolean

IsIotaSystemAdminCap()​

bool IsIotaSystemAdminCap()

Returns​

Boolean

IsIotaSystemState()​

bool IsIotaSystemState()

Returns​

Boolean

IsIotaTreasuryCap()​

bool IsIotaTreasuryCap()

Returns​

Boolean

IsIrc27Metadata()​

bool IsIrc27Metadata()

Returns​

Boolean

IsKiosk()​

bool IsKiosk()

Returns​

Boolean

IsKioskOwnerCap()​

bool IsKioskOwnerCap()

Returns​

Boolean

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​

Boolean

IsNft()​

bool IsNft()

Returns​

Boolean

IsNftOutput()​

bool IsNftOutput()

Returns​

Boolean

IsObjectBag()​

bool IsObjectBag()

Returns​

Boolean

IsOption()​

bool IsOption()

Returns​

Boolean

IsPackageMetadataKey()​

bool IsPackageMetadataKey()

Returns​

Boolean

IsPublisher()​

bool IsPublisher()

Returns​

Boolean

IsRandom()​

bool IsRandom()

Returns​

Boolean

IsRegulatedCoinMetadata()​

bool IsRegulatedCoinMetadata()

Returns​

Boolean

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​

Boolean

IsStakedIota()​

bool IsStakedIota()

Returns​

Boolean

IsString()​

bool IsString()

Returns​

Boolean

IsSystemEpochInfoEvent()​

bool IsSystemEpochInfoEvent()

Returns​

Boolean

IsTimeLock()​

bool IsTimeLock()

Returns​

Boolean

IsTimelockedBalance()​

bool IsTimelockedBalance()

Returns​

Boolean

IsTimelockedGasBalance()​

bool IsTimelockedGasBalance()

Returns​

Boolean

IsTimelockedStakedIota()​

bool IsTimelockedStakedIota()

Returns​

Boolean

IsTransferReceiving()​

bool IsTransferReceiving()

Returns​

Boolean

IsTreasuryCap()​

bool IsTreasuryCap()

Returns​

Boolean

IsTxContext()​

bool IsTxContext()

Returns​

Boolean

IsUid()​

bool IsUid()

Returns​

Boolean

IsUpgradeCap()​

bool IsUpgradeCap()

Returns​

Boolean

IsUpgradeReceipt()​

bool IsUpgradeReceipt()

Returns​

Boolean

IsUpgradeTicket()​

bool IsUpgradeTicket()

Returns​

Boolean

IsUrl()​

bool IsUrl()

Returns​

Boolean

Module()​

Returns the module part of a StructTag

Identifier Module()

Returns​

Identifier

Name()​

Returns the name part of a StructTag

Identifier Name()

Returns​

Identifier

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​

String

TypeArgs()​

Returns the type params part of a StructTag

TypeTag[] TypeArgs()

Returns​

TypeTag[]