infura

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknownAddress = errors.New("address not found")
	ErrUnknownDomain  = errors.New("domain not found")
)

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(infura config.Infura) (*Client, error)

func (*Client) ResolveAddress

func (c *Client) ResolveAddress(address string) (string, error)

func (*Client) ResolveAddresses

func (c *Client) ResolveAddresses([]string) ([]models.ResolvedModel, error)

func (*Client) ResolveDomain

func (c *Client) ResolveDomain(domain string) (string, error)

func (*Client) ResolveDomains

func (c *Client) ResolveDomains([]string) ([]models.ResolvedModel, error)

Jump to

Keyboard shortcuts

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