Skip to content

API ReferenceReact componentsInterface

CreateLOCFormValues

Beta

The values CreateLOCFormProps.onPrepareWorkflow hands back, and the shape formValues restores.

Remarks

Part of the SDK’s experimental React component surface — may change or be removed without notice and is not part of the compatibility contract.

Properties

beneficiary?

optional beneficiary?: `0x${string}`;

Beta


collateralTokenAddress?

optional collateralTokenAddress?: `0x${string}`;

Beta


collateralTokenAmount?

optional collateralTokenAmount?: bigint;

Beta


creditedTokenAddress?

optional creditedTokenAddress?: `0x${string}`;

Beta


creditedTokenAmount?

optional creditedTokenAmount?: bigint;

Beta


expiration?

optional expiration?: Date;

Beta


kind?

optional kind?: "static" | "dynamic";

Beta


tag?

optional tag?: `0x${string}`;

Beta

Complete resolved tag passed into workflow preparation. For a structured schema, this is the unpadded hex encoding of every fixed and editable segment in schema order.


tagValues?

optional tagValues?: Record<string, string>;

Beta

Editable structured-tag segments only, keyed by schema key. Fixed values remain config-owned. Pass these values back through formValues to restore the same inputs after a failed or interrupted workflow.


tokenAddress?

optional tokenAddress?: `0x${string}`;

Beta


tokenAmount?

optional tokenAmount?: bigint;

Beta