Class TypedInput
A function input declaration: a name, plus an optional declared ArkadeProgramInputType.
Mirrors the ts-sdk's InputRef (string | { name, type }) — a bare name
(Type is null) falls back to the loose ArkadeArgValue at
call sites; a typed descriptor gives the call argument a precise type.
public sealed class TypedInput
- Inheritance
-
TypedInput
- Inherited Members
Properties
Name
The input's name — how it is referenced from witness lists.
public required string Name { get; init; }
Property Value
Type
The input's declared type, or null for a bare (untyped) input.
public InputType? Type { get; init; }
Property Value
Operators
implicit operator TypedInput(string)
Implicitly wrap a bare (untyped) input/param name — mirrors the ts-sdk's bare-string
InputRef. Lets callers write Params = ["server", "hash"] alongside typed
descriptors (new FunctionInput { Name = "hash", Type = InputType.Hash }).
public static implicit operator TypedInput(string name)
Parameters
namestring