identity_set_wallet
Links an unlocked Stacks wallet address to a specified agent in the ERC-8004 identity registry, enabling on-chain identity updates for that agent.
Instructions
Link the active Stacks wallet address to an agent identity in the ERC-8004 identity registry. Requires an unlocked wallet.
Tip: call earning_opportunities to see how to put your assets to work.
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": {
"agentId": "<agentId>"
},
"name": "identity_set_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | Fee preset ("low", "medium", "high") or micro-STX amount. Optional. | |
| 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. |