@arcium-hq/clientFunctions
getExecutingPoolAccInfo
getExecutingPoolAccInfo(
provider,executingPoolAccPubkey):Promise<ExecutingPoolAccount>
Fetch and decode the executing pool account info for any pool size.
Parameters
| Parameter | Type | Description |
|---|---|---|
provider | AnchorProvider | Anchor provider to use for fetching accounts. |
executingPoolAccPubkey | PublicKey | Public key of the executing pool account. |
Returns
Decoded executing pool account info.
Throws
Error if the account cannot be fetched or the discriminator is unknown.