Skip to main content
Version: v4 (next)

Get Participant Session

Return the on-chain Participant Session that matches a given session ID (UUID) (MOD-PP-QRY-5). Use this to prove the peer paid (PPI/PPV) before you issue or request a presentation.

Query Parameters

NameDescriptionMandatory
idSession ID (UUID) that was exchanged between peers.yes

Execute the Query

Usage

veranad query pp get-participant-session <session-id> --node $NODE_RPC --output json

Example

SESSION_ID=d9f96456-fe25-46a2-b115-4a6198b1bf7d
veranad query pp get-participant-session $SESSION_ID --node $NODE_RPC --output json

Example Output

Real testnet output. A session holds one or more session records, each keyed to the issuer/verifier and agent participants involved:

{
"session": {
"id": "d9f96456-fe25-46a2-b115-4a6198b1bf7d",
"corporation_id": "6",
"vs_operator": "verana16mzeyu9l6kua2cdg9x0jk5g6e7h0kk8q6uadu4",
"created": "2026-07-10T08:10:00.555798Z",
"modified": "2026-07-10T08:10:05.587186Z",
"session_records": [
{
"id": "1",
"created": "2026-07-10T08:10:00.555798Z",
"issuer_participant_id": "6",
"wallet_agent_participant_id": "8",
"agent_participant_id": "8"
},
{
"id": "2",
"created": "2026-07-10T08:10:05.587186Z",
"issuer_participant_id": "6",
"wallet_agent_participant_id": "8",
"agent_participant_id": "8"
}
]
}
}