Input
Namespace: IotaSdk
An input to a user transaction
BCS
The BCS serialized form for this type is defined by the following ABNF:
input = call-arg
call-arg = %d00 bytes ; Pure
=/ %d01 object-arg ; Object
object-arg = %d00 object-reference ; ImmutableOrOwned
=/ %d01 object-id u64 bool ; Shared
=/ %d02 object-reference ; Receiving
public class Input : IInput, System.IEquatable`1[[IotaSdk.Input, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable
Inheritance Object → Input
Implements IInput, IEquatable<Input>, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
Input(UInt64)
public Input(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
Equals(Input)
public bool Equals(Input? other)
Parameters
other Input?
Returns
Equals(Object)
public override bool Equals(object? obj)
Parameters
obj Object?
Returns
NewImmutableOrOwned(ObjectReference)
A move object that is either immutable or address owned
public static Input NewImmutableOrOwned(ObjectReference objectRef)
Parameters
objectRef ObjectReference
Returns
NewPure(Byte[])
For normal operations this is required to be a move primitive type and not contain structs or objects.
public static Input NewPure(Byte[] value)
Parameters
value Byte[]
Returns
NewReceiving(ObjectReference)
public static Input NewReceiving(ObjectReference objectRef)
Parameters
objectRef ObjectReference
Returns
NewShared(ObjectId, Version, Boolean)
A move object whose owner is "Shared"
public static Input NewShared(ObjectId objectId, Version initialSharedVersion, bool mutable)
Parameters
objectId ObjectId
initialSharedVersion Version
mutable Boolean