Start Here Developer

API endpoints for Anubis

Speculate Rewards

POST http://api.pharo.tech/user/speculateRewards

This endpoint allows you to fetch estimated rewards.

Headers

Name
Type
Description

Content-Type*

string

application/json

Request Body

Name
Type
Description

pharo_id*

int

the id of the Pharo

rate_estimate*

int

rate_stake*

int

event_hypothetical*

int

{
  "pharo_id": 0,
  "reward": 0
}

Fetch all user records

GET http://api.pharo.tech/user/read

Headers

Name
Type
Description

Content-Type*

string

application/json

[
  {
    "pharo_id": 0,
    "username": "string",
    "wallet_id": "string",
    "stake": 0,
    "reward": 0,
    "rate_estimate": 0,
    "min_cover": 0,
    "tbl_id": 0
  }
]

Last updated

Was this helpful?