Utility Endpoints

Solana utility endpoints that build unsigned transactions to close empty token accounts and recover SOL, or withdraw accumulated MEV rewards such as Jito.

These Solana wallet utilities do not submit transactions. Each one returns an unsigned transaction you can sign locally. One closes empty SPL and Token-2022 accounts and returns the locked SOL. The other withdraws accumulated MEV rewards, such as Jito.

Endpoints

EndpointMethod & PathWhat it returns
Close Token AccountsPOST /v4/wallets/util/close-token-accountsBuild a transaction that closes empty token accounts and recovers the locked SOL.
Withdraw MEVPOST /v4/wallets/util/withdraw-mevBuild a transaction that claims accumulated MEV rewards, such as Jito.

Other Endpoint Categories

You are on Utility Endpoints. This table lists the other Solana API reference groups, including tokens, trades, wallets, markets, swaps, Pyth prices, programs, and reference data.