# iou.list() [[Source]](https://github.com/ripple/simpleXRPL/blob/95b977b15f8950c5bc076b25165217869c0b06d3/src/verticals/iou.ts#L150) List every IOU trust line for an account. ## Signature ```ts iou.list( params?: IOUListParams ): Promise ``` ## Parameters | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `role` | `'holder' | 'issuer'` | No | Query as `holder` (default) or `issuer`. | | `account` | `string` | No | The account whose trust lines to list. Defaults to the primary signer's account. | ## Returns Resolves to an `IOUListResult`, where `ious[i]` corresponds to `data[i]`: | Field | Type | Description | | --- | --- | --- | | `ious` | `readonly string[]` | The `iouID` of each line, composable into the write operations. | | `data` | `readonly IOUTrustLine[]` | The shaped trust lines. See [iou.retrieve](/docs/simplexrpl/references/verticals/iou/retrieve#ioutrustline) for `IOUTrustLine`. | ## Underlying XRPL request Read-only — no signer is required and nothing is submitted. Queries the ledger with [account_lines](https://xrpl.org/docs/references/http-websocket-apis/public-api-methods/account-methods/account_lines). ## Example ```ts const { data } = await client.iou.list() for (const line of data) { console.log(line.currency, line.balance) } ```