pub struct WalletActionEarnIncentiveClaimFailedWebhookPayload {
pub action_type: WalletActionType,
pub chain: String,
pub failure_reason: FailureReason,
pub rewards: Vec<EarnIncetiveClaimRewardEntry>,
pub status: WalletActionEarnIncentiveClaimFailedWebhookPayloadStatus,
pub steps: Vec<WalletActionStep>,
pub type_: WalletActionEarnIncentiveClaimFailedWebhookPayloadType,
pub wallet_action_id: String,
pub wallet_id: String,
}Expand description
Payload for the wallet_action.earn_incentive_claim.failed webhook event.
JSON schema
{
"title": "WalletActionEarnIncentiveClaimFailedWebhookPayload",
"description": "Payload for the
wallet_action.earn_incentive_claim.failed webhook event.",
"type": "object",
"required": [
"action_type",
"chain",
"failure_reason",
"status",
"steps",
"type",
"wallet_action_id",
"wallet_id"
],
"properties": {
"action_type": {
"$ref": "#/components/schemas/WalletActionType"
},
"chain": {
"description": "EVM chain name (e.g. \"base\", \"ethereum\").",
"type": "string"
},
"failure_reason": {
"$ref": "#/components/schemas/FailureReason"
},
"rewards": {
"description": "Claimed reward tokens. Populated after the
preparation step fetches from Merkl.",
"type": "array",
"items": {
"$ref": "#/components/schemas/EarnIncetiveClaimRewardEntry"
}
},
"status": {
"description": "The status of the wallet action.",
"type": "string",
"enum": [
"failed"
]
},
"steps": {
"description": "The steps of the wallet action. Completed steps
will have transaction hashes; the failing step will have a
failure_reason.",
"type": "array",
"items": {
"$ref": "#/components/schemas/WalletActionStep"
}
},
"type": {
"description": "The type of webhook event.",
"type": "string",
"enum": [
"wallet_action.earn_incentive_claim.failed"
]
},
"wallet_action_id": {
"description": "The ID of the wallet action.",
"type": "string"
},
"wallet_id": {
"description": "The ID of the wallet involved in the action.",
"type": "string"
}
},
"x-stainless-model":
"webhooks.wallet_action_earn_incentive_claim_failed_webhook_payload"
}Fields§
§action_type: WalletActionType§chain: StringEVM chain name (e.g. “base”, “ethereum”).
failure_reason: FailureReason§rewards: Vec<EarnIncetiveClaimRewardEntry>Claimed reward tokens. Populated after the preparation step fetches from Merkl.
status: WalletActionEarnIncentiveClaimFailedWebhookPayloadStatusThe status of the wallet action.
steps: Vec<WalletActionStep>The steps of the wallet action. Completed steps will have transaction hashes; the failing step will have a failure_reason.
type_: WalletActionEarnIncentiveClaimFailedWebhookPayloadTypeThe type of webhook event.
wallet_action_id: StringThe ID of the wallet action.
wallet_id: StringThe ID of the wallet involved in the action.
Trait Implementations§
Source§impl Clone for WalletActionEarnIncentiveClaimFailedWebhookPayload
impl Clone for WalletActionEarnIncentiveClaimFailedWebhookPayload
Source§fn clone(&self) -> WalletActionEarnIncentiveClaimFailedWebhookPayload
fn clone(&self) -> WalletActionEarnIncentiveClaimFailedWebhookPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for WalletActionEarnIncentiveClaimFailedWebhookPayload
impl<'de> Deserialize<'de> for WalletActionEarnIncentiveClaimFailedWebhookPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&WalletActionEarnIncentiveClaimFailedWebhookPayload> for WalletActionEarnIncentiveClaimFailedWebhookPayload
impl From<&WalletActionEarnIncentiveClaimFailedWebhookPayload> for WalletActionEarnIncentiveClaimFailedWebhookPayload
Source§fn from(value: &WalletActionEarnIncentiveClaimFailedWebhookPayload) -> Self
fn from(value: &WalletActionEarnIncentiveClaimFailedWebhookPayload) -> Self
Converts to this type from the input type.
Source§impl From<WalletActionEarnIncentiveClaimFailedWebhookPayload> for WebhookPayload
impl From<WalletActionEarnIncentiveClaimFailedWebhookPayload> for WebhookPayload
Source§fn from(value: WalletActionEarnIncentiveClaimFailedWebhookPayload) -> Self
fn from(value: WalletActionEarnIncentiveClaimFailedWebhookPayload) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletActionEarnIncentiveClaimFailedWebhookPayload
impl RefUnwindSafe for WalletActionEarnIncentiveClaimFailedWebhookPayload
impl Send for WalletActionEarnIncentiveClaimFailedWebhookPayload
impl Sync for WalletActionEarnIncentiveClaimFailedWebhookPayload
impl Unpin for WalletActionEarnIncentiveClaimFailedWebhookPayload
impl UnsafeUnpin for WalletActionEarnIncentiveClaimFailedWebhookPayload
impl UnwindSafe for WalletActionEarnIncentiveClaimFailedWebhookPayload
Blanket Implementations§
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