Skip to main content

GrpcRegulatedCoinMetadata

Namespace: IotaSdk

The regulated metadata of a coin type.

public record class GrpcRegulatedCoinMetadata : System.IDisposable, System.IEquatable`1[[IotaSdk.GrpcRegulatedCoinMetadata, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → GrpcRegulatedCoinMetadata
Implements IDisposable, IEquatable<GrpcRegulatedCoinMetadata>
Attributes NullableContextAttribute, NullableAttribute

Properties​

Id​

The id of the 0x2::coin::RegulatedCoinMetadata object.

public ObjectId? Id { get; init; }

Property Value​

ObjectId

CoinMetadataObject​

The id of the coin's CoinMetadata or CoinData object.

public ObjectId? CoinMetadataObject { get; init; }

Property Value​

ObjectId

DenyCapObject​

The id of the coin's DenyCap object.

public ObjectId? DenyCapObject { get; init; }

Property Value​

ObjectId

AllowGlobalPause​

Whether the coin can be globally paused.

public bool? AllowGlobalPause { get; init; }

Property Value​

Boolean?

Variant​

Variant of the regulated coin metadata.

public uint? Variant { get; init; }

Property Value​

UInt32?

CoinRegulatedState​

The coin's regulated state.

public GrpcCoinRegulatedState? CoinRegulatedState { get; init; }

Property Value​

GrpcCoinRegulatedState?

Constructors​

GrpcRegulatedCoinMetadata(ObjectId, ObjectId, ObjectId, Boolean?, UInt32?, GrpcCoinRegulatedState?)​

The regulated metadata of a coin type.

public GrpcRegulatedCoinMetadata(ObjectId? Id, ObjectId? CoinMetadataObject, ObjectId? DenyCapObject, bool? AllowGlobalPause, uint? Variant, GrpcCoinRegulatedState? CoinRegulatedState)

Parameters​

Id ObjectId?
The id of the 0x2::coin::RegulatedCoinMetadata object.

CoinMetadataObject ObjectId?
The id of the coin's CoinMetadata or CoinData object.

DenyCapObject ObjectId?
The id of the coin's DenyCap object.

AllowGlobalPause Boolean?
Whether the coin can be globally paused.

Variant UInt32?
Variant of the regulated coin metadata.

CoinRegulatedState GrpcCoinRegulatedState?
The coin's regulated state.

Methods​

Dispose()​

public void Dispose()