Arcium LogoArcium TS SDK Docs

getExecutingPoolAccInfo

getExecutingPoolAccInfo(provider, executingPoolAccPubkey): Promise<ExecutingPoolAccount>

Fetches and decodes the executing pool account info for any pool size.

Parameters

ParameterTypeDescription
providerAnchorProviderThe Anchor provider to use for fetching accounts.
executingPoolAccPubkeyPublicKeyThe public key of the executing pool account.

Returns

Promise<ExecutingPoolAccount>

The decoded executing pool account info.

Throws

Error if the account cannot be fetched or the discriminator is unknown.