get_solana_setup_status
Probe a Solana wallet for existing durable-nonce account and MarginfiAccount PDAs to skip redundant setup steps before a multi-step flow.
Instructions
READ-ONLY — probe which one-time setup pieces are already in place for a Solana wallet: the durable-nonce account (exists / address / current nonce value / authority) and the set of MarginfiAccount PDAs (index + address). Call this BEFORE planning a multi-step Solana flow (nonce init → MarginFi init → supply) so agents can skip redundant prepare_* calls instead of re-proposing them and letting the user correct you. Mirrors the get_ledger_status pattern of cheap chain-read setup introspection. One getAccountInfo per probed PDA; no SDK load, no oracle fetch. Returns empty arrays / exists:false when nothing's set up — never throws for an empty wallet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | Solana wallet to probe. Returns the state of the durable-nonce account (exists / address / lamports / currentNonce / authority) and the list of existing MarginfiAccount PDAs (accountIndex + address) for the wallet. Read-only, no RPC fan-out — one getAccountInfo per probed PDA. |