kx402
v0.1.1Kaspa x402 agent payer — pay x402 v2 services on Kaspa (KAS) per call, no account or API key
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
kaspa_x402_address Wallet address
Return the funding wallet's Kaspa address and network.
kaspa_x402_balance Wallet balance
Return the funding wallet's spendable KAS balance.
kaspa_x402_offer Inspect an x402 offer
Fetch a resource's 402 and return its payment terms. Does NOT pay.
| Parameter | Type | Description |
|---|---|---|
url * | string | The x402 resource URL (returns HTTP 402 with a PAYMENT-REQUIRED header). |
input | string | Input for an embed-style resource (?input=). |
model | string | Model selector for a shared chat gateway (?model=). |
prompt | string | Prompt for a chat resource (?prompt=). |
text | string | Input for a summarize-style resource (?text=). |
kaspa_x402_pay Pay an x402 offer
Pay a Kaspa x402 resource and return its result. SPENDS REAL FUNDS — bounded by the offer's payTo and by max_sompi.
| Parameter | Type | Description |
|---|---|---|
url * | string | The x402 resource URL (returns HTTP 402 with a PAYMENT-REQUIRED header). |
input | string | Input for an embed-style resource (?input=). |
max_sompi | string | Hard cap on the amount to pay, in sompi. Defaults to the offer amount. |
model | string | Model selector for a shared chat gateway (?model=). |
prompt | string | Prompt for a chat resource (?prompt=). |
text | string | Input for a summarize-style resource (?text=). |