build_cronset_unsigned
Assemble an unsigned CronSet transaction to schedule or cancel a Hook's future self-invocations on Xahau. Set start time, repeat count, and interval; cancel existing Cron with tfCronUnset.
Instructions
Assemble an UNSIGNED CronSet — schedule a Hook's future self-invocations (Cron amendment). StartTime is Ripple-epoch seconds (0/omitted = ASAP); use startInSeconds for now+N. RepeatCount 0–256 (omit for a one-off), DelaySeconds = interval between repeats. Set cancel:true for tfCronUnset to remove the Cron. The account must have a Hook installed to act on the Cron pseudo-transaction. Returns unsigned JSON + preflight. Never signs; testnet by default.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account": "<account>"
},
"name": "build_cronset_unsigned"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cancel | No | tfCronUnset — remove the account's Cron | |
| account | Yes | ||
| network | No | testnet | |
| startTime | No | Ripple-epoch seconds; 0 = ASAP | |
| repeatCount | No | 0–256 total repeats; omit for one-off | |
| delaySeconds | No | seconds between repeats | |
| startInSeconds | No | convenience: schedule for now + N seconds |