Pool depth for a denomination bucket
Inspect the anonymity set for a standard denomination bucket before swapping — how many recent deposits share that bucket. A deeper pool means a larger crowd to hide in.
curl -X GET "https://example.com/agents/v1/anonymity-set?bucket=SOL_1"{
"bucket": "SOL_1",
"poolDepth": 42,
"strength": "strong",
"raw": {}
}{
"error": "missing_required_fields"
}Quote a private swap
Price a private swap before executing it. Returns the expected output after Solrouter's spread plus anonymity-set guidance — whether the amount snaps to a standard denomination bucket (strong privacy) or is an off-bucket amount with a unique on-chain fingerprint.
Begin a one-shot ephemeral-wallet private swap (Mode B)
Start a private swap that runs through a throwaway ephemeral wallet — no managed custody. Solrouter returns an unsigned `fundingTx`; the agent signs and broadcasts it, then calls `POST /swaps/oneshot/{id}/execute` to kick off the swap orchestrator.