{"slug":"api-sandbox-brickken-com-x402-agent-set-uri-9f7520","title":"Prepare ERC-8004 agent URI update","host":"api.sandbox.brickken.com","method":"POST","resource":"https://api.sandbox.brickken.com/x402/agent/set-uri","category":"code","description":"Prepare ERC-8004 agent URI update. Prepare an unsigned transaction that publishes the final ERC-8004 agent URI and profile metadata.","price_listed":0.005,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:84532"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"chainId":"84532","executionMode":"client-signed","signerAddress":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":true,"properties":{"active":{"type":"boolean"},"agentId":{"description":"On-chain ERC-8004 agent ID.","type":"string"},"agentType":{"type":"string"},"agentUuid":{"description":"Stored tokenized agent UUID returned by agentRegister.","type":"string"},"aiModelName":{"type":"string"},"aiModelProvider":{"type":"string"},"chainId":{"default":"84532","description":"Target operation chain ID. This environment allows: 11155111, 84532, 80002.","examples":["84532","11155111","80002"],"type":"string"},"description":{"type":"string"},"documentation":{"format":"uri","type":"string"},"email":{"description":"Alias for ownerEmail where supported.","format":"email","type":"string"},"executionMode":{"default":"client-signed","description":"Discovery defaults to client-signed so the payable prepare step can be invoked and priced directly. Use brickken-relayed explicitly for Brickken signing and broadcasting, or client-broadcast to sign and broadcast locally. Client-controlled modes charge half at prepare and half at send; client-broadcast confirmation requires both txId and txHash.","enum":["client-signed","client-broadcast","brickken-relayed"],"type":"string"},"gasLimit":{"description":"Optional explicit gas limit.","oneOf":[{"type":"string"},{"type":"number"}]},"image":{"format":"uri","type":"string"},"license":{"type":"string"},"metadata":{"additionalProperties":true,"type":"object"},"name":{"type":"string"},"nonce":{"description":"Optional explicit nonce when managing nonces manually.","type":"number"},"ownerEmail":{"description":"Optional owner attribution email.","format":"email","type":"string"},"registrations":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"services":{"items":{"additionalProperties":true,"properties":{"endpoint":{"format":"uri","type":"string"},"name":{"type":"string"},"version":{"type":"string"}},"required":["name","endpoint"],"type":"object"},"type":"array"},"signerAddress":{"description":"Required signer wallet for client-signed and client-broadcast execution.","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"sourceCode":{"format":"uri","type":"string"},"supportedTrust":{"items":{"type":"string"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"version":{"type":"string"},"x402Support":{"type":"boolean"}},"required":["chainId","executionMode"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Prepare ERC-8004 agent URI update. Prepare an unsigned transaction that publishes the final ERC-8004 agent URI and profile metadata.","last_updated":"2026-09-03T10:36:54.975Z","schemes":["exact"]}