chainalysis

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package chainalysis contains the implementation of the Chainalysis API client. this implementation is incomplete, but it is a good starting point.

Index

Constants

View Source
const (
	// EntityEndpoint is the endpoint for the entity API.
	EntityEndpoint = "/api/risk/v2/entities"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	ScreenAddress(ctx context.Context, address string) (bool, error)
}

Client is the interface for the Chainalysis API client. It makes requests to the Chainalysis API.

func NewClient

func NewClient(metricHandler metrics.Handler, riskLevels []string, apiKey, url string) Client

NewClient creates a new Chainalysis API client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL