{"name":"Vaultfire — Create Partnership Bond","summary":"Mint an AI Partnership Bond on AIPartnershipBondsV2. Human stakes ETH; bond is owned by the human–AI pair and earns distribution based on Flourishing Metrics.","description":"Vaultfire — partnership bonds for human↔AI collaboration that rewards real flourishing. The human (msg.sender) and the AI agent (aiAgent) MUST be different addresses. The stake is escrowed; distribution unlocks only after on-chain Flourishing Metrics show measurable human growth, autonomy, dignity, mastery, and creativity. — ENDPOINT BEHAVIOR: GET returns this spec for free. POST (paid $0.10 USDC) returns an unsigned PAYABLE tx; sign locally. — ON-CHAIN MECHANIC (AIPartnershipBondsV2.createBond(address aiAgent, string partnershipType) payable): (1) msg.value MUST be > 0 — wei is passed in tx.value; (2) aiAgent MUST NOT equal msg.sender; (3) partnershipType length MUST be 1–200 bytes.","priceUsdc":"0.50","tags":["vaultfire","partnership-bond","flourishing-metrics","human-ai"],"mimeType":"application/json","inputSchema":{"bodyType":"json","bodyFields":{"walletAddress":{"type":"address","required":true,"description":"Human wallet — becomes msg.sender and bond owner."},"aiAgent":{"type":"address","required":true,"description":"AI agent address bound to this partnership. MUST differ from walletAddress."},"partnershipType":{"type":"string","required":true,"description":"Free-form partnership label, 1–200 bytes (e.g. “research-copilot”)."},"stakeWei":{"type":"uint256","required":false,"description":"msg.value of the returned tx (ETH stake in wei). Default 1e16 wei = 0.01 ETH.","default":"10000000000000000"},"chain":{"type":"string","required":false,"description":"Target chain. Default base.","enum":["base","avalanche","arbitrum","polygon"],"default":"base"}}},"outputSchema":{"type":"object","properties":{"success":{"type":"boolean","required":true,"description":"Always true on a 200 response."},"txData":{"type":"object","required":true,"description":"Unsigned tx: { to, data, value, chainId, gasEstimate }. Sign locally and broadcast."},"chain":{"type":"string","required":true,"description":"The chain the tx is prepared for."},"contract":{"type":"address","required":true,"description":"Target contract on the chosen chain."},"explorer":{"type":"string","required":true,"description":"Block-explorer URL for the contract."},"message":{"type":"string","required":true,"description":"Human-readable summary the caller can show in their UI."}}},"contract":{"name":"AIPartnershipBondsV2","solidityFunction":"createBond(address aiAgent, string partnershipType) payable","selector":"0x7ac5113b","payable":true,"usesEip3009":false,"valueConstraints":{"minWei":"1","note":"msg.value MUST be > 0. This is the ETH stake escrowed by the bond."}},"networks":[{"chain":"base","chainId":8453,"rpc":"https://base-rpc.publicnode.com","explorer":"https://basescan.org","contract":"0x01C479F0c039fEC40c0Cf1c5C921bab457d57441","contractExplorerUrl":"https://basescan.org/address/0x01C479F0c039fEC40c0Cf1c5C921bab457d57441","usdcDomain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},{"chain":"avalanche","chainId":43114,"rpc":"https://api.avax.network/ext/bc/C/rpc","explorer":"https://snowtrace.io","contract":"0xDC8447c66fE9D9c7D54607A98346A15324b7985D","contractExplorerUrl":"https://snowtrace.io/address/0xDC8447c66fE9D9c7D54607A98346A15324b7985D","usdcDomain":{"name":"USD Coin","version":"2","chainId":43114,"verifyingContract":"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"}},{"chain":"arbitrum","chainId":42161,"rpc":"https://arb1.arbitrum.io/rpc","explorer":"https://arbiscan.io","contract":"0xf92baef9523BC264144F80F9c31D5c5C017c6Da8","contractExplorerUrl":"https://arbiscan.io/address/0xf92baef9523BC264144F80F9c31D5c5C017c6Da8","usdcDomain":{"name":"USD Coin","version":"2","chainId":42161,"verifyingContract":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831"}},{"chain":"polygon","chainId":137,"rpc":"https://polygon-bor-rpc.publicnode.com","explorer":"https://polygonscan.com","contract":"0xC574CF2a09B0B470933f0c6a3ef422e3fb25b4b4","contractExplorerUrl":"https://polygonscan.com/address/0xC574CF2a09B0B470933f0c6a3ef422e3fb25b4b4","usdcDomain":{"name":"USD Coin","version":"2","chainId":137,"verifyingContract":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"}}],"servicePayee":{"address":"0xfA15Ee28939B222B0448261A22156070f0A7813C","ens":"ghostkey.base.eth","note":"All Vaultfire service fees route to the protocol payee. Never send funds to any other address claiming to be Vaultfire."},"integration":["1. GET this endpoint (free) to retrieve the spec.","2. Build the POST body matching inputSchema.bodyFields.","3. POST with valid x402 payment header (price: 0.50 USDC).","4. Endpoint returns unsigned txData. Sign LOCALLY in your wallet. Vaultfire NEVER accepts private keys.","5. Broadcast the signed tx to the chain RPC. Track via explorer URL."],"reverts":[{"condition":"msg.value == 0","reason":"zero stake"},{"condition":"aiAgent == msg.sender","reason":"human and AI must differ"},{"condition":"partnershipType empty or > 200 bytes","reason":"partnership type out of range"}],"liveProof":{"status":"pattern-only","note":"This specific action has not yet been exercised on mainnet under live monitoring. The underlying primitive (tx-prepare with caller-side signing, EIP-3009 settlement where applicable) is verified by the live atomic-bond proof linked below."},"patternProof":{"pattern":"EIP-3009 + atomic settlement (pay-and-execute, one transaction, one signature)","contract":"0x3479307333c0AF75423A9B2F6826441Feb1F9F85","chain":"base","chainId":8453,"verifiedOn":"sourcify","verifiedMatch":"exact_match","exampleTx":"0x9b5b0643c212ea095db02e86cc739c13473d21d27fa94b7371078d549a0fdae0","exampleBlock":46383869,"exampleGas":276841,"exampleNote":"First production atomic bond. Single tx emitted USDC AuthorizationUsed + USDC Transfer + AtomicBondCreated. The same EIP-3009 + atomic-execute primitive is the basis of every payable Vaultfire action.","explorerUrl":"https://basescan.org/tx/0x9b5b0643c212ea095db02e86cc739c13473d21d27fa94b7371078d549a0fdae0","sourceUrl":"https://repo.sourcify.dev/contracts/full_match/8453/0x3479307333c0AF75423A9B2F6826441Feb1F9F85/"},"security":{"privateKeysPolicy":"Vaultfire NEVER accepts private keys. All POST handlers reject any field shaped like a private key (privateKey, private_key, secret, mnemonic, seed).","signingModel":"tx-prepare: the endpoint returns unsigned calldata. The caller signs locally in their wallet (Base App, MetaMask, WalletConnect, Coinbase Wallet, etc.) and broadcasts.","custodyModel":"no-custody: Vaultfire holds nothing. Funds and stakes settle inside the caller's own transaction.","x402Facilitator":"Verify / Settle / Submit-signed are CORS-restricted to known marketplace origins. Nonces are durably deduplicated in Upstash KV (fail-closed on KV outage)."},"links":{"documentation":"https://theloopbreaker.com/docs","protocol":"https://theloopbreaker.com","repository":"https://gitlawb.com/z6MkryiNsYdFEMHv95wxzSQ1vtFXPyVQQrxXdPw3tE5HpfxV/vaultfire","relatedEndpoints":["/api/x402/actions/submit-partnership-metrics","/api/x402/actions/register-for-partnership","/api/x402/actions/request-bond-distribution"]},"_discovery":{"version":"1.0","emittedBy":"vaultfire-x402","endpointStability":"stable","getIsFree":true,"postIsPaid":true}}