Skip to main content

thread_create

Function thread_create 

Source
pub fn thread_create(
    ctx: Context<'_, ThreadCreate<'_>>,
    amount: u64,
    id: ThreadId,
    trigger: Trigger,
    paused: Option<bool>,
    instruction: Option<SerializableInstruction>,
    priority_fee: Option<u64>,
) -> Result<()>