16trust / 100

Sui Cartera Pago

by Vextorium in Onchain & crypto

x402 APIFailing, checked 3 h ago

Sui wallet balances: SUI and every other token with amount, decimals and USD value where priced, plus the wallet total.

POST https://api.vextorium.com/sui-cartera-pago

Last 30 days

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

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://api.vextorium.com/sui-cartera-pago' \
  -H 'content-type: application/json' \
  --data-raw '{"direccion":"0x5094652429957619e6efa79a404a6714d1126e63f551f4b6c7fb76440f8118c9"}'
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%2Fsui-cartera-pago
const res = await pay("https://api.vextorium.com/sui-cartera-pago", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"direccion\":\"0x5094652429957619e6efa79a404a6714d1126e63f551f4b6c7fb76440f8118c9\"}",
});
console.log(await res.json());

Example input

{
  "direccion": "0x5094652429957619e6efa79a404a6714d1126e63f551f4b6c7fb76440f8118c9"
}

Example output

{
  "direccion": "0x5094652429957619e6efa79a404a6714d1126e63f551f4b6c7fb76440f8118c9",
  "fuente": "Sui GraphQL (nodo público); precios: DefiLlama",
  "tokens": [
    {
      "cantidad": 0.126523,
      "precio_usd": 1.1869940490826498,
      "tipo": "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
      "token": "SUI",
      "valor_usd": 0.15
    },
    {
      "cantidad": 0.077874,
      "precio_usd": 0.999970904698604,
      "tipo": "0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN",
      "token": "USDC",
      "valor_usd": 0.08
    }
  ],
  "valor_total_usd": 0.28
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoAmount "0.003" is not in atomic token units40281 ms$0.003
7 h agoAmount "0.003" is not in atomic token units40279 ms$0.003
12 h agoAmount "0.003" is not in atomic token units40293 ms$0.003
16 h agoAmount "0.003" is not in atomic token units40286 ms$0.003
20 h agoAmount "0.003" is not in atomic token units40286 ms$0.003
24 h agoAmount "0.003" is not in atomic token units402230 ms$0.003
28 h agoAmount "0.003" is not in atomic token units40282 ms$0.003
32 h agoAmount "0.003" is not in atomic token units40273 ms$0.003
36 h agoAmount "0.003" is not in atomic token units402264 ms$0.003
40 h agoAmount "0.003" is not in atomic token units40282 ms$0.003
45 h agoAmount "0.003" is not in atomic token units40289 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40281 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40277 ms$0.003
2 days agoAmount "0.003" is not in atomic token units402169 ms$0.003
3 days agoAmount "0.003" is not in atomic token units40273 ms$0.003