80trust / 100

Xrpl Account

by twin.unykorn.org in Security & trust

x402 APIPassing, checked 1 min ago

XRPL account read — balance, reserve, spendable, trustlines, flags — Genesis402 / UnyKorn Operator Network

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
135 ms typical, 141 ms slowest 5%
Last check
1 min ago
Next check
in 27 min

How to call it

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

Example input

{
  "params": {
    "account": "rsJ3PGGDH4vPpedjfVRe9YKTCf9BWu6TDC"
  }
}

Example output

{
  "balance_xrp": "8.341856",
  "flags": {
    "deposit_auth": false,
    "require_dest_tag": false
  },
  "found": true,
  "ledger_index": 107117487,
  "network": "xrpl:mainnet",
  "ok": true,
  "owner_count": 6,
  "receipt": {
    "amount_usd": 0.008,
    "receipt_id": "g402-<16hex>",
    "tx_hash": "0x<64hex>"
  },
  "reserve_xrp": "2.2",
  "spendable_xrp": "6.141856",
  "trustlines": [
    {
      "balance": "969998000",
      "currency": "UNY",
      "frozen": false,
      "issuer": "rNep…FS4"
    }
  ],
  "type": "xrpl-account"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 min agoPassed402137 ms$0.008
4 h agoPassed402141 ms$0.008
7 h agoPassed402135 ms$0.008
11 h agoPassed402150 ms$0.008
14 h agoPassed402129 ms$0.008
18 h agoPassed402134 ms$0.008
22 h agoPassed402137 ms$0.008
25 h agoPassed402135 ms$0.008
30 h agoPassed402134 ms$0.008