Skip to content

Latest commit

 

History

History
133 lines (88 loc) · 2.88 KB

DefaultApi.md

File metadata and controls

133 lines (88 loc) · 2.88 KB

RiskScoringApi.DefaultApi

All URIs are relative to https://risk.charybdis.januus.io/

Method HTTP request Description
scoreBtcAddressGet GET /score/btc/{address}
scoreEthAddressGet GET /score/eth/{address}
scoreOtherAddressGet GET /score/other/{address}

scoreBtcAddressGet

RiskReport scoreBtcAddressGet(address)

Example

import {RiskScoringApi} from 'risk_scoring_api';

let apiInstance = new RiskScoringApi.DefaultApi();
let address = "address_example"; // String | 

apiInstance.scoreBtcAddressGet(address, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
address String

Return type

RiskReport

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json;charset=utf-8

scoreEthAddressGet

RiskReport scoreEthAddressGet(address)

Example

import {RiskScoringApi} from 'risk_scoring_api';

let apiInstance = new RiskScoringApi.DefaultApi();
let address = "address_example"; // String | 

apiInstance.scoreEthAddressGet(address, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
address String

Return type

RiskReport

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json;charset=utf-8

scoreOtherAddressGet

RiskReport scoreOtherAddressGet(address)

Example

import {RiskScoringApi} from 'risk_scoring_api';

let apiInstance = new RiskScoringApi.DefaultApi();
let address = "address_example"; // String | 

apiInstance.scoreOtherAddressGet(address, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
address String

Return type

RiskReport

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json;charset=utf-8