Class: Privy::Models::WalletActionEarnIncentiveClaimFailedWebhookPayload
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::WalletActionEarnIncentiveClaimFailedWebhookPayload
- Defined in:
- lib/privy/models/wallet_action_earn_incentive_claim_failed_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”).
-
#failure_reason ⇒ Privy::Models::FailureReason
A description of why a wallet action (or a step within a wallet action) failed.
-
#rewards ⇒ Array<Privy::Models::EarnIncetiveClaimRewardEntry>?
Claimed reward tokens.
-
#status ⇒ Symbol, Privy::Models::WalletActionEarnIncentiveClaimFailedWebhookPayload::Status
The status of the wallet action.
-
#steps ⇒ Array<Privy::Models::EvmTransactionWalletActionStep, Privy::Models::EvmUserOperationWalletActionStep, Privy::Models::SvmTransactionWalletActionStep, Privy::Models::ExternalTransactionWalletActionStep>
The steps of the wallet action.
-
#type ⇒ Symbol, Privy::Models::WalletActionEarnIncentiveClaimFailedWebhookPayload::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:, failure_reason:, rewards:, status:, steps:, type:, wallet_action_id:, wallet_id:) ⇒ Object
constructor
Some parameter documentations has been truncated, see WalletActionEarnIncentiveClaimFailedWebhookPayload for more details.
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:, failure_reason:, rewards:, status:, steps:, type:, wallet_action_id:, wallet_id:) ⇒ Object
Some parameter documentations has been truncated, see Privy::Models::WalletActionEarnIncentiveClaimFailedWebhookPayload for more details.
Payload for the wallet_action.earn_incentive_claim.failed webhook event.
|
|
# File 'lib/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rb', line 65
|
Instance Attribute Details
#action_type ⇒ Symbol, Privy::Models::WalletActionType
Type of wallet action
10 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_failed_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_failed_webhook_payload.rb', line 16 required :chain, String |
#failure_reason ⇒ Privy::Models::FailureReason
A description of why a wallet action (or a step within a wallet action) failed.
22 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rb', line 22 required :failure_reason, -> { Privy::FailureReason } |
#rewards ⇒ Array<Privy::Models::EarnIncetiveClaimRewardEntry>?
Claimed reward tokens. Populated after the preparation step fetches from Merkl.
28 29 30 31 32 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rb', line 28 required :rewards, -> { Privy::Internal::Type::ArrayOf[Privy::EarnIncetiveClaimRewardEntry] }, nil?: true |
#status ⇒ Symbol, Privy::Models::WalletActionEarnIncentiveClaimFailedWebhookPayload::Status
The status of the wallet action.
38 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rb', line 38 required :status, enum: -> { Privy::WalletActionEarnIncentiveClaimFailedWebhookPayload::Status } |
#steps ⇒ Array<Privy::Models::EvmTransactionWalletActionStep, Privy::Models::EvmUserOperationWalletActionStep, Privy::Models::SvmTransactionWalletActionStep, Privy::Models::ExternalTransactionWalletActionStep>
The steps of the wallet action. Completed steps will have transaction hashes; the failing step will have a failure_reason.
45 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rb', line 45 required :steps, -> { Privy::Internal::Type::ArrayOf[union: Privy::WalletActionStep] } |
#type ⇒ Symbol, Privy::Models::WalletActionEarnIncentiveClaimFailedWebhookPayload::Type
The type of webhook event.
51 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rb', line 51 required :type, enum: -> { Privy::WalletActionEarnIncentiveClaimFailedWebhookPayload::Type } |
#wallet_action_id ⇒ String
The ID of the wallet action.
57 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rb', line 57 required :wallet_action_id, String |
#wallet_id ⇒ String
The ID of the wallet involved in the action.
63 |
# File 'lib/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rb', line 63 required :wallet_id, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rb', line 98
|