Skip to main content

EdgeActionDefinition

@totemsdk/edge


@totemsdk/edge / EdgeActionDefinition

Interface: EdgeActionDefinition

Properties​

capability​

capability: EdgeCapability

Runtime capability the action requires (support check, not authorization).


effect​

effect: EdgeActionEffect

Effect class — used for capability gating and audit.

Methods​

deriveEffects()​

deriveEffects(prepared): StepEffects

Extract canonical security facts from the PREPARED operation.

Parameters​

prepared​

unknown

Returns​

StepEffects


execute()​

execute(prepared): Promise<EdgeOperationResult<unknown>>

Execute the prepared operation through the private port.

Parameters​

prepared​

unknown

Returns​

Promise<EdgeOperationResult<unknown>>


prepare()​

prepare(input): unknown

Build the real operation from the request (wallet builds/simulates first).

Parameters​

input​

EdgeActionInput

Returns​

unknown