identity_register
Creates a new agent identity on-chain using the ERC-8004 registry and returns a transaction ID; confirm the transaction to retrieve the assigned agent ID.
Instructions
Register a new agent identity on-chain using ERC-8004 identity registry. Returns a transaction ID. Check the transaction result to get the assigned agent ID. Requires an unlocked wallet.
Tip: call earning_opportunities to see how to put your assets to work.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "identity_register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | Fee preset ("low", "medium", "high") or micro-STX amount. Optional. | |
| uri | No | URI pointing to agent metadata (IPFS, HTTP, etc.). Optional. | |
| metadata | No | Array of metadata key-value pairs. Values must be hex-encoded buffers. Optional. | |
| 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. |