identity_set_uri
Update an agent identity's metadata URI in the ERC-8004 registry; requires an unlocked wallet and owner or approved operator authorization.
Instructions
Update the URI for an agent identity in the ERC-8004 identity registry. Requires an unlocked wallet. Must be called by agent owner or approved operator.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | Fee preset ("low", "medium", "high") or micro-STX amount. Optional. | |
| uri | Yes | New URI pointing to agent metadata (IPFS, HTTP, etc.) | |
| agentId | Yes | Agent ID to update | |
| sponsored | No | Use sponsored transaction relay so a relay service pays fees instead of your wallet. Requires SPONSOR_API_KEY env var or wallet-level sponsorApiKey. |