Solrouter
APISessions

On-chain attestation for a settled session

Once a session settles, fetch its on-chain attestation PDA + a snapshot of the swap (mints, amounts, final tx) with Solscan links.

GET
/agents/v1/attestations/{sessionId}

Path Parameters

sessionId*string

Response Body

application/json

application/json

curl -X GET "https://example.com/agents/v1/attestations/b3d9a1e2-5c4f-4a8b-9e7d-1f2a3b4c5d6e"
{
  "sessionId": "b3d9a1e2-5c4f-4a8b-9e7d-1f2a3b4c5d6e",
  "attestationPda": "AtStPdaXyZ1111111111111111111111111111111111",
  "explorerUrl": "https://solscan.io/account/AtStPdaXyZ1111111111111111111111111111111111",
  "snapshot": {
    "mode": "oneshot",
    "fromMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "toMint": "So11111111111111111111111111111111111111112",
    "amountIn": "1000000",
    "amountOut": "6628113450",
    "finalTxSig": "5h7Qw2KQz9oA3nP1cVxYtRb8sLmJ4dE6fGh9kU2wXcZ1aBpQ7rT3vN5mY8sD0fL2gH4jK6lM9nP1qR3sT5uV7w",
    "finalTxExplorer": "https://solscan.io/tx/5h7Qw2KQz9oA3nP1cVxYtRb8sLmJ4dE6fGh9kU2wXcZ1aBpQ7rT3vN5mY8sD0fL2gH4jK6lM9nP1qR3sT5uV7w",
    "startedAt": "2026-06-09T17:55:00.000Z",
    "settledAt": "2026-06-09T17:56:15.000Z"
  }
}
{
  "error": "missing_required_fields"
}