16trust / 100

Ton Balance

by Vextorium in Onchain & crypto

x402 APIFailing, checked 37 min ago

Balance of a TON address: native TON, account status, .ton domain and its jettons (USDT, NOT, DOGS...) with name, symbol, amount and scam flag. Live from a public TON node.

POST https://api.vextorium.com/v1/ton-balance

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
37 min ago: Amount "0.004" is not in atomic token units
Next check
in 19 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/ton-balance" \
  -H "content-type: application/json" \
  -d '{"address":"EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2"}'
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%2Fton-balance
const res = await pay("https://api.vextorium.com/v1/ton-balance", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2"}),
});
console.log(await res.json());

Example input

{
  "address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2"
}

Example output

{
  "address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",
  "domain": "crypto-flipper.ton",
  "explorer": "https://tonviewer.com/EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",
  "jettons": [
    {
      "amount": 1000,
      "flagged_as_scam": false,
      "jetton": "0:08D67D08037FB1DCE0B3F29101B03AC08A48A23164AD764331F22B40DD64930A",
      "name": "MELLSTROY",
      "symbol": "MEL"
    },
    {
      "amount": 100000,
      "flagged_as_scam": false,
      "jetton": "0:72479CABD7EE2BE116D529518332F6ABC42F82CAD9CE1B4737A52BEB646C772D",
      "name": "OG TON BOSS",
      "symbol": "GRACHEV"
    }
  ],
  "source": "toncenter (public TON node)",
  "status": "active",
  "ton": 1249207215.7166088
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
37 min agoAmount "0.004" is not in atomic token units40278 ms$0.004
5 h agoAmount "0.004" is not in atomic token units40276 ms$0.004
9 h agoAmount "0.004" is not in atomic token units40291 ms$0.004
14 h agoAmount "0.004" is not in atomic token units402126 ms$0.004
18 h agoAmount "0.004" is not in atomic token units40288 ms$0.004
22 h agoAmount "0.004" is not in atomic token units402209 ms$0.004
26 h agoAmount "0.004" is not in atomic token units40269 ms$0.004
30 h agoAmount "0.004" is not in atomic token units40280 ms$0.004
34 h agoAmount "0.004" is not in atomic token units40276 ms$0.004
38 h agoAmount "0.004" is not in atomic token units40292 ms$0.004
42 h agoAmount "0.004" is not in atomic token units40287 ms$0.004
46 h agoAmount "0.004" is not in atomic token units40278 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40275 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40293 ms$0.004
2 days agoAmount "0.004" is not in atomic token units402266 ms$0.004