@arcium-hq/clientFunctions
getRawCircuitAccAddress
getRawCircuitAccAddress(
compDefPubkey,rawCircuitIndex):PublicKey
Derives the raw circuit account address for a given computation definition and index.
Parameters
| Parameter | Type | Description |
|---|---|---|
compDefPubkey | PublicKey | The public key of the computation definition account. |
rawCircuitIndex | number | The index of the raw circuit account (0-based). |
Returns
PublicKey
The derived raw circuit account public key.