80trust / 100

Stellar Account

by twin.unykorn.org in Security & trust

x402 APIPassing, checked 4 min ago

Stellar account read — balances, trustlines, signers, thresholds, flags — Genesis402 / UnyKorn Operator Network

POST https://twin.unykorn.org/stellar-account

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
138 ms typical, 163 ms slowest 5%
Last check
4 min ago
Next check
in 29 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://twin.unykorn.org/stellar-account" \
  -H "content-type: application/json" \
  -d '{"params":{"account":"GBYLA6VHX4UWIFEEC2KAOJK57RUKIR2CKO7TGVRDWMG2A3B2W4ZHJEPI"}}'
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%2Ftwin.unykorn.org%2Fstellar-account
const res = await pay("https://twin.unykorn.org/stellar-account", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"params":{"account":"GBYLA6VHX4UWIFEEC2KAOJK57RUKIR2CKO7TGVRDWMG2A3B2W4ZHJEPI"}}),
});
console.log(await res.json());

Example input

{
  "params": {
    "account": "GBYLA6VHX4UWIFEEC2KAOJK57RUKIR2CKO7TGVRDWMG2A3B2W4ZHJEPI"
  }
}

Example output

{
  "balances": [
    {
      "asset": "USDC",
      "authorized": true,
      "balance": "0.3406290",
      "issuer": "GA5Z…KZVN"
    }
  ],
  "found": true,
  "home_domain": "usdf.unykorn.org",
  "native_balance": "30.0459001",
  "network": "stellar:pubnet",
  "ok": true,
  "receipt": {
    "amount_usd": 0.008,
    "receipt_id": "g402-<16hex>",
    "tx_hash": "0x<64hex>"
  },
  "signers": [
    {
      "key": "GBYL…JEPI",
      "weight": 1
    }
  ],
  "thresholds": {
    "high_threshold": 0,
    "low_threshold": 0,
    "med_threshold": 0
  },
  "type": "stellar-account"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 min agoPassed402149 ms$0.008
4 h agoPassed402138 ms$0.008
7 h agoPassed402133 ms$0.008
11 h agoPassed402163 ms$0.008
14 h agoPassed402128 ms$0.008
18 h agoPassed402923 ms$0.008
22 h agoPassed402125 ms$0.008
25 h agoPassed402132 ms$0.008
30 h agoPassed402139 ms$0.008