Skip to main content
Are you ready to build against the Faiground protocol? The sections below cover the REST API and how to decode on-chain revert selectors.

REST API

The Fairground API is built with ConnectRPC: JSON over HTTP.

API Reference

Endpoints, base URLs, protocol shape, and links to interactive Swagger.

On-chain revert reasons

Transactions that interact with Fairground smart contracts can revert with a 4-byte error selector. Check the reference table to find the plain language explanation of the returend hex code.

Error Selector Reference

Decode on-chain revert reasons from their 4-byte hex.