Beta API

The Beta API is in... beta.
Note: The Beta API is currently disabled for some much-needed updates. If you need to use it, please contact us.
Beta currently offers information about singletons.

FireAcademy.io

Leaflet can be acessed at https://kraken.fireacademy.io/beta/ or https://kraken.fireacademy.io/{api-key}/beta/. Billing is based on the number of returned results, with each result costing 42 credits. Each request consumes at least 42 credits:
request_cost = 42 * max(num_results, 1)

API

For a better experience, please refer to this generated page.

Puzzles

Wondering what's hidden behind a singleton's inner puzzle hash? Use this endpoint to find out!
post
https://kraken.fireacademy.io/beta
/get_puzzle
returns the stored puzzle for a given puzzle_hash

Beta stores all revealed inner puzzles of singletons. Use this method to get it from the corresponding puzzle hash. The puzzle will be returned as a hex string.

Parameters
Body
puzzle_hash
string
Body
Example
Schema
{
"puzzle_hash": "6b665c0e059050f71a1c3e8a7d5b58e4e1d7abbd02d937e9b5ab5abfd7f8eaba"
}
Responses
200: OK
OK
401: Unauthorized
Unauthorized
500: Internal Server Error
Internal Server Error

Singleton States

The reason Beta was invented.
post
https://kraken.fireacademy.io/beta
/get_singleton_states
returns singleton states for given conditions

Sync

Is Beta up-to-date or a trillion blocks behind?
Warning: Not suitable for heptapods.
get
https://kraken.fireacademy.io/beta
/get_peak_synced_block
returns the peak synced block
post
https://kraken.fireacademy.io/beta
/get_peak_synced_block
returns the peak synced block
post
https://kraken.fireacademy.io/beta
/get_synced_block
returns block for given height
post
https://kraken.fireacademy.io/beta
/get_synced_blocks
returns blocks for given range