getExecutingPoolAccInfo
getExecutingPoolAccInfo(
provider,executingPoolAccPubkey):Promise<ExecutingPoolAccount>
Fetches and decodes the executing pool account info for any pool size.
Parameters
| Parameter | Type | Description |
|---|---|---|
provider | AnchorProvider | The Anchor provider to use for fetching accounts. |
executingPoolAccPubkey | PublicKey | The public key of the executing pool account. |
Returns
The decoded executing pool account info.
Throws
Error if the account cannot be fetched or the discriminator is unknown.