---
updatedAt: 2026-05-07T12:29:32.000Z
agentTools:
  projectIndex: https://docs.utila.io/llms.txt
---

# ListWallets

Retrieve a list of all wallets in a vault.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Utila API",
    "version": "v2"
  },
  "tags": [
    {
      "name": "Wallets"
    }
  ],
  "paths": {
    "/v2/vaults/{vault_id}/wallets": {
      "get": {
        "summary": "ListWallets",
        "description": "Retrieve a list of all wallets in a vault.",
        "operationId": "Wallets_ListWallets",
        "responses": {
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/v2ListWalletsResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "vault_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "view",
            "description": "Whether to include the converted value (`wallet.converted_value`) in the response.\n\n - BASIC: The default view. Does not include the converted value.\n - FULL: Calculate and include the converted value and additional fields.",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "BASIC",
                "FULL"
              ]
            }
          },
          {
            "name": "showArchived",
            "description": "Optional. When true, archived wallets are included together with non-archived wallets.\nWhen false or omitted, only non-archived wallets are returned.",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "filter",
            "description": "Filter results using EBNF syntax.\n\nSupported fields:\n* `displayName` (with regex support)\n* `createTime`\n* `external`\n\nSupported functions:\n* `wallet_archived()` - matches archived wallets. Takes no arguments.\n  Use together with `show_archived` to get only archived wallets.\n\nExamples:\n- `displayName = \"My Wallet\"` (All wallets with the display name \"My Wallet\")\n- `regex(displayName, \"^My \")` (All wallets with names starting with \"My \")\n- `regex(displayName, \"(?i)^mY \")` (All wallets with names starting with \"My \", case insensitive)\n- `external`, `-external`, `NOT external`\n- `createTime > \"2023-08-29T18:04:00Z\"`\n- `createTime > \"2023-08-29T18:04:00Z\" AND displayName = \"My Wallet\"`\n- `wallet_archived()` (Archived wallets only; set `show_archived` so archived wallets are returned)",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orderBy",
            "description": "SQL-like ordering specifications.\nSupports the fields\n* `display_name`\n* `create_time`\n* `update_time`\n* `converted_value.amount` (available through the FULL view).",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageSize",
            "description": "The maximum number of items to return. The service may return fewer than\nthis value.\n\nIf unspecified, at most 50 will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageToken",
            "description": "A page token, received from the previous list call as `nextPageToken`.\nProvide this to retrieve the subsequent page.\n\nWhen paginating, all other parameters must match the call that provided\nthe page token.",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skip",
            "description": "How many results to skip.\n\nNote: may be used alongside token-based pagination (see `pageToken`),\nalthough this won't be needed for most use cases.",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "includeReferencedResources",
            "description": "Include referenced resources in the response.",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "tags": [
          "Wallets"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.utila.io"
    }
  ],
  "components": {
    "schemas": {
      "BTCDetailsAddressFormat": {
        "type": "string",
        "enum": [
          "P2PKH",
          "P2WPKH",
          "P2TR"
        ],
        "description": "Address format for a Bitcoin-based network. Subset of\nWalletAddress.Format restricted to Bitcoin-based values."
      },
      "WalletCreateParamsBTCDetailsBTCNetworkDetails": {
        "type": "object",
        "properties": {
          "network": {
            "type": "string",
            "example": "networks/bitcoin-mainnet",
            "description": "The Bitcoin-based network. Must be one of the wallet's `networks`.\n\nFormat: `networks/{network_id}`"
          },
          "format": {
            "example": "P2TR",
            "description": "Address format for the new wallet on this network.\n\nPer-chain support:\n\n| Chain        | Supported    | Default |\n|--------------|--------------|---------|\n| Bitcoin      | P2WPKH, P2TR | P2WPKH  |\n| Litecoin     | P2WPKH       | P2WPKH  |\n| Dogecoin     | P2PKH        | P2PKH   |\n| Bitcoin Cash | P2PKH        | P2PKH   |\n| Pearl        | P2TR         | P2TR    |",
            "allOf": [
              {
                "$ref": "#/components/schemas/BTCDetailsAddressFormat"
              }
            ]
          }
        },
        "description": "Creation parameters for a single Bitcoin-based network in the wallet.",
        "required": [
          "network",
          "format"
        ]
      },
      "WalletSolanaDetails": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "The address of the wallet.",
            "readOnly": true
          }
        }
      },
      "WalletTronDetails": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "The address of the wallet.",
            "readOnly": true
          }
        }
      },
      "WalletXRPLDetails": {
        "type": "object",
        "properties": {
          "signingPubKey": {
            "type": "string",
            "example": "ED5F5AC8B98974A3CA843326D9B88CEBD0560177B973EE0B149F782CFAA06DC66A",
            "description": "The public key of the wallet, hex-encoded as expected by XRPL.\n\nFor ed25519 keys this starts with `ED`.",
            "readOnly": true
          }
        }
      },
      "v2ConvertedValue": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount in USD.",
            "readOnly": true
          },
          "currencyCode": {
            "type": "string",
            "description": "The currency code of the amount. Always USD.",
            "readOnly": true
          }
        },
        "description": "A message representing a converted value."
      },
      "v2ListWalletsResponse": {
        "type": "object",
        "properties": {
          "wallets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/v2Wallet"
            },
            "description": "The wallets returned."
          },
          "nextPageToken": {
            "type": "string",
            "description": "A token, which can be sent as `pageToken` to retrieve the next page.\nIf this field is omitted, there are no subsequent pages."
          },
          "totalSize": {
            "type": "integer",
            "format": "int32",
            "description": "Total number of items in the response, regardless of pagination."
          }
        }
      },
      "v2Wallet": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "vaults/1b25635a5b3f/wallets/95257c5a522f",
            "description": "The resource name of the wallet.\n\nFormat: `vaults/{vault_id}/wallets/{wallet_id}`",
            "readOnly": true
          },
          "displayName": {
            "type": "string",
            "example": "DeFi wallet",
            "description": "A human-readable name.\n\nMust match the regular expression `[a-zA-Z0-9\\.,:\\-'# _$]+$` and be shorter than 100 characters"
          },
          "external": {
            "type": "boolean",
            "description": "Whether this wallet is external.\n\nExternal wallets are wallets that are not managed by Utila.",
            "readOnly": true
          },
          "archived": {
            "type": "boolean",
            "description": "Whether this wallet is archived.",
            "readOnly": true
          },
          "creator": {
            "type": "string",
            "readOnly": true
          },
          "createTime": {
            "type": "string",
            "format": "date-time",
            "description": "The time when the wallet was created.",
            "readOnly": true
          },
          "convertedValue": {
            "description": "The converted value of all assets in this Wallet.\nIncluded only when `FULL` view is requested.\n\nNote: this is an estimate, and may be out of date.",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/v2ConvertedValue"
              }
            ]
          },
          "incompleteValue": {
            "type": "boolean",
            "description": "Whether `converted_value` omits confidential balances that could not be read.\nIncluded only when `FULL` view is requested.\n\nWhen true, `converted_value` is a lower bound: the unreadable amounts count\nas zero.",
            "readOnly": true
          },
          "hasFrozenAssets": {
            "type": "boolean",
            "example": true,
            "description": "Some of the assets in this wallet are frozen due to a AML policy.\nIncluded only when `FULL` view is requested.",
            "readOnly": true
          },
          "networks": {
            "type": "array",
            "example": [
              "networks/ethereum-mainnet"
            ],
            "items": {
              "type": "string"
            },
            "description": "The resource names of the networks of the wallet. Can be set during creation and can be added later\nthrough the `CreateWalletAddress` method."
          },
          "evmDetails": {
            "description": "If this wallet contains an EVM network, this field will be populated.",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/v2WalletEVMDetails"
              }
            ]
          },
          "tronDetails": {
            "description": "If this wallet contains a Tron network, this field will be populated.",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/WalletTronDetails"
              }
            ]
          },
          "tonDetails": {
            "description": "If this wallet contains a Ton network, this field will be populated.",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/v2WalletTonDetails"
              }
            ]
          },
          "solanaDetails": {
            "description": "If this wallet contains a Solana network, this field will be populated.",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/WalletSolanaDetails"
              }
            ]
          },
          "stellarDetails": {
            "description": "If this wallet contains a Stellar network, this field will be populated.",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/v2WalletStellarDetails"
              }
            ]
          },
          "xrplDetails": {
            "description": "If this wallet contains an XRPL network, this field will be populated.",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/WalletXRPLDetails"
              }
            ]
          },
          "createParams": {
            "description": "Parameters only used during wallet creation. Not included in responses.",
            "allOf": [
              {
                "$ref": "#/components/schemas/v2WalletCreateParams"
              }
            ]
          },
          "btcDetails": {
            "description": "If this wallet contains a Bitcoin network, this field will be populated.",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/v2WalletBTCDetails"
              }
            ]
          }
        },
        "required": [
          "displayName",
          "networks"
        ]
      },
      "v2WalletBTCDetails": {
        "type": "object",
        "properties": {
          "btcNetworkDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/v2WalletBTCDetailsBTCNetworkDetails"
            },
            "readOnly": true
          }
        }
      },
      "v2WalletBTCDetailsBTCNetworkDetails": {
        "type": "object",
        "properties": {
          "network": {
            "type": "string",
            "example": "networks/bitcoin-mainnet",
            "description": "A specific btc network of the wallet.",
            "readOnly": true
          },
          "mainAddress": {
            "type": "string",
            "description": "The main deposit address of the wallet in the network.",
            "readOnly": true
          },
          "xpub": {
            "type": "string",
            "description": "The xpub of the wallet in the network. Included only when `FULL` view is requested.",
            "readOnly": true
          },
          "format": {
            "example": "P2WPKH",
            "description": "Address format of `main_address`.",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/BTCDetailsAddressFormat"
              }
            ]
          }
        }
      },
      "v2WalletCreateParams": {
        "type": "object",
        "properties": {
          "walletGroups": {
            "type": "array",
            "example": [
              "vaults/1b25635a5b3f/policy/walletGroups/95257c5a522f"
            ],
            "items": {
              "type": "string"
            },
            "description": "Wallet will be assigned to these wallet groups upon creation.\nEach group must have `allow_assignment_on_wallet_creation` enabled.\n\nFormat: `vaults/{vault_id}/policy/walletGroups/{wallet_group_id}`. The\nlegacy `vaults/{vault_id}/walletGroups/{wallet_group_id}` is also accepted."
          },
          "btcDetails": {
            "description": "Bitcoin-specific creation parameters.",
            "allOf": [
              {
                "$ref": "#/components/schemas/v2WalletCreateParamsBTCDetails"
              }
            ]
          }
        },
        "description": "Parameters only used during wallet creation."
      },
      "v2WalletCreateParamsBTCDetails": {
        "type": "object",
        "properties": {
          "btcNetworkDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WalletCreateParamsBTCDetailsBTCNetworkDetails"
            },
            "description": "Per-network format selections. Bitcoin-based networks in the wallet\nthat are not listed here use their default format. Each `network` must\nappear at most once."
          }
        },
        "description": "Bitcoin-specific creation parameters. Ignored on non-Bitcoin wallets."
      },
      "v2WalletEVMDetails": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "The address of the wallet.",
            "readOnly": true
          }
        }
      },
      "v2WalletStellarDetails": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "The address of the wallet.",
            "readOnly": true
          }
        }
      },
      "v2WalletTonDetails": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "The address of the wallet.",
            "readOnly": true
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```