getCompDefAccInfo
getCompDefAccInfo(
arciumProgram,address,commitment?):Promise<ComputationDefinitionAccount>
Fetches and parses a given ComputationDefinition account.
Parameters
| Parameter | Type | Description |
|---|---|---|
arciumProgram | Program<Arcium> | The Anchor program instance. |
address | PublicKey | The public key of the ComputationDefinition account. |
commitment? | Commitment | (Optional) RPC commitment level. |
Returns
Promise<ComputationDefinitionAccount>
The ComputationDefinitionAccount object.