pub struct Wallet {
pub additional_signers: WalletAdditionalSigner,
pub address: String,
pub chain_type: WalletChainType,
pub created_at: f64,
pub exported_at: Option<f64>,
pub id: String,
pub imported_at: Option<f64>,
pub owner_id: Option<String>,
pub policy_ids: Vec<String>,
pub public_key: Option<String>,
}Expand description
Wallet
JSON schema
{
"examples": [
{
"additional_signers": [],
"address": "0xF1DBff66C993EE895C8cb176c30b07A559d76496",
"chain_type": "ethereum",
"created_at": 1741834854578,
"exported_at": null,
"id": "id2tptkqrxd39qo9j423etij",
"imported_at": null,
"owner_id": "rkiz0ivz254drv1xw982v3jq",
"policy_ids": []
}
],
"type": "object",
"required": [
"additional_signers",
"address",
"chain_type",
"created_at",
"exported_at",
"id",
"imported_at",
"owner_id",
"policy_ids"
],
"properties": {
"additional_signers": {
"$ref": "#/components/schemas/WalletAdditionalSigner"
},
"address": {
"description": "Address of the wallet.",
"type": "string"
},
"chain_type": {
"$ref": "#/components/schemas/WalletChainType"
},
"created_at": {
"description": "Unix timestamp of when the wallet was created in
milliseconds.",
"type": "number"
},
"exported_at": {
"description": "Unix timestamp of when the wallet was exported in
milliseconds, if the wallet was exported.",
"type": [
"number",
"null"
]
},
"id": {
"description": "Unique ID of the wallet. This will be the primary
identifier when using the wallet in the future.",
"type": "string"
},
"imported_at": {
"description": "Unix timestamp of when the wallet was imported in
milliseconds, if the wallet was imported.",
"type": [
"number",
"null"
]
},
"owner_id": {
"description": "The key quorum ID of the owner of the wallet.",
"type": [
"string",
"null"
]
},
"policy_ids": {
"description": "List of policy IDs for policies that are enforced
on the wallet.",
"type": "array",
"items": {
"type": "string"
}
},
"public_key": {
"description": "The compressed, raw public key for the wallet along
the chain cryptographic curve.",
"type": "string"
}
}
}Fields§
§additional_signers: WalletAdditionalSigner§address: StringAddress of the wallet.
chain_type: WalletChainType§created_at: f64§exported_at: Option<f64>Unix timestamp of when the wallet was exported in milliseconds, if the wallet was exported.
id: StringUnique ID of the wallet. This will be the primary identifier when using the wallet in the future.
imported_at: Option<f64>Unix timestamp of when the wallet was imported in milliseconds, if the wallet was imported.
owner_id: Option<String>The key quorum ID of the owner of the wallet.
policy_ids: Vec<String>List of policy IDs for policies that are enforced on the wallet.
public_key: Option<String>The compressed, raw public key for the wallet along the chain cryptographic curve.
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 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