pub struct OrdClient {
pub base_public_url: String,
/* private fields */
}Fields§
§base_public_url: StringImplementations§
Source§impl OrdClient
impl OrdClient
pub fn new() -> Self
pub async fn fetch_rune_details(&self, rune_id: RuneId) -> RuneResponse
pub async fn fetch_latest_block_height(&self) -> u64
pub async fn fetch_output(&self, out_point: OutPoint) -> OutputResponse
pub async fn get_address(&self, address: &str) -> AddressResponse
pub async fn get_inscription(&self, inscription_id: &str) -> InscriptionResponse
Auto Trait Implementations§
impl Freeze for OrdClient
impl !RefUnwindSafe for OrdClient
impl Send for OrdClient
impl Sync for OrdClient
impl Unpin for OrdClient
impl UnsafeUnpin for OrdClient
impl !UnwindSafe for OrdClient
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