43trust / 100

Kaspa Tx

by Saylor Innovations Data Desk in Onchain & crypto

x402 APIFailing, checked 5 h ago

Kaspa transaction lookup: accepted status, inputs and outputs with addresses, fee, mass and block time, read from the Kaspa REST indexer.

GET
https://saylorinnovations.com/api/explorer/kaspa/tx
Price
$0.01
per call in USDC
Uptime
75.0%
last 30 days
Response time
279 ms
793 ms slowest 5%
Last check
Failed
5 h ago, next in 18 h

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 5 h ago: Expected HTTP 402, got 404

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://saylorinnovations.com/api/explorer/kaspa/tx

Each call costs $0.01 in USDC on Polygon, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://saylorinnovations.com/api/explorer/kaspa/tx?txid=40d26e849c675841d1f9607a420726f3d26f5511bb01e6e2a52e9cc3599a6b12

Parameters

ParameterTypeRequiredDescription
txidstringYesthe Kaspa transaction id (64 hex characters)

Example response

The provider's example. We can't check it without paying.

Example response, 35 lines
{
  "accepted": true,
  "chain": "kaspa",
  "fee_kas": 0.006,
  "input_count": 2,
  "inputs": [
    {
      "address": "kaspa:qplv9dmcqvyyfxj9lrd0q44wy0rhrsm7kfn887rwmvrjt9c8weyyyrvv45rkh",
      "amount_kas": 617.27,
      "index": 0,
      "previous_tx": "9031d48330f22c7963a07a912e0ee2782a7dbdbf411a3440e68281e93676ee21"
    },
    {
      "address": "kaspa:qrs3v5pcuk007wtpj620h7nn8z7l66xl07x63yvjnzluhhsxxlyt7c3ascn7c",
      "amount_kas": 300584.44953184,
      "index": 0,
      "previous_tx": "a97833b4d39f2974bacce70e75083dffb57ef2f7a70531e8b4e7a288be710f6a"
    }
  ],
  "mass": 4742,
  "note": "Read from a Kaspa indexer API. accepted false means the transaction is in a block but not yet accepted by the chain: wait before treating it as final. The fee is inputs minus outputs and is null for coinbase (mining reward) transactions, which have no inputs.",
  "output_count": 1,
  "outputs": [
    {
      "address": "kaspa:qrs3v5pcuk007wtpj620h7nn8z7l66xl07x63yvjnzluhhsxxlyt7c3ascn7c",
      "amount_kas": 301201.71353184,
      "index": 0
    }
  ],
  "source": "Kaspa REST API",
  "time": "2026-10-20T17:24:13.637Z",
  "total_input_kas": 301201.71953184,
  "total_output_kas": 301201.71353184,
  "txid": "40d26e849c675841d1f9607a420726f3d26f5511bb01e6e2a52e9cc3599a6b12"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/explorer/kaspa/tx?txid=40d26e849c675841d1f9607a420726f3d26f5511bb01e6e2a52e9cc3599a6b12'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/explorer/kaspa/tx?txid=40d26e849c675841d1f9607a420726f3d26f5511bb01e6e2a52e9cc3599a6b12' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Fexplorer%2Fkaspa%2Ftx
const res = await pay("https://saylorinnovations.com/api/explorer/kaspa/tx?txid=40d26e849c675841d1f9607a420726f3d26f5511bb01e6e2a52e9cc3599a6b12");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://saylorinnovations.com/api/explorer/kaspa/tx?txid=40d26e849c675841d1f9607a420726f3d26f5511bb01e6e2a52e9cc3599a6b12")
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
5 h agoExpected HTTP 402, got 404404265 ms-
23 h agoExpected HTTP 402, got 404404248 ms-
3 days agoTimed out---
4 days agoPassed402347 ms$0.01
5 days agoPassed402400 ms$0.01
Show 10 older checks
6 days agoPassed402290 ms$0.01
6 days agoPassed402294 ms$0.01
7 days agoPassed402242 ms$0.01
7 days agoPassed402289 ms$0.01
8 days agoPassed402361 ms$0.01
8 days agoPassed402178 ms$0.01
9 days agoPassed402189 ms$0.01
9 days agoPassed402202 ms$0.01
10 days agoPassed402447 ms$0.01
10 days agoPassed402178 ms$0.01

History

2 Nov 2026Price on Solana changed from 102536 units of So11111111111111111111111111111111111111112 to 102742 units of So11111111111111111111111111111111111111112
2 Nov 2026Price on Solana changed from 102147 units of So11111111111111111111111111111111111111112 to 102536 units of So11111111111111111111111111111111111111112
2 Nov 2026Price on Solana changed from 102993 units of So11111111111111111111111111111111111111112 to 102147 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 102428 units of So11111111111111111111111111111111111111112 to 102993 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 101751 units of So11111111111111111111111111111111111111112 to 102428 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 101581 units of So11111111111111111111111111111111111111112 to 101751 units of So11111111111111111111111111111111111111112
29 Oct 2026Price on Solana changed from 97213 units of So11111111111111111111111111111111111111112 to 96932 units of So11111111111111111111111111111111111111112
29 Oct 2026Price on Solana changed from 95726 units of So11111111111111111111111111111111111111112 to 97213 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 94164 units of So11111111111111111111111111111111111111112 to 95726 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 95472 units of So11111111111111111111111111111111111111112 to 94164 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 96095 units of So11111111111111111111111111111111111111112 to 95472 units of So11111111111111111111111111111111111111112
27 Oct 2026Price on Solana changed from 96249 units of So11111111111111111111111111111111111111112 to 96095 units of So11111111111111111111111111111111111111112
26 Oct 2026Price on Solana changed from 95877 units of So11111111111111111111111111111111111111112 to 96249 units of So11111111111111111111111111111111111111112
26 Oct 2026Price on Solana changed from 95265 units of So11111111111111111111111111111111111111112 to 95877 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 96363 units of So11111111111111111111111111111111111111112 to 95265 units of So11111111111111111111111111111111111111112