{"endpoint":"/register","description":"POST to register a new ERC-8004 agent on-chain","extension":"8004-reputation","supportedNetworks":["ethereum","base","polygon","arbitrum","optimism","celo","bsc","monad","avalanche","skale-base","hedera","ethereum-sepolia","base-sepolia","polygon-amoy","arbitrum-sepolia","optimism-sepolia","celo-sepolia","avalanche-fuji","skale-base-sepolia","hedera-testnet","solana","solana-devnet"],"body":{"x402Version":"string - protocol version (1)","network":"string - target network (e.g., 'base-mainnet', 'ethereum')","agentUri":"string - URI pointing to agent registration file (IPFS, HTTPS)","metadata":"array (optional) - key-value metadata entries [{key, value}]","recipient":"string (optional) - address to receive the agent NFT. If omitted, the facilitator retains ownership."},"response":{"success":"boolean","agentId":"number - the newly assigned agent ID (ERC-721 tokenId)","transaction":"string - registration transaction hash","transferTransaction":"string (optional) - transfer transaction hash if recipient was specified","owner":"string - current owner of the agent NFT","network":"string"},"notes":{"gasless":"The facilitator pays all gas fees for registration and transfer","transferBehavior":"When recipient is specified, the facilitator mints the NFT then transfers it via ERC-721 safeTransferFrom. The agentWallet is cleared on transfer and must be re-set by the new owner.","relatedEndpoints":{"GET /identity/:network/:agentId":"Read agent identity","GET /identity/:network/:agentId/metadata/:key":"Read agent metadata","GET /identity/:network/total-supply":"Get total registered agents","POST /feedback":"Submit reputation feedback"}}}