Arcium LogoArcium TS SDK Docs

getExecutingPoolAccInfo

getExecutingPoolAccInfo(provider, executingPoolAccPubkey): Promise<ExecutingPoolAccount>

Fetch and decode the executing pool account info for any pool size.

Parameters

ParameterTypeDescription
providerAnchorProviderAnchor provider to use for fetching accounts.
executingPoolAccPubkeyPublicKeyPublic key of the executing pool account.

Returns

Promise<ExecutingPoolAccount>

Decoded executing pool account info.

Throws

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