pub struct WalletTransactionsResponseTransactionsItem {
pub caip2: String,
pub created_at: f64,
pub details: WalletTransactionsResponseTransactionsItemDetails,
pub privy_transaction_id: String,
pub sponsored: Option<bool>,
pub status: WalletTransactionsResponseTransactionsItemStatus,
pub transaction_hash: Option<String>,
pub wallet_id: String,
}Expand description
WalletTransactionsResponseTransactionsItem
JSON schema
{
"type": "object",
"required": [
"caip2",
"created_at",
"details",
"privy_transaction_id",
"status",
"transaction_hash",
"wallet_id"
],
"properties": {
"caip2": {
"type": "string"
},
"created_at": {
"type": "number"
},
"details": {
"oneOf": [
{
"type": "object",
"required": [
"asset",
"chain",
"display_values",
"raw_value",
"raw_value_decimals",
"recipient",
"recipient_privy_user_id",
"sender",
"sender_privy_user_id",
"type"
],
"properties": {
"asset": {
"type": "string",
"enum": [
"eth",
"pol",
"sol",
"usdc",
"usdt"
]
},
"chain": {
"type": "string",
"enum": [
"arbitrum",
"arbitrum_sepolia",
"base",
"base_sepolia",
"ethereum",
"linea",
"linea_testnet",
"optimism",
"optimism_sepolia",
"polygon",
"polygon_amoy",
"sepolia",
"solana",
"solana_devnet",
"solana_testnet",
"zksync_era"
]
},
"display_values": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"raw_value": {
"type": "string"
},
"raw_value_decimals": {
"type": "number"
},
"recipient": {
"type": "string"
},
"recipient_privy_user_id": {
"type": [
"string",
"null"
]
},
"sender": {
"type": "string"
},
"sender_privy_user_id": {
"type": [
"string",
"null"
]
},
"type": {
"type": "string",
"enum": [
"transfer_sent"
]
}
}
},
{
"type": "object",
"required": [
"asset",
"chain",
"display_values",
"raw_value",
"raw_value_decimals",
"recipient",
"recipient_privy_user_id",
"sender",
"sender_privy_user_id",
"type"
],
"properties": {
"asset": {
"type": "string",
"enum": [
"eth",
"pol",
"sol",
"usdc",
"usdt"
]
},
"chain": {
"type": "string",
"enum": [
"arbitrum",
"arbitrum_sepolia",
"base",
"base_sepolia",
"ethereum",
"linea",
"linea_testnet",
"optimism",
"optimism_sepolia",
"polygon",
"polygon_amoy",
"sepolia",
"solana",
"solana_devnet",
"solana_testnet",
"zksync_era"
]
},
"display_values": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"raw_value": {
"type": "string"
},
"raw_value_decimals": {
"type": "number"
},
"recipient": {
"type": "string"
},
"recipient_privy_user_id": {
"type": [
"string",
"null"
]
},
"sender": {
"type": "string"
},
"sender_privy_user_id": {
"type": [
"string",
"null"
]
},
"type": {
"type": "string",
"enum": [
"transfer_received"
]
}
}
},
{}
]
},
"privy_transaction_id": {
"type": "string"
},
"sponsored": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"broadcasted",
"confirmed",
"execution_reverted",
"failed",
"finalized",
"pending",
"provider_error",
"replaced"
]
},
"transaction_hash": {
"type": [
"string",
"null"
]
},
"wallet_id": {
"type": "string"
}
}
}Fields§
§caip2: String§created_at: f64§details: WalletTransactionsResponseTransactionsItemDetails§privy_transaction_id: String§sponsored: Option<bool>§status: WalletTransactionsResponseTransactionsItemStatus§transaction_hash: Option<String>§wallet_id: StringTrait Implementations§
Source§impl Clone for WalletTransactionsResponseTransactionsItem
impl Clone for WalletTransactionsResponseTransactionsItem
Source§fn clone(&self) -> WalletTransactionsResponseTransactionsItem
fn clone(&self) -> WalletTransactionsResponseTransactionsItem
Returns a duplicate of the value. Read more
1.0.0 · 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 WalletTransactionsResponseTransactionsItem
impl<'de> Deserialize<'de> for WalletTransactionsResponseTransactionsItem
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<&WalletTransactionsResponseTransactionsItem> for WalletTransactionsResponseTransactionsItem
impl From<&WalletTransactionsResponseTransactionsItem> for WalletTransactionsResponseTransactionsItem
Source§fn from(value: &WalletTransactionsResponseTransactionsItem) -> Self
fn from(value: &WalletTransactionsResponseTransactionsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletTransactionsResponseTransactionsItem
impl RefUnwindSafe for WalletTransactionsResponseTransactionsItem
impl Send for WalletTransactionsResponseTransactionsItem
impl Sync for WalletTransactionsResponseTransactionsItem
impl Unpin for WalletTransactionsResponseTransactionsItem
impl UnwindSafe for WalletTransactionsResponseTransactionsItem
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