cryptoservice

package
v0.0.0-...-548a151 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetBalanceParams

type GetBalanceParams struct {
	Address string
	Chain   string
	Token   string
}

type Service

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

func New

func New(
	cryptoServiceClient crypto_service.CryptoServiceClient,
	externalAPI external_api.ExternalAPIClient,
) *Service

func (*Service) GetBalance

func (s *Service) GetBalance(ctx context.Context, params GetBalanceParams) (*model.Balance, error)

Jump to

Keyboard shortcuts

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