Skip to content

januusio/cryptowallet_risk_scoring_go

Repository files navigation

whiteboxrisque go client

This is an API that provides whitebox risk scoring

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

Installation

To install the package, run the following command:

go get github.com/januusio/cryptowallet_risk_scoring_go

Then import the package in your Go code:

import "github.com/januusio/cryptowallet_risk_scoring_go"

Getting started

package main

import (
	"context"
	"fmt"

	"github.com/januusio/cryptowallet_risk_scoring_go"
)

func main() {
	cfg := risk_scoring.NewConfiguration()
	apiClient := risk_scoring.NewAPIClient(cfg)

	address := "0xbb0ea877a85df253ccc312b80c644da31443abfd"

	riskReport, _, err := apiClient.DefaultApi.ScoreBtcAddressGet(context.Background(), address)
	if err != nil {
		fmt.Printf("Error retrieving risk report: %s", err.Error())
		return
	}

	fmt.Printf("Risk report: %+v", riskReport)
}

Documentation for API Endpoints

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

Class Method HTTP request Description
DefaultApi ScoreBtcAddressGet Get /score/btc/{address}
DefaultApi ScoreEthAddressGet Get /score/eth/{address}
DefaultApi ScoreOtherAddressGet Get /score/other/{address}

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages