{"uid":"cap_eK7Gz7YQiUoUSDbg-s4Dw","slug":"api-anchor-x402-com-dbf2ec1f","name":"Anchor Hash to Base + Solana Mainnet","description":"Anchor a 32-byte hash to Base + Solana mainnet — $0.005 USDC","url":"https://api.anchor-x402.com/v1/anchor","method":"POST","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"properties":{"hash":{"type":"string","description":"32-byte hex hash (64 chars, no 0x prefix). Mutually exclusive with `data`."},"data":{"description":"Arbitrary JSON to be canonicalized + SHA-256'd by the server. Mutually exclusive with `hash`."},"note":{"type":"string","description":"Optional 200-char note returned in the response (not on-chain).","maxLength":200}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]},"responseSchema":{"type":"json","example":{"base":{"tx":"0x7fb4d107d8c1b65b33851434c6fd178b682a143904a2bfa89ff2c1fa70974e96","explorer_url":"https://basescan.org/tx/0x7fb4d107d8c1b65b33851434c6fd178b682a143904a2bfa89ff2c1fa70974e96"},"solana":{"tx":"u8rqU4oSQkkHQw93nCCtQym5crh4UjuoNvYhspLcUTEny59asrNNffpmxpgzRuZ4MXQnN5UEoCKQuDS16ZMPKW2","explorer_url":"https://solscan.io/tx/u8rqU4oSQkkHQw93nCCtQym5crh4UjuoNvYhspLcUTEny59asrNNffpmxpgzRuZ4MXQnN5UEoCKQuDS16ZMPKW2"},"anchored_at":1746820000,"merkle_root":"ab0898397c86fbf97c99c6f8b29e55ab697315705777ee1d106e2dcb9bd686b3"}},"example":{"request":{"input":{"body":{"hash":"a3f1c9d2b8e047a6f5c2d9b4e8a1f3c7d6b2e5a9f1c4d7b0e3a6f9c2d5b8e1a4","note":"QA test anchor for dual-chain timestamp proof"},"type":"http","method":"POST","bodyType":"json"}},"response":{"base":{"tx":"0x964c9bfc31fd40788f0c84e7d1f5e56eb76a91e9636115e21866e5af6eb08e8a","explorer_url":"https://basescan.org/tx/0x964c9bfc31fd40788f0c84e7d1f5e56eb76a91e9636115e21866e5af6eb08e8a"},"note":"QA test anchor for dual-chain timestamp proof","solana":{"tx":"2W2ozUYrnDyp6pi391PDSvu7kvRGboRLHtk9KKRVDqGdePhUSrhPsVfN8Z7FdAFBhWYrNRARVU9XvoK3e6TpA7gA","explorer_url":"https://solscan.io/tx/2W2ozUYrnDyp6pi391PDSvu7kvRGboRLHtk9KKRVDqGdePhUSrhPsVfN8Z7FdAFBhWYrNRARVU9XvoK3e6TpA7gA"},"anchored_at":1780528970,"merkle_root":"a3f1c9d2b8e047a6f5c2d9b4e8a1f3c7d6b2e5a9f1c4d7b0e3a6f9c2d5b8e1a4"}},"exampleRequest":{"hash":"a3f1c9d2b8e047a6f5c2d9b4e8a1f3c7d6b2e5a9f1c4d7b0e3a6f9c2d5b8e1a4","note":"QA test anchor for dual-chain timestamp proof"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w50IiRdTbOj2zFvgoiGwQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Anchors a 32-byte hash to both Base and Solana mainnet blockchains, creating a verifiable dual-chain timestamp proof for $0.005 USDC.","exampleAgentPrompt":"Anchor this 32-byte hash to the blockchain — a3f1c9d2b8e047a6f5c2d9b4e8a1f3c7d6b2e5a9f1c4d7b0e3a6f9c2d5b8e1a4 — so I have a dual-chain proof of existence on both Base and Solana mainnet.","exampleUseCases":null,"resultDescription":"Returns transaction IDs or receipts confirming the hash was anchored on both Base mainnet and Solana mainnet, providing a verifiable dual-chain timestamp proof of existence for the submitted 32-byte hash.","failureModes":["Invalid hash format — hash must be exactly 32 bytes (64 hex characters)","Payment failure — insufficient USDC balance or x402 payment not accepted","Blockchain congestion causing delayed confirmation","Hash already anchored — may return existing anchor or create duplicate","Network error on one chain — partial anchor with only one chain confirmed"],"whenToPreferThis":"Use this endpoint when you need a cheap ($0.005 USDC), fast, dual-chain notarization of any 32-byte hash on both Base and Solana mainnet simultaneously. Ideal for proving document existence, content integrity checks, audit trails, and any scenario requiring immutable on-chain timestamps across two chains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:55:34.684Z","isFirstParty":false}