curl --request GET \
--url https://api.onswitch.xyz/wallet/{wallet_id} \
--header 'x-service-key: <api-key>'{
"success": true,
"message": "Wallet fetched successfully",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "699a6555fd4cab59e6175f79",
"name": "My Wallet",
"address": {
"Base": "0x1234567890123456789012345678901234567890",
"Solana": "..."
}
}
}Retrieve the details of an existing wallet
curl --request GET \
--url https://api.onswitch.xyz/wallet/{wallet_id} \
--header 'x-service-key: <api-key>'{
"success": true,
"message": "Wallet fetched successfully",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "699a6555fd4cab59e6175f79",
"name": "My Wallet",
"address": {
"Base": "0x1234567890123456789012345678901234567890",
"Solana": "..."
}
}
}Service key for API authentication
Unique identifier for the wallet
^[a-f0-9]{24}$