Transaction creation

xchain-sdk

The developer SDK: the front door for builders.

Where it fits

Your app SDK Encoder · Explorer · Hub

The developer front door: one method per action, explorer queries, batching, and live events.

What it is

The SDK turns the whole protocol into a clean library: a builder for each developer-invocable action, 100+ explorer queries, a batch builder, live event streaming, and PSBT generation.

How it fits into the platform

It is how developers build on XChain. It discovers service endpoints from the hub and talks to the encoder and explorer on the developer's behalf.

What it can do

  • Builders for all 31 developer-invocable ACTIONs + 100+ explorer queries
  • Batch builder to combine actions into one transaction
  • Live WebSocket event subscriptions
  • Endpoint discovery via the hub
  • Retries, connection pooling, and request hooks

Under the hood

  • Node library, JSON-RPC microservice, or browser bundle
  • Stateless

← All components