89trust / 100

Standard Charters

by api.onesource.io in Onchain & crypto

x402 APIPassing, checked 14 min ago

The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain. Charters, optionally filtered by owner. Fields ending in _raw are 18-decimal integers as strings. Divide by 1e18 to get token amounts.

GET https://api.onesource.io/standard/v1/charters

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
268 ms typical, 268 ms slowest 5%
Last check
14 min ago
Next check
in 14 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.onesource.io/standard/v1/charters?owner=0x5977b25419f9c0ddcb2f89fe204955622f4f57ea"
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.onesource.io%2Fstandard%2Fv1%2Fcharters
const res = await pay("https://api.onesource.io/standard/v1/charters?owner=0x5977b25419f9c0ddcb2f89fe204955622f4f57ea");
console.log(await res.json());

Example input

{
  "owner": "0x5977b25419f9c0ddcb2f89fe204955622f4f57ea"
}

Example output

{
  "as_of_block": 63499000,
  "basis": "charter_list",
  "chain_id": 4663,
  "charters": [
    {
      "accrued_balance_raw": "850000000000000000000",
      "as_of_block": 63499000,
      "branches": 18,
      "burned_block": null,
      "charter_id": 42,
      "dormant_reported_block": null,
      "mint_kind": "auction",
      "minted_block": 60000000,
      "minted_tx": "0xad7e04119ecd85857728205f5b12e95f0bab8e99f9c2f60be5dc79cfc6a8df1f",
      "owner": "0x5977b25419f9c0ddcb2f89fe204955622f4f57ea",
      "price_eth_raw": "2000000000000000000",
      "status": "active"
    }
  ],
  "network": "robinhood",
  "next_after": null,
  "next_before": 41,
  "total_charters": 1000
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
14 min agoPassed402268 ms$0.005
5 h agoPassed402332 ms$0.005