npm install @xenarch/sdk. Source: xenarch-sdks/js/sdk. See the TypeScript SDK guide.
- Choose which networks and coins a pay link takes:
links.networks(),links.setNetworks(). Besides USDC on Base, a link can take USDC and USDT on Ethereum, BNB Chain and Monad, and USDT on Tron.links.availableNetworks()lists them all. XEN-719 links.walletScan()shows a payer’s balances and network fees on each network a link takes.- Payments and orders carry
network,token,chain_idandexplorer_url.
- README: the seller pays Xenarch 1% of each payment. Gasless applies to agent (x402) payments; people paying a pay link send an ordinary USDC transfer and pay Base’s network fee. XEN-675 XEN-673
- Covers the full public API: pay links, payments, subscribers, orders, webhooks and the agent control plane. XEN-555
- New wrappers: metered collection (
collect.prepare), subscription suspend and unsuspend, metered cap suggestions, and thesubscription.status_changedwebhook type. XEN-636 - Fixed: the services API now sends your credentials. XEN-637
- Verify webhook signatures with the timestamped
X-Xenarch-Signature: t=…,v1=…scheme, which rejects replayed deliveries. XEN-431