Wallet

Signature

1
{
2
id!: string;
3
address!: string;
4
walletType?: WalletType;
5
secretType!: SecretType;
6
archived!: boolean;
7
alias?: string = '';
8
description?: string = '';
9
primary?: boolean;
10
balance?: WalletBalance;
11
hasCustomPin?: false;
12
status!: string;
13
createdAt?: Date;
14
lastUpdated?: number = 0;
15
}
Copied!

Parameters

Parameter
Type
Description
id
string
Wallet ID
address
string
Blockchain address
walletType
WalletType
Type of the wallet
secretType
​SecretType​
Type of the blockchain
archived
boolean
Is the wallet archived
alias
string
Wallet alias
description
string
Wallet description
primary
boolean
Is the wallet the primary wallet for the secretType?
balance
​WalletBalance​
Native token balance of the wallet
hasCustomPin
boolean
Has the wallet a custom pin.
createdAt
Date
Creation date
lastUpdated
number
Last updated

Example

1
{
2
"id" : "1",
3
"address" : "0xdc72b72db54e227e65a45004ab2798d31e8934c2",
4
"walletType" : "THREEWAY_SHARED",
5
"secretType" : "ETHEREUM",
6
"createdAt" : [ 2019, 11, 23, 22, 46, 32 ],
7
"archived" : false,
8
"alias" : "aliasEth",
9
"description" : "descriptionEth",
10
"primary" : false,
11
"hasCustomPin" : false,
12
"balance" : {
13
"available" : false,
14
"secretType" : "ETHEREUM",
15
"balance" : 1.0,
16
"gasBalance" : 1.0,
17
"symbol" : "ETH",
18
"gasSymbol" : "ETH",
19
"rawBalance" : "1000000000000000000",
20
"rawGasBalance" : "1000000000000000000",
21
"decimals" : 18
22
}
23
}
Copied!
Last modified 1yr ago