Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.25 KB

DepositApi.md

File metadata and controls

60 lines (39 loc) · 1.25 KB

PeatioSdk.DepositApi

All URIs are relative to http://localhost:8000/api/v2

Method HTTP request Description
getV2Deposit GET /deposit Get details of specific deposit.

getV2Deposit

getV2Deposit(txid)

Get details of specific deposit.

Get details of specific deposit.

Example

var PeatioSdk = require('peatio-sdk');
var defaultClient = PeatioSdk.ApiClient.instance;

// Configure OAuth2 access token for authorization: jwt
var jwt = defaultClient.authentications['jwt'];
jwt.accessToken = 'YOUR ACCESS TOKEN';

var apiInstance = new PeatioSdk.DepositApi();

var txid = "txid_example"; // String | 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.getV2Deposit(txid, callback);

Parameters

Name Type Description Notes
txid String

Return type

null (empty response body)

Authorization

jwt

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json