Step 7 - Manage
Active FCTs
service.fct.active.data.<raw|fmt>.list.value
service.fct.active.data.<raw|fmt>.map.value
Active Item
{
data: oject // the fct
valid_from: string // timestamp in seconds
expires_at: string // timestamp in seconds
recurrency: object // recurrency params
blocked: object // block/pause params
singers: object // fct signers and signatures
next_run_at: string // timestamp of next possible execution (recurrency)
tags: string[] // fct tags
createAt: string // when the fct was first published
updatedAt: string // when the fct was last updated
health: object // shows what prevents the fct from running now
needed: object // how much max fct fuel is needed to run the fct
valid: boolean // whether data field syntax is valid or not
}
Remove
await service.fct.active.remove.execute(<fct_id>, {})
Add Signature
await service.fct.active.addSignature.execute(<fct_id>, {
signatue?: string // will initiate autoSign if not exist
}
Last updated