Concordium badge lookup (free)
concordium_badge_checkFree: look up an agent in Concordium's Agent Registry (CIS-8004) by its badge, the CIS-2 token address an Agent Card carries, or by the longer Agent ID that Concordium's registry app shows. Returns whether the badge is valid (Active, the card at agent_uri hashes to the metadata_hash on chain, and that card carries this badge), the owner account (tied to a verified identity), the agent wallet, the origins the card lists, and the CIS-8 key the agent binds with the address it stands for and whether the CIS-8 registry still holds it. To check the payTos of an x402 endpoint against its seller's badge, use x402_payee_check. Read-only. Shares the free limit of 10 calls per hour.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| badge | Yes | The badge (e.g. Mf22oVsbu3vf4Jb1cga49), its ccd:<genesis>/cis-2:<address> form, or the registry app's Agent ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | match, mismatch or unread | |
| badge | Yes | The badge as its short CIS-2 token address (an Agent ID is turned into it) | |
| owner | No | The owner account: a Concordium account, tied to a verified identity at the protocol level | |
| valid | Yes | Active, the card at agent_uri hashes to the metadata_hash on chain, and the card carries this badge | |
| issues | Yes | Why it is not valid; empty when valid | |
| status | No | ||
| network | No | mainnet or testnet, from the badge's own registry contract | |
| tokenId | No | ||
| agentUri | No | ||
| agentWallet | No | ||
| card_origins | No | The origins the anchored card lists as the agent's own | |
| external_key | No | The key the agent binds with CIS-8: namespace, key_type, the address it stands for, and still_bound (the CIS-8 registry still holds it for the owner) |