Saltearse al contenido

Validate an event payload before submission

POST
/api/v1/events/validate

Catches schema errors and missing fields without preparing the on-chain tx.

object
processType
required

Process map key (e.g. RICE_HARVESTING). Defined by your tenant’s process map.

string
Example
RICE_HARVESTING
inputTokenIds

Token IDs of input lots (for transformation events).

Array<integer>
outputTlc

TLC of the output lot to mint.

string
Example
TLC-2026-001
outputCustodian

EIP-55 wallet address of the output custodian.

string
metadata
required

Free-form canonical metadata. Validated against the process map’s schema.

object
key
additional properties
any

Validation result (no tx)

object
valid
boolean
errors
Array<string>
warnings
Array<string>