getExecutingPoolAccData
getExecutingPoolAccData(
provider,executingPoolAccPubkey):Promise<ExecpoolAcc>
Fetches and decodes the executing pool account data 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
Promise<ExecpoolAcc>
The decoded executing pool account data.
Throws
Error if the account cannot be fetched or the discriminator is unknown.