wallet

package
v0.0.0-...-e513e0e Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DTO

type DTO struct {
	Address string  `json:"address"`
	Balance float64 `json:"balance"`
}

type Service

type Service interface {
	GetWalletBalanceByAddress(address string) (domain.Wallet, error)
	GetTransactionsByAddress(address, page, size string) (domain.Wallet, error)
}

func NewService

func NewService() Service

NewService creates a new instance of the Wallet Service.

Jump to

Keyboard shortcuts

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