Fetch All Accounts

This API fetches all the accounts present in the wallet of the user.

Fetch all accounts

get
Path parameters
user_uuidstringRequired

User UUID

Responses
200
Successful response
application/json
get
GET /api/v1/user/{user_uuid}/wallet/accounts HTTP/1.1
Host: www.developer.metasky.me
Accept: */*
{
  "message": "Accounts fetched successfully",
  "data": [
    {
      "account_uuid": "c4675b6d-bfc2-4509-94c2-d799d1f4b0c2",
      "wallet_uuid": "3bb004be-2086-4db5-812f-00531ca75ee3",
      "public_address": "0xD0A34eFa38E1dDF6BE88e012D115F35Ecd19b523",
      "network": {
        "type": "EVM",
        "name": "ETHEREUM",
        "chain_id": "1"
      }
    },
    {
      "account_uuid": "2570bc85-a61f-485e-9381-b32ae8f8745b",
      "wallet_uuid": "3bb004be-2086-4db5-812f-00531ca75ee3",
      "public_address": "",
      "network": {
        "type": "FIAT",
        "name": "INR",
        "chain_id": ""
      }
    }
  ],
  "status": "success",
  "request_id": "af3c773a-b5bf-46f2-8689-61e91e36f14d"
}

Last updated

Was this helpful?