@arcium-hq/clientFunctions
getMempoolAccInfo
getMempoolAccInfo(
provider,mempoolAccPubkey):Promise<MempoolAccount>
Fetch and decode the mempool account info for any mempool account size.
Parameters
| Parameter | Type | Description |
|---|---|---|
provider | AnchorProvider | Anchor provider to use for fetching accounts. |
mempoolAccPubkey | PublicKey | Public key of the mempool account. |
Returns
Decoded mempool account info.
Throws
Error if the account cannot be fetched or the discriminator is unknown.