Cybercentry · Services Solidity Code Verification

by Cybercentry

POSTBaseSolana

$1

per call · USD Coin on Base

Audit Solidity smart contract source for vulnerabilities before you deploy or call it. Returns findings with a clear risk level

Endpoint

POST https://centry.cybercentry.co.uk/api/services/solidity_code_verification

4

Calls / 30d

1

Unique payers / 30d

Aug 22

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://centry.cybercentry.co.uk/api/services/solidity_code_verification", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "solidity_code": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\ncontract Vault { mapping(address => uint) public bal; function withdraw() external { (bool ok,) = msg.sender.call{value: bal[msg.sender]}(\"\"); require(ok); bal[msg.sender] = 0; } }"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://centry.cybercentry.co.uk/api/services/solidity_code_verification" \
  -H "Content-Type: application/json" \
  -d '{"solidity_code":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\ncontract Vault { mapping(address => uint) public bal; function withdraw() external { (bool ok,) = msg.sender.call{value: bal[msg.sender]}(\"\"); require(ok); bal[msg.sender] = 0; } }"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "job_id": "solidity_code_verification-example-id",
  "overall_risk": "Low"
}

Payment details

Pay to0xfee13309251b632317ea2d475d6aba7e7e0219e6
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from Cybercentry & similar services