pub struct WalletActionEarnIncentiveClaimCreatedWebhookPayload {
pub action_type: WalletActionType,
pub chain: String,
pub rewards: Vec<EarnIncetiveClaimRewardEntry>,
pub status: WalletActionEarnIncentiveClaimCreatedWebhookPayloadStatus,
pub type_: WalletActionEarnIncentiveClaimCreatedWebhookPayloadType,
pub wallet_action_id: String,
pub wallet_id: String,
}Expand description
Payload for the wallet_action.earn_incentive_claim.created webhook event.
JSON schema
{
"title": "WalletActionEarnIncentiveClaimCreatedWebhookPayload",
"description": "Payload for the
wallet_action.earn_incentive_claim.created webhook event.",
"type": "object",
"required": [
"action_type",
"chain",
"status",
"type",
"wallet_action_id",
"wallet_id"
],
"properties": {
"action_type": {
"$ref": "#/components/schemas/WalletActionType"
},
"chain": {
"description": "EVM chain name (e.g. \"base\", \"ethereum\").",
"type": "string"
},
"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": [
"pending"
]
},
"type": {
"description": "The type of webhook event.",
"type": "string",
"enum": [
"wallet_action.earn_incentive_claim.created"
]
},
"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_created_webhook_payload"
}Fields§
§action_type: WalletActionType§chain: StringEVM chain name (e.g. “base”, “ethereum”).
rewards: Vec<EarnIncetiveClaimRewardEntry>Claimed reward tokens. Populated after the preparation step fetches from Merkl.
status: WalletActionEarnIncentiveClaimCreatedWebhookPayloadStatusThe status of the wallet action.
type_: WalletActionEarnIncentiveClaimCreatedWebhookPayloadTypeThe 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 WalletActionEarnIncentiveClaimCreatedWebhookPayload
impl Clone for WalletActionEarnIncentiveClaimCreatedWebhookPayload
Source§fn clone(&self) -> WalletActionEarnIncentiveClaimCreatedWebhookPayload
fn clone(&self) -> WalletActionEarnIncentiveClaimCreatedWebhookPayload
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 WalletActionEarnIncentiveClaimCreatedWebhookPayload
impl<'de> Deserialize<'de> for WalletActionEarnIncentiveClaimCreatedWebhookPayload
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<&WalletActionEarnIncentiveClaimCreatedWebhookPayload> for WalletActionEarnIncentiveClaimCreatedWebhookPayload
impl From<&WalletActionEarnIncentiveClaimCreatedWebhookPayload> for WalletActionEarnIncentiveClaimCreatedWebhookPayload
Source§fn from(value: &WalletActionEarnIncentiveClaimCreatedWebhookPayload) -> Self
fn from(value: &WalletActionEarnIncentiveClaimCreatedWebhookPayload) -> Self
Converts to this type from the input type.
Source§impl From<WalletActionEarnIncentiveClaimCreatedWebhookPayload> for WebhookPayload
impl From<WalletActionEarnIncentiveClaimCreatedWebhookPayload> for WebhookPayload
Source§fn from(value: WalletActionEarnIncentiveClaimCreatedWebhookPayload) -> Self
fn from(value: WalletActionEarnIncentiveClaimCreatedWebhookPayload) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletActionEarnIncentiveClaimCreatedWebhookPayload
impl RefUnwindSafe for WalletActionEarnIncentiveClaimCreatedWebhookPayload
impl Send for WalletActionEarnIncentiveClaimCreatedWebhookPayload
impl Sync for WalletActionEarnIncentiveClaimCreatedWebhookPayload
impl Unpin for WalletActionEarnIncentiveClaimCreatedWebhookPayload
impl UnsafeUnpin for WalletActionEarnIncentiveClaimCreatedWebhookPayload
impl UnwindSafe for WalletActionEarnIncentiveClaimCreatedWebhookPayload
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