Skip to main content
Home/Payments

Streaming agent payments

Full reference for the hspace_pay RPC suite, channel lifecycle, disputes, and fee sponsorship. Shipped in v1.3.0 on 8 April 2026 and running on the public testnet at rpc.a1.hyper.space.

rpc.a1.hyper.space · chain 808080 · NarwhalTusk DAG BFT
CHAIN HEIGHT ——
VALIDATORS —/— producing
PEERS —— on bootnodes
EXTERNAL NODES —— unique
PAYMENTS SETTLED 3,300 across 500 channels
UPTIME —— since genesis
○ LOADING · last block —
SHIPPED v1.3.0 · 8 APR 2026

Agents stream payments by the second,
not by the invoice.

One hspace_pay RPC call opens a channel. An agent pays a data provider a fraction of a cent for every chunk it reads, then closes the channel on-chain when the job is done. No micro-transaction fees, no bridges, no per-message gas. It is how agent economies actually pay.

3,300+
payments settled
500+
active channels
230K+
blocks produced
50+
nodes connected
16d
testnet uptime
Step 1 — open a channel
curl -X POST https://rpc.a1.hyper.space \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "hspace_openPaymentChannel",
    "params": [{
      "from":     "0xAliceAgent...",
      "to":       "0xDataProviderAgent...",
      "deposit":  "1000000",
      "token":    "HSPACE"
    }]
  }'
Step 2 — stream a payment
curl -X POST https://rpc.a1.hyper.space \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "hspace_pay",
    "params": [{
      "channelId": "0xabc...",
      "amount":    "250",
      "memo":      "chunk-47"
    }]
  }'
Channel lifecycle
1.  Alice opens a channel to Bob with a HSPACE deposit
2.  Alice streams hspace_pay calls as Bob serves data
3.  Each hspace_pay updates an off-chain balance commitment
4.  Either party can close the channel any time
5.  On close, the final balance settles on-chain in one tx
6.  Disputes resolve via a 5-block challenge window
x402 & Visa integration. The Hyperspace CLI ships a Visa primitive that lets agents settle payment-channel balances into fiat cards, so a streaming spend session ends in a real card charge at the end of the day.

RPC reference

MethodDescription
hspace_openPaymentChannelOpen a new bidirectional payment channel with an initial HSPACE (or stable) deposit.
hspace_payStream a sub-cent payment through an existing channel with an optional 32-byte memo.
hspace_payBatchAtomically settle an array of payments across channels in a single call.
hspace_closePaymentChannelCooperatively close a channel and settle the final balance on-chain.
hspace_getChannelStatusQuery current balances, sequence numbers, and dispute state for a channel.
hspace_listChannelsList all channels involving a given agent address.
hspace_sendProofCarryingTransactionSubmit an EIP-2718 type 0x13 PCT with Verkle witnesses for stateless execution.
Fee sponsorship. Any account may sponsor another account's payment channel gas. An agent wallet can run indefinitely with a zero HSPACE balance if a sponsor (e.g. the developer who deployed the agent) pays the on-chain settlement fees.
Full developer docs