hookr_build_agent_income · Tokenize an agent's income
read-onlyBuilds, one stage per call, the unsigned calls that turn an ERC-8004 agent's payments into a Hookr revenue token from the agent's own wallet: the agent income door for the token's predicted address, then the mint with USDG listed and the door as its stream, then the link in the agent's record, each simulated from the wallet; pass the same terms on every call, send the stage's calls, call again for the next stage, and pay the door only once doorTakesPayments is true.
Input schema
{
"type": "object",
"properties": {
"wallet": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "The agent's own wallet on the ERC-8004 identity registry, which signs every call and becomes the token's creator."
},
"agentId": {
"type": "string",
"pattern": "^#?[0-9]{1,78}$",
"description": "The agent's ERC-8004 id."
},
"name": {
"type": "string",
"maxLength": 200,
"description": "The revenue token's name, the same on every call (default AGENT<id> Revenue)."
},
"symbol": {
"type": "string",
"maxLength": 16,
"description": "The revenue token's ticker, the same on every call (default AGENT<id>r)."
},
"supply": {
"type": "string",
"pattern": "^[1-9][0-9]{0,29}$",
"description": "The supply in whole revenue tokens, all minted to the wallet, the same on every call (default 1000000)."
}
},
"required": [
"wallet",
"agentId"
],
"additionalProperties": false
}