pub struct WalletBalance {
pub available_balance: Option<String>,
pub chain: Option<String>,
pub checked_at: Option<DateTime<Utc>>,
pub currency: Option<String>,
pub wallet_address: Option<String>,
}Expand description
Tempo wallet balance response
JSON schema
{
"description": "Tempo wallet balance response",
"type": "object",
"properties": {
"available_balance": {
"description": "Current on-chain balance as raw hex-encoded smallest-unit (wei) string.\nClients must decode from hex and apply token decimals for human display.\nZero balance is returned as \"0x0\" or an all-zero hex string.\n",
"examples": [
"0x000000000000000000000000000000000000000000000000000000000000000a"
],
"type": "string"
},
"chain": {
"description": "Chain id; always \"tempo\" for successful responses today",
"examples": [
"tempo"
],
"type": "string"
},
"checked_at": {
"description": "ISO 8601 timestamp of when the balance was checked",
"examples": [
"2026-03-25T12:00:00Z"
],
"type": "string",
"format": "date-time"
},
"currency": {
"description": "Always \"USDC\" for Tempo wallets",
"examples": [
"USDC"
],
"type": "string"
},
"wallet_address": {
"description": "The wallet address being queried",
"examples": [
"0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
],
"type": "string"
}
},
"additionalProperties": false
}Fields§
§available_balance: Option<String>Current on-chain balance as raw hex-encoded smallest-unit (wei) string. Clients must decode from hex and apply token decimals for human display. Zero balance is returned as “0x0” or an all-zero hex string.
chain: Option<String>Chain id; always “tempo” for successful responses today
checked_at: Option<DateTime<Utc>>ISO 8601 timestamp of when the balance was checked
currency: Option<String>Always “USDC” for Tempo wallets
wallet_address: Option<String>The wallet address being queried
Trait Implementations§
Source§impl Clone for WalletBalance
impl Clone for WalletBalance
Source§fn clone(&self) -> WalletBalance
fn clone(&self) -> WalletBalance
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 Debug for WalletBalance
impl Debug for WalletBalance
Source§impl Default for WalletBalance
impl Default for WalletBalance
Source§impl<'de> Deserialize<'de> for WalletBalance
impl<'de> Deserialize<'de> for WalletBalance
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
Auto Trait Implementations§
impl Freeze for WalletBalance
impl RefUnwindSafe for WalletBalance
impl Send for WalletBalance
impl Sync for WalletBalance
impl Unpin for WalletBalance
impl UnsafeUnpin for WalletBalance
impl UnwindSafe for WalletBalance
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