Class: Privy::Models::WalletActionEarnIncentiveClaimCreatedWebhookPayload
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::WalletActionEarnIncentiveClaimCreatedWebhookPayload
- Defined in:
- lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#action_type ⇒ Symbol, Privy::Models::WalletActionType
Type of wallet action.
-
#chain ⇒ String
EVM chain name (e.g. “base”, “ethereum”).
-
#rewards ⇒ Array<Privy::Models::EarnIncetiveClaimRewardEntry>?
Claimed reward tokens.
-
#status ⇒ Symbol, Privy::Models::WalletActionEarnIncentiveClaimCreatedWebhookPayload::Status
The status of the wallet action.
-
#type ⇒ Symbol, Privy::Models::WalletActionEarnIncentiveClaimCreatedWebhookPayload::Type
The type of webhook event.
-
#wallet_action_id ⇒ String
The ID of the wallet action.
-
#wallet_id ⇒ String
The ID of the wallet involved in the action.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action_type:, chain:, rewards:, status:, type:, wallet_action_id:, wallet_id:) ⇒ Object
constructor
Payload for the wallet_action.earn_incentive_claim.created webhook event.
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(action_type:, chain:, rewards:, status:, type:, wallet_action_id:, wallet_id:) ⇒ Object
Payload for the wallet_action.earn_incentive_claim.created webhook event.
|
|
# File 'lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb', line 52
|
Instance Attribute Details
#action_type ⇒ Symbol, Privy::Models::WalletActionType
Type of wallet action
10 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb', line 10 required :action_type, enum: -> { Privy::WalletActionType } |
#chain ⇒ String
EVM chain name (e.g. “base”, “ethereum”).
16 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb', line 16 required :chain, String |
#rewards ⇒ Array<Privy::Models::EarnIncetiveClaimRewardEntry>?
Claimed reward tokens. Populated after the preparation step fetches from Merkl.
22 23 24 25 26 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb', line 22 required :rewards, -> { Privy::Internal::Type::ArrayOf[Privy::EarnIncetiveClaimRewardEntry] }, nil?: true |
#status ⇒ Symbol, Privy::Models::WalletActionEarnIncentiveClaimCreatedWebhookPayload::Status
The status of the wallet action.
32 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb', line 32 required :status, enum: -> { Privy::WalletActionEarnIncentiveClaimCreatedWebhookPayload::Status } |
#type ⇒ Symbol, Privy::Models::WalletActionEarnIncentiveClaimCreatedWebhookPayload::Type
The type of webhook event.
38 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb', line 38 required :type, enum: -> { Privy::WalletActionEarnIncentiveClaimCreatedWebhookPayload::Type } |
#wallet_action_id ⇒ String
The ID of the wallet action.
44 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb', line 44 required :wallet_action_id, String |
#wallet_id ⇒ String
The ID of the wallet involved in the action.
50 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb', line 50 required :wallet_id, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb', line 77
|