{"name":"Vaultfire — File Belief Attestation","summary":"File a zk belief attestation against BeliefAttestationVerifier (Dilithium-style). Caller submits proofBytes + uint256[] publicInputs; the contract verifies on-chain.","description":"Vaultfire — zero-knowledge attestation of a belief / claim about an agent or state. The proof is verified entirely on chain by BeliefAttestationVerifier. Both proofBytes and publicInputs are ABI-encoded to call verifyProof(bytes, uint256[]). — ENDPOINT BEHAVIOR: GET returns this spec for free. POST (paid $0.05 USDC) returns an unsigned tx; sign locally. — ON-CHAIN MECHANIC (BeliefAttestationVerifier.verifyProof(bytes proof, uint256[] publicInputs)): each publicInput MUST be in the uint256 range [0, 2^256). proofBytes MUST be valid hex. — NOTE: this endpoint does NOT validate the cryptographic correctness of the proof; it ABI-encodes the call and lets the on-chain verifier reject invalid proofs.","priceUsdc":"0.25","tags":["vaultfire","attestation","zk-proof","belief","dilithium"],"mimeType":"application/json","inputSchema":{"bodyType":"json","bodyFields":{"walletAddress":{"type":"address","required":true,"description":"Attester wallet — becomes msg.sender."},"proofBytes":{"type":"hex","required":true,"description":"Hex-encoded zk proof bytes. “0x” prefix optional."},"publicInputs":{"type":"array","required":true,"description":"Non-empty array of uint256-compatible values (strings or numbers). ABI-encoded as uint256[]."},"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":"BeliefAttestationVerifier","solidityFunction":"verifyProof(bytes proof, uint256[] publicInputs)","selector":"0x1e8e1e13","payable":false,"usesEip3009":false,"valueConstraints":null},"networks":[{"chain":"base","chainId":8453,"rpc":"https://base-rpc.publicnode.com","explorer":"https://basescan.org","contract":"0x32211773C8266774A704aeD471f8eF073f34bA79","contractExplorerUrl":"https://basescan.org/address/0x32211773C8266774A704aeD471f8eF073f34bA79","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":"0x2711AA5f1934Fe97825F02e51cB5Da58d1759625","contractExplorerUrl":"https://snowtrace.io/address/0x2711AA5f1934Fe97825F02e51cB5Da58d1759625","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":"0xaaC44F1396f3F5b3C06048a1F819DC9b0f86D90c","contractExplorerUrl":"https://arbiscan.io/address/0xaaC44F1396f3F5b3C06048a1F819DC9b0f86D90c","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":"0xBc4208A7A59af3B7E438d3308C3dc0d299d739a7","contractExplorerUrl":"https://polygonscan.com/address/0xBc4208A7A59af3B7E438d3308C3dc0d299d739a7","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.25 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":"proofBytes not valid hex","reason":"invalid proof bytes"},{"condition":"publicInputs empty","reason":"no public inputs"},{"condition":"publicInput out of uint256 range","reason":"input out of range"},{"condition":"on-chain verifier rejects the proof","reason":"proof rejected"}],"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/attest-belief","/api/x402/actions/submit-trust-attestation"]},"_discovery":{"version":"1.0","emittedBy":"vaultfire-x402","endpointStability":"stable","getIsFree":true,"postIsPaid":true}}