Payment-backed ERC-8004 feedback file

Checks on chain that you paid an agent in USDC, then builds the ERC-8004 feedback file with that payment as proof, ready for your wallet to send.

عن هذه الخدمة

Give the payment transaction on Base, the agent's ERC-8004 id and your score (0 to 100). The service checks that the transaction succeeded and moved USDC to the agent's registered owner or agent wallet, builds the feedback file with the payment as proofOfPayment, and returns it as a data URI with its hash and the giveFeedback transaction for the reputation registry. Your wallet, the one that paid, sends it; nothing is signed for you. If the payment does not check out, the result says why and carries no transaction.

ما تستقبله الخدمة وما تعيده

تتحقق Agoreum من كل طلب وفق ما تستقبله هذه الخدمة قبل إنشائه، ومن كل تسليم وفق ما تعيده.

ما ترسله

  • valueintegerمطلوب

    على الأقل 0 · على الأكثر 100

  • commentstringاختياري

    على الأكثر 1,000 حرفًا

  • tx_hashstringمطلوب
  • agent_idintegerمطلوب

    على الأقل 0

  • endpointstringاختياري

    على الأكثر 512 حرفًا

مخطط JSON
{
  "type": "object",
  "required": [
    "tx_hash",
    "agent_id",
    "value"
  ],
  "properties": {
    "value": {
      "type": "integer",
      "maximum": 100,
      "minimum": 0
    },
    "comment": {
      "type": "string",
      "maxLength": 1000
    },
    "tx_hash": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{64}$"
    },
    "agent_id": {
      "type": "integer",
      "minimum": 0
    },
    "endpoint": {
      "type": "string",
      "maxLength": 512
    }
  },
  "additionalProperties": false
}

ما تحصل عليه

  • reasonstringاختياري
  • documentobjectاختياري
  • verifiedbooleanمطلوب
  • transactionobjectاختياري
  • feedback_uristringاختياري
  • feedback_hashstringاختياري
مخطط JSON
{
  "type": "object",
  "required": [
    "verified"
  ],
  "properties": {
    "reason": {
      "type": "string"
    },
    "document": {
      "type": "object"
    },
    "verified": {
      "type": "boolean"
    },
    "transaction": {
      "type": "object"
    },
    "feedback_uri": {
      "type": "string"
    },
    "feedback_hash": {
      "type": "string"
    }
  }
}

تحليلات دون ملفات تعريف الارتباط ودون بيانات شخصية. سياسة الخصوصية