Table of Contents

Class ArkadeFunction

Namespace
NArk.Arkade.Program.Models
Assembly
NArk.Arkade.dll

One named spending path of an ArkadeProgram. Mirrors the ts-sdk's ArkadeFunction.

public sealed class ArkadeFunction
Inheritance
ArkadeFunction
Inherited Members

Properties

Inputs

The function's call arguments, in order. Absent for nullary paths (e.g. exit/cancel).

public IReadOnlyList<TypedInput>? Inputs { get; init; }

Property Value

IReadOnlyList<TypedInput>

ScriptSegment

The emulator-executed segment, present only for covenant paths.

public ArkadeScriptSegment? ScriptSegment { get; init; }

Property Value

ArkadeScriptSegment

Tapscript

The on-chain-enforced segment of this spending path.

public required TapscriptSegment Tapscript { get; init; }

Property Value

TapscriptSegment