T402 API Reference - v2.8.0
    Preparing search index...

    Function submitFeedback

    • Submit feedback for an agent to the on-chain Reputation Registry.

      Calls giveFeedback on the Reputation Registry contract. Typically used after a successful payment settlement to record positive feedback linking the agent to the transaction.

      Parameters

      • client: ERC8004WriteClient

        Write-capable client for submitting transactions

      • reputationRegistry: `0x${string}`

        Reputation Registry contract address

      • params: FeedbackParams

        Feedback parameters (agentId, value, tags, etc.)

      Returns Promise<`0x${string}`>

      Transaction hash