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

# Function: getVerifiedRightsId

> **getVerifiedRightsId**(`digitalAssetAddress`, `digitalAssetId`): `` `0x${string}` ``

Generate a verified rights ID by encoding the digital asset address and ID

## Parameters

### digitalAssetAddress

`` `0x${string}` ``

The address of the digital asset contract

### digitalAssetId

`bigint`

The ID of the digital asset

## Returns

`` `0x${string}` ``

The encoded verified rights ID as a hex string

## Example

```typescript theme={null}
import { getVerifiedRightsId } from '@cultura/sdk/utils'

// Generate the ID for verified rights
const id = getVerifiedRightsId(
  "0x1234567890abcdef1234567890abcdef12345678",
  "42"
)

// Use this ID to query verified rights
const verifiedRights = await queryClient.verifiedRights.getById(id)
```
