WalletParams

Type Alias WalletParams 

Source
pub type WalletParams = Params<Arc<String>>;
Expand description

Subscriptions parameters for the wallet

This is because the Wallet can subscribe to non CDK quotes, where IDs are not constraint to QuoteId

Aliased Type§

pub struct WalletParams {
    pub kind: Kind,
    pub filters: Vec<String>,
    pub id: Arc<String>,
}

Fields§

§kind: Kind

Kind

§filters: Vec<String>

Filters

§id: Arc<String>

Subscription Id

Trait Implementations§

Source§

impl SubscriptionRequest for WalletParams

Source§

type Topic = NotificationId<String>

Topics
Source§

type SubscriptionId = String

Subscription Id
Source§

fn subscription_name(&self) -> Arc<Self::SubscriptionId>

Get the subscription name
Source§

fn try_get_topics(&self) -> Result<Vec<Self::Topic>, Error>

Try to get topics from the request