Call this endpoint to get the requested wallets with the addresses of each wallet, their active currencies, and ishidden state.
Note: /slowGetAllWallets can be used to retrieve all wallet IDs for an account.
return: return requested wallets with their active currencies and ishidden status.
example: getWallets(1,["487"])
-------------------- Request --------------------
{
"FunctionData": {
"AccountId": 1,
"WalletIds": [
"w92228"
]
},
"Meta": {
"AccessToken": "0e6c548048ed760745eb3c62ae42b801926e61b9c4681f6a5c611bb320a33e1f",
"Destination": "c887c47bc794af25ded05db43a1a2776586dcebec90efe7be3778bf6fb44c6161c7b3d1041cf72c44cd54f50b1267abd9889923448f30765dc888486316927d8ee",
"FunctionName": "getWallets",
"RandomData": "8617ec20630762551660ac259de3fa4b15d9c65c83ff4d9bae09dd975a64da0b",
"Source": "04b305cf64382bf8cec56dbdc317b9f72327a41dcc4748aba94e778644c6fa34ef6d545acfc9021d369ebc0b2c90bf19e0ab679827e14ff7c449b4b67ae17d5d02",
"Time": "2025-01-06 08:55:15.745148"
}
}
-------------------- Response --------------------
{
"FunctionData": {
"Wallets": [
{
"AccountID": 1,
"ActiveCurrencies": [
{
"Address": "2MwKiwSaiNWFqgc3ipUTNR13VfJE5F8V4JM",
"Currency": "BTC"
},
{
"Address": "0xCf88290D530b32B2Eb4028A2c3bd2bE6BAa40848",
"Currency": "ETH"
}
],
"Hidden": "False",
"IsNftTrackable": false,
"WalletCustomerId": "",
"WalletDerivationIndex": 1,
"WalletId": "w92228",
"WalletName": "check"
}
]
},
"Meta": {
"AccessToken": "3bf41cbacbbed28f9c848f826a1d9925f0e49f9fda2ba39db5ebc6dfffaf8429",
"Destination": "04b305cf64382bf8cec56dbdc317b9f72327a41dcc4748aba94e778644c6fa34ef6d545acfc9021d369ebc0b2c90bf19e0ab679827e14ff7c449b4b67ae17d5d02",
"Source": "c887c47bc794af25ded05db43a1a2776586dcebec90efe7be3778bf6fb44c6161c7b3d1041cf72c44cd54f50b1267abd9889923448f30765dc888486316927d8ee",
"Time": "2025-01-06 08:55:15.819"
}
}
accountIdintegerThe account to retrieve wallet information for.
walletIdsarray<p>The wallet IDs to retrieve information for. Call /SlowGetAllWallets to retrieve all wallet IDs for an account.</p>
verifyboolean<p>When set to True, runs address verification during the operation. This verifies that the address is derived from the MPC's public key. This defaults to true, and should remain so unless you already know the address.</p>
acceptstringGenerated from available response content types
bodyobjectRequest data to retrieve wallets associated with an account.
200success
curl --request POST \
--url '/getWallets?accountId=1&walletIds=487&verify=True' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"AccountId": 1,
"WalletIds": [
"487"
],
"Meta": {
"FunctionName": "getWallets",
"RandomData": "288cd49d4b8bf00e7d6114b78d5668d5581d6b953fafef779133caa844cd4229",
"Destination": "b9cb8afe52f1d52521cf2b62dfe12146156ad5328f83c62c20c7da81b263356a61340de745c858998544c041798b01c2f4fac31bebe52a19280a32cd57d6d374ea",
"Time": "2021-02-07T18:37:46.948Z",
"Source": "048b99461a70a49abe63fd585cb224177a22a92d2e9e4ddfbc0027887bee9d1843388f42a3eb2e740565e115ad8b7981abf59e3b03b771f4b063b53c517d7a9d99",
"AccessToken": "51311c84d2c8fd2fafbe56ceb1fb30a99d3417abfc55769577338ab286798087"
}
}'