Documentation
¶
Index ¶
- Variables
- type AccountAmount
- func (*AccountAmount) Descriptor() ([]byte, []int)deprecated
- func (x *AccountAmount) GetAccountID() *AccountID
- func (x *AccountAmount) GetAmount() int64
- func (x *AccountAmount) GetIsApproval() bool
- func (*AccountAmount) ProtoMessage()
- func (x *AccountAmount) ProtoReflect() protoreflect.Message
- func (x *AccountAmount) Reset()
- func (x *AccountAmount) String() string
- type AccountID
- func (*AccountID) Descriptor() ([]byte, []int)deprecated
- func (x *AccountID) GetAccount() isAccountID_Account
- func (x *AccountID) GetAccountNum() int64
- func (x *AccountID) GetAlias() []byte
- func (x *AccountID) GetRealmNum() int64
- func (x *AccountID) GetShardNum() int64
- func (*AccountID) ProtoMessage()
- func (x *AccountID) ProtoReflect() protoreflect.Message
- func (x *AccountID) Reset()
- func (x *AccountID) String() string
- type AccountID_AccountNum
- type AccountID_Alias
- type ContractID
- func (*ContractID) Descriptor() ([]byte, []int)deprecated
- func (x *ContractID) GetContract() isContractID_Contract
- func (x *ContractID) GetContractNum() int64
- func (x *ContractID) GetEvmAddress() []byte
- func (x *ContractID) GetRealmNum() int64
- func (x *ContractID) GetShardNum() int64
- func (*ContractID) ProtoMessage()
- func (x *ContractID) ProtoReflect() protoreflect.Message
- func (x *ContractID) Reset()
- func (x *ContractID) String() string
- type ContractID_ContractNum
- type ContractID_EvmAddress
- type CryptoTransferTransactionBody
- func (*CryptoTransferTransactionBody) Descriptor() ([]byte, []int)deprecated
- func (x *CryptoTransferTransactionBody) GetTokenTransfers() []*TokenTransferList
- func (x *CryptoTransferTransactionBody) GetTransfers() *TransferList
- func (*CryptoTransferTransactionBody) ProtoMessage()
- func (x *CryptoTransferTransactionBody) ProtoReflect() protoreflect.Message
- func (x *CryptoTransferTransactionBody) Reset()
- func (x *CryptoTransferTransactionBody) String() string
- type CurrentAndNextFeeSchedule
- func (*CurrentAndNextFeeSchedule) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentAndNextFeeSchedule) GetCurrentFeeSchedule() *FeeSchedule
- func (x *CurrentAndNextFeeSchedule) GetNextFeeSchedule() *FeeSchedule
- func (*CurrentAndNextFeeSchedule) ProtoMessage()
- func (x *CurrentAndNextFeeSchedule) ProtoReflect() protoreflect.Message
- func (x *CurrentAndNextFeeSchedule) Reset()
- func (x *CurrentAndNextFeeSchedule) String() string
- type Duration
- type FeeComponents
- func (*FeeComponents) Descriptor() ([]byte, []int)deprecated
- func (x *FeeComponents) GetBpr() int64
- func (x *FeeComponents) GetBpt() int64
- func (x *FeeComponents) GetConstant() int64
- func (x *FeeComponents) GetGas() int64
- func (x *FeeComponents) GetMax() int64
- func (x *FeeComponents) GetMin() int64
- func (x *FeeComponents) GetRbh() int64
- func (x *FeeComponents) GetSbh() int64
- func (x *FeeComponents) GetSbpr() int64
- func (x *FeeComponents) GetTv() int64
- func (x *FeeComponents) GetVpt() int64
- func (*FeeComponents) ProtoMessage()
- func (x *FeeComponents) ProtoReflect() protoreflect.Message
- func (x *FeeComponents) Reset()
- func (x *FeeComponents) String() string
- type FeeData
- func (*FeeData) Descriptor() ([]byte, []int)deprecated
- func (x *FeeData) GetNetworkdata() *FeeComponents
- func (x *FeeData) GetNodedata() *FeeComponents
- func (x *FeeData) GetServicedata() *FeeComponents
- func (x *FeeData) GetSubType() SubType
- func (*FeeData) ProtoMessage()
- func (x *FeeData) ProtoReflect() protoreflect.Message
- func (x *FeeData) Reset()
- func (x *FeeData) String() string
- type FeeSchedule
- func (*FeeSchedule) Descriptor() ([]byte, []int)deprecated
- func (x *FeeSchedule) GetExpiryTime() *TimestampSeconds
- func (x *FeeSchedule) GetTransactionFeeSchedule() []*TransactionFeeSchedule
- func (*FeeSchedule) ProtoMessage()
- func (x *FeeSchedule) ProtoReflect() protoreflect.Message
- func (x *FeeSchedule) Reset()
- func (x *FeeSchedule) String() string
- type FileID
- func (*FileID) Descriptor() ([]byte, []int)deprecated
- func (x *FileID) GetFileNum() int64
- func (x *FileID) GetRealmNum() int64
- func (x *FileID) GetShardNum() int64
- func (*FileID) ProtoMessage()
- func (x *FileID) ProtoReflect() protoreflect.Message
- func (x *FileID) Reset()
- func (x *FileID) String() string
- type Fraction
- type HederaFunctionality
- func (HederaFunctionality) Descriptor() protoreflect.EnumDescriptor
- func (x HederaFunctionality) Enum() *HederaFunctionality
- func (HederaFunctionality) EnumDescriptor() ([]byte, []int)deprecated
- func (x HederaFunctionality) Number() protoreflect.EnumNumber
- func (x HederaFunctionality) String() string
- func (HederaFunctionality) Type() protoreflect.EnumType
- type Key
- func (*Key) Descriptor() ([]byte, []int)deprecated
- func (x *Key) GetContractID() *ContractID
- func (x *Key) GetDelegatableContractId() *ContractID
- func (x *Key) GetECDSASecp256K1() []byte
- func (x *Key) GetECDSA_384() []byte
- func (x *Key) GetEd25519() []byte
- func (x *Key) GetKey() isKey_Key
- func (x *Key) GetKeyList() *KeyList
- func (x *Key) GetRSA_3072() []byte
- func (x *Key) GetThresholdKey() *ThresholdKey
- func (*Key) ProtoMessage()
- func (x *Key) ProtoReflect() protoreflect.Message
- func (x *Key) Reset()
- func (x *Key) String() string
- type KeyList
- type Key_ContractID
- type Key_DelegatableContractId
- type Key_ECDSASecp256K1
- type Key_ECDSA_384
- type Key_Ed25519
- type Key_KeyList
- type Key_RSA_3072
- type Key_ThresholdKey
- type NftTransfer
- func (*NftTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *NftTransfer) GetIsApproval() bool
- func (x *NftTransfer) GetReceiverAccountID() *AccountID
- func (x *NftTransfer) GetSenderAccountID() *AccountID
- func (x *NftTransfer) GetSerialNumber() int64
- func (*NftTransfer) ProtoMessage()
- func (x *NftTransfer) ProtoReflect() protoreflect.Message
- func (x *NftTransfer) Reset()
- func (x *NftTransfer) String() string
- type NodeAddress
- func (*NodeAddress) Descriptor() ([]byte, []int)deprecated
- func (x *NodeAddress) GetDescription() string
- func (x *NodeAddress) GetIpAddress() []bytedeprecated
- func (x *NodeAddress) GetMemo() []bytedeprecated
- func (x *NodeAddress) GetNodeAccountId() *AccountID
- func (x *NodeAddress) GetNodeCertHash() []byte
- func (x *NodeAddress) GetNodeId() int64
- func (x *NodeAddress) GetPortno() int32deprecated
- func (x *NodeAddress) GetRSA_PubKey() string
- func (x *NodeAddress) GetServiceEndpoint() []*ServiceEndpoint
- func (x *NodeAddress) GetStake() int64deprecated
- func (*NodeAddress) ProtoMessage()
- func (x *NodeAddress) ProtoReflect() protoreflect.Message
- func (x *NodeAddress) Reset()
- func (x *NodeAddress) String() string
- type NodeAddressBook
- type RealmID
- type ScheduleID
- func (*ScheduleID) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleID) GetRealmNum() int64
- func (x *ScheduleID) GetScheduleNum() int64
- func (x *ScheduleID) GetShardNum() int64
- func (*ScheduleID) ProtoMessage()
- func (x *ScheduleID) ProtoReflect() protoreflect.Message
- func (x *ScheduleID) Reset()
- func (x *ScheduleID) String() string
- type SemanticVersion
- func (*SemanticVersion) Descriptor() ([]byte, []int)deprecated
- func (x *SemanticVersion) GetBuild() string
- func (x *SemanticVersion) GetMajor() int32
- func (x *SemanticVersion) GetMinor() int32
- func (x *SemanticVersion) GetPatch() int32
- func (x *SemanticVersion) GetPre() string
- func (*SemanticVersion) ProtoMessage()
- func (x *SemanticVersion) ProtoReflect() protoreflect.Message
- func (x *SemanticVersion) Reset()
- func (x *SemanticVersion) String() string
- type ServiceEndpoint
- func (*ServiceEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceEndpoint) GetIpAddressV4() []byte
- func (x *ServiceEndpoint) GetPort() int32
- func (*ServiceEndpoint) ProtoMessage()
- func (x *ServiceEndpoint) ProtoReflect() protoreflect.Message
- func (x *ServiceEndpoint) Reset()
- func (x *ServiceEndpoint) String() string
- type ServicesConfigurationList
- func (*ServicesConfigurationList) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesConfigurationList) GetNameValue() []*Setting
- func (*ServicesConfigurationList) ProtoMessage()
- func (x *ServicesConfigurationList) ProtoReflect() protoreflect.Message
- func (x *ServicesConfigurationList) Reset()
- func (x *ServicesConfigurationList) String() string
- type Setting
- func (*Setting) Descriptor() ([]byte, []int)deprecated
- func (x *Setting) GetData() []byte
- func (x *Setting) GetName() string
- func (x *Setting) GetValue() string
- func (*Setting) ProtoMessage()
- func (x *Setting) ProtoReflect() protoreflect.Message
- func (x *Setting) Reset()
- func (x *Setting) String() string
- type ShardID
- type Signaturedeprecated
- func (*Signature) Descriptor() ([]byte, []int)deprecated
- func (x *Signature) GetContract() []byte
- func (x *Signature) GetECDSA_384() []byte
- func (x *Signature) GetEd25519() []byte
- func (x *Signature) GetRSA_3072() []byte
- func (x *Signature) GetSignature() isSignature_Signature
- func (x *Signature) GetSignatureList() *SignatureList
- func (x *Signature) GetThresholdSignature() *ThresholdSignature
- func (*Signature) ProtoMessage()
- func (x *Signature) ProtoReflect() protoreflect.Message
- func (x *Signature) Reset()
- func (x *Signature) String() string
- type SignatureListdeprecated
- type SignatureMap
- type SignaturePair
- func (*SignaturePair) Descriptor() ([]byte, []int)deprecated
- func (x *SignaturePair) GetContract() []byte
- func (x *SignaturePair) GetECDSASecp256K1() []byte
- func (x *SignaturePair) GetECDSA_384() []byte
- func (x *SignaturePair) GetEd25519() []byte
- func (x *SignaturePair) GetPubKeyPrefix() []byte
- func (x *SignaturePair) GetRSA_3072() []byte
- func (x *SignaturePair) GetSignature() isSignaturePair_Signature
- func (*SignaturePair) ProtoMessage()
- func (x *SignaturePair) ProtoReflect() protoreflect.Message
- func (x *SignaturePair) Reset()
- func (x *SignaturePair) String() string
- type SignaturePair_Contract
- type SignaturePair_ECDSASecp256K1
- type SignaturePair_ECDSA_384
- type SignaturePair_Ed25519
- type SignaturePair_RSA_3072
- type Signature_Contract
- type Signature_ECDSA_384
- type Signature_Ed25519
- type Signature_RSA_3072
- type Signature_SignatureList
- type Signature_ThresholdSignature
- type SignedTransaction
- func (*SignedTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *SignedTransaction) GetBodyBytes() []byte
- func (x *SignedTransaction) GetSigMap() *SignatureMap
- func (*SignedTransaction) ProtoMessage()
- func (x *SignedTransaction) ProtoReflect() protoreflect.Message
- func (x *SignedTransaction) Reset()
- func (x *SignedTransaction) String() string
- type StakingInfo
- func (*StakingInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StakingInfo) GetDeclineReward() bool
- func (x *StakingInfo) GetPendingReward() int64
- func (x *StakingInfo) GetStakePeriodStart() *Timestamp
- func (x *StakingInfo) GetStakedAccountId() *AccountID
- func (x *StakingInfo) GetStakedId() isStakingInfo_StakedId
- func (x *StakingInfo) GetStakedNodeId() int64
- func (x *StakingInfo) GetStakedToMe() int64
- func (*StakingInfo) ProtoMessage()
- func (x *StakingInfo) ProtoReflect() protoreflect.Message
- func (x *StakingInfo) Reset()
- func (x *StakingInfo) String() string
- type StakingInfo_StakedAccountId
- type StakingInfo_StakedNodeId
- type SubType
- type ThresholdKey
- func (*ThresholdKey) Descriptor() ([]byte, []int)deprecated
- func (x *ThresholdKey) GetKeys() *KeyList
- func (x *ThresholdKey) GetThreshold() uint32
- func (*ThresholdKey) ProtoMessage()
- func (x *ThresholdKey) ProtoReflect() protoreflect.Message
- func (x *ThresholdKey) Reset()
- func (x *ThresholdKey) String() string
- type ThresholdSignaturedeprecated
- func (*ThresholdSignature) Descriptor() ([]byte, []int)deprecated
- func (x *ThresholdSignature) GetSigs() *SignatureList
- func (*ThresholdSignature) ProtoMessage()
- func (x *ThresholdSignature) ProtoReflect() protoreflect.Message
- func (x *ThresholdSignature) Reset()
- func (x *ThresholdSignature) String() string
- type Timestamp
- type TimestampSeconds
- type TokenAssociation
- func (*TokenAssociation) Descriptor() ([]byte, []int)deprecated
- func (x *TokenAssociation) GetAccountId() *AccountID
- func (x *TokenAssociation) GetTokenId() *TokenID
- func (*TokenAssociation) ProtoMessage()
- func (x *TokenAssociation) ProtoReflect() protoreflect.Message
- func (x *TokenAssociation) Reset()
- func (x *TokenAssociation) String() string
- type TokenBalance
- func (*TokenBalance) Descriptor() ([]byte, []int)deprecated
- func (x *TokenBalance) GetBalance() uint64
- func (x *TokenBalance) GetDecimals() uint32
- func (x *TokenBalance) GetTokenId() *TokenID
- func (*TokenBalance) ProtoMessage()
- func (x *TokenBalance) ProtoReflect() protoreflect.Message
- func (x *TokenBalance) Reset()
- func (x *TokenBalance) String() string
- type TokenBalances
- type TokenFreezeStatus
- func (TokenFreezeStatus) Descriptor() protoreflect.EnumDescriptor
- func (x TokenFreezeStatus) Enum() *TokenFreezeStatus
- func (TokenFreezeStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x TokenFreezeStatus) Number() protoreflect.EnumNumber
- func (x TokenFreezeStatus) String() string
- func (TokenFreezeStatus) Type() protoreflect.EnumType
- type TokenID
- func (*TokenID) Descriptor() ([]byte, []int)deprecated
- func (x *TokenID) GetRealmNum() int64
- func (x *TokenID) GetShardNum() int64
- func (x *TokenID) GetTokenNum() int64
- func (*TokenID) ProtoMessage()
- func (x *TokenID) ProtoReflect() protoreflect.Message
- func (x *TokenID) Reset()
- func (x *TokenID) String() string
- type TokenKycStatus
- func (TokenKycStatus) Descriptor() protoreflect.EnumDescriptor
- func (x TokenKycStatus) Enum() *TokenKycStatus
- func (TokenKycStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x TokenKycStatus) Number() protoreflect.EnumNumber
- func (x TokenKycStatus) String() string
- func (TokenKycStatus) Type() protoreflect.EnumType
- type TokenPauseStatus
- func (TokenPauseStatus) Descriptor() protoreflect.EnumDescriptor
- func (x TokenPauseStatus) Enum() *TokenPauseStatus
- func (TokenPauseStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x TokenPauseStatus) Number() protoreflect.EnumNumber
- func (x TokenPauseStatus) String() string
- func (TokenPauseStatus) Type() protoreflect.EnumType
- type TokenRelationship
- func (*TokenRelationship) Descriptor() ([]byte, []int)deprecated
- func (x *TokenRelationship) GetAutomaticAssociation() bool
- func (x *TokenRelationship) GetBalance() uint64
- func (x *TokenRelationship) GetDecimals() uint32
- func (x *TokenRelationship) GetFreezeStatus() TokenFreezeStatus
- func (x *TokenRelationship) GetKycStatus() TokenKycStatus
- func (x *TokenRelationship) GetSymbol() string
- func (x *TokenRelationship) GetTokenId() *TokenID
- func (*TokenRelationship) ProtoMessage()
- func (x *TokenRelationship) ProtoReflect() protoreflect.Message
- func (x *TokenRelationship) Reset()
- func (x *TokenRelationship) String() string
- type TokenSupplyType
- func (TokenSupplyType) Descriptor() protoreflect.EnumDescriptor
- func (x TokenSupplyType) Enum() *TokenSupplyType
- func (TokenSupplyType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TokenSupplyType) Number() protoreflect.EnumNumber
- func (x TokenSupplyType) String() string
- func (TokenSupplyType) Type() protoreflect.EnumType
- type TokenTransferList
- func (*TokenTransferList) Descriptor() ([]byte, []int)deprecated
- func (x *TokenTransferList) GetExpectedDecimals() *wrapperspb.UInt32Value
- func (x *TokenTransferList) GetNftTransfers() []*NftTransfer
- func (x *TokenTransferList) GetToken() *TokenID
- func (x *TokenTransferList) GetTransfers() []*AccountAmount
- func (*TokenTransferList) ProtoMessage()
- func (x *TokenTransferList) ProtoReflect() protoreflect.Message
- func (x *TokenTransferList) Reset()
- func (x *TokenTransferList) String() string
- type TokenType
- type TopicID
- func (*TopicID) Descriptor() ([]byte, []int)deprecated
- func (x *TopicID) GetRealmNum() int64
- func (x *TopicID) GetShardNum() int64
- func (x *TopicID) GetTopicNum() int64
- func (*TopicID) ProtoMessage()
- func (x *TopicID) ProtoReflect() protoreflect.Message
- func (x *TopicID) Reset()
- func (x *TopicID) String() string
- type TransactionBody
- func (*TransactionBody) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionBody) GetCryptoTransfer() *CryptoTransferTransactionBody
- func (x *TransactionBody) GetData() isTransactionBody_Data
- func (x *TransactionBody) GetMemo() string
- func (x *TransactionBody) GetNodeAccountID() *AccountID
- func (x *TransactionBody) GetTransactionFee() uint64
- func (x *TransactionBody) GetTransactionID() *TransactionID
- func (x *TransactionBody) GetTransactionValidDuration() *Duration
- func (*TransactionBody) ProtoMessage()
- func (x *TransactionBody) ProtoReflect() protoreflect.Message
- func (x *TransactionBody) Reset()
- func (x *TransactionBody) String() string
- type TransactionBody_CryptoTransfer
- type TransactionFeeSchedule
- func (*TransactionFeeSchedule) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionFeeSchedule) GetFeeData() *FeeDatadeprecated
- func (x *TransactionFeeSchedule) GetFees() []*FeeData
- func (x *TransactionFeeSchedule) GetHederaFunctionality() HederaFunctionality
- func (*TransactionFeeSchedule) ProtoMessage()
- func (x *TransactionFeeSchedule) ProtoReflect() protoreflect.Message
- func (x *TransactionFeeSchedule) Reset()
- func (x *TransactionFeeSchedule) String() string
- type TransactionID
- func (*TransactionID) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionID) GetAccountID() *AccountID
- func (x *TransactionID) GetNonce() int32
- func (x *TransactionID) GetScheduled() bool
- func (x *TransactionID) GetTransactionValidStart() *Timestamp
- func (*TransactionID) ProtoMessage()
- func (x *TransactionID) ProtoReflect() protoreflect.Message
- func (x *TransactionID) Reset()
- func (x *TransactionID) String() string
- type TransferList
Constants ¶
This section is empty.
Variables ¶
var ( TokenType_name = map[int32]string{ 0: "FUNGIBLE_COMMON", 1: "NON_FUNGIBLE_UNIQUE", } TokenType_value = map[string]int32{ "FUNGIBLE_COMMON": 0, "NON_FUNGIBLE_UNIQUE": 1, } )
Enum value maps for TokenType.
var ( SubType_name = map[int32]string{ 0: "DEFAULT", 1: "TOKEN_FUNGIBLE_COMMON", 2: "TOKEN_NON_FUNGIBLE_UNIQUE", 3: "TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES", 4: "TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES", 5: "SCHEDULE_CREATE_CONTRACT_CALL", } SubType_value = map[string]int32{ "DEFAULT": 0, "TOKEN_FUNGIBLE_COMMON": 1, "TOKEN_NON_FUNGIBLE_UNIQUE": 2, "TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES": 3, "TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES": 4, "SCHEDULE_CREATE_CONTRACT_CALL": 5, } )
Enum value maps for SubType.
var ( TokenSupplyType_name = map[int32]string{ 0: "INFINITE", 1: "FINITE", } TokenSupplyType_value = map[string]int32{ "INFINITE": 0, "FINITE": 1, } )
Enum value maps for TokenSupplyType.
var ( TokenFreezeStatus_name = map[int32]string{ 0: "FreezeNotApplicable", 1: "Frozen", 2: "Unfrozen", } TokenFreezeStatus_value = map[string]int32{ "FreezeNotApplicable": 0, "Frozen": 1, "Unfrozen": 2, } )
Enum value maps for TokenFreezeStatus.
var ( TokenKycStatus_name = map[int32]string{ 0: "KycNotApplicable", 1: "Granted", 2: "Revoked", } TokenKycStatus_value = map[string]int32{ "KycNotApplicable": 0, "Granted": 1, "Revoked": 2, } )
Enum value maps for TokenKycStatus.
var ( TokenPauseStatus_name = map[int32]string{ 0: "PauseNotApplicable", 1: "Paused", 2: "Unpaused", } TokenPauseStatus_value = map[string]int32{ "PauseNotApplicable": 0, "Paused": 1, "Unpaused": 2, } )
Enum value maps for TokenPauseStatus.
var ( HederaFunctionality_name = map[int32]string{ 0: "NONE", 1: "CryptoTransfer", 2: "CryptoUpdate", 3: "CryptoDelete", 4: "CryptoAddLiveHash", 5: "CryptoDeleteLiveHash", 6: "ContractCall", 7: "ContractCreate", 8: "ContractUpdate", 9: "FileCreate", 10: "FileAppend", 11: "FileUpdate", 12: "FileDelete", 13: "CryptoGetAccountBalance", 14: "CryptoGetAccountRecords", 15: "CryptoGetInfo", 16: "ContractCallLocal", 17: "ContractGetInfo", 18: "ContractGetBytecode", 19: "GetBySolidityID", 20: "GetByKey", 21: "CryptoGetLiveHash", 22: "CryptoGetStakers", 23: "FileGetContents", 24: "FileGetInfo", 25: "TransactionGetRecord", 26: "ContractGetRecords", 27: "CryptoCreate", 28: "SystemDelete", 29: "SystemUndelete", 30: "ContractDelete", 31: "Freeze", 32: "CreateTransactionRecord", 33: "CryptoAccountAutoRenew", 34: "ContractAutoRenew", 35: "GetVersionInfo", 36: "TransactionGetReceipt", 50: "ConsensusCreateTopic", 51: "ConsensusUpdateTopic", 52: "ConsensusDeleteTopic", 53: "ConsensusGetTopicInfo", 54: "ConsensusSubmitMessage", 55: "UncheckedSubmit", 56: "TokenCreate", 58: "TokenGetInfo", 59: "TokenFreezeAccount", 60: "TokenUnfreezeAccount", 61: "TokenGrantKycToAccount", 62: "TokenRevokeKycFromAccount", 63: "TokenDelete", 64: "TokenUpdate", 65: "TokenMint", 66: "TokenBurn", 67: "TokenAccountWipe", 68: "TokenAssociateToAccount", 69: "TokenDissociateFromAccount", 70: "ScheduleCreate", 71: "ScheduleDelete", 72: "ScheduleSign", 73: "ScheduleGetInfo", 74: "TokenGetAccountNftInfos", 75: "TokenGetNftInfo", 76: "TokenGetNftInfos", 77: "TokenFeeScheduleUpdate", 78: "NetworkGetExecutionTime", 79: "TokenPause", 80: "TokenUnpause", 81: "CryptoApproveAllowance", 82: "CryptoDeleteAllowance", 83: "GetAccountDetails", 84: "EthereumTransaction", 85: "NodeStakeUpdate", 86: "UtilPrng", } HederaFunctionality_value = map[string]int32{ "NONE": 0, "CryptoTransfer": 1, "CryptoUpdate": 2, "CryptoDelete": 3, "CryptoAddLiveHash": 4, "CryptoDeleteLiveHash": 5, "ContractCall": 6, "ContractCreate": 7, "ContractUpdate": 8, "FileCreate": 9, "FileAppend": 10, "FileUpdate": 11, "FileDelete": 12, "CryptoGetAccountBalance": 13, "CryptoGetAccountRecords": 14, "CryptoGetInfo": 15, "ContractCallLocal": 16, "ContractGetInfo": 17, "ContractGetBytecode": 18, "GetBySolidityID": 19, "GetByKey": 20, "CryptoGetLiveHash": 21, "CryptoGetStakers": 22, "FileGetContents": 23, "FileGetInfo": 24, "TransactionGetRecord": 25, "ContractGetRecords": 26, "CryptoCreate": 27, "SystemDelete": 28, "SystemUndelete": 29, "ContractDelete": 30, "Freeze": 31, "CreateTransactionRecord": 32, "CryptoAccountAutoRenew": 33, "ContractAutoRenew": 34, "GetVersionInfo": 35, "TransactionGetReceipt": 36, "ConsensusCreateTopic": 50, "ConsensusUpdateTopic": 51, "ConsensusDeleteTopic": 52, "ConsensusGetTopicInfo": 53, "ConsensusSubmitMessage": 54, "UncheckedSubmit": 55, "TokenCreate": 56, "TokenGetInfo": 58, "TokenFreezeAccount": 59, "TokenUnfreezeAccount": 60, "TokenGrantKycToAccount": 61, "TokenRevokeKycFromAccount": 62, "TokenDelete": 63, "TokenUpdate": 64, "TokenMint": 65, "TokenBurn": 66, "TokenAccountWipe": 67, "TokenAssociateToAccount": 68, "TokenDissociateFromAccount": 69, "ScheduleCreate": 70, "ScheduleDelete": 71, "ScheduleSign": 72, "ScheduleGetInfo": 73, "TokenGetAccountNftInfos": 74, "TokenGetNftInfo": 75, "TokenGetNftInfos": 76, "TokenFeeScheduleUpdate": 77, "NetworkGetExecutionTime": 78, "TokenPause": 79, "TokenUnpause": 80, "CryptoApproveAllowance": 81, "CryptoDeleteAllowance": 82, "GetAccountDetails": 83, "EthereumTransaction": 84, "NodeStakeUpdate": 85, "UtilPrng": 86, } )
Enum value maps for HederaFunctionality.
var File_basic_types_proto protoreflect.FileDescriptor
var File_crypto_transfer_proto protoreflect.FileDescriptor
var File_duration_proto protoreflect.FileDescriptor
var File_timestamp_proto protoreflect.FileDescriptor
var File_transaction_body_proto protoreflect.FileDescriptor
var File_transaction_contents_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccountAmount ¶
type AccountAmount struct { // * // The Account ID that sends/receives cryptocurrency or tokens AccountID *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"` // * // The amount of tinybars (for Crypto transfers) or in the lowest // denomination (for Token transfers) that the account sends(negative) or // receives(positive) Amount int64 `protobuf:"zigzag64,2,opt,name=amount,proto3" json:"amount,omitempty"` // * // If true then the transfer is expected to be an approved allowance and the // accountID is expected to be the owner. The default is false (omitted). IsApproval bool `protobuf:"varint,3,opt,name=is_approval,json=isApproval,proto3" json:"is_approval,omitempty"` // contains filtered or unexported fields }
* An account, and the amount that it sends or receives during a cryptocurrency or token transfer.
func (*AccountAmount) Descriptor
deprecated
func (*AccountAmount) Descriptor() ([]byte, []int)
Deprecated: Use AccountAmount.ProtoReflect.Descriptor instead.
func (*AccountAmount) GetAccountID ¶
func (x *AccountAmount) GetAccountID() *AccountID
func (*AccountAmount) GetAmount ¶
func (x *AccountAmount) GetAmount() int64
func (*AccountAmount) GetIsApproval ¶
func (x *AccountAmount) GetIsApproval() bool
func (*AccountAmount) ProtoMessage ¶
func (*AccountAmount) ProtoMessage()
func (*AccountAmount) ProtoReflect ¶
func (x *AccountAmount) ProtoReflect() protoreflect.Message
func (*AccountAmount) Reset ¶
func (x *AccountAmount) Reset()
func (*AccountAmount) String ¶
func (x *AccountAmount) String() string
type AccountID ¶
type AccountID struct { // * // The shard number (nonnegative) ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // * // The realm number (nonnegative) RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"` // * // The account number unique within its realm which can be either a non-negative integer or an alias public key. // For any AccountID fields in the query response, transaction record or transaction receipt only accountNum will // be populated. // // Types that are valid to be assigned to Account: // // *AccountID_AccountNum // *AccountID_Alias Account isAccountID_Account `protobuf_oneof:"account"` // contains filtered or unexported fields }
* The ID for an a cryptocurrency account
func (*AccountID) Descriptor
deprecated
func (*AccountID) GetAccount ¶
func (x *AccountID) GetAccount() isAccountID_Account
func (*AccountID) GetAccountNum ¶
func (*AccountID) GetRealmNum ¶
func (*AccountID) GetShardNum ¶
func (*AccountID) ProtoMessage ¶
func (*AccountID) ProtoMessage()
func (*AccountID) ProtoReflect ¶
func (x *AccountID) ProtoReflect() protoreflect.Message
type AccountID_AccountNum ¶
type AccountID_AccountNum struct { // * // A non-negative account number unique within its realm AccountNum int64 `protobuf:"varint,3,opt,name=accountNum,proto3,oneof"` }
type AccountID_Alias ¶
type AccountID_Alias struct { // * // The public key bytes to be used as the account's alias. The public key bytes are the result of serializing // a protobuf Key message for any primitive key type. Currently only primitive key bytes are supported as an alias // (ThresholdKey, KeyList, ContractID, and delegatable_contract_id are not supported) // // May also be the ethereum account 20-byte EVM address to be used initially in place of the public key bytes. This EVM // address may be either the encoded form of the shard.realm.num or the keccak-256 hash of a ECDSA_SECP256K1 primitive key. // // At most one account can ever have a given alias and it is used for account creation if it // was automatically created using a crypto transfer. It will be null if an account is created normally. // It is immutable once it is set for an account. // // If a transaction auto-creates the account, any further transfers to that alias will simply be deposited // in that account, without creating anything, and with no creation fee being charged. // // If a transaction lazily-creates this account, a subsequent transaction will be required containing the public key bytes // that map to the EVM address bytes. The provided public key bytes will then serve as the final alias bytes. Alias []byte `protobuf:"bytes,4,opt,name=alias,proto3,oneof"` }
type ContractID ¶
type ContractID struct { // * // The shard number (nonnegative) ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // * // The realm number (nonnegative) RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"` // Types that are valid to be assigned to Contract: // // *ContractID_ContractNum // *ContractID_EvmAddress Contract isContractID_Contract `protobuf_oneof:"contract"` // contains filtered or unexported fields }
* The ID for a smart contract instance
func (*ContractID) Descriptor
deprecated
func (*ContractID) Descriptor() ([]byte, []int)
Deprecated: Use ContractID.ProtoReflect.Descriptor instead.
func (*ContractID) GetContract ¶
func (x *ContractID) GetContract() isContractID_Contract
func (*ContractID) GetContractNum ¶
func (x *ContractID) GetContractNum() int64
func (*ContractID) GetEvmAddress ¶
func (x *ContractID) GetEvmAddress() []byte
func (*ContractID) GetRealmNum ¶
func (x *ContractID) GetRealmNum() int64
func (*ContractID) GetShardNum ¶
func (x *ContractID) GetShardNum() int64
func (*ContractID) ProtoMessage ¶
func (*ContractID) ProtoMessage()
func (*ContractID) ProtoReflect ¶
func (x *ContractID) ProtoReflect() protoreflect.Message
func (*ContractID) Reset ¶
func (x *ContractID) Reset()
func (*ContractID) String ¶
func (x *ContractID) String() string
type ContractID_ContractNum ¶
type ContractID_ContractNum struct { // * // A nonnegative number unique within a given shard and realm ContractNum int64 `protobuf:"varint,3,opt,name=contractNum,proto3,oneof"` }
type ContractID_EvmAddress ¶
type ContractID_EvmAddress struct { // * // The 20-byte EVM address of the contract to call. // // Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id. // This address is as follows: // // <ol> // <li>The first 4 bytes are the big-endian representation of the shard.</li> // <li>The next 8 bytes are the big-endian representation of the realm.</li> // <li>The final 8 bytes are the big-endian representation of the number.</li> // </ol> // // Contracts created via CREATE2 have an <b>additional, primary address</b> that is // derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a> // specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id. // // (Please do note that CREATE2 contracts can also be referenced by the three-part // EVM address described above.) EvmAddress []byte `protobuf:"bytes,4,opt,name=evm_address,json=evmAddress,proto3,oneof"` }
type CryptoTransferTransactionBody ¶
type CryptoTransferTransactionBody struct { // * // The desired hbar balance adjustments Transfers *TransferList `protobuf:"bytes,1,opt,name=transfers,proto3" json:"transfers,omitempty"` // * // The desired token unit balance adjustments; if any custom fees are assessed, the ledger will // try to deduct them from the payer of this CryptoTransfer, resolving the transaction to // INSUFFICIENT_PAYER_BALANCE_FOR_CUSTOM_FEE if this is not possible TokenTransfers []*TokenTransferList `protobuf:"bytes,2,rep,name=tokenTransfers,proto3" json:"tokenTransfers,omitempty"` // contains filtered or unexported fields }
* Transfers cryptocurrency among two or more accounts by making the desired adjustments to their balances. Each transfer list can specify up to 10 adjustments. Each negative amount is withdrawn from the corresponding account (a sender), and each positive one is added to the corresponding account (a receiver). The amounts list must sum to zero. Each amount is a number of tinybars (there are 100,000,000 tinybars in one hbar). If any sender account fails to have sufficient hbars, then the entire transaction fails, and none of those transfers occur, though the transaction fee is still charged. This transaction must be signed by the keys for all the sending accounts, and for any receiving accounts that have receiverSigRequired == true. The signatures are in the same order as the accounts, skipping those accounts that don't need a signature.
func (*CryptoTransferTransactionBody) Descriptor
deprecated
func (*CryptoTransferTransactionBody) Descriptor() ([]byte, []int)
Deprecated: Use CryptoTransferTransactionBody.ProtoReflect.Descriptor instead.
func (*CryptoTransferTransactionBody) GetTokenTransfers ¶
func (x *CryptoTransferTransactionBody) GetTokenTransfers() []*TokenTransferList
func (*CryptoTransferTransactionBody) GetTransfers ¶
func (x *CryptoTransferTransactionBody) GetTransfers() *TransferList
func (*CryptoTransferTransactionBody) ProtoMessage ¶
func (*CryptoTransferTransactionBody) ProtoMessage()
func (*CryptoTransferTransactionBody) ProtoReflect ¶
func (x *CryptoTransferTransactionBody) ProtoReflect() protoreflect.Message
func (*CryptoTransferTransactionBody) Reset ¶
func (x *CryptoTransferTransactionBody) Reset()
func (*CryptoTransferTransactionBody) String ¶
func (x *CryptoTransferTransactionBody) String() string
type CurrentAndNextFeeSchedule ¶
type CurrentAndNextFeeSchedule struct { // * // Contains current Fee Schedule CurrentFeeSchedule *FeeSchedule `protobuf:"bytes,1,opt,name=currentFeeSchedule,proto3" json:"currentFeeSchedule,omitempty"` // * // Contains next Fee Schedule NextFeeSchedule *FeeSchedule `protobuf:"bytes,2,opt,name=nextFeeSchedule,proto3" json:"nextFeeSchedule,omitempty"` // contains filtered or unexported fields }
* This contains two Fee Schedules with expiry timestamp.
func (*CurrentAndNextFeeSchedule) Descriptor
deprecated
func (*CurrentAndNextFeeSchedule) Descriptor() ([]byte, []int)
Deprecated: Use CurrentAndNextFeeSchedule.ProtoReflect.Descriptor instead.
func (*CurrentAndNextFeeSchedule) GetCurrentFeeSchedule ¶
func (x *CurrentAndNextFeeSchedule) GetCurrentFeeSchedule() *FeeSchedule
func (*CurrentAndNextFeeSchedule) GetNextFeeSchedule ¶
func (x *CurrentAndNextFeeSchedule) GetNextFeeSchedule() *FeeSchedule
func (*CurrentAndNextFeeSchedule) ProtoMessage ¶
func (*CurrentAndNextFeeSchedule) ProtoMessage()
func (*CurrentAndNextFeeSchedule) ProtoReflect ¶
func (x *CurrentAndNextFeeSchedule) ProtoReflect() protoreflect.Message
func (*CurrentAndNextFeeSchedule) Reset ¶
func (x *CurrentAndNextFeeSchedule) Reset()
func (*CurrentAndNextFeeSchedule) String ¶
func (x *CurrentAndNextFeeSchedule) String() string
type Duration ¶
type Duration struct { // * // The number of seconds Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` // contains filtered or unexported fields }
* A length of time in seconds.
func (*Duration) Descriptor
deprecated
func (*Duration) GetSeconds ¶
func (*Duration) ProtoMessage ¶
func (*Duration) ProtoMessage()
func (*Duration) ProtoReflect ¶
func (x *Duration) ProtoReflect() protoreflect.Message
type FeeComponents ¶
type FeeComponents struct { // * // A minimum, the calculated fee must be greater than this value Min int64 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"` // * // A maximum, the calculated fee must be less than this value Max int64 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"` // * // A constant contribution to the fee Constant int64 `protobuf:"varint,3,opt,name=constant,proto3" json:"constant,omitempty"` // * // The price of bandwidth consumed by a transaction, measured in bytes Bpt int64 `protobuf:"varint,4,opt,name=bpt,proto3" json:"bpt,omitempty"` // * // The price per signature verification for a transaction Vpt int64 `protobuf:"varint,5,opt,name=vpt,proto3" json:"vpt,omitempty"` // * // The price of RAM consumed by a transaction, measured in byte-hours Rbh int64 `protobuf:"varint,6,opt,name=rbh,proto3" json:"rbh,omitempty"` // * // The price of storage consumed by a transaction, measured in byte-hours Sbh int64 `protobuf:"varint,7,opt,name=sbh,proto3" json:"sbh,omitempty"` // * // The price of computation for a smart contract transaction, measured in gas Gas int64 `protobuf:"varint,8,opt,name=gas,proto3" json:"gas,omitempty"` // * // The price per hbar transferred for a transfer Tv int64 `protobuf:"varint,9,opt,name=tv,proto3" json:"tv,omitempty"` // * // The price of bandwidth for data retrieved from memory for a response, measured in bytes Bpr int64 `protobuf:"varint,10,opt,name=bpr,proto3" json:"bpr,omitempty"` // * // The price of bandwidth for data retrieved from disk for a response, measured in bytes Sbpr int64 `protobuf:"varint,11,opt,name=sbpr,proto3" json:"sbpr,omitempty"` // contains filtered or unexported fields }
* A set of prices the nodes use in determining transaction and query fees, and constants involved in fee calculations. Nodes multiply the amount of resources consumed by a transaction or query by the corresponding price to calculate the appropriate fee. Units are one-thousandth of a tinyCent.
func (*FeeComponents) Descriptor
deprecated
func (*FeeComponents) Descriptor() ([]byte, []int)
Deprecated: Use FeeComponents.ProtoReflect.Descriptor instead.
func (*FeeComponents) GetBpr ¶
func (x *FeeComponents) GetBpr() int64
func (*FeeComponents) GetBpt ¶
func (x *FeeComponents) GetBpt() int64
func (*FeeComponents) GetConstant ¶
func (x *FeeComponents) GetConstant() int64
func (*FeeComponents) GetGas ¶
func (x *FeeComponents) GetGas() int64
func (*FeeComponents) GetMax ¶
func (x *FeeComponents) GetMax() int64
func (*FeeComponents) GetMin ¶
func (x *FeeComponents) GetMin() int64
func (*FeeComponents) GetRbh ¶
func (x *FeeComponents) GetRbh() int64
func (*FeeComponents) GetSbh ¶
func (x *FeeComponents) GetSbh() int64
func (*FeeComponents) GetSbpr ¶
func (x *FeeComponents) GetSbpr() int64
func (*FeeComponents) GetTv ¶
func (x *FeeComponents) GetTv() int64
func (*FeeComponents) GetVpt ¶
func (x *FeeComponents) GetVpt() int64
func (*FeeComponents) ProtoMessage ¶
func (*FeeComponents) ProtoMessage()
func (*FeeComponents) ProtoReflect ¶
func (x *FeeComponents) ProtoReflect() protoreflect.Message
func (*FeeComponents) Reset ¶
func (x *FeeComponents) Reset()
func (*FeeComponents) String ¶
func (x *FeeComponents) String() string
type FeeData ¶
type FeeData struct { // * // Fee paid to the submitting node Nodedata *FeeComponents `protobuf:"bytes,1,opt,name=nodedata,proto3" json:"nodedata,omitempty"` // * // Fee paid to the network for processing a transaction into consensus Networkdata *FeeComponents `protobuf:"bytes,2,opt,name=networkdata,proto3" json:"networkdata,omitempty"` // * // Fee paid to the network for providing the service associated with the // transaction; for instance, storing a file Servicedata *FeeComponents `protobuf:"bytes,3,opt,name=servicedata,proto3" json:"servicedata,omitempty"` // * // SubType distinguishing between different types of FeeData, correlating // to the same HederaFunctionality SubType SubType `protobuf:"varint,4,opt,name=subType,proto3,enum=proto.SubType" json:"subType,omitempty"` // contains filtered or unexported fields }
* The total fee charged for a transaction. It is composed of three components – a node fee that compensates the specific node that submitted the transaction, a network fee that compensates the network for assigning the transaction a consensus timestamp, and a service fee that compensates the network for the ongoing maintenance of the consequences of the transaction.
func (*FeeData) Descriptor
deprecated
func (*FeeData) GetNetworkdata ¶
func (x *FeeData) GetNetworkdata() *FeeComponents
func (*FeeData) GetNodedata ¶
func (x *FeeData) GetNodedata() *FeeComponents
func (*FeeData) GetServicedata ¶
func (x *FeeData) GetServicedata() *FeeComponents
func (*FeeData) GetSubType ¶
func (*FeeData) ProtoMessage ¶
func (*FeeData) ProtoMessage()
func (*FeeData) ProtoReflect ¶
func (x *FeeData) ProtoReflect() protoreflect.Message
type FeeSchedule ¶
type FeeSchedule struct { // * // List of price coefficients for network resources TransactionFeeSchedule []*TransactionFeeSchedule `protobuf:"bytes,1,rep,name=transactionFeeSchedule,proto3" json:"transactionFeeSchedule,omitempty"` // * // FeeSchedule expiry time ExpiryTime *TimestampSeconds `protobuf:"bytes,2,opt,name=expiryTime,proto3" json:"expiryTime,omitempty"` // contains filtered or unexported fields }
* A list of resource prices fee for different transactions and queries and the time period at which this fee schedule will expire. Nodes use the prices to determine the fees for all transactions based on how much of those resources each transaction uses.
func (*FeeSchedule) Descriptor
deprecated
func (*FeeSchedule) Descriptor() ([]byte, []int)
Deprecated: Use FeeSchedule.ProtoReflect.Descriptor instead.
func (*FeeSchedule) GetExpiryTime ¶
func (x *FeeSchedule) GetExpiryTime() *TimestampSeconds
func (*FeeSchedule) GetTransactionFeeSchedule ¶
func (x *FeeSchedule) GetTransactionFeeSchedule() []*TransactionFeeSchedule
func (*FeeSchedule) ProtoMessage ¶
func (*FeeSchedule) ProtoMessage()
func (*FeeSchedule) ProtoReflect ¶
func (x *FeeSchedule) ProtoReflect() protoreflect.Message
func (*FeeSchedule) Reset ¶
func (x *FeeSchedule) Reset()
func (*FeeSchedule) String ¶
func (x *FeeSchedule) String() string
type FileID ¶
type FileID struct { // * // The shard number (nonnegative) ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // * // The realm number (nonnegative) RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"` // * // A nonnegative File number unique within its realm FileNum int64 `protobuf:"varint,3,opt,name=fileNum,proto3" json:"fileNum,omitempty"` // contains filtered or unexported fields }
* The ID for a file
func (*FileID) Descriptor
deprecated
func (*FileID) GetFileNum ¶
func (*FileID) GetRealmNum ¶
func (*FileID) GetShardNum ¶
func (*FileID) ProtoMessage ¶
func (*FileID) ProtoMessage()
func (*FileID) ProtoReflect ¶
func (x *FileID) ProtoReflect() protoreflect.Message
type Fraction ¶
type Fraction struct { // * // The rational's numerator Numerator int64 `protobuf:"varint,1,opt,name=numerator,proto3" json:"numerator,omitempty"` // * // The rational's denominator; a zero value will result in FRACTION_DIVIDES_BY_ZERO Denominator int64 `protobuf:"varint,2,opt,name=denominator,proto3" json:"denominator,omitempty"` // contains filtered or unexported fields }
* A rational number, used to set the amount of a value transfer to collect as a custom fee
func (*Fraction) Descriptor
deprecated
func (*Fraction) GetDenominator ¶
func (*Fraction) GetNumerator ¶
func (*Fraction) ProtoMessage ¶
func (*Fraction) ProtoMessage()
func (*Fraction) ProtoReflect ¶
func (x *Fraction) ProtoReflect() protoreflect.Message
type HederaFunctionality ¶
type HederaFunctionality int32
* The transactions and queries supported by Hedera Hashgraph.
const ( // * // UNSPECIFIED - Need to keep first value as unspecified because first element is ignored and // not parsed (0 is ignored by parser) HederaFunctionality_NONE HederaFunctionality = 0 // * // crypto transfer HederaFunctionality_CryptoTransfer HederaFunctionality = 1 // * // crypto update account HederaFunctionality_CryptoUpdate HederaFunctionality = 2 // * // crypto delete account HederaFunctionality_CryptoDelete HederaFunctionality = 3 // * // Add a livehash to a crypto account HederaFunctionality_CryptoAddLiveHash HederaFunctionality = 4 // * // Delete a livehash from a crypto account HederaFunctionality_CryptoDeleteLiveHash HederaFunctionality = 5 // * // Smart Contract Call HederaFunctionality_ContractCall HederaFunctionality = 6 // * // Smart Contract Create Contract HederaFunctionality_ContractCreate HederaFunctionality = 7 // * // Smart Contract update contract HederaFunctionality_ContractUpdate HederaFunctionality = 8 // * // File Operation create file HederaFunctionality_FileCreate HederaFunctionality = 9 // * // File Operation append file HederaFunctionality_FileAppend HederaFunctionality = 10 // * // File Operation update file HederaFunctionality_FileUpdate HederaFunctionality = 11 // * // File Operation delete file HederaFunctionality_FileDelete HederaFunctionality = 12 // * // crypto get account balance HederaFunctionality_CryptoGetAccountBalance HederaFunctionality = 13 // * // crypto get account record HederaFunctionality_CryptoGetAccountRecords HederaFunctionality = 14 // * // Crypto get info HederaFunctionality_CryptoGetInfo HederaFunctionality = 15 // * // Smart Contract Call HederaFunctionality_ContractCallLocal HederaFunctionality = 16 // * // Smart Contract get info HederaFunctionality_ContractGetInfo HederaFunctionality = 17 // * // Smart Contract, get the runtime code HederaFunctionality_ContractGetBytecode HederaFunctionality = 18 // * // Smart Contract, get by solidity ID HederaFunctionality_GetBySolidityID HederaFunctionality = 19 // * // Smart Contract, get by key HederaFunctionality_GetByKey HederaFunctionality = 20 // * // Get a live hash from a crypto account HederaFunctionality_CryptoGetLiveHash HederaFunctionality = 21 // * // Crypto, get the stakers for the node HederaFunctionality_CryptoGetStakers HederaFunctionality = 22 // * // File Operations get file contents HederaFunctionality_FileGetContents HederaFunctionality = 23 // * // File Operations get the info of the file HederaFunctionality_FileGetInfo HederaFunctionality = 24 // * // Crypto get the transaction records HederaFunctionality_TransactionGetRecord HederaFunctionality = 25 // * // Contract get the transaction records HederaFunctionality_ContractGetRecords HederaFunctionality = 26 // * // crypto create account HederaFunctionality_CryptoCreate HederaFunctionality = 27 // * // system delete file HederaFunctionality_SystemDelete HederaFunctionality = 28 // * // system undelete file HederaFunctionality_SystemUndelete HederaFunctionality = 29 // * // delete contract HederaFunctionality_ContractDelete HederaFunctionality = 30 // * // freeze HederaFunctionality_Freeze HederaFunctionality = 31 // * // Create Tx Record HederaFunctionality_CreateTransactionRecord HederaFunctionality = 32 // * // Crypto Auto Renew HederaFunctionality_CryptoAccountAutoRenew HederaFunctionality = 33 // * // Contract Auto Renew HederaFunctionality_ContractAutoRenew HederaFunctionality = 34 // * // Get Version HederaFunctionality_GetVersionInfo HederaFunctionality = 35 // * // Transaction Get Receipt HederaFunctionality_TransactionGetReceipt HederaFunctionality = 36 // * // Create Topic HederaFunctionality_ConsensusCreateTopic HederaFunctionality = 50 // * // Update Topic HederaFunctionality_ConsensusUpdateTopic HederaFunctionality = 51 // * // Delete Topic HederaFunctionality_ConsensusDeleteTopic HederaFunctionality = 52 // * // Get Topic information HederaFunctionality_ConsensusGetTopicInfo HederaFunctionality = 53 // * // Submit message to topic HederaFunctionality_ConsensusSubmitMessage HederaFunctionality = 54 HederaFunctionality_UncheckedSubmit HederaFunctionality = 55 // * // Create Token HederaFunctionality_TokenCreate HederaFunctionality = 56 // * // Get Token information HederaFunctionality_TokenGetInfo HederaFunctionality = 58 // * // Freeze Account HederaFunctionality_TokenFreezeAccount HederaFunctionality = 59 // * // Unfreeze Account HederaFunctionality_TokenUnfreezeAccount HederaFunctionality = 60 // * // Grant KYC to Account HederaFunctionality_TokenGrantKycToAccount HederaFunctionality = 61 // * // Revoke KYC from Account HederaFunctionality_TokenRevokeKycFromAccount HederaFunctionality = 62 // * // Delete Token HederaFunctionality_TokenDelete HederaFunctionality = 63 // * // Update Token HederaFunctionality_TokenUpdate HederaFunctionality = 64 // * // Mint tokens to treasury HederaFunctionality_TokenMint HederaFunctionality = 65 // * // Burn tokens from treasury HederaFunctionality_TokenBurn HederaFunctionality = 66 // * // Wipe token amount from Account holder HederaFunctionality_TokenAccountWipe HederaFunctionality = 67 // * // Associate tokens to an account HederaFunctionality_TokenAssociateToAccount HederaFunctionality = 68 // * // Dissociate tokens from an account HederaFunctionality_TokenDissociateFromAccount HederaFunctionality = 69 // * // Create Scheduled Transaction HederaFunctionality_ScheduleCreate HederaFunctionality = 70 // * // Delete Scheduled Transaction HederaFunctionality_ScheduleDelete HederaFunctionality = 71 // * // Sign Scheduled Transaction HederaFunctionality_ScheduleSign HederaFunctionality = 72 // * // Get Scheduled Transaction Information HederaFunctionality_ScheduleGetInfo HederaFunctionality = 73 // * // Get Token Account Nft Information HederaFunctionality_TokenGetAccountNftInfos HederaFunctionality = 74 // * // Get Token Nft Information HederaFunctionality_TokenGetNftInfo HederaFunctionality = 75 // * // Get Token Nft List Information HederaFunctionality_TokenGetNftInfos HederaFunctionality = 76 // * // Update a token's custom fee schedule, if permissible HederaFunctionality_TokenFeeScheduleUpdate HederaFunctionality = 77 // * // Get execution time(s) by TransactionID, if available HederaFunctionality_NetworkGetExecutionTime HederaFunctionality = 78 // * // Pause the Token HederaFunctionality_TokenPause HederaFunctionality = 79 // * // Unpause the Token HederaFunctionality_TokenUnpause HederaFunctionality = 80 // * // Approve allowance for a spender relative to the owner account HederaFunctionality_CryptoApproveAllowance HederaFunctionality = 81 // * // Deletes granted allowances on owner account HederaFunctionality_CryptoDeleteAllowance HederaFunctionality = 82 // * // Gets all the information about an account, including balance and allowances. This does not get the list of // account records. HederaFunctionality_GetAccountDetails HederaFunctionality = 83 // * // Ethereum Transaction HederaFunctionality_EthereumTransaction HederaFunctionality = 84 // * // Updates the staking info at the end of staking period to indicate new staking period has started. HederaFunctionality_NodeStakeUpdate HederaFunctionality = 85 // * // Generates a pseudorandom number. HederaFunctionality_UtilPrng HederaFunctionality = 86 )
func (HederaFunctionality) Descriptor ¶
func (HederaFunctionality) Descriptor() protoreflect.EnumDescriptor
func (HederaFunctionality) Enum ¶
func (x HederaFunctionality) Enum() *HederaFunctionality
func (HederaFunctionality) EnumDescriptor
deprecated
func (HederaFunctionality) EnumDescriptor() ([]byte, []int)
Deprecated: Use HederaFunctionality.Descriptor instead.
func (HederaFunctionality) Number ¶
func (x HederaFunctionality) Number() protoreflect.EnumNumber
func (HederaFunctionality) String ¶
func (x HederaFunctionality) String() string
func (HederaFunctionality) Type ¶
func (HederaFunctionality) Type() protoreflect.EnumType
type Key ¶
type Key struct { // Types that are valid to be assigned to Key: // // *Key_ContractID // *Key_Ed25519 // *Key_RSA_3072 // *Key_ECDSA_384 // *Key_ThresholdKey // *Key_KeyList // *Key_ECDSASecp256K1 // *Key_DelegatableContractId Key isKey_Key `protobuf_oneof:"key"` // contains filtered or unexported fields }
* A Key can be a public key from either the Ed25519 or ECDSA(secp256k1) signature schemes, where in the ECDSA(secp256k1) case we require the 33-byte compressed form of the public key. We call these public keys <b>primitive keys</b>.
If an account has primitive key associated to it, then the corresponding private key must sign any transaction to transfer cryptocurrency out of it.
A Key can also be the ID of a smart contract instance, which is then authorized to perform any precompiled contract action that requires this key to sign.
Note that when a Key is a smart contract ID, it <i>doesn't</i> mean the contract with that ID will actually create a cryptographic signature. It only means that when the contract calls a precompiled contract, the resulting "child transaction" will be authorized to perform any action controlled by the Key.
A Key can be a "threshold key", which means a list of M keys, any N of which must sign in order for the threshold signature to be considered valid. The keys within a threshold signature may themselves be threshold signatures, to allow complex signature requirements.
A Key can be a "key list" where all keys in the list must sign unless specified otherwise in the documentation for a specific transaction type (e.g. FileDeleteTransactionBody). Their use is dependent on context. For example, a Hedera file is created with a list of keys, where all of them must sign a transaction to create or modify the file, but only one of them is needed to sign a transaction to delete the file. So it's a single list that sometimes acts as a 1-of-M threshold key, and sometimes acts as an M-of-M threshold key. A key list is always an M-of-M, unless specified otherwise in documentation. A key list can have nested key lists or threshold keys. Nested key lists are always M-of-M. A key list can have repeated primitive public keys, but all repeated keys are only required to sign once.
A Key can contain a ThresholdKey or KeyList, which in turn contain a Key, so this mutual recursion would allow nesting arbitrarily deep. A ThresholdKey which contains a list of primitive keys has 3 levels: ThresholdKey -> KeyList -> Key. A KeyList which contains several primitive keys has 2 levels: KeyList -> Key. A Key with 2 levels of nested ThresholdKeys has 7 levels: Key -> ThresholdKey -> KeyList -> Key -> ThresholdKey -> KeyList -> Key.
Each Key should not have more than 46 levels, which implies 15 levels of nested ThresholdKeys.
func (*Key) Descriptor
deprecated
func (*Key) GetContractID ¶
func (x *Key) GetContractID() *ContractID
func (*Key) GetDelegatableContractId ¶
func (x *Key) GetDelegatableContractId() *ContractID
func (*Key) GetECDSASecp256K1 ¶
func (*Key) GetECDSA_384 ¶
func (*Key) GetEd25519 ¶
func (*Key) GetKeyList ¶
func (*Key) GetRSA_3072 ¶
func (*Key) GetThresholdKey ¶
func (x *Key) GetThresholdKey() *ThresholdKey
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
type KeyList ¶
type KeyList struct { // * // list of keys Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
* A list of keys that requires all keys (M-of-M) to sign unless otherwise specified in documentation. A KeyList may contain repeated keys, but all repeated keys are only required to sign once.
func (*KeyList) Descriptor
deprecated
func (*KeyList) ProtoMessage ¶
func (*KeyList) ProtoMessage()
func (*KeyList) ProtoReflect ¶
func (x *KeyList) ProtoReflect() protoreflect.Message
type Key_ContractID ¶
type Key_ContractID struct { // * // smart contract instance that is authorized as if it had signed with a key ContractID *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3,oneof"` }
type Key_DelegatableContractId ¶
type Key_DelegatableContractId struct { // * // A smart contract that, if the recipient of the active message frame, should be treated // as having signed. (Note this does not mean the <i>code being executed in the frame</i> // will belong to the given contract, since it could be running another contract's code via // <tt>delegatecall</tt>. So setting this key is a more permissive version of setting the // contractID key, which also requires the code in the active message frame belong to the // the contract with the given id.) DelegatableContractId *ContractID `protobuf:"bytes,8,opt,name=delegatable_contract_id,json=delegatableContractId,proto3,oneof"` }
type Key_ECDSASecp256K1 ¶
type Key_ECDSASecp256K1 struct { // * // Compressed ECDSA(secp256k1) public key bytes ECDSASecp256K1 []byte `protobuf:"bytes,7,opt,name=ECDSA_secp256k1,json=ECDSASecp256k1,proto3,oneof"` }
type Key_ECDSA_384 ¶
type Key_ECDSA_384 struct { // * // (NOT SUPPORTED) ECDSA with the p-384 curve public key bytes ECDSA_384 []byte `protobuf:"bytes,4,opt,name=ECDSA_384,json=ECDSA384,proto3,oneof"` }
type Key_Ed25519 ¶
type Key_Ed25519 struct { // * // Ed25519 public key bytes Ed25519 []byte `protobuf:"bytes,2,opt,name=ed25519,proto3,oneof"` }
type Key_KeyList ¶
type Key_KeyList struct { // * // A list of Keys of the Key type. KeyList *KeyList `protobuf:"bytes,6,opt,name=keyList,proto3,oneof"` }
type Key_RSA_3072 ¶
type Key_RSA_3072 struct { // * // (NOT SUPPORTED) RSA-3072 public key bytes RSA_3072 []byte `protobuf:"bytes,3,opt,name=RSA_3072,json=RSA3072,proto3,oneof"` }
type Key_ThresholdKey ¶
type Key_ThresholdKey struct { // * // a threshold N followed by a list of M keys, any N of which are required to form a valid // signature ThresholdKey *ThresholdKey `protobuf:"bytes,5,opt,name=thresholdKey,proto3,oneof"` }
type NftTransfer ¶
type NftTransfer struct { // * // The accountID of the sender SenderAccountID *AccountID `protobuf:"bytes,1,opt,name=senderAccountID,proto3" json:"senderAccountID,omitempty"` // * // The accountID of the receiver ReceiverAccountID *AccountID `protobuf:"bytes,2,opt,name=receiverAccountID,proto3" json:"receiverAccountID,omitempty"` // * // The serial number of the NFT SerialNumber int64 `protobuf:"varint,3,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"` // * // If true then the transfer is expected to be an approved allowance and the // senderAccountID is expected to be the owner. The default is false (omitted). IsApproval bool `protobuf:"varint,4,opt,name=is_approval,json=isApproval,proto3" json:"is_approval,omitempty"` // contains filtered or unexported fields }
* A sender account, a receiver account, and the serial number of an NFT of a Token with NON_FUNGIBLE_UNIQUE type. When minting NFTs the sender will be the default AccountID instance (0.0.0) and when burning NFTs, the receiver will be the default AccountID instance.
func (*NftTransfer) Descriptor
deprecated
func (*NftTransfer) Descriptor() ([]byte, []int)
Deprecated: Use NftTransfer.ProtoReflect.Descriptor instead.
func (*NftTransfer) GetIsApproval ¶
func (x *NftTransfer) GetIsApproval() bool
func (*NftTransfer) GetReceiverAccountID ¶
func (x *NftTransfer) GetReceiverAccountID() *AccountID
func (*NftTransfer) GetSenderAccountID ¶
func (x *NftTransfer) GetSenderAccountID() *AccountID
func (*NftTransfer) GetSerialNumber ¶
func (x *NftTransfer) GetSerialNumber() int64
func (*NftTransfer) ProtoMessage ¶
func (*NftTransfer) ProtoMessage()
func (*NftTransfer) ProtoReflect ¶
func (x *NftTransfer) ProtoReflect() protoreflect.Message
func (*NftTransfer) Reset ¶
func (x *NftTransfer) Reset()
func (*NftTransfer) String ¶
func (x *NftTransfer) String() string
type NodeAddress ¶
type NodeAddress struct { // * // The IP address of the Node with separator & octets encoded in UTF-8. Usage is deprecated, // ServiceEndpoint is preferred to retrieve a node's list of IP addresses and ports // // Deprecated: Marked as deprecated in basic_types.proto. IpAddress []byte `protobuf:"bytes,1,opt,name=ipAddress,proto3" json:"ipAddress,omitempty"` // * // The port number of the grpc server for the node. Usage is deprecated, ServiceEndpoint is // preferred to retrieve a node's list of IP addresses and ports // // Deprecated: Marked as deprecated in basic_types.proto. Portno int32 `protobuf:"varint,2,opt,name=portno,proto3" json:"portno,omitempty"` // * // Usage is deprecated, nodeAccountId is preferred to retrieve a node's account ID // // Deprecated: Marked as deprecated in basic_types.proto. Memo []byte `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"` // * // The node's X509 RSA public key used to sign stream files (e.g., record stream // files). Precisely, this field is a string of hexadecimal characters which, // translated to binary, are the public key's DER encoding. RSA_PubKey string `protobuf:"bytes,4,opt,name=RSA_PubKey,json=RSAPubKey,proto3" json:"RSA_PubKey,omitempty"` // * // # A non-sequential identifier for the node NodeId int64 `protobuf:"varint,5,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // * // # The account to be paid for queries and transactions sent to this node NodeAccountId *AccountID `protobuf:"bytes,6,opt,name=nodeAccountId,proto3" json:"nodeAccountId,omitempty"` // * // # Hash of the node's TLS certificate. Precisely, this field is a string of // hexadecimal characters which, translated to binary, are the SHA-384 hash of // the UTF-8 NFKD encoding of the node's TLS cert in PEM format. Its value can be // used to verify the node's certificate it presents during TLS negotiations. NodeCertHash []byte `protobuf:"bytes,7,opt,name=nodeCertHash,proto3" json:"nodeCertHash,omitempty"` // * // # A node's service IP addresses and ports ServiceEndpoint []*ServiceEndpoint `protobuf:"bytes,8,rep,name=serviceEndpoint,proto3" json:"serviceEndpoint,omitempty"` // * // A description of the node, with UTF-8 encoding up to 100 bytes Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` // * // [Deprecated] The amount of tinybars staked to the node // // Deprecated: Marked as deprecated in basic_types.proto. Stake int64 `protobuf:"varint,10,opt,name=stake,proto3" json:"stake,omitempty"` // contains filtered or unexported fields }
* The data about a node, including its service endpoints and the Hedera account to be paid for services provided by the node (that is, queries answered and transactions submitted.)
If the <tt>serviceEndpoint</tt> list is not set, or empty, then the endpoint given by the (deprecated) <tt>ipAddress</tt> and <tt>portno</tt> fields should be used.
All fields are populated in the 0.0.102 address book file while only fields that start with # are populated in the 0.0.101 address book file.
func (*NodeAddress) Descriptor
deprecated
func (*NodeAddress) Descriptor() ([]byte, []int)
Deprecated: Use NodeAddress.ProtoReflect.Descriptor instead.
func (*NodeAddress) GetDescription ¶
func (x *NodeAddress) GetDescription() string
func (*NodeAddress) GetIpAddress
deprecated
func (x *NodeAddress) GetIpAddress() []byte
Deprecated: Marked as deprecated in basic_types.proto.
func (*NodeAddress) GetMemo
deprecated
func (x *NodeAddress) GetMemo() []byte
Deprecated: Marked as deprecated in basic_types.proto.
func (*NodeAddress) GetNodeAccountId ¶
func (x *NodeAddress) GetNodeAccountId() *AccountID
func (*NodeAddress) GetNodeCertHash ¶
func (x *NodeAddress) GetNodeCertHash() []byte
func (*NodeAddress) GetNodeId ¶
func (x *NodeAddress) GetNodeId() int64
func (*NodeAddress) GetPortno
deprecated
func (x *NodeAddress) GetPortno() int32
Deprecated: Marked as deprecated in basic_types.proto.
func (*NodeAddress) GetRSA_PubKey ¶
func (x *NodeAddress) GetRSA_PubKey() string
func (*NodeAddress) GetServiceEndpoint ¶
func (x *NodeAddress) GetServiceEndpoint() []*ServiceEndpoint
func (*NodeAddress) GetStake
deprecated
func (x *NodeAddress) GetStake() int64
Deprecated: Marked as deprecated in basic_types.proto.
func (*NodeAddress) ProtoMessage ¶
func (*NodeAddress) ProtoMessage()
func (*NodeAddress) ProtoReflect ¶
func (x *NodeAddress) ProtoReflect() protoreflect.Message
func (*NodeAddress) Reset ¶
func (x *NodeAddress) Reset()
func (*NodeAddress) String ¶
func (x *NodeAddress) String() string
type NodeAddressBook ¶
type NodeAddressBook struct { // * // Metadata of all nodes in the network NodeAddress []*NodeAddress `protobuf:"bytes,1,rep,name=nodeAddress,proto3" json:"nodeAddress,omitempty"` // contains filtered or unexported fields }
* A list of nodes and their metadata that contains all details of the nodes for the network. Used to parse the contents of system files <tt>0.0.101</tt> and <tt>0.0.102</tt>.
func (*NodeAddressBook) Descriptor
deprecated
func (*NodeAddressBook) Descriptor() ([]byte, []int)
Deprecated: Use NodeAddressBook.ProtoReflect.Descriptor instead.
func (*NodeAddressBook) GetNodeAddress ¶
func (x *NodeAddressBook) GetNodeAddress() []*NodeAddress
func (*NodeAddressBook) ProtoMessage ¶
func (*NodeAddressBook) ProtoMessage()
func (*NodeAddressBook) ProtoReflect ¶
func (x *NodeAddressBook) ProtoReflect() protoreflect.Message
func (*NodeAddressBook) Reset ¶
func (x *NodeAddressBook) Reset()
func (*NodeAddressBook) String ¶
func (x *NodeAddressBook) String() string
type RealmID ¶
type RealmID struct { // * // The shard number (nonnegative) ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // * // The realm number (nonnegative) RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"` // contains filtered or unexported fields }
* The ID for a realm. Within a given shard, every realm has a unique ID. Each account, file, and contract instance belongs to exactly one realm.
func (*RealmID) Descriptor
deprecated
func (*RealmID) GetRealmNum ¶
func (*RealmID) GetShardNum ¶
func (*RealmID) ProtoMessage ¶
func (*RealmID) ProtoMessage()
func (*RealmID) ProtoReflect ¶
func (x *RealmID) ProtoReflect() protoreflect.Message
type ScheduleID ¶
type ScheduleID struct { // * // A nonnegative shard number ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // * // A nonnegative realm number RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"` // * // A nonnegative schedule number ScheduleNum int64 `protobuf:"varint,3,opt,name=scheduleNum,proto3" json:"scheduleNum,omitempty"` // contains filtered or unexported fields }
* Unique identifier for a Schedule
func (*ScheduleID) Descriptor
deprecated
func (*ScheduleID) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleID.ProtoReflect.Descriptor instead.
func (*ScheduleID) GetRealmNum ¶
func (x *ScheduleID) GetRealmNum() int64
func (*ScheduleID) GetScheduleNum ¶
func (x *ScheduleID) GetScheduleNum() int64
func (*ScheduleID) GetShardNum ¶
func (x *ScheduleID) GetShardNum() int64
func (*ScheduleID) ProtoMessage ¶
func (*ScheduleID) ProtoMessage()
func (*ScheduleID) ProtoReflect ¶
func (x *ScheduleID) ProtoReflect() protoreflect.Message
func (*ScheduleID) Reset ¶
func (x *ScheduleID) Reset()
func (*ScheduleID) String ¶
func (x *ScheduleID) String() string
type SemanticVersion ¶
type SemanticVersion struct { // * // Increases with incompatible API changes Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` // * // Increases with backwards-compatible new functionality Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` // * // Increases with backwards-compatible bug fixes Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` // * // A pre-release version MAY be denoted by appending a hyphen and a series of dot separated // identifiers (https://semver.org/#spec-item-9); so given a semver 0.14.0-alpha.1+21AF26D3, // this field would contain 'alpha.1' Pre string `protobuf:"bytes,4,opt,name=pre,proto3" json:"pre,omitempty"` // * // Build metadata MAY be denoted by appending a plus sign and a series of dot separated // identifiers immediately following the patch or pre-release version // (https://semver.org/#spec-item-10); so given a semver 0.14.0-alpha.1+21AF26D3, this field // would contain '21AF26D3' Build string `protobuf:"bytes,5,opt,name=build,proto3" json:"build,omitempty"` // contains filtered or unexported fields }
* Hedera follows semantic versioning (https://semver.org/) for both the HAPI protobufs and the Services software. This type allows the <tt>getVersionInfo</tt> query in the <tt>NetworkService</tt> to return the deployed versions of both protobufs and software on the node answering the query.
func (*SemanticVersion) Descriptor
deprecated
func (*SemanticVersion) Descriptor() ([]byte, []int)
Deprecated: Use SemanticVersion.ProtoReflect.Descriptor instead.
func (*SemanticVersion) GetBuild ¶
func (x *SemanticVersion) GetBuild() string
func (*SemanticVersion) GetMajor ¶
func (x *SemanticVersion) GetMajor() int32
func (*SemanticVersion) GetMinor ¶
func (x *SemanticVersion) GetMinor() int32
func (*SemanticVersion) GetPatch ¶
func (x *SemanticVersion) GetPatch() int32
func (*SemanticVersion) GetPre ¶
func (x *SemanticVersion) GetPre() string
func (*SemanticVersion) ProtoMessage ¶
func (*SemanticVersion) ProtoMessage()
func (*SemanticVersion) ProtoReflect ¶
func (x *SemanticVersion) ProtoReflect() protoreflect.Message
func (*SemanticVersion) Reset ¶
func (x *SemanticVersion) Reset()
func (*SemanticVersion) String ¶
func (x *SemanticVersion) String() string
type ServiceEndpoint ¶
type ServiceEndpoint struct { // * // The 32-bit IPv4 address of the node encoded in left to right order (e.g. 127.0.0.1 has 127 // as its first byte) IpAddressV4 []byte `protobuf:"bytes,1,opt,name=ipAddressV4,proto3" json:"ipAddressV4,omitempty"` // * // The port of the node Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
* Contains the IP address and the port representing a service endpoint of a Node in a network. Used to reach the Hedera API and submit transactions to the network.
func (*ServiceEndpoint) Descriptor
deprecated
func (*ServiceEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use ServiceEndpoint.ProtoReflect.Descriptor instead.
func (*ServiceEndpoint) GetIpAddressV4 ¶
func (x *ServiceEndpoint) GetIpAddressV4() []byte
func (*ServiceEndpoint) GetPort ¶
func (x *ServiceEndpoint) GetPort() int32
func (*ServiceEndpoint) ProtoMessage ¶
func (*ServiceEndpoint) ProtoMessage()
func (*ServiceEndpoint) ProtoReflect ¶
func (x *ServiceEndpoint) ProtoReflect() protoreflect.Message
func (*ServiceEndpoint) Reset ¶
func (x *ServiceEndpoint) Reset()
func (*ServiceEndpoint) String ¶
func (x *ServiceEndpoint) String() string
type ServicesConfigurationList ¶
type ServicesConfigurationList struct { // * // list of name value pairs of the application properties NameValue []*Setting `protobuf:"bytes,1,rep,name=nameValue,proto3" json:"nameValue,omitempty"` // contains filtered or unexported fields }
* UNDOCUMENTED
func (*ServicesConfigurationList) Descriptor
deprecated
func (*ServicesConfigurationList) Descriptor() ([]byte, []int)
Deprecated: Use ServicesConfigurationList.ProtoReflect.Descriptor instead.
func (*ServicesConfigurationList) GetNameValue ¶
func (x *ServicesConfigurationList) GetNameValue() []*Setting
func (*ServicesConfigurationList) ProtoMessage ¶
func (*ServicesConfigurationList) ProtoMessage()
func (*ServicesConfigurationList) ProtoReflect ¶
func (x *ServicesConfigurationList) ProtoReflect() protoreflect.Message
func (*ServicesConfigurationList) Reset ¶
func (x *ServicesConfigurationList) Reset()
func (*ServicesConfigurationList) String ¶
func (x *ServicesConfigurationList) String() string
type Setting ¶
type Setting struct { // * // name of the property Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // * // value of the property Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // * // any data associated with property Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
* UNDOCUMENTED
func (*Setting) Descriptor
deprecated
func (*Setting) ProtoMessage ¶
func (*Setting) ProtoMessage()
func (*Setting) ProtoReflect ¶
func (x *Setting) ProtoReflect() protoreflect.Message
type ShardID ¶
type ShardID struct { // * // the shard number (nonnegative) ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // contains filtered or unexported fields }
* Each shard has a nonnegative shard number. Each realm within a given shard has a nonnegative realm number (that number might be reused in other shards). And each account, file, and smart contract instance within a given realm has a nonnegative number (which might be reused in other realms). Every account, file, and smart contract instance is within exactly one realm. So a FileID is a triplet of numbers, like 0.1.2 for entity number 2 within realm 1 within shard 0. Each realm maintains a single counter for assigning numbers, so if there is a file with ID 0.1.2, then there won't be an account or smart contract instance with ID 0.1.2.
Everything is partitioned into realms so that each Solidity smart contract can access everything in just a single realm, locking all those entities while it's running, but other smart contracts could potentially run in other realms in parallel. So realms allow Solidity to be parallelized somewhat, even though the language itself assumes everything is serial.
func (*ShardID) Descriptor
deprecated
func (*ShardID) GetShardNum ¶
func (*ShardID) ProtoMessage ¶
func (*ShardID) ProtoMessage()
func (*ShardID) ProtoReflect ¶
func (x *ShardID) ProtoReflect() protoreflect.Message
type Signature
deprecated
type Signature struct { // Types that are valid to be assigned to Signature: // // *Signature_Contract // *Signature_Ed25519 // *Signature_RSA_3072 // *Signature_ECDSA_384 // *Signature_ThresholdSignature // *Signature_SignatureList Signature isSignature_Signature `protobuf_oneof:"signature"` // contains filtered or unexported fields }
* This message is <b>DEPRECATED</b> and <b>UNUSABLE</b> with network nodes. It is retained here only for historical reasons.
Please use the SignaturePair and SignatureMap messages.
Deprecated: Marked as deprecated in basic_types.proto.
func (*Signature) Descriptor
deprecated
func (*Signature) GetContract ¶
func (*Signature) GetECDSA_384 ¶
func (*Signature) GetEd25519 ¶
func (*Signature) GetRSA_3072 ¶
func (*Signature) GetSignature ¶
func (x *Signature) GetSignature() isSignature_Signature
func (*Signature) GetSignatureList ¶
func (x *Signature) GetSignatureList() *SignatureList
func (*Signature) GetThresholdSignature ¶
func (x *Signature) GetThresholdSignature() *ThresholdSignature
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type SignatureList
deprecated
type SignatureList struct { // * // each signature corresponds to a Key in the KeyList Sigs []*Signature `protobuf:"bytes,2,rep,name=sigs,proto3" json:"sigs,omitempty"` // contains filtered or unexported fields }
* This message is <b>DEPRECATED</b> and <b>UNUSABLE</b> with network nodes. It is retained here only for historical reasons.
Please use the SignaturePair and SignatureMap messages.
Deprecated: Marked as deprecated in basic_types.proto.
func (*SignatureList) Descriptor
deprecated
func (*SignatureList) Descriptor() ([]byte, []int)
Deprecated: Use SignatureList.ProtoReflect.Descriptor instead.
func (*SignatureList) GetSigs ¶
func (x *SignatureList) GetSigs() []*Signature
func (*SignatureList) ProtoMessage ¶
func (*SignatureList) ProtoMessage()
func (*SignatureList) ProtoReflect ¶
func (x *SignatureList) ProtoReflect() protoreflect.Message
func (*SignatureList) Reset ¶
func (x *SignatureList) Reset()
func (*SignatureList) String ¶
func (x *SignatureList) String() string
type SignatureMap ¶
type SignatureMap struct { // * // Each signature pair corresponds to a unique Key required to sign the transaction. SigPair []*SignaturePair `protobuf:"bytes,1,rep,name=sigPair,proto3" json:"sigPair,omitempty"` // contains filtered or unexported fields }
* A set of signatures corresponding to every unique public key used to sign a given transaction. If one public key matches more than one prefixes on the signature map, the transaction containing the map will fail immediately with the response code KEY_PREFIX_MISMATCH.
func (*SignatureMap) Descriptor
deprecated
func (*SignatureMap) Descriptor() ([]byte, []int)
Deprecated: Use SignatureMap.ProtoReflect.Descriptor instead.
func (*SignatureMap) GetSigPair ¶
func (x *SignatureMap) GetSigPair() []*SignaturePair
func (*SignatureMap) ProtoMessage ¶
func (*SignatureMap) ProtoMessage()
func (*SignatureMap) ProtoReflect ¶
func (x *SignatureMap) ProtoReflect() protoreflect.Message
func (*SignatureMap) Reset ¶
func (x *SignatureMap) Reset()
func (*SignatureMap) String ¶
func (x *SignatureMap) String() string
type SignaturePair ¶
type SignaturePair struct { // * // First few bytes of the public key PubKeyPrefix []byte `protobuf:"bytes,1,opt,name=pubKeyPrefix,proto3" json:"pubKeyPrefix,omitempty"` // Types that are valid to be assigned to Signature: // // *SignaturePair_Contract // *SignaturePair_Ed25519 // *SignaturePair_RSA_3072 // *SignaturePair_ECDSA_384 // *SignaturePair_ECDSASecp256K1 Signature isSignaturePair_Signature `protobuf_oneof:"signature"` // contains filtered or unexported fields }
* The client may use any number of bytes from zero to the whole length of the public key for pubKeyPrefix. If zero bytes are used, then it must be that only one primitive key is required to sign the linked transaction; it will surely resolve to <tt>INVALID_SIGNATURE</tt> otherwise.
<b>IMPORTANT:</b> In the special case that a signature is being provided for a key used to authorize a precompiled contract, the <tt>pubKeyPrefix</tt> must contain the <b>entire public key</b>! That is, if the key is a Ed25519 key, the <tt>pubKeyPrefix</tt> should be 32 bytes long. If the key is a ECDSA(secp256k1) key, the <tt>pubKeyPrefix</tt> should be 33 bytes long, since we require the compressed form of the public key.
Only Ed25519 and ECDSA(secp256k1) keys and hence signatures are currently supported.
func (*SignaturePair) Descriptor
deprecated
func (*SignaturePair) Descriptor() ([]byte, []int)
Deprecated: Use SignaturePair.ProtoReflect.Descriptor instead.
func (*SignaturePair) GetContract ¶
func (x *SignaturePair) GetContract() []byte
func (*SignaturePair) GetECDSASecp256K1 ¶
func (x *SignaturePair) GetECDSASecp256K1() []byte
func (*SignaturePair) GetECDSA_384 ¶
func (x *SignaturePair) GetECDSA_384() []byte
func (*SignaturePair) GetEd25519 ¶
func (x *SignaturePair) GetEd25519() []byte
func (*SignaturePair) GetPubKeyPrefix ¶
func (x *SignaturePair) GetPubKeyPrefix() []byte
func (*SignaturePair) GetRSA_3072 ¶
func (x *SignaturePair) GetRSA_3072() []byte
func (*SignaturePair) GetSignature ¶
func (x *SignaturePair) GetSignature() isSignaturePair_Signature
func (*SignaturePair) ProtoMessage ¶
func (*SignaturePair) ProtoMessage()
func (*SignaturePair) ProtoReflect ¶
func (x *SignaturePair) ProtoReflect() protoreflect.Message
func (*SignaturePair) Reset ¶
func (x *SignaturePair) Reset()
func (*SignaturePair) String ¶
func (x *SignaturePair) String() string
type SignaturePair_Contract ¶
type SignaturePair_Contract struct { // * // smart contract virtual signature (always length zero) Contract []byte `protobuf:"bytes,2,opt,name=contract,proto3,oneof"` }
type SignaturePair_ECDSASecp256K1 ¶
type SignaturePair_ECDSASecp256K1 struct { // * // ECDSA(secp256k1) signature ECDSASecp256K1 []byte `protobuf:"bytes,6,opt,name=ECDSA_secp256k1,json=ECDSASecp256k1,proto3,oneof"` }
type SignaturePair_ECDSA_384 ¶
type SignaturePair_ECDSA_384 struct { // * // ECDSA p-384 signature ECDSA_384 []byte `protobuf:"bytes,5,opt,name=ECDSA_384,json=ECDSA384,proto3,oneof"` }
type SignaturePair_Ed25519 ¶
type SignaturePair_Ed25519 struct { // * // ed25519 signature Ed25519 []byte `protobuf:"bytes,3,opt,name=ed25519,proto3,oneof"` }
type SignaturePair_RSA_3072 ¶
type SignaturePair_RSA_3072 struct { // * // RSA-3072 signature RSA_3072 []byte `protobuf:"bytes,4,opt,name=RSA_3072,json=RSA3072,proto3,oneof"` }
type Signature_Contract ¶
type Signature_Contract struct { // * // smart contract virtual signature (always length zero) Contract []byte `protobuf:"bytes,1,opt,name=contract,proto3,oneof"` }
type Signature_ECDSA_384 ¶
type Signature_ECDSA_384 struct { // * // ECDSA p-384 signature bytes ECDSA_384 []byte `protobuf:"bytes,4,opt,name=ECDSA_384,json=ECDSA384,proto3,oneof"` }
type Signature_Ed25519 ¶
type Signature_Ed25519 struct { // * // ed25519 signature bytes Ed25519 []byte `protobuf:"bytes,2,opt,name=ed25519,proto3,oneof"` }
type Signature_RSA_3072 ¶
type Signature_RSA_3072 struct { // * // RSA-3072 signature bytes RSA_3072 []byte `protobuf:"bytes,3,opt,name=RSA_3072,json=RSA3072,proto3,oneof"` }
type Signature_SignatureList ¶
type Signature_SignatureList struct { // * // A list of M signatures, each corresponding to a Key in a KeyList of the same length. SignatureList *SignatureList `protobuf:"bytes,6,opt,name=signatureList,proto3,oneof"` }
type Signature_ThresholdSignature ¶
type Signature_ThresholdSignature struct { // * // A list of signatures for a single N-of-M threshold Key. This must be a list of exactly M // signatures, at least N of which are non-null. ThresholdSignature *ThresholdSignature `protobuf:"bytes,5,opt,name=thresholdSignature,proto3,oneof"` }
type SignedTransaction ¶
type SignedTransaction struct { // * // TransactionBody serialized into bytes, which needs to be signed BodyBytes []byte `protobuf:"bytes,1,opt,name=bodyBytes,proto3" json:"bodyBytes,omitempty"` // * // The signatures on the body with the new format, to authorize the transaction SigMap *SignatureMap `protobuf:"bytes,2,opt,name=sigMap,proto3" json:"sigMap,omitempty"` // contains filtered or unexported fields }
func (*SignedTransaction) Descriptor
deprecated
func (*SignedTransaction) Descriptor() ([]byte, []int)
Deprecated: Use SignedTransaction.ProtoReflect.Descriptor instead.
func (*SignedTransaction) GetBodyBytes ¶
func (x *SignedTransaction) GetBodyBytes() []byte
func (*SignedTransaction) GetSigMap ¶
func (x *SignedTransaction) GetSigMap() *SignatureMap
func (*SignedTransaction) ProtoMessage ¶
func (*SignedTransaction) ProtoMessage()
func (*SignedTransaction) ProtoReflect ¶
func (x *SignedTransaction) ProtoReflect() protoreflect.Message
func (*SignedTransaction) Reset ¶
func (x *SignedTransaction) Reset()
func (*SignedTransaction) String ¶
func (x *SignedTransaction) String() string
type StakingInfo ¶
type StakingInfo struct { // * // If true, this account or contract declined to receive a staking reward. DeclineReward bool `protobuf:"varint,1,opt,name=decline_reward,json=declineReward,proto3" json:"decline_reward,omitempty"` // * // The staking period during which either the staking settings for this account or contract changed (such as starting // staking or changing staked_node_id) or the most recent reward was earned, whichever is later. If this account or contract // is not currently staked to a node, then this field is not set. StakePeriodStart *Timestamp `protobuf:"bytes,2,opt,name=stake_period_start,json=stakePeriodStart,proto3" json:"stake_period_start,omitempty"` // * // The amount in tinybars that will be received in the next reward situation. PendingReward int64 `protobuf:"varint,3,opt,name=pending_reward,json=pendingReward,proto3" json:"pending_reward,omitempty"` // * // The total of balance of all accounts staked to this account or contract. StakedToMe int64 `protobuf:"varint,4,opt,name=staked_to_me,json=stakedToMe,proto3" json:"staked_to_me,omitempty"` // * // ID of the account or node to which this account or contract is staking. // // Types that are valid to be assigned to StakedId: // // *StakingInfo_StakedAccountId // *StakingInfo_StakedNodeId StakedId isStakingInfo_StakedId `protobuf_oneof:"staked_id"` // contains filtered or unexported fields }
* Staking metadata for an account or a contract returned in CryptoGetInfo or ContractGetInfo queries
func (*StakingInfo) Descriptor
deprecated
func (*StakingInfo) Descriptor() ([]byte, []int)
Deprecated: Use StakingInfo.ProtoReflect.Descriptor instead.
func (*StakingInfo) GetDeclineReward ¶
func (x *StakingInfo) GetDeclineReward() bool
func (*StakingInfo) GetPendingReward ¶
func (x *StakingInfo) GetPendingReward() int64
func (*StakingInfo) GetStakePeriodStart ¶
func (x *StakingInfo) GetStakePeriodStart() *Timestamp
func (*StakingInfo) GetStakedAccountId ¶
func (x *StakingInfo) GetStakedAccountId() *AccountID
func (*StakingInfo) GetStakedId ¶
func (x *StakingInfo) GetStakedId() isStakingInfo_StakedId
func (*StakingInfo) GetStakedNodeId ¶
func (x *StakingInfo) GetStakedNodeId() int64
func (*StakingInfo) GetStakedToMe ¶
func (x *StakingInfo) GetStakedToMe() int64
func (*StakingInfo) ProtoMessage ¶
func (*StakingInfo) ProtoMessage()
func (*StakingInfo) ProtoReflect ¶
func (x *StakingInfo) ProtoReflect() protoreflect.Message
func (*StakingInfo) Reset ¶
func (x *StakingInfo) Reset()
func (*StakingInfo) String ¶
func (x *StakingInfo) String() string
type StakingInfo_StakedAccountId ¶
type StakingInfo_StakedAccountId struct { // * // The account to which this account or contract is staking. StakedAccountId *AccountID `protobuf:"bytes,5,opt,name=staked_account_id,json=stakedAccountId,proto3,oneof"` }
type StakingInfo_StakedNodeId ¶
type StakingInfo_StakedNodeId struct { // * // The ID of the node this account or contract is staked to. StakedNodeId int64 `protobuf:"varint,6,opt,name=staked_node_id,json=stakedNodeId,proto3,oneof"` }
type SubType ¶
type SubType int32
* Allows a set of resource prices to be scoped to a certain type of a HAPI operation.
For example, the resource prices for a TokenMint operation are different between minting fungible and non-fungible tokens. This enum allows us to "mark" a set of prices as applying to one or the other.
Similarly, the resource prices for a basic TokenCreate without a custom fee schedule yield a total price of $1. The resource prices for a TokenCreate with a custom fee schedule are different and yield a total base price of $2.
const ( // * // The resource prices have no special scope SubType_DEFAULT SubType = 0 // * // The resource prices are scoped to an operation on a fungible common token SubType_TOKEN_FUNGIBLE_COMMON SubType = 1 // * // The resource prices are scoped to an operation on a non-fungible unique token SubType_TOKEN_NON_FUNGIBLE_UNIQUE SubType = 2 // * // The resource prices are scoped to an operation on a fungible common // token with a custom fee schedule SubType_TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES SubType = 3 // * // The resource prices are scoped to an operation on a non-fungible unique // token with a custom fee schedule SubType_TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES SubType = 4 // * // The resource prices are scoped to a ScheduleCreate containing a ContractCall. SubType_SCHEDULE_CREATE_CONTRACT_CALL SubType = 5 )
func (SubType) Descriptor ¶
func (SubType) Descriptor() protoreflect.EnumDescriptor
func (SubType) EnumDescriptor
deprecated
func (SubType) Number ¶
func (x SubType) Number() protoreflect.EnumNumber
func (SubType) Type ¶
func (SubType) Type() protoreflect.EnumType
type ThresholdKey ¶
type ThresholdKey struct { // * // A valid signature set must have at least this many signatures Threshold uint32 `protobuf:"varint,1,opt,name=threshold,proto3" json:"threshold,omitempty"` // * // List of all the keys that can sign Keys *KeyList `protobuf:"bytes,2,opt,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
* A set of public keys that are used together to form a threshold signature. If the threshold is N and there are M keys, then this is an N of M threshold signature. If an account is associated with ThresholdKeys, then a transaction to move cryptocurrency out of it must be signed by a list of M signatures, where at most M-N of them are blank, and the other at least N of them are valid signatures corresponding to at least N of the public keys listed here.
func (*ThresholdKey) Descriptor
deprecated
func (*ThresholdKey) Descriptor() ([]byte, []int)
Deprecated: Use ThresholdKey.ProtoReflect.Descriptor instead.
func (*ThresholdKey) GetKeys ¶
func (x *ThresholdKey) GetKeys() *KeyList
func (*ThresholdKey) GetThreshold ¶
func (x *ThresholdKey) GetThreshold() uint32
func (*ThresholdKey) ProtoMessage ¶
func (*ThresholdKey) ProtoMessage()
func (*ThresholdKey) ProtoReflect ¶
func (x *ThresholdKey) ProtoReflect() protoreflect.Message
func (*ThresholdKey) Reset ¶
func (x *ThresholdKey) Reset()
func (*ThresholdKey) String ¶
func (x *ThresholdKey) String() string
type ThresholdSignature
deprecated
type ThresholdSignature struct { // * // for an N-of-M threshold key, this is a list of M signatures, at least N of which must be // non-null Sigs *SignatureList `protobuf:"bytes,2,opt,name=sigs,proto3" json:"sigs,omitempty"` // contains filtered or unexported fields }
* This message is <b>DEPRECATED</b> and <b>UNUSABLE</b> with network nodes. It is retained here only for historical reasons.
Please use the SignaturePair and SignatureMap messages.
Deprecated: Marked as deprecated in basic_types.proto.
func (*ThresholdSignature) Descriptor
deprecated
func (*ThresholdSignature) Descriptor() ([]byte, []int)
Deprecated: Use ThresholdSignature.ProtoReflect.Descriptor instead.
func (*ThresholdSignature) GetSigs ¶
func (x *ThresholdSignature) GetSigs() *SignatureList
func (*ThresholdSignature) ProtoMessage ¶
func (*ThresholdSignature) ProtoMessage()
func (*ThresholdSignature) ProtoReflect ¶
func (x *ThresholdSignature) ProtoReflect() protoreflect.Message
func (*ThresholdSignature) Reset ¶
func (x *ThresholdSignature) Reset()
func (*ThresholdSignature) String ¶
func (x *ThresholdSignature) String() string
type Timestamp ¶
type Timestamp struct { // * // Number of complete seconds since the start of the epoch Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` // * // Number of nanoseconds since the start of the last second Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` // contains filtered or unexported fields }
* An exact date and time. This is the same data structure as the protobuf Timestamp.proto (see the comments in https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto)
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetSeconds ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
type TimestampSeconds ¶
type TimestampSeconds struct { // * // Number of complete seconds since the start of the epoch Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` // contains filtered or unexported fields }
* An exact date and time, with a resolution of one second (no nanoseconds).
func (*TimestampSeconds) Descriptor
deprecated
func (*TimestampSeconds) Descriptor() ([]byte, []int)
Deprecated: Use TimestampSeconds.ProtoReflect.Descriptor instead.
func (*TimestampSeconds) GetSeconds ¶
func (x *TimestampSeconds) GetSeconds() int64
func (*TimestampSeconds) ProtoMessage ¶
func (*TimestampSeconds) ProtoMessage()
func (*TimestampSeconds) ProtoReflect ¶
func (x *TimestampSeconds) ProtoReflect() protoreflect.Message
func (*TimestampSeconds) Reset ¶
func (x *TimestampSeconds) Reset()
func (*TimestampSeconds) String ¶
func (x *TimestampSeconds) String() string
type TokenAssociation ¶
type TokenAssociation struct { TokenId *TokenID `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` // The token involved in the association AccountId *AccountID `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // The account involved in the association // contains filtered or unexported fields }
A token - account association
func (*TokenAssociation) Descriptor
deprecated
func (*TokenAssociation) Descriptor() ([]byte, []int)
Deprecated: Use TokenAssociation.ProtoReflect.Descriptor instead.
func (*TokenAssociation) GetAccountId ¶
func (x *TokenAssociation) GetAccountId() *AccountID
func (*TokenAssociation) GetTokenId ¶
func (x *TokenAssociation) GetTokenId() *TokenID
func (*TokenAssociation) ProtoMessage ¶
func (*TokenAssociation) ProtoMessage()
func (*TokenAssociation) ProtoReflect ¶
func (x *TokenAssociation) ProtoReflect() protoreflect.Message
func (*TokenAssociation) Reset ¶
func (x *TokenAssociation) Reset()
func (*TokenAssociation) String ¶
func (x *TokenAssociation) String() string
type TokenBalance ¶
type TokenBalance struct { // * // A unique token id TokenId *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"` // * // Tokens divide into <tt>10<sup>decimals</sup></tt> pieces Decimals uint32 `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"` // contains filtered or unexported fields }
* A number of <i>transferable units</i> of a certain token.
The transferable unit of a token is its smallest denomination, as given by the token's <tt>decimals</tt> property---each minted token contains <tt>10<sup>decimals</sup></tt> transferable units. For example, we could think of the cent as the transferable unit of the US dollar (<tt>decimals=2</tt>); and the tinybar as the transferable unit of hbar (<tt>decimals=8</tt>).
Transferable units are not directly comparable across different tokens.
func (*TokenBalance) Descriptor
deprecated
func (*TokenBalance) Descriptor() ([]byte, []int)
Deprecated: Use TokenBalance.ProtoReflect.Descriptor instead.
func (*TokenBalance) GetBalance ¶
func (x *TokenBalance) GetBalance() uint64
func (*TokenBalance) GetDecimals ¶
func (x *TokenBalance) GetDecimals() uint32
func (*TokenBalance) GetTokenId ¶
func (x *TokenBalance) GetTokenId() *TokenID
func (*TokenBalance) ProtoMessage ¶
func (*TokenBalance) ProtoMessage()
func (*TokenBalance) ProtoReflect ¶
func (x *TokenBalance) ProtoReflect() protoreflect.Message
func (*TokenBalance) Reset ¶
func (x *TokenBalance) Reset()
func (*TokenBalance) String ¶
func (x *TokenBalance) String() string
type TokenBalances ¶
type TokenBalances struct { TokenBalances []*TokenBalance `protobuf:"bytes,1,rep,name=tokenBalances,proto3" json:"tokenBalances,omitempty"` // contains filtered or unexported fields }
* A sequence of token balances
func (*TokenBalances) Descriptor
deprecated
func (*TokenBalances) Descriptor() ([]byte, []int)
Deprecated: Use TokenBalances.ProtoReflect.Descriptor instead.
func (*TokenBalances) GetTokenBalances ¶
func (x *TokenBalances) GetTokenBalances() []*TokenBalance
func (*TokenBalances) ProtoMessage ¶
func (*TokenBalances) ProtoMessage()
func (*TokenBalances) ProtoReflect ¶
func (x *TokenBalances) ProtoReflect() protoreflect.Message
func (*TokenBalances) Reset ¶
func (x *TokenBalances) Reset()
func (*TokenBalances) String ¶
func (x *TokenBalances) String() string
type TokenFreezeStatus ¶
type TokenFreezeStatus int32
* Possible Freeze statuses returned on TokenGetInfoQuery or CryptoGetInfoResponse in TokenRelationship
const ( // * // UNDOCUMENTED TokenFreezeStatus_FreezeNotApplicable TokenFreezeStatus = 0 // * // UNDOCUMENTED TokenFreezeStatus_Frozen TokenFreezeStatus = 1 // * // UNDOCUMENTED TokenFreezeStatus_Unfrozen TokenFreezeStatus = 2 )
func (TokenFreezeStatus) Descriptor ¶
func (TokenFreezeStatus) Descriptor() protoreflect.EnumDescriptor
func (TokenFreezeStatus) Enum ¶
func (x TokenFreezeStatus) Enum() *TokenFreezeStatus
func (TokenFreezeStatus) EnumDescriptor
deprecated
func (TokenFreezeStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use TokenFreezeStatus.Descriptor instead.
func (TokenFreezeStatus) Number ¶
func (x TokenFreezeStatus) Number() protoreflect.EnumNumber
func (TokenFreezeStatus) String ¶
func (x TokenFreezeStatus) String() string
func (TokenFreezeStatus) Type ¶
func (TokenFreezeStatus) Type() protoreflect.EnumType
type TokenID ¶
type TokenID struct { // * // A nonnegative shard number ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // * // A nonnegative realm number RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"` // * // A nonnegative token number TokenNum int64 `protobuf:"varint,3,opt,name=tokenNum,proto3" json:"tokenNum,omitempty"` // contains filtered or unexported fields }
* Unique identifier for a token
func (*TokenID) Descriptor
deprecated
func (*TokenID) GetRealmNum ¶
func (*TokenID) GetShardNum ¶
func (*TokenID) GetTokenNum ¶
func (*TokenID) ProtoMessage ¶
func (*TokenID) ProtoMessage()
func (*TokenID) ProtoReflect ¶
func (x *TokenID) ProtoReflect() protoreflect.Message
type TokenKycStatus ¶
type TokenKycStatus int32
* Possible KYC statuses returned on TokenGetInfoQuery or CryptoGetInfoResponse in TokenRelationship
const ( // * // UNDOCUMENTED TokenKycStatus_KycNotApplicable TokenKycStatus = 0 // * // UNDOCUMENTED TokenKycStatus_Granted TokenKycStatus = 1 // * // UNDOCUMENTED TokenKycStatus_Revoked TokenKycStatus = 2 )
func (TokenKycStatus) Descriptor ¶
func (TokenKycStatus) Descriptor() protoreflect.EnumDescriptor
func (TokenKycStatus) Enum ¶
func (x TokenKycStatus) Enum() *TokenKycStatus
func (TokenKycStatus) EnumDescriptor
deprecated
func (TokenKycStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use TokenKycStatus.Descriptor instead.
func (TokenKycStatus) Number ¶
func (x TokenKycStatus) Number() protoreflect.EnumNumber
func (TokenKycStatus) String ¶
func (x TokenKycStatus) String() string
func (TokenKycStatus) Type ¶
func (TokenKycStatus) Type() protoreflect.EnumType
type TokenPauseStatus ¶
type TokenPauseStatus int32
* Possible Pause statuses returned on TokenGetInfoQuery
const ( // * // Indicates that a Token has no pauseKey TokenPauseStatus_PauseNotApplicable TokenPauseStatus = 0 // * // Indicates that a Token is Paused TokenPauseStatus_Paused TokenPauseStatus = 1 // * // Indicates that a Token is Unpaused. TokenPauseStatus_Unpaused TokenPauseStatus = 2 )
func (TokenPauseStatus) Descriptor ¶
func (TokenPauseStatus) Descriptor() protoreflect.EnumDescriptor
func (TokenPauseStatus) Enum ¶
func (x TokenPauseStatus) Enum() *TokenPauseStatus
func (TokenPauseStatus) EnumDescriptor
deprecated
func (TokenPauseStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use TokenPauseStatus.Descriptor instead.
func (TokenPauseStatus) Number ¶
func (x TokenPauseStatus) Number() protoreflect.EnumNumber
func (TokenPauseStatus) String ¶
func (x TokenPauseStatus) String() string
func (TokenPauseStatus) Type ¶
func (TokenPauseStatus) Type() protoreflect.EnumType
type TokenRelationship ¶
type TokenRelationship struct { // * // The ID of the token TokenId *TokenID `protobuf:"bytes,1,opt,name=tokenId,proto3" json:"tokenId,omitempty"` // * // The Symbol of the token Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` // * // For token of type FUNGIBLE_COMMON - the balance that the Account holds in the smallest // denomination. For token of type NON_FUNGIBLE_UNIQUE - the number of NFTs held by the account Balance uint64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` // * // The KYC status of the account (KycNotApplicable, Granted or Revoked). If the token does not // have KYC key, KycNotApplicable is returned KycStatus TokenKycStatus `protobuf:"varint,4,opt,name=kycStatus,proto3,enum=proto.TokenKycStatus" json:"kycStatus,omitempty"` // * // The Freeze status of the account (FreezeNotApplicable, Frozen or Unfrozen). If the token does // not have Freeze key, FreezeNotApplicable is returned FreezeStatus TokenFreezeStatus `protobuf:"varint,5,opt,name=freezeStatus,proto3,enum=proto.TokenFreezeStatus" json:"freezeStatus,omitempty"` // * // Tokens divide into <tt>10<sup>decimals</sup></tt> pieces Decimals uint32 `protobuf:"varint,6,opt,name=decimals,proto3" json:"decimals,omitempty"` // * // Specifies if the relationship is created implicitly. False : explicitly associated, True : // implicitly associated. AutomaticAssociation bool `protobuf:"varint,7,opt,name=automatic_association,json=automaticAssociation,proto3" json:"automatic_association,omitempty"` // contains filtered or unexported fields }
* Token's information related to the given Account
func (*TokenRelationship) Descriptor
deprecated
func (*TokenRelationship) Descriptor() ([]byte, []int)
Deprecated: Use TokenRelationship.ProtoReflect.Descriptor instead.
func (*TokenRelationship) GetAutomaticAssociation ¶
func (x *TokenRelationship) GetAutomaticAssociation() bool
func (*TokenRelationship) GetBalance ¶
func (x *TokenRelationship) GetBalance() uint64
func (*TokenRelationship) GetDecimals ¶
func (x *TokenRelationship) GetDecimals() uint32
func (*TokenRelationship) GetFreezeStatus ¶
func (x *TokenRelationship) GetFreezeStatus() TokenFreezeStatus
func (*TokenRelationship) GetKycStatus ¶
func (x *TokenRelationship) GetKycStatus() TokenKycStatus
func (*TokenRelationship) GetSymbol ¶
func (x *TokenRelationship) GetSymbol() string
func (*TokenRelationship) GetTokenId ¶
func (x *TokenRelationship) GetTokenId() *TokenID
func (*TokenRelationship) ProtoMessage ¶
func (*TokenRelationship) ProtoMessage()
func (*TokenRelationship) ProtoReflect ¶
func (x *TokenRelationship) ProtoReflect() protoreflect.Message
func (*TokenRelationship) Reset ¶
func (x *TokenRelationship) Reset()
func (*TokenRelationship) String ¶
func (x *TokenRelationship) String() string
type TokenSupplyType ¶
type TokenSupplyType int32
* Possible Token Supply Types (IWA Compatibility). Indicates how many tokens can have during its lifetime.
const ( // * // Indicates that tokens of that type have an upper bound of Long.MAX_VALUE. TokenSupplyType_INFINITE TokenSupplyType = 0 // * // Indicates that tokens of that type have an upper bound of maxSupply, // provided on token creation. TokenSupplyType_FINITE TokenSupplyType = 1 )
func (TokenSupplyType) Descriptor ¶
func (TokenSupplyType) Descriptor() protoreflect.EnumDescriptor
func (TokenSupplyType) Enum ¶
func (x TokenSupplyType) Enum() *TokenSupplyType
func (TokenSupplyType) EnumDescriptor
deprecated
func (TokenSupplyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TokenSupplyType.Descriptor instead.
func (TokenSupplyType) Number ¶
func (x TokenSupplyType) Number() protoreflect.EnumNumber
func (TokenSupplyType) String ¶
func (x TokenSupplyType) String() string
func (TokenSupplyType) Type ¶
func (TokenSupplyType) Type() protoreflect.EnumType
type TokenTransferList ¶
type TokenTransferList struct { // * // The ID of the token Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // * // Applicable to tokens of type FUNGIBLE_COMMON. Multiple list of AccountAmounts, each of which // has an account and amount Transfers []*AccountAmount `protobuf:"bytes,2,rep,name=transfers,proto3" json:"transfers,omitempty"` // * // Applicable to tokens of type NON_FUNGIBLE_UNIQUE. Multiple list of NftTransfers, each of // which has a sender and receiver account, including the serial number of the NFT NftTransfers []*NftTransfer `protobuf:"bytes,3,rep,name=nftTransfers,proto3" json:"nftTransfers,omitempty"` // * // If present, the number of decimals this fungible token type is expected to have. The transfer // will fail with UNEXPECTED_TOKEN_DECIMALS if the actual decimals differ. ExpectedDecimals *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=expected_decimals,json=expectedDecimals,proto3" json:"expected_decimals,omitempty"` // contains filtered or unexported fields }
* A list of token IDs and amounts representing the transferred out (negative) or into (positive) amounts, represented in the lowest denomination of the token
func (*TokenTransferList) Descriptor
deprecated
func (*TokenTransferList) Descriptor() ([]byte, []int)
Deprecated: Use TokenTransferList.ProtoReflect.Descriptor instead.
func (*TokenTransferList) GetExpectedDecimals ¶
func (x *TokenTransferList) GetExpectedDecimals() *wrapperspb.UInt32Value
func (*TokenTransferList) GetNftTransfers ¶
func (x *TokenTransferList) GetNftTransfers() []*NftTransfer
func (*TokenTransferList) GetToken ¶
func (x *TokenTransferList) GetToken() *TokenID
func (*TokenTransferList) GetTransfers ¶
func (x *TokenTransferList) GetTransfers() []*AccountAmount
func (*TokenTransferList) ProtoMessage ¶
func (*TokenTransferList) ProtoMessage()
func (*TokenTransferList) ProtoReflect ¶
func (x *TokenTransferList) ProtoReflect() protoreflect.Message
func (*TokenTransferList) Reset ¶
func (x *TokenTransferList) Reset()
func (*TokenTransferList) String ¶
func (x *TokenTransferList) String() string
type TokenType ¶
type TokenType int32
* Possible Token Types (IWA Compatibility). Apart from fungible and non-fungible, Tokens can have either a common or unique representation. This distinction might seem subtle, but it is important when considering how tokens can be traced and if they can have isolated and unique properties.
const ( // * // Interchangeable value with one another, where any quantity of them has the same value as // another equal quantity if they are in the same class. Share a single set of properties, not // distinct from one another. Simply represented as a balance or quantity to a given Hedera // account. TokenType_FUNGIBLE_COMMON TokenType = 0 // * // Unique, not interchangeable with other tokens of the same type as they typically have // different values. Individually traced and can carry unique properties (e.g. serial number). TokenType_NON_FUNGIBLE_UNIQUE TokenType = 1 )
func (TokenType) Descriptor ¶
func (TokenType) Descriptor() protoreflect.EnumDescriptor
func (TokenType) EnumDescriptor
deprecated
func (TokenType) Number ¶
func (x TokenType) Number() protoreflect.EnumNumber
func (TokenType) Type ¶
func (TokenType) Type() protoreflect.EnumType
type TopicID ¶
type TopicID struct { // * // The shard number (nonnegative) ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // * // The realm number (nonnegative) RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"` // * // Unique topic identifier within a realm (nonnegative). TopicNum int64 `protobuf:"varint,3,opt,name=topicNum,proto3" json:"topicNum,omitempty"` // contains filtered or unexported fields }
* Unique identifier for a topic (used by the consensus service)
func (*TopicID) Descriptor
deprecated
func (*TopicID) GetRealmNum ¶
func (*TopicID) GetShardNum ¶
func (*TopicID) GetTopicNum ¶
func (*TopicID) ProtoMessage ¶
func (*TopicID) ProtoMessage()
func (*TopicID) ProtoReflect ¶
func (x *TopicID) ProtoReflect() protoreflect.Message
type TransactionBody ¶
type TransactionBody struct { // * // The ID for this transaction, which includes the payer's account (the account paying the // transaction fee). If two transactions have the same transactionID, they won't both have an // effect TransactionID *TransactionID `protobuf:"bytes,1,opt,name=transactionID,proto3" json:"transactionID,omitempty"` // * // The account of the node that submits the client's transaction to the network NodeAccountID *AccountID `protobuf:"bytes,2,opt,name=nodeAccountID,proto3" json:"nodeAccountID,omitempty"` // * // The maximum transaction fee the client is willing to pay TransactionFee uint64 `protobuf:"varint,3,opt,name=transactionFee,proto3" json:"transactionFee,omitempty"` // * // The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart + // transactionValidDuration TransactionValidDuration *Duration `protobuf:"bytes,4,opt,name=transactionValidDuration,proto3" json:"transactionValidDuration,omitempty"` // * // Any notes or descriptions that should be put into the record (max length 100) Memo string `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo,omitempty"` // * // The choices here are arranged by service in roughly lexicographical order. The field ordinals are non-sequential, and a result of the historical order of implementation. // // Types that are valid to be assigned to Data: // // *TransactionBody_CryptoTransfer Data isTransactionBody_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
* A single transaction. All transaction types are possible here.
func (*TransactionBody) Descriptor
deprecated
func (*TransactionBody) Descriptor() ([]byte, []int)
Deprecated: Use TransactionBody.ProtoReflect.Descriptor instead.
func (*TransactionBody) GetCryptoTransfer ¶
func (x *TransactionBody) GetCryptoTransfer() *CryptoTransferTransactionBody
func (*TransactionBody) GetData ¶
func (x *TransactionBody) GetData() isTransactionBody_Data
func (*TransactionBody) GetMemo ¶
func (x *TransactionBody) GetMemo() string
func (*TransactionBody) GetNodeAccountID ¶
func (x *TransactionBody) GetNodeAccountID() *AccountID
func (*TransactionBody) GetTransactionFee ¶
func (x *TransactionBody) GetTransactionFee() uint64
func (*TransactionBody) GetTransactionID ¶
func (x *TransactionBody) GetTransactionID() *TransactionID
func (*TransactionBody) GetTransactionValidDuration ¶
func (x *TransactionBody) GetTransactionValidDuration() *Duration
func (*TransactionBody) ProtoMessage ¶
func (*TransactionBody) ProtoMessage()
func (*TransactionBody) ProtoReflect ¶
func (x *TransactionBody) ProtoReflect() protoreflect.Message
func (*TransactionBody) Reset ¶
func (x *TransactionBody) Reset()
func (*TransactionBody) String ¶
func (x *TransactionBody) String() string
type TransactionBody_CryptoTransfer ¶
type TransactionBody_CryptoTransfer struct { // * // Transfer amount between accounts CryptoTransfer *CryptoTransferTransactionBody `protobuf:"bytes,14,opt,name=cryptoTransfer,proto3,oneof"` }
type TransactionFeeSchedule ¶
type TransactionFeeSchedule struct { // * // A particular transaction or query HederaFunctionality HederaFunctionality `protobuf:"varint,1,opt,name=hederaFunctionality,proto3,enum=proto.HederaFunctionality" json:"hederaFunctionality,omitempty"` // * // Resource price coefficients // // Deprecated: Marked as deprecated in basic_types.proto. FeeData *FeeData `protobuf:"bytes,2,opt,name=feeData,proto3" json:"feeData,omitempty"` // * // Resource price coefficients. Supports subtype price definition. Fees []*FeeData `protobuf:"bytes,3,rep,name=fees,proto3" json:"fees,omitempty"` // contains filtered or unexported fields }
* The fees for a specific transaction or query based on the fee data.
func (*TransactionFeeSchedule) Descriptor
deprecated
func (*TransactionFeeSchedule) Descriptor() ([]byte, []int)
Deprecated: Use TransactionFeeSchedule.ProtoReflect.Descriptor instead.
func (*TransactionFeeSchedule) GetFeeData
deprecated
func (x *TransactionFeeSchedule) GetFeeData() *FeeData
Deprecated: Marked as deprecated in basic_types.proto.
func (*TransactionFeeSchedule) GetFees ¶
func (x *TransactionFeeSchedule) GetFees() []*FeeData
func (*TransactionFeeSchedule) GetHederaFunctionality ¶
func (x *TransactionFeeSchedule) GetHederaFunctionality() HederaFunctionality
func (*TransactionFeeSchedule) ProtoMessage ¶
func (*TransactionFeeSchedule) ProtoMessage()
func (*TransactionFeeSchedule) ProtoReflect ¶
func (x *TransactionFeeSchedule) ProtoReflect() protoreflect.Message
func (*TransactionFeeSchedule) Reset ¶
func (x *TransactionFeeSchedule) Reset()
func (*TransactionFeeSchedule) String ¶
func (x *TransactionFeeSchedule) String() string
type TransactionID ¶
type TransactionID struct { // * // The transaction is invalid if consensusTimestamp < transactionID.transactionStartValid TransactionValidStart *Timestamp `protobuf:"bytes,1,opt,name=transactionValidStart,proto3" json:"transactionValidStart,omitempty"` // * // The Account ID that paid for this transaction AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"` // * // Whether the Transaction is of type Scheduled or no Scheduled bool `protobuf:"varint,3,opt,name=scheduled,proto3" json:"scheduled,omitempty"` // * // The identifier for an internal transaction that was spawned as part // of handling a user transaction. (These internal transactions share the // transactionValidStart and accountID of the user transaction, so a // nonce is necessary to give them a unique TransactionID.) // // An example is when a "parent" ContractCreate or ContractCall transaction // calls one or more HTS precompiled contracts; each of the "child" // transactions spawned for a precompile has a id with a different nonce. Nonce int32 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
* The ID for a transaction. This is used for retrieving receipts and records for a transaction, for appending to a file right after creating it, for instantiating a smart contract with bytecode in a file just created, and internally by the network for detecting when duplicate transactions are submitted. A user might get a transaction processed faster by submitting it to N nodes, each with a different node account, but all with the same TransactionID. Then, the transaction will take effect when the first of all those nodes submits the transaction and it reaches consensus. The other transactions will not take effect. So this could make the transaction take effect faster, if any given node might be slow. However, the full transaction fee is charged for each transaction, so the total fee is N times as much if the transaction is sent to N nodes.
Applicable to Scheduled Transactions:
- The ID of a Scheduled Transaction has transactionValidStart and accountIDs inherited from the ScheduleCreate transaction that created it. That is to say that they are equal
- The scheduled property is true for Scheduled Transactions
- transactionValidStart, accountID and scheduled properties should be omitted
func (*TransactionID) Descriptor
deprecated
func (*TransactionID) Descriptor() ([]byte, []int)
Deprecated: Use TransactionID.ProtoReflect.Descriptor instead.
func (*TransactionID) GetAccountID ¶
func (x *TransactionID) GetAccountID() *AccountID
func (*TransactionID) GetNonce ¶
func (x *TransactionID) GetNonce() int32
func (*TransactionID) GetScheduled ¶
func (x *TransactionID) GetScheduled() bool
func (*TransactionID) GetTransactionValidStart ¶
func (x *TransactionID) GetTransactionValidStart() *Timestamp
func (*TransactionID) ProtoMessage ¶
func (*TransactionID) ProtoMessage()
func (*TransactionID) ProtoReflect ¶
func (x *TransactionID) ProtoReflect() protoreflect.Message
func (*TransactionID) Reset ¶
func (x *TransactionID) Reset()
func (*TransactionID) String ¶
func (x *TransactionID) String() string
type TransferList ¶
type TransferList struct { // * // Multiple list of AccountAmount pairs, each of which has an account and // an amount to transfer into it (positive) or out of it (negative) AccountAmounts []*AccountAmount `protobuf:"bytes,1,rep,name=accountAmounts,proto3" json:"accountAmounts,omitempty"` // contains filtered or unexported fields }
* A list of accounts and amounts to transfer out of each account (negative) or into it (positive).
func (*TransferList) Descriptor
deprecated
func (*TransferList) Descriptor() ([]byte, []int)
Deprecated: Use TransferList.ProtoReflect.Descriptor instead.
func (*TransferList) GetAccountAmounts ¶
func (x *TransferList) GetAccountAmounts() []*AccountAmount
func (*TransferList) ProtoMessage ¶
func (*TransferList) ProtoMessage()
func (*TransferList) ProtoReflect ¶
func (x *TransferList) ProtoReflect() protoreflect.Message
func (*TransferList) Reset ¶
func (x *TransferList) Reset()
func (*TransferList) String ¶
func (x *TransferList) String() string