x402-secure-api.t54.ai/x402/solana/tools/evaluate_agent_payment
Evaluate an agent's pending payment plan by submitting agent_id, wallet_address, and a full agent_trace. Returns a normalized summary acknowledging the payload. Price: $0.001 USDC (Solana)
POST
https://x402-secure-api.t54.ai/x402/solana/tools/evaluate_agent_paymentUptime100% of 3 checks in 30 days
30 days agoToday
Call it from an agent
curl -i -X POST -H 'content-type: application/json' "https://x402-secure-api.t54.ai/x402/solana/tools/evaluate_agent_payment" \
-d '{"agent_id":{"type":"string","required":true,"description":"Unique identifier of the agent performing the action (e.g., '\''agent_123'\'')."},"agent_trace":{"type":"object","required":true,"description":"Agent execution trace object. Include '\''task'\'' (string), '\''events'\'' (array of event objects with fields like '\''ts'\'', '\''type'\'', '\''role'\''/'\''name'\'', '\''content'\''/'\''arguments'\''/'\''result'\''), and '\''completed_at'\'' (ISO timestamp).'
# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.Example input
{"agent_id":{"type":"string","required":true,"description":"Unique identifier of the agent performing the action (e.g., 'agent_123')."},"agent_trace":{"type":"object","required":true,"description":"Agent execution trace object. Include 'task' (string), 'events' (array of event objects with fields like 'ts', 'type', 'role'/'name', 'content'/'arguments'/'result'), and 'completed_at' (ISO timestamp).