Class: Privy::Models::Wallets::EarnIncentiveRewardsQuery
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::Wallets::EarnIncentiveRewardsQuery
- Defined in:
- lib/privy/models/wallets/earn_incentive_rewards_query.rb,
sig/privy/models/wallets/earn_incentive_rewards_query.rbs
Instance Attribute Summary collapse
-
#chain ⇒ String
Chain name to fetch rewards for (e.g. "base", "ethereum").
Instance Method Summary collapse
-
#initialize(chain:) ⇒ EarnIncentiveRewardsQuery
constructor
Query parameters for fetching incentive rewards.
- #to_hash ⇒ { chain: String }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(chain:) ⇒ EarnIncentiveRewardsQuery
Query parameters for fetching incentive rewards.
|
|
# File 'lib/privy/models/wallets/earn_incentive_rewards_query.rb', line 13
|
Instance Attribute Details
#chain ⇒ String
Chain name to fetch rewards for (e.g. "base", "ethereum").
11 |
# File 'lib/privy/models/wallets/earn_incentive_rewards_query.rb', line 11 required :chain, String |
Instance Method Details
#to_hash ⇒ { chain: String }
11 |
# File 'sig/privy/models/wallets/earn_incentive_rewards_query.rbs', line 11
def to_hash: -> { chain: String }
|