Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLookupService ¶
func NewLookupService(clientURL string) (nameservice.Lookup, error)
NewLookupService creates a new ethereum name service (ENS) lookup service.
Types ¶
type LookupService ¶
type LookupService struct {
// contains filtered or unexported fields
}
LookupService for ethereum name service (ENS).
func (LookupService) ResolveAddress ¶
func (s LookupService) ResolveAddress(ctx context.Context, protocol, network string, address []byte) (string, error)
ResolveAddress against the ethereum name service (ENS).
func (LookupService) ResolveName ¶
func (s LookupService) ResolveName(ctx context.Context, protocol, network, domainName string) ([]byte, error)
ResolveName against the ethereum name service (ENS).
Click to show internal directories.
Click to hide internal directories.