testservice

package
v0.8.0-beta Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestAccountService

type TestAccountService struct {
}

func (TestAccountService) CheckAliasAddress

func (m TestAccountService) CheckAliasAddress(ctx context.Context, alias string) (*dataserviceapi.AliasAddress, error)

func (*TestAccountService) CheckBalance

func (tas *TestAccountService) CheckBalance(ctx context.Context, publicKey string) (*models.BalanceResult, error)

func (*TestAccountService) CreateAccount

func (tas *TestAccountService) CreateAccount(ctx context.Context) (*models.AccountResult, error)

func (*TestAccountService) FetchTransactions

func (tas *TestAccountService) FetchTransactions(ctx context.Context, publicKey string) ([]dataserviceapi.Last10TxResponse, error)

func (*TestAccountService) FetchVouchers

func (tas *TestAccountService) FetchVouchers(ctx context.Context, publicKey string) ([]dataserviceapi.TokenHoldings, error)

func (*TestAccountService) TokenTransfer

func (tas *TestAccountService) TokenTransfer(ctx context.Context, amount, from, to, tokenAddress string) (*models.TokenTransferResponse, error)

func (*TestAccountService) TrackAccountStatus

func (tas *TestAccountService) TrackAccountStatus(ctx context.Context, publicKey string) (*models.TrackStatusResult, error)

func (TestAccountService) VoucherData

func (m TestAccountService) VoucherData(ctx context.Context, address string) (*models.VoucherDataResult, error)

Jump to

Keyboard shortcuts

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