Documentation
¶
Index ¶
- type TestAccountService
- func (m TestAccountService) CheckAliasAddress(ctx context.Context, alias string) (*dataserviceapi.AliasAddress, error)
- func (tas *TestAccountService) CheckBalance(ctx context.Context, publicKey string) (*models.BalanceResult, error)
- func (tas *TestAccountService) CreateAccount(ctx context.Context) (*models.AccountResult, error)
- func (tas *TestAccountService) FetchTransactions(ctx context.Context, publicKey string) ([]dataserviceapi.Last10TxResponse, error)
- func (tas *TestAccountService) FetchVouchers(ctx context.Context, publicKey string) ([]dataserviceapi.TokenHoldings, error)
- func (tas *TestAccountService) TokenTransfer(ctx context.Context, amount, from, to, tokenAddress string) (*models.TokenTransferResponse, error)
- func (tas *TestAccountService) TrackAccountStatus(ctx context.Context, publicKey string) (*models.TrackStatusResult, error)
- func (m TestAccountService) VoucherData(ctx context.Context, address string) (*models.VoucherDataResult, error)
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)
Click to show internal directories.
Click to hide internal directories.