Close the connection and end every subscription.
List a program's instruction names, events, and account roles. Pass the
program address. A catalog name also works, but names can be ambiguous
across program versions, so check id in the result. Opens a short-lived
connection to the discovery endpoint.
Subscribe to decoded transactions matching filter. Resolves once the
server accepts the filter; rejects with a ParsedStreamsError if it
doesn't (e.g. -32602 for an unknown field or bad pubkey, -32006 for more
than 25 subscriptions on one connection).
Optionaloptions: ParsedTransactionSubscribeOptions<D>Unsubscribe by current subscription id.
Client for Helius Parsed Streams.
Parsed Streams pushes confirmed transactions that match a server-side filter (program, instruction name, account, account role), already decoded through Helius's IDL catalog. It is the real-time counterpart to Parsed Events and the successor to enhanced transaction webhooks. 1 credit per delivered event.
Delivery is at most once: the server does not replay what confirmed while a connection was down. This client reconnects and resubscribes automatically when the server closes the connection (idle timeout, deploy, network edge), and reports the last slot it delivered through
onReconnectso you can backfill the gap from RPC if you need to.Example