Ask or search…
Comment on page


A thread's public address is derived deterministically from its authority and id. These properties are immutable and may never change throughout the lifetime of the thread account. To verify a Clockwork thread account in your programs, you can use the pubkey() helper function provided by the SDK:
address = thread.pubkey(),
constraint ="my_thread"),
has_one = authority,
pub thread: Account<'info, Thread>
Last modified 6mo ago