16trust / 100
Tron Balance
by Vextorium in Onchain & crypto
x402 APIFailing, checked 49 min ago
Balance of a Tron address: TRX (free and staked), TRC-20 tokens (USDT, USDC, USDD...) and the bandwidth and energy available to send without fees. Live from a public Tron node.
POST https://api.vextorium.com/v1/tron-balance
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 49 min ago: Amount "0.004" is not in atomic token units
- Next check
- in 11 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/tron-balance" \
-H "content-type: application/json" \
-d '{"address":"TNXoiAJ3dct8Fjg4M9fkLFh9S2v9TXc32G"}'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%2Ftron-balance
const res = await pay("https://api.vextorium.com/v1/tron-balance", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"address":"TNXoiAJ3dct8Fjg4M9fkLFh9S2v9TXc32G"}),
});
console.log(await res.json());Example input
{
"address": "TNXoiAJ3dct8Fjg4M9fkLFh9S2v9TXc32G"
}Example output
{
"address": "TNXoiAJ3dct8Fjg4M9fkLFh9S2v9TXc32G",
"created": "2021-09-14T11:03:45+00:00",
"enabled": true,
"explorer": "https://tronscan.org/#/address/TNXoiAJ3dct8Fjg4M9fkLFh9S2v9TXc32G",
"resources": {
"energy": 292458051,
"free_bandwidth": 231,
"staking_bandwidth": 2929
},
"source": "TronGrid (public Tron node)",
"tokens": [
{
"amount": 1748125490538.6,
"contract": "TAFjULxiVgT4qWk6UZwjqwZXTSaGaqnVp4",
"gross_amount": "1748125490538600000006974517547",
"symbol": "BTT"
},
{
"amount": 38988447.15873,
"contract": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"gross_amount": "38988447158730",
"symbol": "USDT"
}
],
"trx": 7873931.201282,
"trx_frozen": 0
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 49 min ago | Amount "0.004" is not in atomic token units | 402 | 79 ms | $0.004 |
| 5 h ago | Amount "0.004" is not in atomic token units | 402 | 76 ms | $0.004 |
| 9 h ago | Amount "0.004" is not in atomic token units | 402 | 96 ms | $0.004 |
| 14 h ago | Amount "0.004" is not in atomic token units | 402 | 263 ms | $0.004 |
| 18 h ago | Amount "0.004" is not in atomic token units | 402 | 106 ms | $0.004 |
| 22 h ago | Amount "0.004" is not in atomic token units | 402 | 79 ms | $0.004 |
| 26 h ago | Amount "0.004" is not in atomic token units | 402 | 79 ms | $0.004 |
| 30 h ago | Amount "0.004" is not in atomic token units | 402 | 79 ms | $0.004 |
| 34 h ago | Amount "0.004" is not in atomic token units | 402 | 264 ms | $0.004 |
| 38 h ago | Amount "0.004" is not in atomic token units | 402 | 88 ms | $0.004 |
| 43 h ago | Amount "0.004" is not in atomic token units | 402 | 171 ms | $0.004 |
| 46 h ago | Amount "0.004" is not in atomic token units | 402 | 99 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 78 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 84 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 73 ms | $0.004 |