16trust / 100

Solana Program

by Vextorium in Onchain & crypto

x402 APIFailing, checked 4 h ago

Solana program info: executable, loader, whether its code can be upgraded and who holds the upgrade authority, last deployment slot. Key to judge a protocol's admin risk before using it.

POST https://api.vextorium.com/v1/solana-program

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
4 h ago: Amount "0.004" is not in atomic token units
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/solana-program" \
  -H "content-type: application/json" \
  -d '{"program":"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fv1%2Fsolana-program
const res = await pay("https://api.vextorium.com/v1/solana-program", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"program":"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"}),
});
console.log(await res.json());

Example input

{
  "program": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"
}

Example output

{
  "charger": "BPFLoaderUpgradeab1e11111111111111111111111",
  "executable": true,
  "lamports": 6949115527,
  "last_deployment_slot": 451957263,
  "program": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
  "program_data": "4Ec7ZxZS6Sbdg5UGSLHbAnM7GQHp2eFd4KYWRexAipQT",
  "risk": "The authority can change the code at any time.",
  "update_authority": "CvQZZ23qYDWF2RUpxYJ8y9K4skmuvYEEjH7fK58jtipQ",
  "upgradeable": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoAmount "0.004" is not in atomic token units40279 ms$0.004
8 h agoAmount "0.004" is not in atomic token units40282 ms$0.004
13 h agoAmount "0.004" is not in atomic token units40288 ms$0.004
17 h agoAmount "0.004" is not in atomic token units402135 ms$0.004
21 h agoAmount "0.004" is not in atomic token units40285 ms$0.004
25 h agoAmount "0.004" is not in atomic token units40287 ms$0.004
29 h agoAmount "0.004" is not in atomic token units40278 ms$0.004
33 h agoAmount "0.004" is not in atomic token units40282 ms$0.004
37 h agoAmount "0.004" is not in atomic token units40280 ms$0.004
41 h agoAmount "0.004" is not in atomic token units402324 ms$0.004
45 h agoAmount "0.004" is not in atomic token units40279 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40278 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40278 ms$0.004
2 days agoAmount "0.004" is not in atomic token units402171 ms$0.004
3 days agoAmount "0.004" is not in atomic token units40287 ms$0.004