Transfer Agent Ownership
Prepare an ERC-8004 identity ownership transfer through x402.
safeTransferFrom that moves an ERC-8004 agent identity from Brickken custody to a wallet you control. This facade maps to agentTransferOwnership.
By default Brickken is the on-chain owner of the agent identity in brickken-relayed mode. Call this method only when you explicitly want to take custody of the identity NFT yourself.
Authentication
Omitx-api-key. Prepare is free. On POST /send-transactions the API returns 402 Payment Required; sign the x402 payment locally and retry with X-PAYMENT. In brickken-relayed mode Brickken’s relayer (the current owner) signs and broadcasts the transfer once payment is verified.
Key Fields
| Parameter | Required | Description |
|---|---|---|
chainId | Yes | Target chain ID. Use 8453 for Base mainnet or 84532 for Base Sepolia. Decimal and hex values are accepted. |
newOwner | Yes | Wallet that will receive the ERC-8004 identity NFT. Must differ from the current owner. |
agentUuid or agentId | Usually | Agent identifier from registration or the on-chain agent ID. The agent must already be registered on-chain. |
executionMode | No | brickken-relayed (recommended) or client-signed. |
signerAddress | Conditional | Required in client-signed mode (must be the current owner). Omit in brickken-relayed mode. |
Response
Returns a prepared unsigned transaction andtxId. Submit it to POST /send-transactions and complete the x402 payment.
brickken-relayed: send{ txId, transactions }; Brickken signs and broadcasts.client-signed: sign the transaction locally as the current owner, then send{ txId, signedTransactions }.
Authorizations
Base64-encoded x402 payment payload. Supported for x402-eligible agentic methods on /x402/... facades, /prepare-transactions, and eligible /send-transactions retries.
Body
Target operation chain ID. Use 8453 on Base mainnet or 84532 on Base Sepolia.
"8453"
"84532"
Wallet that will receive the ERC-8004 identity NFT.
^0x[a-fA-F0-9]{40}$Execution mode. Use brickken-relayed to let Brickken's relayer sign, pay gas, and broadcast (omit signerAddress). Use client-signed to sign the prepared transaction yourself.
brickken-relayed, client-signed Wallet that signs the prepared blockchain transaction. Required only in client-signed mode; omit in brickken-relayed mode.
^0x[a-fA-F0-9]{40}$Optional explicit gas limit.
Optional explicit nonce when managing nonces manually.
Optional private RPC URL override.
Optional owner attribution email.
Alias for ownerEmail where supported.
Stored tokenized agent UUID returned by agentRegister.
On-chain ERC-8004 agent ID.