Arcium LogoArcium TS SDK Docs

getMempoolAccInfo

getMempoolAccInfo(provider, mempoolAccPubkey): Promise<MempoolAccount>

Fetches and decodes the mempool account info for any mempool account size.

Parameters

ParameterTypeDescription
providerAnchorProviderThe Anchor provider to use for fetching accounts.
mempoolAccPubkeyPublicKeyThe public key of the mempool account.

Returns

Promise<MempoolAccount>

The decoded mempool account info.

Throws

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