execute_trail
Record execution of a Mycelium Trail by self-attesting success or failure, providing trail ID, executor details, and optional output and payment hashes.
Instructions
Record execution of a Mycelium Trail. The executor self-attests success or failure.
trail_id: the trail being executed
executor_id: your unique identifier
executor_name: your display name
status: 'success' or 'fail'
output_hash: optional sha256 of the output
payment_hash: optional Lightning payment hashInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trail_id | Yes | ||
| executor_id | Yes | ||
| executor_name | Yes | ||
| status | No | success | |
| output_hash | No | ||
| payment_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |