All URIs are relative to https://www.bitmex.com/api/v1
Method | HTTP request | Description |
---|---|---|
PorlGetNonce | GET /porl/nonce | Get your Proof of Reserves nonce and data. |
PorlGetSnapshots | GET /porl/snapshots | Get Proof of Reserves historical snapshots |
Porl PorlGetNonce ()
Get your Proof of Reserves nonce and data.
Proof of Reserves Nonce This endpoint will return the nonce and associated data needed to validate BitMEX reserves data. <! TODO link to docs, GitHub, etc >
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class PorlGetNonceExample
{
public void main()
{
// Configure API key authorization: apiExpires
Configuration.Default.AddApiKey("api-expires", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-expires", "Bearer");
// Configure API key authorization: apiKey
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: apiSignature
Configuration.Default.AddApiKey("api-signature", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-signature", "Bearer");
var apiInstance = new PorlApi();
try
{
// Get your Proof of Reserves nonce and data.
Porl result = apiInstance.PorlGetNonce();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling PorlApi.PorlGetNonce: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
apiExpires, apiKey, apiSignature
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List PorlGetSnapshots ()
Get Proof of Reserves historical snapshots
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class PorlGetSnapshotsExample
{
public void main()
{
var apiInstance = new PorlApi();
try
{
// Get Proof of Reserves historical snapshots
List<XAny> result = apiInstance.PorlGetSnapshots();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling PorlApi.PorlGetSnapshots: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]