Arcium LogoArcium TS SDK Docs

getMempoolAccInfo

getMempoolAccInfo(provider, mempoolAccPubkey): Promise<MempoolAccount>

Fetch and decode the mempool account info for any mempool account size.

Parameters

ParameterTypeDescription
providerAnchorProviderAnchor provider to use for fetching accounts.
mempoolAccPubkeyPublicKeyPublic key of the mempool account.

Returns

Promise<MempoolAccount>

Decoded mempool account info.

Throws

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