Ritual API ❖

REST API & TypeScript SDK for Ritual Chain

Version 0.1.0 • Chain ID: 1979

Welcome

The Ritual API provides a comprehensive interface for interacting with Ritual chain precompiles, contracts, and executors. Built with TypeScript and Fastify, it offers both REST endpoints and a full-featured SDK for seamless integration.

Key Features

RitualWallet

Deposit, withdraw, and manage funds with optional locking mechanisms

Precompiles

ONNX inference, JQ parsing, signature verification, and more

Executors

Query and interact with TEE executors by capability

Gas Estimation

Estimate gas costs for all precompile operations

Address Lookup

Easy access to contract and precompile addresses

TypeScript SDK

Full-featured SDK with type-safe interfaces

API Information

1979 Chain ID
3000 Port
3 Contracts
6 Precompiles

Ready to Get Started?

Explore the interactive API documentation and start building with Ritual

View API Docs Health Check