Struct clockwork_utils::explorer::Explorer
source · pub struct Explorer { /* private fields */ }Implementations§
source§impl Explorer
impl Explorer
pub fn mainnet() -> Self
pub fn testnet() -> Self
pub fn devnet() -> Self
pub fn custom(custom_rpc: String) -> Self
sourcepub fn tx_url<T: Display>(&self, tx: T) -> String
pub fn tx_url<T: Display>(&self, tx: T) -> String
Ex: https://explorer.solana.com/tx/{tx} ?cluster=custom &customUrl=http://localhost:8899
sourcepub fn thread_url<T: Display, U: Display>(
&self,
thread: T,
program_id: U
) -> String
pub fn thread_url<T: Display, U: Display>( &self, thread: T, program_id: U ) -> String
Ex: https://explorer.clockwork.xyz/thread/{thread} ?network=custom &customRPC=http://localhost:8899