Check an x402 seller on Concordium before paying it
check_sellerWithout paying and without a wallet: reads any x402 seller's 402 answer and checks that seller on Concordium, as a paying agent's guard would (concordium-x402-guard): an Active agent in the CIS-8004 Agent Registry, the official badge check, the Agent Card unchanged since its SHA-256 was pinned on-chain, and payTo = the agent's own on-chain agentWallet (on Base: a key bound to its owner in CIS-8). Returns each check and whether the guard would pay. testnet or mainnet.
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": {
"url": "<url>"
},
"name": "check_seller"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The seller's paid x402 URL (https, public host) | |
| body | No | JSON body, for a POST | |
| method | No | GET | |
| network | No | Concordium network the seller's agent is registered on | testnet |
| pay_network | No | Which payment option to check, as CAIP-2 (e.g. eip155:8453 for Base); default the Concordium one |