TransferPolicyCap
Namespace: IotaSdk
public class TransferPolicyCap : ITransferPolicyCap, System.IDisposable
Inheritance Object → TransferPolicyCap
Implements ITransferPolicyCap, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
TransferPolicyCap(UInt64)
public TransferPolicyCap(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
Id()
The object's ID.
public ObjectId Id()
Returns
PolicyId()
Object ID of the TransferPolicy this cap controls.
public ObjectId PolicyId()
Returns
TryFromBcs(Byte[])
Decode from BCS bytes, without validating the on-chain type tag.
public static TransferPolicyCap TryFromBcs(Byte[] bytes)
Parameters
bytes Byte[]
Returns
Exceptions
TryFromObjectWithType(Object, TypeTag)
Decode from an on-chain object, validating its Move type tag,
including that its type parameter equals type_param.
public static TransferPolicyCap TryFromObjectWithType(Object object, TypeTag typeParam)
Parameters
object Object
typeParam TypeTag