pub struct TransactionStillPendingWebhookPayload {
pub caip2: String,
pub reference_id: Option<String>,
pub transaction_hash: String,
pub transaction_id: String,
pub transaction_request: UnsignedStandardEthereumTransaction,
pub type_: TransactionStillPendingWebhookPayloadType,
pub wallet_id: String,
}Expand description
Payload for the transaction.still_pending webhook event.
JSON schema
{
"title": "TransactionStillPendingWebhookPayload",
"description": "Payload for the transaction.still_pending webhook
event.",
"type": "object",
"required": [
"caip2",
"transaction_hash",
"transaction_id",
"transaction_request",
"type",
"wallet_id"
],
"properties": {
"caip2": {
"description": "The CAIP-2 chain identifier (e.g., eip155:1 for
Ethereum mainnet).",
"type": "string"
},
"reference_id": {
"description": "Developer-provided reference ID for transaction
reconciliation, if one was provided.",
"type": "string"
},
"transaction_hash": {
"description": "The blockchain transaction hash.",
"type": "string"
},
"transaction_id": {
"description": "The Privy-assigned ID for this transaction.",
"type": "string"
},
"transaction_request": {
"allOf": [
{
"$ref":
"#/components/schemas/UnsignedStandardEthereumTransaction"
},
{
"description": "The original transaction request that is still
pending."
}
]
},
"type": {
"description": "The type of webhook event.",
"type": "string",
"enum": [
"transaction.still_pending"
]
},
"wallet_id": {
"description": "The ID of the wallet that initiated the
transaction.",
"type": "string"
}
},
"x-stainless-model":
"webhooks.transaction_still_pending_webhook_payload"
}Fields§
§caip2: StringThe CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
reference_id: Option<String>Developer-provided reference ID for transaction reconciliation, if one was provided.
transaction_hash: StringThe blockchain transaction hash.
transaction_id: StringThe Privy-assigned ID for this transaction.
transaction_request: UnsignedStandardEthereumTransaction§type_: TransactionStillPendingWebhookPayloadTypeThe type of webhook event.
wallet_id: StringThe ID of the wallet that initiated the transaction.
Trait Implementations§
Source§impl Clone for TransactionStillPendingWebhookPayload
impl Clone for TransactionStillPendingWebhookPayload
Source§fn clone(&self) -> TransactionStillPendingWebhookPayload
fn clone(&self) -> TransactionStillPendingWebhookPayload
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 TransactionStillPendingWebhookPayload
impl<'de> Deserialize<'de> for TransactionStillPendingWebhookPayload
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<&TransactionStillPendingWebhookPayload> for TransactionStillPendingWebhookPayload
impl From<&TransactionStillPendingWebhookPayload> for TransactionStillPendingWebhookPayload
Source§fn from(value: &TransactionStillPendingWebhookPayload) -> Self
fn from(value: &TransactionStillPendingWebhookPayload) -> Self
Converts to this type from the input type.
Source§impl From<TransactionStillPendingWebhookPayload> for WebhookPayload
impl From<TransactionStillPendingWebhookPayload> for WebhookPayload
Source§fn from(value: TransactionStillPendingWebhookPayload) -> Self
fn from(value: TransactionStillPendingWebhookPayload) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransactionStillPendingWebhookPayload
impl RefUnwindSafe for TransactionStillPendingWebhookPayload
impl Send for TransactionStillPendingWebhookPayload
impl Sync for TransactionStillPendingWebhookPayload
impl Unpin for TransactionStillPendingWebhookPayload
impl UnsafeUnpin for TransactionStillPendingWebhookPayload
impl UnwindSafe for TransactionStillPendingWebhookPayload
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