pub struct Wallet {Show 15 fields
pub id: String,
pub address: String,
pub blockchain: Blockchain,
pub create_date: String,
pub update_date: String,
pub custody_type: CustodyType,
pub name: Option<String>,
pub ref_id: Option<String>,
pub state: Option<WalletState>,
pub user_id: Option<String>,
pub wallet_set_id: Option<String>,
pub initial_public_key: Option<String>,
pub account_type: Option<AccountType>,
pub sca_core: Option<ScaCore>,
pub token_balances: Option<Vec<Balance>>,
}Expand description
A developer-controlled wallet resource.
Fields§
§id: StringUnique wallet ID (UUID).
address: StringOn-chain wallet address.
blockchain: BlockchainBlockchain network this wallet is on.
create_date: StringISO-8601 creation timestamp.
update_date: StringISO-8601 last-update timestamp.
custody_type: CustodyTypeCustody type.
name: Option<String>Human-readable name.
ref_id: Option<String>External reference ID.
state: Option<WalletState>Wallet lifecycle state.
user_id: Option<String>User ID (user-controlled wallets).
wallet_set_id: Option<String>Wallet set ID the wallet belongs to.
initial_public_key: Option<String>Initial public key.
account_type: Option<AccountType>Account type (SCA or EOA).
sca_core: Option<ScaCore>SCA core implementation.
token_balances: Option<Vec<Balance>>Token balances (populated when requested via include_all or balance endpoints).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Wallet
impl<'de> Deserialize<'de> for Wallet
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 Wallet
impl RefUnwindSafe for Wallet
impl Send for Wallet
impl Sync for Wallet
impl Unpin for Wallet
impl UnsafeUnpin for Wallet
impl UnwindSafe for Wallet
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