pub struct Helius {
pub rpc: HeliusRpc,
/* private fields */
}
Fields§
§rpc: HeliusRpc
Implementations§
Source§impl Helius
impl Helius
pub fn balances(&self, address: &str) -> Result<BalancesResponse>
👎Deprecated
Source§impl Helius
impl Helius
pub fn parse_transaction( &self, transactions: &ParseTransactionsRequest, ) -> Result<Vec<EnrichedTransaction>>
Source§impl Helius
impl Helius
pub fn get_mintlist( &self, request: &MintlistRequest, ) -> Result<MintlistResponse>
👎Deprecated
Source§impl Helius
impl Helius
pub fn get_token_metadata( &self, request: &TokenMetadataRequest, ) -> Result<Vec<TokenMetadataResult>>
👎Deprecated
Source§impl Helius
impl Helius
pub fn get_all_webhooks(&self) -> Result<Vec<Webhook>>
pub fn get_webhook_by_id(&self, webhook_id: &str) -> Result<Webhook>
pub fn create_webhook(&self, request: &CreateWebhookRequest) -> Result<Webhook>
pub fn edit_webhook(&self, request: &EditWebhookRequest) -> Result<Webhook>
pub fn delete_webhook(&self, webhook_id: &str) -> Result<Response>
pub fn append_addresses_to_webhook( &self, webhook_id: &str, new_addresses: Vec<String>, ) -> Result<Webhook>
pub fn create_collection_webhook( &self, request: &CreateCollectionWebhookRequest, ) -> Result<Webhook>
Source§impl Helius
impl Helius
pub fn get_asset(&self, params: &GetAssetParams) -> Result<GetAssetResponse>
pub fn get_asset_batch( &self, params: &GetAssetBatchParams, ) -> Result<Vec<GetAssetResponse>>
pub fn get_asset_proof( &self, params: &GetAssetProofParams, ) -> Result<GetAssetProofResponse>
pub fn get_asset_proof_batch( &self, params: &GetAssetProofBatchParams, ) -> Result<HashMap<String, GetAssetProofResponse>>
pub fn get_assets_by_owner( &self, params: &GetAssetsByOwnerParams, ) -> Result<GetAssetResponseList>
pub fn get_assets_by_creator( &self, params: &GetAssetsByCreatorParams, ) -> Result<GetAssetResponseList>
pub fn get_assets_by_group( &self, params: &GetAssetsByGroupParams, ) -> Result<GetAssetResponseList>
pub fn search_assets( &self, params: &SearchAssetsParams, ) -> Result<GetAssetResponseList>
Auto Trait Implementations§
impl !Freeze for Helius
impl !RefUnwindSafe for Helius
impl Send for Helius
impl Sync for Helius
impl Unpin for Helius
impl !UnwindSafe for Helius
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more