roadmap

Roadmap

What hashspan will trace next, and what it already does. There are no dates: an item ships with the first release after its pull request is merged.

Stable: 1.0 5

1.0.0 is out and every exit criterion was met. What it froze.

  • hashspan 1.0.0

    release

    npm install gives 1.0.0. The public API in the API reports is frozen. It removes what was announced: the positional handle methods, blockchain.system (use blockchain.system.name) and the timeout status constant. It also traces sendRawTransaction and sendRawTransactionSync (#33).

    migration guide →
  • What 1.0 freezes

    release

    The declarations in each package’s API report and the behaviour the docs promise freeze; the semantic conventions stay development under their change policy. Decided in ADR 0027 (accepted).

    ADR 0027 →
  • Exit criteria already met

    release

    Every export documented and checked in CI, no open P0 or P1 issue, the names reviewed as a whole, each adapter validated in a real integration, and a first run that needs nothing beyond the docs (#242).

    roadmap.md →
  • Rules for untrusted input

    core

    What telemetry reads from remote parties, the caller and error text is untrusted: own data only, validated and bounded, with closed sets for metric labels (ADR 0025, accepted; the core applies its bounds since 0.10).

    ADR 0025 →
  • API decisions, shipped

    core

    Core API boundary (ADR 0014) and the send span as the active context (ADR 0015) in 0.4; status from chain data only (ADR 0016) in 0.4 and 0.5.

    ADR 0014 →

Candidates 5

Not scheduled: each needs a user or an integration that asks for it.

Shipped 55

Released in 0.1 to 1.3. Newest first; the changelog has every release.

1.3

  • A JSON-RPC fault proxy for tests

    test

    The new @hashspan/faults 0.1.0 sits between an EVM client and a local node such as Anvil and makes chosen JSON-RPC methods hang, fail with an HTTP status or a JSON-RPC error, reset or answer wrong, so a client’s own retries run as in production. It works with any JSON-RPC client and does not depend on hashspan (ADR 0032, accepted).

    ADR 0032 →
  • RPC gateways in the same trace

    viem

    propagateTraceContext(), an opt-in hook for viem’s http() transport, sends each JSON-RPC span’s traceparent, so a gateway such as eRPC records its spans in the agent’s trace. It never sends baggage; needs viem 2.21.25 or later (viem 1.3).

    ADR 0030 →
  • User operations sent elsewhere

    viem

    watchUserOperation() confirms a user operation that a smart account SDK or a hosted wallet sent and returned only a hash for: from the userOpHash through a bundler, or from the bundle hash and the sender. The confirm span is the user operation’s, not the bundle transaction’s (viem 1.3).

    ADR 0031 →
  • JSON-RPC span without a method name

    viem

    A request whose method is not a method name gets a span named jsonrpc instead of _OTHER. rpc.method stays _OTHER, so a query on rpc.method matches before and after (viem 1.3).

    #477 →
  • Example: an agent that pays an x402 API

    example

    examples/x402-agent: an AI SDK agent sends a tip and buys a report from a paid API, both in its trace. It runs offline on Anvil, with no API key.

    example →

1.2

  • MPP payments

    payments

    The new @hashspan/mpp 0.1.0 records each Tempo charge paid through an mppx client, push or pull, as a payment span; with a reader, a linked confirm span and blockchain.payment.verified. Needs @hashspan/core 1.2 (ADR 0029, accepted).

    ADR 0029 →
  • A replacement viem missed

    viem

    A transaction replaced before viem’s wait read it ends as replaced, with the replacing hash, instead of timeout; checkReplacement: false turns the search off (viem 1.1.1).

    #446 →
  • Tempo fee tokens on any receipt

    viem

    A Tempo fee paid by an EIP-1559 transaction records the receipt’s feeToken as blockchain.tx.fee_asset, not the native currency (viem 1.1.1).

    #442 →
  • Smart account SDK sends

    viem

    A smart account SDK’s sendTransaction, writeContract and sendCalls on a finished client are no longer recorded as the bundle transaction; apply withHashspan() before the SDK’s actions for user operation spans (viem 1.1.1).

    #443 →
  • x402 batch-settlement

    x402

    A batch-settlement payment records the request’s charge as its settled amount, not the channel deposit, and no transaction (x402 1.1.1).

    #440 →

1.1

  • The asset a fee was paid in

    core

    On chains that charge gas in a token (Celo, Tempo), the confirm span records blockchain.tx.fee_asset and the fee sample carries blockchain.fee.denomination token. Fee values are not converted (1.1).

    ADR 0028 →
  • OP Stack operator fee

    core

    Chains with the Isthmus operator fee record it as blockchain.tx.operator_fee on the confirm span, apart from blockchain.tx.fee (1.1).

    #416 →
  • Sponsored fees and Tempo receipts

    viem

    A fee paid by another account is marked blockchain.fee.payer sponsor. A pending Tempo receipt ends the confirm span without an outcome, and followMultisigOperations optionally waits for the relayed transaction (1.1).

    #421 →
  • The confirmations a wait asked for

    core

    The confirm span records blockchain.tx.wait.confirmations, from the wait that ended it (1.1).

    #426 →
  • The error a send failed with

    viem

    A failed send records the error viem classified it as, such as NonceTooLowError or InsufficientFundsError, as error.type, not the wrapper class. Queries on the wrapper need the new values (1.1).

    #411 →
Earlier releases (0.1 to 1.0) 40

1.0

  • Raw transactions

    viem

    A transaction signed elsewhere (a KMS or HSM signer, a relayer) and broadcast through viem gets a send span from sendRawTransaction and sendRawTransactionSync; the span has no sender, since only the signature gives it (1.0).

    #33 →

0.12

  • sendTransactionSync and writeContractSync

    viem

    viem 2.38 and later: the calls that send and return the receipt in one go record a send span and a confirm span with the receipt’s status, fees and revert reason (0.12).

    #377 →
  • A reorg shows on the confirm span

    viem

    A wait for more than one confirmation reads the receipt again after the last one. If a reorganisation moved the transaction the span records the new receipt; if it removed it, the span ends with error.type not_on_chain (0.12).

    ADR 0026 →
  • Metrics once the SDK is up

    core

    A tracker whose first transaction is sent before an SDK registers a meter provider records metrics once one is registered (0.12).

    #384 →

0.11

  • Who paid the fee

    core

    Fee samples whose fee the traced sender did not pay carry blockchain.fee.payer: facilitator for a payment’s settlement transaction, paymaster for a user operation. Filter on it to chart what an agent spent (0.11).

    #351 →
  • blockchain.system.name

    semconv

    blockchain.system is renamed to blockchain.system.name, as OpenTelemetry names the system attribute of db.* and rpc.*. Both are recorded with the same value until 1.0; metric series gain a label, so rate() across the upgrade undercounts once (0.11).

    #365 →
  • Unusual errors and input

    core

    A failed call whose error cannot be read is still recorded as a failure, URLs after other text are cut to their origin in sanitized messages, and agent identity from Baggage is recorded only within a bounded character set (0.11).

    #359 →
  • Every export documented

    docs

    The type declarations of all four packages carry a doc comment on every export and every member, and CI fails on a stale API report (0.11).

    #362 →

0.10

  • Retries after a failed receipt request

    viem

    Background confirmation and watch() poll again after an HTTP 429, a JSON-RPC error, a timeout or a reset, until timeoutMs; before, one failed request ended the confirm span. The CDP and x402 readers go through watch() too (0.10).

    #322 →
  • Every span ends

    core

    A send, confirm or payment span whose receipt, result or rejection cannot be read ends with error.type _OTHER instead of staying open, and a receipt status other than success or reverted is no longer recorded as success (0.10).

    #308 →
  • Bounded input

    core

    The tracker validates and bounds every value it records, also the ones a caller or an adapter passes in: chain ids, hashes, addresses, error names, revert reasons (ADR 0025, 0.10).

    #338 →

0.9

  • EIP-5792 call batches

    viem

    sendCalls, waitForCallsStatus and sendCallsSync as send and confirm spans keyed by the batch id, with the batch status (0.9).

    ADR 0022 →
  • EIP-7702 authorizations

    viem

    The send span of a type 4 transaction records how many authorizations it carries, and each delegated address and chain id; never signatures or nonces (0.9).

    #165 →
  • Addresses in one form

    core

    Lower case on every span, so queries match one value. Queries and dashboards that match checksummed addresses need the lower-case form (0.9).

    ADR 0004 →
  • Grafana dashboard in the local lab

    example

    make lab-metrics adds Prometheus and Grafana with a dashboard for the send, confirmation and fee histograms (0.9).

    backends →
  • Privacy fixes

    core

    A hex value cut by a length bound is dropped whole, URLs in sanitized error messages are cut to their origin, watch() checks the chain of a client without one, and CDP leaves the keys of wrapped objects alone (0.9, cdp 0.9.1).

    release notes →
  • Tested further

    test

    Every documented integration runs against Anvil in CI, user operations go through a real bundler, fee and receipt matching is mutation-tested, and the packages are checked on every supported Node.js (0.9).

    0.9 milestone →

0.8

  • Smart account user operations

    core

    ERC-4337 user operations as send and confirm spans, for viem bundler clients and CDP smart accounts (0.8).

    ADR 0021 →
  • Permit2 payments verified by their nonce

    x402

    The settlement transaction must pass the payer’s Permit2 nonce, so an earlier payment’s transaction is never taken for this one (0.8).

    ADR 0017 →
  • Revert reasons after a same-block deploy

    viem

    A transaction that calls a contract created earlier in the same block is replayed on its own block (viem 0.8.2).

    ADR 0005 →
  • Fees from the sealed receipt

    viem

    On flashblocks RPCs such as Base's, a confirm span waits for the sealed receipt before it records fees (viem 0.8, CDP 0.8.1).

    ADR 0024 →

0.7

  • JSON-RPC spans from a viem transport

    viem

    traceTransport() records each provider request as a client span named after its method (0.7).

    ADR 0019 →
  • A limit on background confirmations

    viem

    At most 256 background confirmations poll at once by default (0.7).

    ADR 0018 →
  • Metrics

    core

    Send and confirmation duration and fee histograms, with chain and outcome attributes only (0.7).

    ADR 0020 →

0.6

  • Verify x402 settlements

    x402

    blockchain.payment.verified records whether the settlement transaction carries your payment: for exact payments authorized with EIP-3009 (0.6), and with Permit2, exact and upto (0.7).

    ADR 0017 →
  • Example on Base Sepolia

    example

    make demo-base-sepolia runs the example agent on a public testnet.

    example →

0.5

  • Settled amount for x402

    x402

    blockchain.payment.settled_amount records what was actually charged, next to the amount the payer authorized.

    release notes →

0.4

  • x402 payments

    x402

    A payment span per paid request; with a reader, the settling transaction gets a confirm span linked to it.

    ADR 0013 →

0.3

  • Background confirmation and watch()

    viem

    Confirms transactions without an explicit wait, including ones sent by a wallet API.

    roadmap.md →
  • Coinbase CDP server accounts

    cdp
    ADR 0012 →

0.1 and 0.2

  • send and confirm spans

    core

    Linked by transaction hash, with agent identity from Baggage and privacy modes.

    ADR 0002 →
  • viem adapter

    viem

    Hooks for sendTransaction, writeContract and waitForTransactionReceipt.

    package →
  • One confirm span per transaction

    core
    ADR 0007 →
  • Replaced transactions

    core

    Receipts are attributed to the transaction that was mined.

    ADR 0008 →
  • Revert reason decoding

    viem

    Mined reverts are replayed and decoded.

    ADR 0005 →
  • Privacy controls

    core

    Error messages and call arguments are opt-in; addresses can be hashed or dropped.

    ADR 0006 →
  • Telemetry off the call path

    core

    Chain id resolution never delays a send.

    ADR 0009 →
  • flush() before shutdown

    core
    ADR 0010 →
  • Example agent and make demo

    example

    An AI SDK agent on a local chain, no API key needed.

    example →
  • npm releases with provenance

    release
    releases →

Type to search the docs, Learn topics and the blog.