defiscan

package
v0.0.0-...-eccc86b Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefiYieldScanApi = "https://api-scanner.defiyield.app/"

Variables

This section is empty.

Functions

This section is empty.

Types

type DefiYield

type DefiYield struct {
	// contains filtered or unexported fields
}

func New

func New() *DefiYield

func (*DefiYield) Scan

func (d *DefiYield) Scan(address string) ([]DefiYieldScanData, string, error)

type DefiYieldScan

type DefiYieldScan struct {
	Data struct {
		Scan struct {
			Status  string              `json:"status"`
			Results []DefiYieldScanData `json:"results"`
		} `json:"scan"`
	} `json:"data"`
}

type DefiYieldScanData

type DefiYieldScanData struct {
	Address   string `json:"address"`
	NetworkId int64  `json:"networkId"`
}

Jump to

Keyboard shortcuts

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