> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modo.link/llms.txt
> Use this file to discover all available pages before exploring further.

# GetActiveContracts

> Stream active Daml contracts for the authenticated party

**Server-streaming RPC.** Streams all active Daml contracts currently visible to the authenticated party, one contract per message. Results can be narrowed down with a `template_filters` list.

## Request

<ParamField path="template_filters" type="string[]">
  Optional list of Daml template identifiers to filter by. Leave empty to stream everything visible to the caller.
</ParamField>

```proto theme={null}
message GetActiveContractsRequest {
  repeated string template_filters = 1;
}
```

## Response

Stream of `GetActiveContractsResponse`:

```proto theme={null}
message GetActiveContractsResponse {
  ActiveContractInfo contract = 1;
}
```

Each `ActiveContractInfo` contains the contract ID, template ID, and serialised payload.

## Example

```bash theme={null}
grpcurl -d '{"template_filters": []}' \
  rpc-devnet.modo-api.app:443 \
  silvana.ledger.v1.DAppProviderService/GetActiveContracts
```

## See also

* [`GetUpdates`](/agentic-api/core/get-updates) — stream future ledger updates instead of the current snapshot.
* [`GetSettlementContracts`](/agentic-api/dvp/get-settlement-contracts) — narrow lookup for DvP-related contracts by settlement ID.
* [`GetPreapprovals`](/agentic-api/preapproval/get-preapprovals) — narrow lookup for active `TransferPreapproval` contracts.
* [`AcceptCip56`](/agentic-api/cip56/accept-cip56) — common consumer of CIP-56 `TransferOffer` contract IDs discovered here.
