account

package
v1.5.1-rc-2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountToken

type AccountToken struct {
	TokenID string `json:"token_id"`
	Balance int    `json:"balance"`
}

AccountToken struct used by the Hedera Mirror node REST API to return information regarding a given Account's tokens

type AccountsResponse

type AccountsResponse struct {
	Account string  `json:"account"`
	Balance Balance `json:"balance"`
}

AccountsResponse struct used by the Hedera Mirror node REST API to return information regarding a given Account

type Balance

type Balance struct {
	Balance   int            `json:"balance"`
	Timestamp string         `json:"timestamp"`
	Tokens    []AccountToken `json:"tokens"`
}

Balance struct used by the Hedera Mirror node REST API to return information regarding a given Account

func (*Balance) GetAccountTokenBalancesByAddress

func (b *Balance) GetAccountTokenBalancesByAddress() map[string]int

Jump to

Keyboard shortcuts

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