Search…
Meta Data Endpoints

General Endpoints

Health Check

1
GET /api/v0/health-check
Copied!
Check if your DeSo node is synced
Parameters:
None
Response:
If node is synced and received all transactions.
1
200
Copied!

Get Exchange Rate

1
GET /api/v0/get-exchange-rate
Copied!
Get DeSo exchange rate, total amount of nanos sold, and Bitcoin exchange rate.
Parameters:
None
Response:
1
{
2
"SatoshisPerDeSoExchangeRate":498484,
3
"NanosSold":8491518125648433,
4
"USDCentsPerBitcoinExchangeRate":3608200
5
}
Copied!

Get App State

1
POST /api/v0/get-app-state
Copied!
Get state of DeSo App, such as cost of profile creation and diamond level map. Example use in the frontend and endpoint implementation in backend.
Parameters
None; however, you need to send an empty JSON { }. Otherwise, you will get 400 - Bad Request. More info on the request here.
Name
Type
Description
PublicKeyBase58Check
string
(optional) check public key
Response
1
{
2
"AmplitudeKey": "",
3
"AmplitudeDomain": "api.amplitude.com",
4
"MinSatoshisBurnedForProfileCreation": 50000,
5
"IsTestnet": false,
6
"SupportEmail": "[email protected]",
7
"ShowProcessingSpinners": true,
8
"HasStarterDeSoSeed": false,
9
"HasTwilioAPIKey": false,
10
"CreateProfileFeeNanos": 10000000,
11
"CompProfileCreation": false,
12
"DiamondLevelMap": {
13
"1": 50000,
14
"2": 500000,
15
"3": 5000000,
16
"4": 50000000,
17
"5": 500000000,
18
"6": 5000000000,
19
"7": 50000000000,
20
"8": 500000000000
21
},
22
"HasWyreIntegration": false,
23
"Password": ""
24
}
Copied!