Get details for a specific sub-account
cURL
curl --request GET \ --url https://api.example.com/accounts/{external_id}
GET /accounts/:external_id
external_id
acc_2o0yiljtp378
curl https://prime-api.legend.xyz/accounts/acc_2o0yiljtp378 \ -H "Authorization: Bearer $LEGEND_QUERY_KEY"
{ "external_id": "acc_2o0yiljtp378", "signer_type": "eoa", "signer_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18", "legend_wallet_address": "0xc40897f38bc3d4e4d17f9daf46d2a13b4c47642f", "created_at": "2025-06-15T10:30:00Z" }
account_not_found