Rate Counterparty
rate_walletLeave a 1–5 star peer rating for a counterparty after a completed escrow.
Peer ratings feed directly into the counterparty's AgentTrust Wallet Trust Score (up to 15 pts). One rating per escrow per rater. Ratings are permanent and public.
Proof required: provide rater_signature + rater_public_key + signature_ts (signed locally with xrpl.core.keypairs.sign), or use an enterprise x-api-key linked to rater_address.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet_address": "<wallet_address>",
"escrow_id": "<escrow_id>",
"rating": "<rating>",
"rater_address": "<rater_address>",
"rater_role": "<rater_role>"
},
"name": "rate_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | Yes | Star rating from 1 (poor) to 5 (excellent). | |
| comment | No | Optional short comment about the counterparty (max 280 chars). | |
| escrow_id | Yes | The escrow ID for the completed transaction. One rating allowed per escrow per rater. | |
| rater_role | Yes | Your role in the escrow: 'buyer' or 'worker'. | |
| signature_ts | No | Unix timestamp used when signing (must be within 5 min of now). | |
| rater_address | Yes | Your XRPL wallet address (r...) — the rater. | |
| wallet_address | Yes | The XRPL wallet address (r...) of the counterparty you are rating. | |
| rater_signature | No | Hex signature over 'agenttrust-rate:{escrow_id}:{rated}:{rating}:{ts}' from rater_address private key. | |
| rater_public_key | No | Hex public key whose derived address == rater_address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||