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
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Explorer
impl Send for Explorer
impl Sync for Explorer
impl Unpin for Explorer
impl UnwindSafe for Explorer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more