Documentation ¶
Index ¶
- Variables
- type AllAccountBalances
- func (*AllAccountBalances) Descriptor() ([]byte, []int)deprecated
- func (x *AllAccountBalances) GetAllAccounts() []*SingleAccountBalances
- func (x *AllAccountBalances) GetConsensusTimestamp() *services.Timestamp
- func (*AllAccountBalances) ProtoMessage()
- func (x *AllAccountBalances) ProtoReflect() protoreflect.Message
- func (x *AllAccountBalances) Reset()
- func (x *AllAccountBalances) String() string
- type SingleAccountBalances
- func (*SingleAccountBalances) Descriptor() ([]byte, []int)deprecated
- func (x *SingleAccountBalances) GetAccountID() *services.AccountID
- func (x *SingleAccountBalances) GetHbarBalance() uint64
- func (x *SingleAccountBalances) GetTokenUnitBalances() []*TokenUnitBalance
- func (*SingleAccountBalances) ProtoMessage()
- func (x *SingleAccountBalances) ProtoReflect() protoreflect.Message
- func (x *SingleAccountBalances) Reset()
- func (x *SingleAccountBalances) String() string
- type TokenUnitBalance
- func (*TokenUnitBalance) Descriptor() ([]byte, []int)deprecated
- func (x *TokenUnitBalance) GetBalance() uint64
- func (x *TokenUnitBalance) GetTokenId() *services.TokenID
- func (*TokenUnitBalance) ProtoMessage()
- func (x *TokenUnitBalance) ProtoReflect() protoreflect.Message
- func (x *TokenUnitBalance) Reset()
- func (x *TokenUnitBalance) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_account_balance_file_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AllAccountBalances ¶
type AllAccountBalances struct { // * // An instant in consensus time ConsensusTimestamp *services.Timestamp `protobuf:"bytes,1,opt,name=consensusTimestamp,proto3" json:"consensusTimestamp,omitempty"` // * // The list of account balances for all accounts, after handling all transactions with consensus // timestamp up to and including the above instant AllAccounts []*SingleAccountBalances `protobuf:"bytes,2,rep,name=allAccounts,proto3" json:"allAccounts,omitempty"` // contains filtered or unexported fields }
* Includes all currency balances (both hbar and token) of all accounts in the ledger.
func (*AllAccountBalances) Descriptor
deprecated
func (*AllAccountBalances) Descriptor() ([]byte, []int)
Deprecated: Use AllAccountBalances.ProtoReflect.Descriptor instead.
func (*AllAccountBalances) GetAllAccounts ¶
func (x *AllAccountBalances) GetAllAccounts() []*SingleAccountBalances
func (*AllAccountBalances) GetConsensusTimestamp ¶
func (x *AllAccountBalances) GetConsensusTimestamp() *services.Timestamp
func (*AllAccountBalances) ProtoMessage ¶
func (*AllAccountBalances) ProtoMessage()
func (*AllAccountBalances) ProtoReflect ¶
func (x *AllAccountBalances) ProtoReflect() protoreflect.Message
func (*AllAccountBalances) Reset ¶
func (x *AllAccountBalances) Reset()
func (*AllAccountBalances) String ¶
func (x *AllAccountBalances) String() string
type SingleAccountBalances ¶
type SingleAccountBalances struct { // * // The account AccountID *services.AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"` // * // The account's hbar balance HbarBalance uint64 `protobuf:"varint,2,opt,name=hbarBalance,proto3" json:"hbarBalance,omitempty"` // * // The list of the account's token balances TokenUnitBalances []*TokenUnitBalance `protobuf:"bytes,3,rep,name=tokenUnitBalances,proto3" json:"tokenUnitBalances,omitempty"` // contains filtered or unexported fields }
* Includes all currency balances (both hbar and token) of a single account in the ledger.
func (*SingleAccountBalances) Descriptor
deprecated
func (*SingleAccountBalances) Descriptor() ([]byte, []int)
Deprecated: Use SingleAccountBalances.ProtoReflect.Descriptor instead.
func (*SingleAccountBalances) GetAccountID ¶
func (x *SingleAccountBalances) GetAccountID() *services.AccountID
func (*SingleAccountBalances) GetHbarBalance ¶
func (x *SingleAccountBalances) GetHbarBalance() uint64
func (*SingleAccountBalances) GetTokenUnitBalances ¶
func (x *SingleAccountBalances) GetTokenUnitBalances() []*TokenUnitBalance
func (*SingleAccountBalances) ProtoMessage ¶
func (*SingleAccountBalances) ProtoMessage()
func (*SingleAccountBalances) ProtoReflect ¶
func (x *SingleAccountBalances) ProtoReflect() protoreflect.Message
func (*SingleAccountBalances) Reset ¶
func (x *SingleAccountBalances) Reset()
func (*SingleAccountBalances) String ¶
func (x *SingleAccountBalances) String() string
type TokenUnitBalance ¶
type TokenUnitBalance struct { // * // A unique token id TokenId *services.TokenID `protobuf:"bytes,1,opt,name=tokenId,proto3" json:"tokenId,omitempty"` // * // Number of transferable units of the identified token. For token of type FUNGIBLE_COMMON - // balance in the smallest denomination. For token of type NON_FUNGIBLE_UNIQUE - the number of // NFTs held by the account Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*TokenUnitBalance) Descriptor
deprecated
func (*TokenUnitBalance) Descriptor() ([]byte, []int)
Deprecated: Use TokenUnitBalance.ProtoReflect.Descriptor instead.
func (*TokenUnitBalance) GetBalance ¶
func (x *TokenUnitBalance) GetBalance() uint64
func (*TokenUnitBalance) GetTokenId ¶
func (x *TokenUnitBalance) GetTokenId() *services.TokenID
func (*TokenUnitBalance) ProtoMessage ¶
func (*TokenUnitBalance) ProtoMessage()
func (*TokenUnitBalance) ProtoReflect ¶
func (x *TokenUnitBalance) ProtoReflect() protoreflect.Message
func (*TokenUnitBalance) Reset ¶
func (x *TokenUnitBalance) Reset()
func (*TokenUnitBalance) String ¶
func (x *TokenUnitBalance) String() string
Click to show internal directories.
Click to hide internal directories.