RAEN’s centralized schema API

You don’t always need an API to use RAEN.

But when you do, this one’s easy and free.

You can do all of this with the RAEN CLI just as easily (coming soon!), but sometimes an API is nice:

Use It

GET https://api.raen.dev/[CONTRACT_NAME].json

Returns JSON Schema for CONTRACT_NAME. If the contract name ends in .near, it’s assumed to be on NEAR’s mainnet. Otherwise, it assumes NEAR’s testnet.

This is the JSON Schema used by RAEN Admin and other (upcoming) tooling.

Some notes:

The third situation will return with a 203: Non-Authoritative Information status code.