getComputationAccAddress
getComputationAccAddress(
clusterOffset,offset):PublicKey
Derives the computation account address for a given cluster and offset.
Parameters
| Parameter | Type | Description |
|---|---|---|
clusterOffset | number | The offset of the cluster this computation will be executed by. |
offset | BN | The computation offset as an anchor.BN. |
Returns
PublicKey
The derived computation account public key.