services

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 9 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var (
	SubType_name = map[int32]string{
		0: "DEFAULT",
		1: "TOKEN_FUNGIBLE_COMMON",
		2: "TOKEN_NON_FUNGIBLE_UNIQUE",
	}
	SubType_value = map[string]int32{
		"DEFAULT":                   0,
		"TOKEN_FUNGIBLE_COMMON":     1,
		"TOKEN_NON_FUNGIBLE_UNIQUE": 2,
	}
)

Enum value maps for SubType.

View Source
var (
	TokenSupplyType_name = map[int32]string{
		0: "INFINITE",
		1: "FINITE",
	}
	TokenSupplyType_value = map[string]int32{
		"INFINITE": 0,
		"FINITE":   1,
	}
)

Enum value maps for TokenSupplyType.

View Source
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.

View Source
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.

View Source
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",
	}
	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,
	}
)

Enum value maps for HederaFunctionality.

View Source
var (
	ResponseType_name = map[int32]string{
		0: "ANSWER_ONLY",
		1: "ANSWER_STATE_PROOF",
		2: "COST_ANSWER",
		3: "COST_ANSWER_STATE_PROOF",
	}
	ResponseType_value = map[string]int32{
		"ANSWER_ONLY":             0,
		"ANSWER_STATE_PROOF":      1,
		"COST_ANSWER":             2,
		"COST_ANSWER_STATE_PROOF": 3,
	}
)

Enum value maps for ResponseType.

View Source
var (
	ResponseCodeEnum_name = map[int32]string{}/* 209 elements not displayed */

	ResponseCodeEnum_value = map[string]int32{}/* 209 elements not displayed */

)

Enum value maps for ResponseCodeEnum.

View Source
var ConsensusService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.ConsensusService",
	HandlerType: (*ConsensusServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createTopic",
			Handler:    _ConsensusService_CreateTopic_Handler,
		},
		{
			MethodName: "updateTopic",
			Handler:    _ConsensusService_UpdateTopic_Handler,
		},
		{
			MethodName: "deleteTopic",
			Handler:    _ConsensusService_DeleteTopic_Handler,
		},
		{
			MethodName: "getTopicInfo",
			Handler:    _ConsensusService_GetTopicInfo_Handler,
		},
		{
			MethodName: "submitMessage",
			Handler:    _ConsensusService_SubmitMessage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ConsensusService.proto",
}

ConsensusService_ServiceDesc is the grpc.ServiceDesc for ConsensusService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CryptoService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.CryptoService",
	HandlerType: (*CryptoServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createAccount",
			Handler:    _CryptoService_CreateAccount_Handler,
		},
		{
			MethodName: "updateAccount",
			Handler:    _CryptoService_UpdateAccount_Handler,
		},
		{
			MethodName: "cryptoTransfer",
			Handler:    _CryptoService_CryptoTransfer_Handler,
		},
		{
			MethodName: "cryptoDelete",
			Handler:    _CryptoService_CryptoDelete_Handler,
		},
		{
			MethodName: "addLiveHash",
			Handler:    _CryptoService_AddLiveHash_Handler,
		},
		{
			MethodName: "deleteLiveHash",
			Handler:    _CryptoService_DeleteLiveHash_Handler,
		},
		{
			MethodName: "getLiveHash",
			Handler:    _CryptoService_GetLiveHash_Handler,
		},
		{
			MethodName: "getAccountRecords",
			Handler:    _CryptoService_GetAccountRecords_Handler,
		},
		{
			MethodName: "cryptoGetBalance",
			Handler:    _CryptoService_CryptoGetBalance_Handler,
		},
		{
			MethodName: "getAccountInfo",
			Handler:    _CryptoService_GetAccountInfo_Handler,
		},
		{
			MethodName: "getTransactionReceipts",
			Handler:    _CryptoService_GetTransactionReceipts_Handler,
		},
		{
			MethodName: "getFastTransactionRecord",
			Handler:    _CryptoService_GetFastTransactionRecord_Handler,
		},
		{
			MethodName: "getTxRecordByTxID",
			Handler:    _CryptoService_GetTxRecordByTxID_Handler,
		},
		{
			MethodName: "getStakersByAccountID",
			Handler:    _CryptoService_GetStakersByAccountID_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "CryptoService.proto",
}

CryptoService_ServiceDesc is the grpc.ServiceDesc for CryptoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var FileService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.FileService",
	HandlerType: (*FileServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createFile",
			Handler:    _FileService_CreateFile_Handler,
		},
		{
			MethodName: "updateFile",
			Handler:    _FileService_UpdateFile_Handler,
		},
		{
			MethodName: "deleteFile",
			Handler:    _FileService_DeleteFile_Handler,
		},
		{
			MethodName: "appendContent",
			Handler:    _FileService_AppendContent_Handler,
		},
		{
			MethodName: "getFileContent",
			Handler:    _FileService_GetFileContent_Handler,
		},
		{
			MethodName: "getFileInfo",
			Handler:    _FileService_GetFileInfo_Handler,
		},
		{
			MethodName: "systemDelete",
			Handler:    _FileService_SystemDelete_Handler,
		},
		{
			MethodName: "systemUndelete",
			Handler:    _FileService_SystemUndelete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "FileService.proto",
}

FileService_ServiceDesc is the grpc.ServiceDesc for FileService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_BasicTypes_proto protoreflect.FileDescriptor
View Source
var File_ConsensusCreateTopic_proto protoreflect.FileDescriptor
View Source
var File_ConsensusDeleteTopic_proto protoreflect.FileDescriptor
View Source
var File_ConsensusGetTopicInfo_proto protoreflect.FileDescriptor
View Source
var File_ConsensusService_proto protoreflect.FileDescriptor
View Source
var File_ConsensusSubmitMessage_proto protoreflect.FileDescriptor
View Source
var File_ConsensusTopicInfo_proto protoreflect.FileDescriptor
View Source
var File_ConsensusUpdateTopic_proto protoreflect.FileDescriptor
View Source
var File_ContractCallLocal_proto protoreflect.FileDescriptor
View Source
var File_ContractCall_proto protoreflect.FileDescriptor
View Source
var File_ContractCreate_proto protoreflect.FileDescriptor
View Source
var File_ContractDelete_proto protoreflect.FileDescriptor
View Source
var File_ContractGetBytecode_proto protoreflect.FileDescriptor
View Source
var File_ContractGetInfo_proto protoreflect.FileDescriptor
View Source
var File_ContractGetRecords_proto protoreflect.FileDescriptor
View Source
var File_ContractUpdate_proto protoreflect.FileDescriptor
View Source
var File_CryptoAddLiveHash_proto protoreflect.FileDescriptor
View Source
var File_CryptoCreate_proto protoreflect.FileDescriptor
View Source
var File_CryptoDeleteLiveHash_proto protoreflect.FileDescriptor
View Source
var File_CryptoDelete_proto protoreflect.FileDescriptor
View Source
var File_CryptoGetAccountBalance_proto protoreflect.FileDescriptor
View Source
var File_CryptoGetAccountRecords_proto protoreflect.FileDescriptor
View Source
var File_CryptoGetInfo_proto protoreflect.FileDescriptor
View Source
var File_CryptoGetLiveHash_proto protoreflect.FileDescriptor
View Source
var File_CryptoGetStakers_proto protoreflect.FileDescriptor
View Source
var File_CryptoService_proto protoreflect.FileDescriptor
View Source
var File_CryptoTransfer_proto protoreflect.FileDescriptor
View Source
var File_CryptoUpdate_proto protoreflect.FileDescriptor
View Source
var File_CustomFees_proto protoreflect.FileDescriptor
View Source
var File_Duration_proto protoreflect.FileDescriptor
View Source
var File_ExchangeRate_proto protoreflect.FileDescriptor
View Source
var File_FileAppend_proto protoreflect.FileDescriptor
View Source
var File_FileCreate_proto protoreflect.FileDescriptor
View Source
var File_FileDelete_proto protoreflect.FileDescriptor
View Source
var File_FileGetContents_proto protoreflect.FileDescriptor
View Source
var File_FileGetInfo_proto protoreflect.FileDescriptor
View Source
var File_FileService_proto protoreflect.FileDescriptor
View Source
var File_FileUpdate_proto protoreflect.FileDescriptor
View Source
var File_FreezeService_proto protoreflect.FileDescriptor
View Source
var File_Freeze_proto protoreflect.FileDescriptor
View Source
var File_GetByKey_proto protoreflect.FileDescriptor
View Source
var File_GetBySolidityID_proto protoreflect.FileDescriptor
View Source
var File_NetworkGetVersionInfo_proto protoreflect.FileDescriptor
View Source
var File_NetworkService_proto protoreflect.FileDescriptor
View Source
var File_QueryHeader_proto protoreflect.FileDescriptor
View Source
var File_Query_proto protoreflect.FileDescriptor
View Source
var File_ResponseCode_proto protoreflect.FileDescriptor
View Source
var File_ResponseHeader_proto protoreflect.FileDescriptor
View Source
var File_Response_proto protoreflect.FileDescriptor
View Source
var File_SchedulableTransactionBody_proto protoreflect.FileDescriptor
View Source
var File_ScheduleCreate_proto protoreflect.FileDescriptor
View Source
var File_ScheduleDelete_proto protoreflect.FileDescriptor
View Source
var File_ScheduleGetInfo_proto protoreflect.FileDescriptor
View Source
var File_ScheduleService_proto protoreflect.FileDescriptor
View Source
var File_ScheduleSign_proto protoreflect.FileDescriptor
View Source
var File_SmartContractService_proto protoreflect.FileDescriptor
View Source
var File_SystemDelete_proto protoreflect.FileDescriptor
View Source
var File_SystemUndelete_proto protoreflect.FileDescriptor
View Source
var File_ThrottleDefinitions_proto protoreflect.FileDescriptor
View Source
var File_Timestamp_proto protoreflect.FileDescriptor
View Source
var File_TokenAssociate_proto protoreflect.FileDescriptor
View Source
var File_TokenBurn_proto protoreflect.FileDescriptor
View Source
var File_TokenCreate_proto protoreflect.FileDescriptor
View Source
var File_TokenDelete_proto protoreflect.FileDescriptor
View Source
var File_TokenDissociate_proto protoreflect.FileDescriptor
View Source
var File_TokenFeeScheduleUpdate_proto protoreflect.FileDescriptor
View Source
var File_TokenFreezeAccount_proto protoreflect.FileDescriptor
View Source
var File_TokenGetAccountNftInfos_proto protoreflect.FileDescriptor
View Source
var File_TokenGetInfo_proto protoreflect.FileDescriptor
View Source
var File_TokenGetNftInfo_proto protoreflect.FileDescriptor
View Source
var File_TokenGetNftInfos_proto protoreflect.FileDescriptor
View Source
var File_TokenGrantKyc_proto protoreflect.FileDescriptor
View Source
var File_TokenMint_proto protoreflect.FileDescriptor
View Source
var File_TokenRevokeKyc_proto protoreflect.FileDescriptor
View Source
var File_TokenService_proto protoreflect.FileDescriptor
View Source
var File_TokenUnfreezeAccount_proto protoreflect.FileDescriptor
View Source
var File_TokenUpdate_proto protoreflect.FileDescriptor
View Source
var File_TokenWipeAccount_proto protoreflect.FileDescriptor
View Source
var File_TransactionBody_proto protoreflect.FileDescriptor
View Source
var File_TransactionContents_proto protoreflect.FileDescriptor
View Source
var File_TransactionGetFastRecord_proto protoreflect.FileDescriptor
View Source
var File_TransactionGetReceipt_proto protoreflect.FileDescriptor
View Source
var File_TransactionGetRecord_proto protoreflect.FileDescriptor
View Source
var File_TransactionReceipt_proto protoreflect.FileDescriptor
View Source
var File_TransactionRecord_proto protoreflect.FileDescriptor
View Source
var File_TransactionResponse_proto protoreflect.FileDescriptor
View Source
var File_Transaction_proto protoreflect.FileDescriptor
View Source
var File_UncheckedSubmit_proto protoreflect.FileDescriptor
View Source
var FreezeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.FreezeService",
	HandlerType: (*FreezeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "freeze",
			Handler:    _FreezeService_Freeze_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "FreezeService.proto",
}

FreezeService_ServiceDesc is the grpc.ServiceDesc for FreezeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var NetworkService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.NetworkService",
	HandlerType: (*NetworkServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "getVersionInfo",
			Handler:    _NetworkService_GetVersionInfo_Handler,
		},
		{
			MethodName: "uncheckedSubmit",
			Handler:    _NetworkService_UncheckedSubmit_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "NetworkService.proto",
}

NetworkService_ServiceDesc is the grpc.ServiceDesc for NetworkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ScheduleService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.ScheduleService",
	HandlerType: (*ScheduleServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createSchedule",
			Handler:    _ScheduleService_CreateSchedule_Handler,
		},
		{
			MethodName: "signSchedule",
			Handler:    _ScheduleService_SignSchedule_Handler,
		},
		{
			MethodName: "deleteSchedule",
			Handler:    _ScheduleService_DeleteSchedule_Handler,
		},
		{
			MethodName: "getScheduleInfo",
			Handler:    _ScheduleService_GetScheduleInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ScheduleService.proto",
}

ScheduleService_ServiceDesc is the grpc.ServiceDesc for ScheduleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SmartContractService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.SmartContractService",
	HandlerType: (*SmartContractServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createContract",
			Handler:    _SmartContractService_CreateContract_Handler,
		},
		{
			MethodName: "updateContract",
			Handler:    _SmartContractService_UpdateContract_Handler,
		},
		{
			MethodName: "contractCallMethod",
			Handler:    _SmartContractService_ContractCallMethod_Handler,
		},
		{
			MethodName: "getContractInfo",
			Handler:    _SmartContractService_GetContractInfo_Handler,
		},
		{
			MethodName: "contractCallLocalMethod",
			Handler:    _SmartContractService_ContractCallLocalMethod_Handler,
		},
		{
			MethodName: "ContractGetBytecode",
			Handler:    _SmartContractService_ContractGetBytecode_Handler,
		},
		{
			MethodName: "getBySolidityID",
			Handler:    _SmartContractService_GetBySolidityID_Handler,
		},
		{
			MethodName: "getTxRecordByContractID",
			Handler:    _SmartContractService_GetTxRecordByContractID_Handler,
		},
		{
			MethodName: "deleteContract",
			Handler:    _SmartContractService_DeleteContract_Handler,
		},
		{
			MethodName: "systemDelete",
			Handler:    _SmartContractService_SystemDelete_Handler,
		},
		{
			MethodName: "systemUndelete",
			Handler:    _SmartContractService_SystemUndelete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "SmartContractService.proto",
}

SmartContractService_ServiceDesc is the grpc.ServiceDesc for SmartContractService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TokenService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.TokenService",
	HandlerType: (*TokenServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createToken",
			Handler:    _TokenService_CreateToken_Handler,
		},
		{
			MethodName: "updateToken",
			Handler:    _TokenService_UpdateToken_Handler,
		},
		{
			MethodName: "mintToken",
			Handler:    _TokenService_MintToken_Handler,
		},
		{
			MethodName: "burnToken",
			Handler:    _TokenService_BurnToken_Handler,
		},
		{
			MethodName: "deleteToken",
			Handler:    _TokenService_DeleteToken_Handler,
		},
		{
			MethodName: "wipeTokenAccount",
			Handler:    _TokenService_WipeTokenAccount_Handler,
		},
		{
			MethodName: "freezeTokenAccount",
			Handler:    _TokenService_FreezeTokenAccount_Handler,
		},
		{
			MethodName: "unfreezeTokenAccount",
			Handler:    _TokenService_UnfreezeTokenAccount_Handler,
		},
		{
			MethodName: "grantKycToTokenAccount",
			Handler:    _TokenService_GrantKycToTokenAccount_Handler,
		},
		{
			MethodName: "revokeKycFromTokenAccount",
			Handler:    _TokenService_RevokeKycFromTokenAccount_Handler,
		},
		{
			MethodName: "associateTokens",
			Handler:    _TokenService_AssociateTokens_Handler,
		},
		{
			MethodName: "dissociateTokens",
			Handler:    _TokenService_DissociateTokens_Handler,
		},
		{
			MethodName: "updateTokenFeeSchedule",
			Handler:    _TokenService_UpdateTokenFeeSchedule_Handler,
		},
		{
			MethodName: "getTokenInfo",
			Handler:    _TokenService_GetTokenInfo_Handler,
		},
		{
			MethodName: "getAccountNftInfos",
			Handler:    _TokenService_GetAccountNftInfos_Handler,
		},
		{
			MethodName: "getTokenNftInfo",
			Handler:    _TokenService_GetTokenNftInfo_Handler,
		},
		{
			MethodName: "getTokenNftInfos",
			Handler:    _TokenService_GetTokenNftInfos_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "TokenService.proto",
}

TokenService_ServiceDesc is the grpc.ServiceDesc for TokenService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterConsensusServiceServer

func RegisterConsensusServiceServer(s grpc.ServiceRegistrar, srv ConsensusServiceServer)

func RegisterCryptoServiceServer

func RegisterCryptoServiceServer(s grpc.ServiceRegistrar, srv CryptoServiceServer)

func RegisterFileServiceServer

func RegisterFileServiceServer(s grpc.ServiceRegistrar, srv FileServiceServer)

func RegisterFreezeServiceServer

func RegisterFreezeServiceServer(s grpc.ServiceRegistrar, srv FreezeServiceServer)

func RegisterNetworkServiceServer

func RegisterNetworkServiceServer(s grpc.ServiceRegistrar, srv NetworkServiceServer)

func RegisterScheduleServiceServer

func RegisterScheduleServiceServer(s grpc.ServiceRegistrar, srv ScheduleServiceServer)

func RegisterSmartContractServiceServer

func RegisterSmartContractServiceServer(s grpc.ServiceRegistrar, srv SmartContractServiceServer)

func RegisterTokenServiceServer

func RegisterTokenServiceServer(s grpc.ServiceRegistrar, srv TokenServiceServer)

Types

type AccountAmount

type AccountAmount struct {
	AccountID *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"` // The Account ID that sends/receives cryptocurrency or tokens
	Amount    int64      `protobuf:"zigzag64,2,opt,name=amount,proto3" json:"amount,omitempty"`    // The amount of tinybars (for Crypto transfers) or in the lowest denomination (for Token transfers) that the account sends(negative) or receives(positive)
	// 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) 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 {
	ShardNum   int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`     // The shard number (nonnegative)
	RealmNum   int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"`     // The realm number (nonnegative)
	AccountNum int64 `protobuf:"varint,3,opt,name=accountNum,proto3" json:"accountNum,omitempty"` // A nonnegative account number unique within its realm
	// contains filtered or unexported fields
}

The ID for an a cryptocurrency account

func (*AccountID) Descriptor deprecated

func (*AccountID) Descriptor() ([]byte, []int)

Deprecated: Use AccountID.ProtoReflect.Descriptor instead.

func (*AccountID) GetAccountNum

func (x *AccountID) GetAccountNum() int64

func (*AccountID) GetRealmNum

func (x *AccountID) GetRealmNum() int64

func (*AccountID) GetShardNum

func (x *AccountID) GetShardNum() int64

func (*AccountID) ProtoMessage

func (*AccountID) ProtoMessage()

func (*AccountID) ProtoReflect

func (x *AccountID) ProtoReflect() protoreflect.Message

func (*AccountID) Reset

func (x *AccountID) Reset()

func (*AccountID) String

func (x *AccountID) String() string

type AllProxyStakers

type AllProxyStakers struct {
	AccountID   *AccountID     `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"`     // The Account ID that is being proxy staked to
	ProxyStaker []*ProxyStaker `protobuf:"bytes,2,rep,name=proxyStaker,proto3" json:"proxyStaker,omitempty"` // Each of the proxy staking accounts, and the amount they are proxy staking
	// contains filtered or unexported fields
}

all of the accounts proxy staking to a given account, and the amounts proxy staked

func (*AllProxyStakers) Descriptor deprecated

func (*AllProxyStakers) Descriptor() ([]byte, []int)

Deprecated: Use AllProxyStakers.ProtoReflect.Descriptor instead.

func (*AllProxyStakers) GetAccountID

func (x *AllProxyStakers) GetAccountID() *AccountID

func (*AllProxyStakers) GetProxyStaker

func (x *AllProxyStakers) GetProxyStaker() []*ProxyStaker

func (*AllProxyStakers) ProtoMessage

func (*AllProxyStakers) ProtoMessage()

func (*AllProxyStakers) ProtoReflect

func (x *AllProxyStakers) ProtoReflect() protoreflect.Message

func (*AllProxyStakers) Reset

func (x *AllProxyStakers) Reset()

func (*AllProxyStakers) String

func (x *AllProxyStakers) String() string

type AssessedCustomFee added in v0.2.0

type AssessedCustomFee struct {
	Amount                int64      `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`                 // The number of units assessed for the fee
	TokenId               *TokenID   `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` // The denomination of the fee; taken as hbar if left unset
	FeeCollectorAccountId *AccountID ``                                                                                   // The account to receive the assessed fee
	/* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

A custom transfer fee that was assessed during handling of a CryptoTransfer.

func (*AssessedCustomFee) Descriptor deprecated added in v0.2.0

func (*AssessedCustomFee) Descriptor() ([]byte, []int)

Deprecated: Use AssessedCustomFee.ProtoReflect.Descriptor instead.

func (*AssessedCustomFee) GetAmount added in v0.2.0

func (x *AssessedCustomFee) GetAmount() int64

func (*AssessedCustomFee) GetFeeCollectorAccountId added in v0.2.0

func (x *AssessedCustomFee) GetFeeCollectorAccountId() *AccountID

func (*AssessedCustomFee) GetTokenId added in v0.2.0

func (x *AssessedCustomFee) GetTokenId() *TokenID

func (*AssessedCustomFee) ProtoMessage added in v0.2.0

func (*AssessedCustomFee) ProtoMessage()

func (*AssessedCustomFee) ProtoReflect added in v0.2.0

func (x *AssessedCustomFee) ProtoReflect() protoreflect.Message

func (*AssessedCustomFee) Reset added in v0.2.0

func (x *AssessedCustomFee) Reset()

func (*AssessedCustomFee) String added in v0.2.0

func (x *AssessedCustomFee) String() string

type ConsensusCreateTopicTransactionBody

type ConsensusCreateTopicTransactionBody struct {
	Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"` // Short publicly visible memo about the topic. No guarantee of uniqueness.
	// Access control for updateTopic/deleteTopic.
	// Anyone can increase the topic's expirationTime via ConsensusService.updateTopic(), regardless of the adminKey.
	// If no adminKey is specified, updateTopic may only be used to extend the topic's expirationTime, and deleteTopic
	// is disallowed.
	AdminKey *Key `protobuf:"bytes,2,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	// Access control for submitMessage.
	// If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
	SubmitKey *Key `protobuf:"bytes,3,opt,name=submitKey,proto3" json:"submitKey,omitempty"`
	// The initial lifetime of the topic and the amount of time to attempt to extend the topic's lifetime by
	// automatically at the topic's expirationTime, if the autoRenewAccount is configured (once autoRenew functionality
	// is supported by HAPI).
	// Limited to MIN_AUTORENEW_PERIOD and MAX_AUTORENEW_PERIOD value by server-side configuration.
	// Required.
	AutoRenewPeriod *Duration `protobuf:"bytes,6,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// Optional account to be used at the topic's expirationTime to extend the life of the topic (once autoRenew
	// functionality is supported by HAPI).
	// The topic lifetime will be extended up to a maximum of the autoRenewPeriod or however long the topic
	// can be extended using all funds on the account (whichever is the smaller duration/amount and if any extension
	// is possible with the account's funds).
	// If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
	AutoRenewAccount *AccountID `protobuf:"bytes,7,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"`
	// contains filtered or unexported fields
}

See [ConsensusService.createTopic()](#proto.ConsensusService)

func (*ConsensusCreateTopicTransactionBody) Descriptor deprecated

func (*ConsensusCreateTopicTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusCreateTopicTransactionBody.ProtoReflect.Descriptor instead.

func (*ConsensusCreateTopicTransactionBody) GetAdminKey

func (x *ConsensusCreateTopicTransactionBody) GetAdminKey() *Key

func (*ConsensusCreateTopicTransactionBody) GetAutoRenewAccount

func (x *ConsensusCreateTopicTransactionBody) GetAutoRenewAccount() *AccountID

func (*ConsensusCreateTopicTransactionBody) GetAutoRenewPeriod

func (x *ConsensusCreateTopicTransactionBody) GetAutoRenewPeriod() *Duration

func (*ConsensusCreateTopicTransactionBody) GetMemo

func (*ConsensusCreateTopicTransactionBody) GetSubmitKey

func (x *ConsensusCreateTopicTransactionBody) GetSubmitKey() *Key

func (*ConsensusCreateTopicTransactionBody) ProtoMessage

func (*ConsensusCreateTopicTransactionBody) ProtoMessage()

func (*ConsensusCreateTopicTransactionBody) ProtoReflect

func (*ConsensusCreateTopicTransactionBody) Reset

func (*ConsensusCreateTopicTransactionBody) String

type ConsensusDeleteTopicTransactionBody

type ConsensusDeleteTopicTransactionBody struct {
	TopicID *TopicID `protobuf:"bytes,1,opt,name=topicID,proto3" json:"topicID,omitempty"` // Topic identifier.
	// contains filtered or unexported fields
}

See [ConsensusService.deleteTopic()](#proto.ConsensusService)

func (*ConsensusDeleteTopicTransactionBody) Descriptor deprecated

func (*ConsensusDeleteTopicTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusDeleteTopicTransactionBody.ProtoReflect.Descriptor instead.

func (*ConsensusDeleteTopicTransactionBody) GetTopicID

func (*ConsensusDeleteTopicTransactionBody) ProtoMessage

func (*ConsensusDeleteTopicTransactionBody) ProtoMessage()

func (*ConsensusDeleteTopicTransactionBody) ProtoReflect

func (*ConsensusDeleteTopicTransactionBody) Reset

func (*ConsensusDeleteTopicTransactionBody) String

type ConsensusGetTopicInfoQuery

type ConsensusGetTopicInfoQuery struct {

	// Standard info sent from client to node, including the signed payment, and what kind of response is requested
	// (cost, state proof, both, or neither).
	Header *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// The Topic for which information is being requested
	TopicID *TopicID `protobuf:"bytes,2,opt,name=topicID,proto3" json:"topicID,omitempty"`
	// contains filtered or unexported fields
}

See [ConsensusService.getTopicInfo()](#proto.ConsensusService)

func (*ConsensusGetTopicInfoQuery) Descriptor deprecated

func (*ConsensusGetTopicInfoQuery) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusGetTopicInfoQuery.ProtoReflect.Descriptor instead.

func (*ConsensusGetTopicInfoQuery) GetHeader

func (x *ConsensusGetTopicInfoQuery) GetHeader() *QueryHeader

func (*ConsensusGetTopicInfoQuery) GetTopicID

func (x *ConsensusGetTopicInfoQuery) GetTopicID() *TopicID

func (*ConsensusGetTopicInfoQuery) ProtoMessage

func (*ConsensusGetTopicInfoQuery) ProtoMessage()

func (*ConsensusGetTopicInfoQuery) ProtoReflect

func (*ConsensusGetTopicInfoQuery) Reset

func (x *ConsensusGetTopicInfoQuery) Reset()

func (*ConsensusGetTopicInfoQuery) String

func (x *ConsensusGetTopicInfoQuery) String() string

type ConsensusGetTopicInfoResponse

type ConsensusGetTopicInfoResponse struct {

	// Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither.
	Header    *ResponseHeader     `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	TopicID   *TopicID            `protobuf:"bytes,2,opt,name=topicID,proto3" json:"topicID,omitempty"`     // Topic identifier.
	TopicInfo *ConsensusTopicInfo `protobuf:"bytes,5,opt,name=topicInfo,proto3" json:"topicInfo,omitempty"` // Current state of the topic
	// contains filtered or unexported fields
}

Retrieve the parameters of and state of a consensus topic.

func (*ConsensusGetTopicInfoResponse) Descriptor deprecated

func (*ConsensusGetTopicInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusGetTopicInfoResponse.ProtoReflect.Descriptor instead.

func (*ConsensusGetTopicInfoResponse) GetHeader

func (*ConsensusGetTopicInfoResponse) GetTopicID

func (x *ConsensusGetTopicInfoResponse) GetTopicID() *TopicID

func (*ConsensusGetTopicInfoResponse) GetTopicInfo

func (*ConsensusGetTopicInfoResponse) ProtoMessage

func (*ConsensusGetTopicInfoResponse) ProtoMessage()

func (*ConsensusGetTopicInfoResponse) ProtoReflect

func (*ConsensusGetTopicInfoResponse) Reset

func (x *ConsensusGetTopicInfoResponse) Reset()

func (*ConsensusGetTopicInfoResponse) String

type ConsensusMessageChunkInfo

type ConsensusMessageChunkInfo struct {
	InitialTransactionID *TransactionID `protobuf:"bytes,1,opt,name=initialTransactionID,proto3" json:"initialTransactionID,omitempty"` // TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
	Total                int32          `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`                              // The total number of chunks in the message.
	Number               int32          `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`                            // The sequence number (from 1 to total) of the current chunk in the message.
	// contains filtered or unexported fields
}

func (*ConsensusMessageChunkInfo) Descriptor deprecated

func (*ConsensusMessageChunkInfo) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusMessageChunkInfo.ProtoReflect.Descriptor instead.

func (*ConsensusMessageChunkInfo) GetInitialTransactionID

func (x *ConsensusMessageChunkInfo) GetInitialTransactionID() *TransactionID

func (*ConsensusMessageChunkInfo) GetNumber

func (x *ConsensusMessageChunkInfo) GetNumber() int32

func (*ConsensusMessageChunkInfo) GetTotal

func (x *ConsensusMessageChunkInfo) GetTotal() int32

func (*ConsensusMessageChunkInfo) ProtoMessage

func (*ConsensusMessageChunkInfo) ProtoMessage()

func (*ConsensusMessageChunkInfo) ProtoReflect

func (*ConsensusMessageChunkInfo) Reset

func (x *ConsensusMessageChunkInfo) Reset()

func (*ConsensusMessageChunkInfo) String

func (x *ConsensusMessageChunkInfo) String() string

type ConsensusServiceClient

type ConsensusServiceClient interface {
	// Create a topic to be used for consensus.
	// If an autoRenewAccount is specified, that account must also sign this transaction.
	// If an adminKey is specified, the adminKey must sign the transaction.
	// On success, the resulting TransactionReceipt contains the newly created TopicId.
	// Request is [ConsensusCreateTopicTransactionBody](#proto.ConsensusCreateTopicTransactionBody)
	CreateTopic(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Update a topic.
	// If there is no adminKey, the only authorized update (available to anyone) is to extend the expirationTime.
	// Otherwise transaction must be signed by the adminKey.
	// If an adminKey is updated, the transaction must be signed by the pre-update adminKey and post-update adminKey.
	// If a new autoRenewAccount is specified (not just being removed), that account must also sign the transaction.
	// Request is [ConsensusUpdateTopicTransactionBody](#proto.ConsensusUpdateTopicTransactionBody)
	UpdateTopic(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Delete a topic. No more transactions or queries on the topic (via HAPI) will succeed.
	// If an adminKey is set, this transaction must be signed by that key.
	// If there is no adminKey, this transaction will fail UNAUTHORIZED.
	// Request is [ConsensusDeleteTopicTransactionBody](#proto.ConsensusDeleteTopicTransactionBody)
	DeleteTopic(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Retrieve the latest state of a topic. This method is unrestricted and allowed on any topic by any payer account.
	// Deleted accounts will not be returned.
	// Request is [ConsensusGetTopicInfoQuery](#proto.ConsensusGetTopicInfoQuery)
	// Response is [ConsensusGetTopicInfoResponse](#proto.ConsensusGetTopicInfoResponse)
	GetTopicInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Submit a message for consensus.
	// Valid and authorized messages on valid topics will be ordered by the consensus service, gossipped to the
	// mirror net, and published (in order) to all subscribers (from the mirror net) on this topic.
	// The submitKey (if any) must sign this transaction.
	// On success, the resulting TransactionReceipt contains the topic's updated topicSequenceNumber and
	// topicRunningHash.
	// Request is [ConsensusSubmitMessageTransactionBody](#proto.ConsensusSubmitMessageTransactionBody)
	SubmitMessage(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
}

ConsensusServiceClient is the client API for ConsensusService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ConsensusServiceServer

type ConsensusServiceServer interface {
	// Create a topic to be used for consensus.
	// If an autoRenewAccount is specified, that account must also sign this transaction.
	// If an adminKey is specified, the adminKey must sign the transaction.
	// On success, the resulting TransactionReceipt contains the newly created TopicId.
	// Request is [ConsensusCreateTopicTransactionBody](#proto.ConsensusCreateTopicTransactionBody)
	CreateTopic(context.Context, *Transaction) (*TransactionResponse, error)
	// Update a topic.
	// If there is no adminKey, the only authorized update (available to anyone) is to extend the expirationTime.
	// Otherwise transaction must be signed by the adminKey.
	// If an adminKey is updated, the transaction must be signed by the pre-update adminKey and post-update adminKey.
	// If a new autoRenewAccount is specified (not just being removed), that account must also sign the transaction.
	// Request is [ConsensusUpdateTopicTransactionBody](#proto.ConsensusUpdateTopicTransactionBody)
	UpdateTopic(context.Context, *Transaction) (*TransactionResponse, error)
	// Delete a topic. No more transactions or queries on the topic (via HAPI) will succeed.
	// If an adminKey is set, this transaction must be signed by that key.
	// If there is no adminKey, this transaction will fail UNAUTHORIZED.
	// Request is [ConsensusDeleteTopicTransactionBody](#proto.ConsensusDeleteTopicTransactionBody)
	DeleteTopic(context.Context, *Transaction) (*TransactionResponse, error)
	// Retrieve the latest state of a topic. This method is unrestricted and allowed on any topic by any payer account.
	// Deleted accounts will not be returned.
	// Request is [ConsensusGetTopicInfoQuery](#proto.ConsensusGetTopicInfoQuery)
	// Response is [ConsensusGetTopicInfoResponse](#proto.ConsensusGetTopicInfoResponse)
	GetTopicInfo(context.Context, *Query) (*Response, error)
	// Submit a message for consensus.
	// Valid and authorized messages on valid topics will be ordered by the consensus service, gossipped to the
	// mirror net, and published (in order) to all subscribers (from the mirror net) on this topic.
	// The submitKey (if any) must sign this transaction.
	// On success, the resulting TransactionReceipt contains the topic's updated topicSequenceNumber and
	// topicRunningHash.
	// Request is [ConsensusSubmitMessageTransactionBody](#proto.ConsensusSubmitMessageTransactionBody)
	SubmitMessage(context.Context, *Transaction) (*TransactionResponse, error)
	// contains filtered or unexported methods
}

ConsensusServiceServer is the server API for ConsensusService service. All implementations must embed UnimplementedConsensusServiceServer for forward compatibility

type ConsensusSubmitMessageTransactionBody

type ConsensusSubmitMessageTransactionBody struct {
	TopicID   *TopicID                   `protobuf:"bytes,1,opt,name=topicID,proto3" json:"topicID,omitempty"`     // Topic to submit message to.
	Message   []byte                     `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`     // Message to be submitted. Max size of the Transaction (including signatures) is 6KiB.
	ChunkInfo *ConsensusMessageChunkInfo `protobuf:"bytes,3,opt,name=chunkInfo,proto3" json:"chunkInfo,omitempty"` // Optional information of the current chunk in a fragmented message.
	// contains filtered or unexported fields
}

func (*ConsensusSubmitMessageTransactionBody) Descriptor deprecated

func (*ConsensusSubmitMessageTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusSubmitMessageTransactionBody.ProtoReflect.Descriptor instead.

func (*ConsensusSubmitMessageTransactionBody) GetChunkInfo

func (*ConsensusSubmitMessageTransactionBody) GetMessage

func (x *ConsensusSubmitMessageTransactionBody) GetMessage() []byte

func (*ConsensusSubmitMessageTransactionBody) GetTopicID

func (*ConsensusSubmitMessageTransactionBody) ProtoMessage

func (*ConsensusSubmitMessageTransactionBody) ProtoMessage()

func (*ConsensusSubmitMessageTransactionBody) ProtoReflect

func (*ConsensusSubmitMessageTransactionBody) Reset

func (*ConsensusSubmitMessageTransactionBody) String

type ConsensusTopicInfo

type ConsensusTopicInfo struct {
	Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"` // The memo associated with the topic (UTF-8 encoding max 100 bytes)
	// When a topic is created, its running hash is initialized to 48 bytes of binary zeros.
	// For each submitted message, the topic's running hash is then updated to the output
	// of a particular SHA-384 digest whose input data include the previous running hash.
	//
	// See the TransactionReceipt.proto documentation for an exact description of the
	// data included in the SHA-384 digest used for the update.
	RunningHash []byte `protobuf:"bytes,2,opt,name=runningHash,proto3" json:"runningHash,omitempty"`
	// Sequence number (starting at 1 for the first submitMessage) of messages on the topic.
	SequenceNumber uint64 `protobuf:"varint,3,opt,name=sequenceNumber,proto3" json:"sequenceNumber,omitempty"`
	// Effective consensus timestamp at (and after) which submitMessage calls will no longer succeed on the topic
	// and the topic will expire and after AUTORENEW_GRACE_PERIOD be automatically deleted.
	ExpirationTime   *Timestamp `protobuf:"bytes,4,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	AdminKey         *Key       `protobuf:"bytes,5,opt,name=adminKey,proto3" json:"adminKey,omitempty"`                 // Access control for update/delete of the topic. Null if there is no key.
	SubmitKey        *Key       `protobuf:"bytes,6,opt,name=submitKey,proto3" json:"submitKey,omitempty"`               // Access control for ConsensusService.submitMessage. Null if there is no key.
	AutoRenewPeriod  *Duration  `protobuf:"bytes,7,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`   // If an auto-renew account is specified, when the topic expires, its lifetime will be extended by up to this duration (depending on the solvency of the auto-renew account). If the auto-renew account has no funds at all, the topic will be deleted instead.
	AutoRenewAccount *AccountID `protobuf:"bytes,8,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"` // The account, if any, to charge for automatic renewal of the topic's lifetime upon expiry.
	// contains filtered or unexported fields
}

Current state of a topic.

func (*ConsensusTopicInfo) Descriptor deprecated

func (*ConsensusTopicInfo) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusTopicInfo.ProtoReflect.Descriptor instead.

func (*ConsensusTopicInfo) GetAdminKey

func (x *ConsensusTopicInfo) GetAdminKey() *Key

func (*ConsensusTopicInfo) GetAutoRenewAccount

func (x *ConsensusTopicInfo) GetAutoRenewAccount() *AccountID

func (*ConsensusTopicInfo) GetAutoRenewPeriod

func (x *ConsensusTopicInfo) GetAutoRenewPeriod() *Duration

func (*ConsensusTopicInfo) GetExpirationTime

func (x *ConsensusTopicInfo) GetExpirationTime() *Timestamp

func (*ConsensusTopicInfo) GetMemo

func (x *ConsensusTopicInfo) GetMemo() string

func (*ConsensusTopicInfo) GetRunningHash

func (x *ConsensusTopicInfo) GetRunningHash() []byte

func (*ConsensusTopicInfo) GetSequenceNumber

func (x *ConsensusTopicInfo) GetSequenceNumber() uint64

func (*ConsensusTopicInfo) GetSubmitKey

func (x *ConsensusTopicInfo) GetSubmitKey() *Key

func (*ConsensusTopicInfo) ProtoMessage

func (*ConsensusTopicInfo) ProtoMessage()

func (*ConsensusTopicInfo) ProtoReflect

func (x *ConsensusTopicInfo) ProtoReflect() protoreflect.Message

func (*ConsensusTopicInfo) Reset

func (x *ConsensusTopicInfo) Reset()

func (*ConsensusTopicInfo) String

func (x *ConsensusTopicInfo) String() string

type ConsensusUpdateTopicTransactionBody

type ConsensusUpdateTopicTransactionBody struct {
	TopicID *TopicID              `protobuf:"bytes,1,opt,name=topicID,proto3" json:"topicID,omitempty"`
	Memo    *wrappers.StringValue `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"` // If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
	// Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
	// The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of
	// this transaction.
	// On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic.
	// If unspecified, no change.
	ExpirationTime *Timestamp `protobuf:"bytes,4,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	// Access control for update/delete of the topic.
	// If unspecified, no change.
	// If empty keyList - the adminKey is cleared.
	AdminKey *Key `protobuf:"bytes,6,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	// Access control for ConsensusService.submitMessage.
	// If unspecified, no change.
	// If empty keyList - the submitKey is cleared.
	SubmitKey *Key `protobuf:"bytes,7,opt,name=submitKey,proto3" json:"submitKey,omitempty"`
	// The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
	// configured and has funds (once autoRenew functionality is supported by HAPI).
	// Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by
	// servers-side configuration (which may change).
	// If unspecified, no change.
	AutoRenewPeriod *Duration `protobuf:"bytes,8,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// Optional account to be used at the topic's expirationTime to extend the life of the topic.
	// Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the
	// autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the
	// smaller duration/amount).
	// If specified as the default value (0.0.0), the autoRenewAccount will be removed.
	// If unspecified, no change.
	AutoRenewAccount *AccountID `protobuf:"bytes,9,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"`
	// contains filtered or unexported fields
}

All fields left null will not be updated. See [ConsensusService.updateTopic()](#proto.ConsensusService)

func (*ConsensusUpdateTopicTransactionBody) Descriptor deprecated

func (*ConsensusUpdateTopicTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusUpdateTopicTransactionBody.ProtoReflect.Descriptor instead.

func (*ConsensusUpdateTopicTransactionBody) GetAdminKey

func (x *ConsensusUpdateTopicTransactionBody) GetAdminKey() *Key

func (*ConsensusUpdateTopicTransactionBody) GetAutoRenewAccount

func (x *ConsensusUpdateTopicTransactionBody) GetAutoRenewAccount() *AccountID

func (*ConsensusUpdateTopicTransactionBody) GetAutoRenewPeriod

func (x *ConsensusUpdateTopicTransactionBody) GetAutoRenewPeriod() *Duration

func (*ConsensusUpdateTopicTransactionBody) GetExpirationTime

func (x *ConsensusUpdateTopicTransactionBody) GetExpirationTime() *Timestamp

func (*ConsensusUpdateTopicTransactionBody) GetMemo

func (*ConsensusUpdateTopicTransactionBody) GetSubmitKey

func (x *ConsensusUpdateTopicTransactionBody) GetSubmitKey() *Key

func (*ConsensusUpdateTopicTransactionBody) GetTopicID

func (*ConsensusUpdateTopicTransactionBody) ProtoMessage

func (*ConsensusUpdateTopicTransactionBody) ProtoMessage()

func (*ConsensusUpdateTopicTransactionBody) ProtoReflect

func (*ConsensusUpdateTopicTransactionBody) Reset

func (*ConsensusUpdateTopicTransactionBody) String

type ContractCallLocalQuery

type ContractCallLocalQuery struct {
	Header             *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`                         // standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither). The payment must cover the fees and all of the gas offered.
	ContractID         *ContractID  `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"`                 // the contract instance to call, in the format used in transactions
	Gas                int64        `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"`                              // The amount of gas to use for the call; all of the gas offered will be used and charged a corresponding fee
	FunctionParameters []byte       `protobuf:"bytes,4,opt,name=functionParameters,proto3" json:"functionParameters,omitempty"` // which function to call, and the parameters to pass to the function
	MaxResultSize      int64        `protobuf:"varint,5,opt,name=maxResultSize,proto3" json:"maxResultSize,omitempty"`          // max number of bytes that the result might include. The run will fail if it would have returned more than this number of bytes.
	// contains filtered or unexported fields
}

Call a function of the given smart contract instance, giving it functionParameters as its inputs. This is performed locally on the particular node that the client is communicating with. It cannot change the state of the contract instance (and so, cannot spend anything from the instance's cryptocurrency account). It will not have a consensus timestamp. It cannot generate a record or a receipt. The response will contain the output returned by the function call. This is useful for calling getter functions, which purely read the state and don't change it. It is faster and cheaper than a normal call, because it is purely local to a single node.

Unlike a ContractCall transaction, the node will consume the entire amount of provided gas in determining the fee for this query.

func (*ContractCallLocalQuery) Descriptor deprecated

func (*ContractCallLocalQuery) Descriptor() ([]byte, []int)

Deprecated: Use ContractCallLocalQuery.ProtoReflect.Descriptor instead.

func (*ContractCallLocalQuery) GetContractID

func (x *ContractCallLocalQuery) GetContractID() *ContractID

func (*ContractCallLocalQuery) GetFunctionParameters

func (x *ContractCallLocalQuery) GetFunctionParameters() []byte

func (*ContractCallLocalQuery) GetGas

func (x *ContractCallLocalQuery) GetGas() int64

func (*ContractCallLocalQuery) GetHeader

func (x *ContractCallLocalQuery) GetHeader() *QueryHeader

func (*ContractCallLocalQuery) GetMaxResultSize

func (x *ContractCallLocalQuery) GetMaxResultSize() int64

func (*ContractCallLocalQuery) ProtoMessage

func (*ContractCallLocalQuery) ProtoMessage()

func (*ContractCallLocalQuery) ProtoReflect

func (x *ContractCallLocalQuery) ProtoReflect() protoreflect.Message

func (*ContractCallLocalQuery) Reset

func (x *ContractCallLocalQuery) Reset()

func (*ContractCallLocalQuery) String

func (x *ContractCallLocalQuery) String() string

type ContractCallLocalResponse

type ContractCallLocalResponse struct {
	Header         *ResponseHeader         `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`                 // standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	FunctionResult *ContractFunctionResult `protobuf:"bytes,2,opt,name=functionResult,proto3" json:"functionResult,omitempty"` // the value returned by the function (if it completed and didn't fail)
	// contains filtered or unexported fields
}

Response when the client sends the node ContractCallLocalQuery

func (*ContractCallLocalResponse) Descriptor deprecated

func (*ContractCallLocalResponse) Descriptor() ([]byte, []int)

Deprecated: Use ContractCallLocalResponse.ProtoReflect.Descriptor instead.

func (*ContractCallLocalResponse) GetFunctionResult

func (x *ContractCallLocalResponse) GetFunctionResult() *ContractFunctionResult

func (*ContractCallLocalResponse) GetHeader

func (x *ContractCallLocalResponse) GetHeader() *ResponseHeader

func (*ContractCallLocalResponse) ProtoMessage

func (*ContractCallLocalResponse) ProtoMessage()

func (*ContractCallLocalResponse) ProtoReflect

func (*ContractCallLocalResponse) Reset

func (x *ContractCallLocalResponse) Reset()

func (*ContractCallLocalResponse) String

func (x *ContractCallLocalResponse) String() string

type ContractCallTransactionBody

type ContractCallTransactionBody struct {
	ContractID         *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`                 // the contract instance to call, in the format used in transactions
	Gas                int64       `protobuf:"varint,2,opt,name=gas,proto3" json:"gas,omitempty"`                              // the maximum amount of gas to use for the call
	Amount             int64       `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`                        // number of tinybars sent (the function must be payable if this is nonzero)
	FunctionParameters []byte      `protobuf:"bytes,4,opt,name=functionParameters,proto3" json:"functionParameters,omitempty"` // which function to call, and the parameters to pass to the function
	// contains filtered or unexported fields
}

func (*ContractCallTransactionBody) Descriptor deprecated

func (*ContractCallTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use ContractCallTransactionBody.ProtoReflect.Descriptor instead.

func (*ContractCallTransactionBody) GetAmount

func (x *ContractCallTransactionBody) GetAmount() int64

func (*ContractCallTransactionBody) GetContractID

func (x *ContractCallTransactionBody) GetContractID() *ContractID

func (*ContractCallTransactionBody) GetFunctionParameters

func (x *ContractCallTransactionBody) GetFunctionParameters() []byte

func (*ContractCallTransactionBody) GetGas

func (x *ContractCallTransactionBody) GetGas() int64

func (*ContractCallTransactionBody) ProtoMessage

func (*ContractCallTransactionBody) ProtoMessage()

func (*ContractCallTransactionBody) ProtoReflect

func (*ContractCallTransactionBody) Reset

func (x *ContractCallTransactionBody) Reset()

func (*ContractCallTransactionBody) String

func (x *ContractCallTransactionBody) String() string

type ContractCreateTransactionBody

type ContractCreateTransactionBody struct {
	FileID                *FileID    `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"`                               // the file containing the smart contract byte code. A copy will be made and held by the contract instance, and have the same expiration time as the instance. The file is referenced one of two ways:
	AdminKey              *Key       `protobuf:"bytes,3,opt,name=adminKey,proto3" json:"adminKey,omitempty"`                           // the state of the instance and its fields can be modified arbitrarily if this key signs a transaction to modify it. If this is null, then such modifications are not possible, and there is no administrator that can override the normal operation of this smart contract instance. Note that if it is created with no admin keys, then there is no administrator to authorize changing the admin keys, so there can never be any admin keys for that instance.
	Gas                   int64      `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"`                                    // gas to run the constructor
	InitialBalance        int64      `protobuf:"varint,5,opt,name=initialBalance,proto3" json:"initialBalance,omitempty"`              // initial number of tinybars to put into the cryptocurrency account associated with and owned by the smart contract
	ProxyAccountID        *AccountID `protobuf:"bytes,6,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`               // ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if  proxyAccountID was null.
	AutoRenewPeriod       *Duration  `protobuf:"bytes,8,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`             // the instance will charge its account every this many seconds to renew for this long
	ConstructorParameters []byte     `protobuf:"bytes,9,opt,name=constructorParameters,proto3" json:"constructorParameters,omitempty"` // parameters to pass to the constructor
	ShardID               *ShardID   `protobuf:"bytes,10,opt,name=shardID,proto3" json:"shardID,omitempty"`                            // shard in which to create this
	RealmID               *RealmID   `protobuf:"bytes,11,opt,name=realmID,proto3" json:"realmID,omitempty"`                            // realm in which to create this (leave this null to create a new realm)
	NewRealmAdminKey      *Key       `protobuf:"bytes,12,opt,name=newRealmAdminKey,proto3" json:"newRealmAdminKey,omitempty"`          // if realmID is null, then this the admin key for the new realm that will be created
	Memo                  string     `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"`                                  // the memo that was submitted as part of the contract (max 100 bytes)
	// contains filtered or unexported fields
}

Start a new smart contract instance. After the instance is created, the ContractID for it is in the receipt, and can be retrieved by the Record or with a GetByKey query. The instance will run the bytecode stored in a previously created file, referenced either by FileID or by the transaction ID of the transaction that created the file

The constructor will be executed using the given amount of gas, and any unspent gas will be refunded to the paying account. Constructor inputs come from the given constructorParameters.

The instance will exist for autoRenewPeriod seconds. When that is reached, it will renew itself for another autoRenewPeriod seconds by charging its associated cryptocurrency account (which it creates here). If it has insufficient cryptocurrency to extend that long, it will extend as long as it can. If its balance is zero, the instance will be deleted.

A smart contract instance normally enforces rules, so "the code is law". For example, an ERC-20 contract prevents a transfer from being undone without a signature by the recipient of the transfer. This is always enforced if the contract instance was created with the adminKeys being null. But for some uses, it might be desirable to create something like an ERC-20 contract that has a specific group of trusted individuals who can act as a "supreme court" with the ability to override the normal operation, when a sufficient number of them agree to do so. If adminKeys is not null, then they can sign a transaction that can change the state of the smart contract in arbitrary ways, such as to reverse a transaction that violates some standard of behavior that is not covered by the code itself. The admin keys can also be used to change the autoRenewPeriod, and change the adminKeys field itself. The API currently does not implement this ability. But it does allow the adminKeys field to be set and queried, and will in the future implement such admin abilities for any instance that has a non-null adminKeys.

If this constructor stores information, it is charged gas to store it. There is a fee in hbars to maintain that storage until the expiration time, and that fee is added as part of the transaction fee.

An entity (account, file, or smart contract instance) must be created in a particular realm. If the realmID is left null, then a new realm will be created with the given admin key. If a new realm has a null adminKey, then anyone can create/modify/delete entities in that realm. But if an admin key is given, then any transaction to create/modify/delete an entity in that realm must be signed by that key, though anyone can still call functions on smart contract instances that exist in that realm. A realm ceases to exist when everything within it has expired and no longer exists.

The current API ignores shardID, realmID, and newRealmAdminKey, and creates everything in shard 0 and realm 0, with a null key. Future versions of the API will support multiple realms and multiple shards.

The optional memo field can contain a string whose length is up to 100 bytes. That is the size after Unicode NFD then UTF-8 conversion. This field can be used to describe the smart contract. It could also be used for other purposes. One recommended purpose is to hold a hexadecimal string that is the SHA-384 hash of a PDF file containing a human-readable legal contract. Then, if the admin keys are the public keys of human arbitrators, they can use that legal document to guide their decisions during a binding arbitration tribunal, convened to consider any changes to the smart contract in the future. The memo field can only be changed using the admin keys. If there are no admin keys, then it cannot be changed after the smart contract is created.

func (*ContractCreateTransactionBody) Descriptor deprecated

func (*ContractCreateTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use ContractCreateTransactionBody.ProtoReflect.Descriptor instead.

func (*ContractCreateTransactionBody) GetAdminKey

func (x *ContractCreateTransactionBody) GetAdminKey() *Key

func (*ContractCreateTransactionBody) GetAutoRenewPeriod

func (x *ContractCreateTransactionBody) GetAutoRenewPeriod() *Duration

func (*ContractCreateTransactionBody) GetConstructorParameters

func (x *ContractCreateTransactionBody) GetConstructorParameters() []byte

func (*ContractCreateTransactionBody) GetFileID

func (x *ContractCreateTransactionBody) GetFileID() *FileID

func (*ContractCreateTransactionBody) GetGas

func (*ContractCreateTransactionBody) GetInitialBalance

func (x *ContractCreateTransactionBody) GetInitialBalance() int64

func (*ContractCreateTransactionBody) GetMemo

func (*ContractCreateTransactionBody) GetNewRealmAdminKey

func (x *ContractCreateTransactionBody) GetNewRealmAdminKey() *Key

func (*ContractCreateTransactionBody) GetProxyAccountID

func (x *ContractCreateTransactionBody) GetProxyAccountID() *AccountID

func (*ContractCreateTransactionBody) GetRealmID

func (x *ContractCreateTransactionBody) GetRealmID() *RealmID

func (*ContractCreateTransactionBody) GetShardID

func (x *ContractCreateTransactionBody) GetShardID() *ShardID

func (*ContractCreateTransactionBody) ProtoMessage

func (*ContractCreateTransactionBody) ProtoMessage()

func (*ContractCreateTransactionBody) ProtoReflect

func (*ContractCreateTransactionBody) Reset

func (x *ContractCreateTransactionBody) Reset()

func (*ContractCreateTransactionBody) String

type ContractDeleteTransactionBody

type ContractDeleteTransactionBody struct {

	// The id of the contract to be deleted
	ContractID *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// Types that are assignable to Obtainers:
	//	*ContractDeleteTransactionBody_TransferAccountID
	//	*ContractDeleteTransactionBody_TransferContractID
	Obtainers isContractDeleteTransactionBody_Obtainers `protobuf_oneof:"obtainers"`
	// contains filtered or unexported fields
}

At consensus, marks a contract as deleted and transfers its remaining hBars, if any, to a designated receiver. After a contract is deleted, it can no longer be called.

If the target contract is immutable (that is, was created without an admin key), then this transaction resolves to MODIFYING_IMMUTABLE_CONTRACT.

--- Signing Requirements --- 1. The admin key of the target contract must sign. 2. If the transfer account or contract has receiverSigRequired, its associated key must also sign.

func (*ContractDeleteTransactionBody) Descriptor deprecated

func (*ContractDeleteTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use ContractDeleteTransactionBody.ProtoReflect.Descriptor instead.

func (*ContractDeleteTransactionBody) GetContractID

func (x *ContractDeleteTransactionBody) GetContractID() *ContractID

func (*ContractDeleteTransactionBody) GetObtainers

func (m *ContractDeleteTransactionBody) GetObtainers() isContractDeleteTransactionBody_Obtainers

func (*ContractDeleteTransactionBody) GetTransferAccountID

func (x *ContractDeleteTransactionBody) GetTransferAccountID() *AccountID

func (*ContractDeleteTransactionBody) GetTransferContractID

func (x *ContractDeleteTransactionBody) GetTransferContractID() *ContractID

func (*ContractDeleteTransactionBody) ProtoMessage

func (*ContractDeleteTransactionBody) ProtoMessage()

func (*ContractDeleteTransactionBody) ProtoReflect

func (*ContractDeleteTransactionBody) Reset

func (x *ContractDeleteTransactionBody) Reset()

func (*ContractDeleteTransactionBody) String

type ContractDeleteTransactionBody_TransferAccountID

type ContractDeleteTransactionBody_TransferAccountID struct {
	// The id of an account to receive any remaining hBars from the deleted contract
	TransferAccountID *AccountID `protobuf:"bytes,2,opt,name=transferAccountID,proto3,oneof"`
}

type ContractDeleteTransactionBody_TransferContractID

type ContractDeleteTransactionBody_TransferContractID struct {
	// The id of a contract to receive any remaining hBars from the deleted contract
	TransferContractID *ContractID `protobuf:"bytes,3,opt,name=transferContractID,proto3,oneof"`
}

type ContractFunctionResult

type ContractFunctionResult struct {
	ContractID         *ContractID        `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`                 // the smart contract instance whose function was called
	ContractCallResult []byte             `protobuf:"bytes,2,opt,name=contractCallResult,proto3" json:"contractCallResult,omitempty"` // the result returned by the function
	ErrorMessage       string             `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`             // message In case there was an error during smart contract execution
	Bloom              []byte             `protobuf:"bytes,4,opt,name=bloom,proto3" json:"bloom,omitempty"`                           // bloom filter for record
	GasUsed            uint64             `protobuf:"varint,5,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"`                      // units of gas used to execute contract
	LogInfo            []*ContractLoginfo `protobuf:"bytes,6,rep,name=logInfo,proto3" json:"logInfo,omitempty"`                       // the log info for events returned by the function
	CreatedContractIDs []*ContractID      `protobuf:"bytes,7,rep,name=createdContractIDs,proto3" json:"createdContractIDs,omitempty"` // the list of smart contracts that were created by the function call
	// contains filtered or unexported fields
}

The result returned by a call to a smart contract function. This is part of the response to a ContractCallLocal query, and is in the record for a ContractCall or ContractCreateInstance transaction. The ContractCreateInstance transaction record has the results of the call to the constructor.

func (*ContractFunctionResult) Descriptor deprecated

func (*ContractFunctionResult) Descriptor() ([]byte, []int)

Deprecated: Use ContractFunctionResult.ProtoReflect.Descriptor instead.

func (*ContractFunctionResult) GetBloom

func (x *ContractFunctionResult) GetBloom() []byte

func (*ContractFunctionResult) GetContractCallResult

func (x *ContractFunctionResult) GetContractCallResult() []byte

func (*ContractFunctionResult) GetContractID

func (x *ContractFunctionResult) GetContractID() *ContractID

func (*ContractFunctionResult) GetCreatedContractIDs

func (x *ContractFunctionResult) GetCreatedContractIDs() []*ContractID

func (*ContractFunctionResult) GetErrorMessage

func (x *ContractFunctionResult) GetErrorMessage() string

func (*ContractFunctionResult) GetGasUsed

func (x *ContractFunctionResult) GetGasUsed() uint64

func (*ContractFunctionResult) GetLogInfo

func (x *ContractFunctionResult) GetLogInfo() []*ContractLoginfo

func (*ContractFunctionResult) ProtoMessage

func (*ContractFunctionResult) ProtoMessage()

func (*ContractFunctionResult) ProtoReflect

func (x *ContractFunctionResult) ProtoReflect() protoreflect.Message

func (*ContractFunctionResult) Reset

func (x *ContractFunctionResult) Reset()

func (*ContractFunctionResult) String

func (x *ContractFunctionResult) String() string

type ContractGetBytecodeQuery

type ContractGetBytecodeQuery struct {
	Header     *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`         // standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	ContractID *ContractID  `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"` // the contract for which information is requested
	// contains filtered or unexported fields
}

Get the bytecode for a smart contract instance

func (*ContractGetBytecodeQuery) Descriptor deprecated

func (*ContractGetBytecodeQuery) Descriptor() ([]byte, []int)

Deprecated: Use ContractGetBytecodeQuery.ProtoReflect.Descriptor instead.

func (*ContractGetBytecodeQuery) GetContractID

func (x *ContractGetBytecodeQuery) GetContractID() *ContractID

func (*ContractGetBytecodeQuery) GetHeader

func (x *ContractGetBytecodeQuery) GetHeader() *QueryHeader

func (*ContractGetBytecodeQuery) ProtoMessage

func (*ContractGetBytecodeQuery) ProtoMessage()

func (*ContractGetBytecodeQuery) ProtoReflect

func (x *ContractGetBytecodeQuery) ProtoReflect() protoreflect.Message

func (*ContractGetBytecodeQuery) Reset

func (x *ContractGetBytecodeQuery) Reset()

func (*ContractGetBytecodeQuery) String

func (x *ContractGetBytecodeQuery) String() string

type ContractGetBytecodeResponse

type ContractGetBytecodeResponse struct {
	Header   *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`     // standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	Bytecode []byte          `protobuf:"bytes,6,opt,name=bytecode,proto3" json:"bytecode,omitempty"` // the bytecode
	// contains filtered or unexported fields
}

Response when the client sends the node ContractGetBytecodeQuery

func (*ContractGetBytecodeResponse) Descriptor deprecated

func (*ContractGetBytecodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ContractGetBytecodeResponse.ProtoReflect.Descriptor instead.

func (*ContractGetBytecodeResponse) GetBytecode

func (x *ContractGetBytecodeResponse) GetBytecode() []byte

func (*ContractGetBytecodeResponse) GetHeader

func (*ContractGetBytecodeResponse) ProtoMessage

func (*ContractGetBytecodeResponse) ProtoMessage()

func (*ContractGetBytecodeResponse) ProtoReflect

func (*ContractGetBytecodeResponse) Reset

func (x *ContractGetBytecodeResponse) Reset()

func (*ContractGetBytecodeResponse) String

func (x *ContractGetBytecodeResponse) String() string

type ContractGetInfoQuery

type ContractGetInfoQuery struct {
	Header     *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`         // standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	ContractID *ContractID  `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"` // the contract for which information is requested
	// contains filtered or unexported fields
}

Get information about a smart contract instance. This includes the account that it uses, the file containing its bytecode, and the time when it will expire.

func (*ContractGetInfoQuery) Descriptor deprecated

func (*ContractGetInfoQuery) Descriptor() ([]byte, []int)

Deprecated: Use ContractGetInfoQuery.ProtoReflect.Descriptor instead.

func (*ContractGetInfoQuery) GetContractID

func (x *ContractGetInfoQuery) GetContractID() *ContractID

func (*ContractGetInfoQuery) GetHeader

func (x *ContractGetInfoQuery) GetHeader() *QueryHeader

func (*ContractGetInfoQuery) ProtoMessage

func (*ContractGetInfoQuery) ProtoMessage()

func (*ContractGetInfoQuery) ProtoReflect

func (x *ContractGetInfoQuery) ProtoReflect() protoreflect.Message

func (*ContractGetInfoQuery) Reset

func (x *ContractGetInfoQuery) Reset()

func (*ContractGetInfoQuery) String

func (x *ContractGetInfoQuery) String() string

type ContractGetInfoResponse

type ContractGetInfoResponse struct {
	Header       *ResponseHeader                       `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`             // standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	ContractInfo *ContractGetInfoResponse_ContractInfo `protobuf:"bytes,2,opt,name=contractInfo,proto3" json:"contractInfo,omitempty"` // the information about this contract instance (a state proof can be generated for this)
	// contains filtered or unexported fields
}

Response when the client sends the node ContractGetInfoQuery

func (*ContractGetInfoResponse) Descriptor deprecated

func (*ContractGetInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ContractGetInfoResponse.ProtoReflect.Descriptor instead.

func (*ContractGetInfoResponse) GetContractInfo

func (*ContractGetInfoResponse) GetHeader

func (x *ContractGetInfoResponse) GetHeader() *ResponseHeader

func (*ContractGetInfoResponse) ProtoMessage

func (*ContractGetInfoResponse) ProtoMessage()

func (*ContractGetInfoResponse) ProtoReflect

func (x *ContractGetInfoResponse) ProtoReflect() protoreflect.Message

func (*ContractGetInfoResponse) Reset

func (x *ContractGetInfoResponse) Reset()

func (*ContractGetInfoResponse) String

func (x *ContractGetInfoResponse) String() string

type ContractGetInfoResponse_ContractInfo

type ContractGetInfoResponse_ContractInfo struct {
	ContractID         *ContractID          `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`                  // ID of the contract instance, in the format used in transactions
	AccountID          *AccountID           `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`                    // ID of the cryptocurrency account owned by the contract instance, in the format used in transactions
	ContractAccountID  string               `protobuf:"bytes,3,opt,name=contractAccountID,proto3" json:"contractAccountID,omitempty"`    // ID of both the contract instance and the cryptocurrency account owned by the contract instance, in the format used by Solidity
	AdminKey           *Key                 `protobuf:"bytes,4,opt,name=adminKey,proto3" json:"adminKey,omitempty"`                      // the state of the instance and its fields can be modified arbitrarily if this key signs a transaction to modify it. If this is null, then such modifications are not possible, and there is no administrator that can override the normal operation of this smart contract instance. Note that if it is created with no admin keys, then there is no administrator to authorize changing the admin keys, so there can never be any admin keys for that instance. */
	ExpirationTime     *Timestamp           `protobuf:"bytes,5,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`          // the current time at which this contract instance (and its account) is set to expire
	AutoRenewPeriod    *Duration            `protobuf:"bytes,6,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`        // the expiration time will extend every this many seconds. If there are insufficient funds, then it extends as long as possible. If the account is empty when it expires, then it is deleted.
	Storage            int64                `protobuf:"varint,7,opt,name=storage,proto3" json:"storage,omitempty"`                       // number of bytes of storage being used by this instance (which affects the cost to extend the expiration time)
	Memo               string               `protobuf:"bytes,8,opt,name=memo,proto3" json:"memo,omitempty"`                              // the memo associated with the contract (max 100 bytes)
	Balance            uint64               `protobuf:"varint,9,opt,name=balance,proto3" json:"balance,omitempty"`                       // The current balance, in tinybars
	Deleted            bool                 `protobuf:"varint,10,opt,name=deleted,proto3" json:"deleted,omitempty"`                      // Whether the contract has been deleted
	TokenRelationships []*TokenRelationship `protobuf:"bytes,11,rep,name=tokenRelationships,proto3" json:"tokenRelationships,omitempty"` // The tokens associated to the contract
	// contains filtered or unexported fields
}

func (*ContractGetInfoResponse_ContractInfo) Descriptor deprecated

func (*ContractGetInfoResponse_ContractInfo) Descriptor() ([]byte, []int)

Deprecated: Use ContractGetInfoResponse_ContractInfo.ProtoReflect.Descriptor instead.

func (*ContractGetInfoResponse_ContractInfo) GetAccountID

func (*ContractGetInfoResponse_ContractInfo) GetAdminKey

func (x *ContractGetInfoResponse_ContractInfo) GetAdminKey() *Key

func (*ContractGetInfoResponse_ContractInfo) GetAutoRenewPeriod

func (x *ContractGetInfoResponse_ContractInfo) GetAutoRenewPeriod() *Duration

func (*ContractGetInfoResponse_ContractInfo) GetBalance

func (*ContractGetInfoResponse_ContractInfo) GetContractAccountID

func (x *ContractGetInfoResponse_ContractInfo) GetContractAccountID() string

func (*ContractGetInfoResponse_ContractInfo) GetContractID

func (*ContractGetInfoResponse_ContractInfo) GetDeleted

func (*ContractGetInfoResponse_ContractInfo) GetExpirationTime

func (x *ContractGetInfoResponse_ContractInfo) GetExpirationTime() *Timestamp

func (*ContractGetInfoResponse_ContractInfo) GetMemo

func (*ContractGetInfoResponse_ContractInfo) GetStorage

func (*ContractGetInfoResponse_ContractInfo) GetTokenRelationships

func (x *ContractGetInfoResponse_ContractInfo) GetTokenRelationships() []*TokenRelationship

func (*ContractGetInfoResponse_ContractInfo) ProtoMessage

func (*ContractGetInfoResponse_ContractInfo) ProtoMessage()

func (*ContractGetInfoResponse_ContractInfo) ProtoReflect

func (*ContractGetInfoResponse_ContractInfo) Reset

func (*ContractGetInfoResponse_ContractInfo) String

type ContractGetRecordsQuery deprecated

type ContractGetRecordsQuery struct {
	Header     *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`         // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	ContractID *ContractID  `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"` // The smart contract instance for which the records should be retrieved
	// contains filtered or unexported fields
}

Before v0.9.0, requested records of all transactions against the given contract in the last 25 hours.

Deprecated: Do not use.

func (*ContractGetRecordsQuery) Descriptor deprecated

func (*ContractGetRecordsQuery) Descriptor() ([]byte, []int)

Deprecated: Use ContractGetRecordsQuery.ProtoReflect.Descriptor instead.

func (*ContractGetRecordsQuery) GetContractID

func (x *ContractGetRecordsQuery) GetContractID() *ContractID

func (*ContractGetRecordsQuery) GetHeader

func (x *ContractGetRecordsQuery) GetHeader() *QueryHeader

func (*ContractGetRecordsQuery) ProtoMessage

func (*ContractGetRecordsQuery) ProtoMessage()

func (*ContractGetRecordsQuery) ProtoReflect

func (x *ContractGetRecordsQuery) ProtoReflect() protoreflect.Message

func (*ContractGetRecordsQuery) Reset

func (x *ContractGetRecordsQuery) Reset()

func (*ContractGetRecordsQuery) String

func (x *ContractGetRecordsQuery) String() string

type ContractGetRecordsResponse deprecated

type ContractGetRecordsResponse struct {
	Header     *ResponseHeader      `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`         // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	ContractID *ContractID          `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"` // The smart contract instance that this record is for
	Records    []*TransactionRecord `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`       // List of records, each with contractCreateResult or contractCallResult as its body
	// contains filtered or unexported fields
}

Before v0.9.0, returned records of all transactions against the given contract in the last 25 hours.

Deprecated: Do not use.

func (*ContractGetRecordsResponse) Descriptor deprecated

func (*ContractGetRecordsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ContractGetRecordsResponse.ProtoReflect.Descriptor instead.

func (*ContractGetRecordsResponse) GetContractID

func (x *ContractGetRecordsResponse) GetContractID() *ContractID

func (*ContractGetRecordsResponse) GetHeader

func (*ContractGetRecordsResponse) GetRecords

func (x *ContractGetRecordsResponse) GetRecords() []*TransactionRecord

func (*ContractGetRecordsResponse) ProtoMessage

func (*ContractGetRecordsResponse) ProtoMessage()

func (*ContractGetRecordsResponse) ProtoReflect

func (*ContractGetRecordsResponse) Reset

func (x *ContractGetRecordsResponse) Reset()

func (*ContractGetRecordsResponse) String

func (x *ContractGetRecordsResponse) String() string

type ContractID

type ContractID struct {
	ShardNum    int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`       // The shard number (nonnegative)
	RealmNum    int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"`       // The realm number (nonnegative)
	ContractNum int64 `protobuf:"varint,3,opt,name=contractNum,proto3" json:"contractNum,omitempty"` // A nonnegative number unique within its realm
	// 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) GetContractNum

func (x *ContractID) GetContractNum() int64

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 ContractLoginfo

type ContractLoginfo struct {
	ContractID *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"` // address of a contract that emitted the event
	Bloom      []byte      `protobuf:"bytes,2,opt,name=bloom,proto3" json:"bloom,omitempty"`           // bloom filter for a particular log
	Topic      [][]byte    `protobuf:"bytes,3,rep,name=topic,proto3" json:"topic,omitempty"`           // topics of a particular event
	Data       []byte      `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`             // event data
	// contains filtered or unexported fields
}

The log information for an event returned by a smart contract function call. One function call may return several such events.

func (*ContractLoginfo) Descriptor deprecated

func (*ContractLoginfo) Descriptor() ([]byte, []int)

Deprecated: Use ContractLoginfo.ProtoReflect.Descriptor instead.

func (*ContractLoginfo) GetBloom

func (x *ContractLoginfo) GetBloom() []byte

func (*ContractLoginfo) GetContractID

func (x *ContractLoginfo) GetContractID() *ContractID

func (*ContractLoginfo) GetData

func (x *ContractLoginfo) GetData() []byte

func (*ContractLoginfo) GetTopic

func (x *ContractLoginfo) GetTopic() [][]byte

func (*ContractLoginfo) ProtoMessage

func (*ContractLoginfo) ProtoMessage()

func (*ContractLoginfo) ProtoReflect

func (x *ContractLoginfo) ProtoReflect() protoreflect.Message

func (*ContractLoginfo) Reset

func (x *ContractLoginfo) Reset()

func (*ContractLoginfo) String

func (x *ContractLoginfo) String() string

type ContractUpdateTransactionBody

type ContractUpdateTransactionBody struct {

	// The id of the contract to be updated
	ContractID *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// The new expiry of the contract, no earlier than the current expiry (resolves to EXPIRATION_REDUCTION_NOT_ALLOWED otherwise)
	ExpirationTime *Timestamp `protobuf:"bytes,2,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	// The new key to control updates to the contract
	AdminKey *Key `protobuf:"bytes,3,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	// (NOT YET IMPLEMENTED) The new id of the account to which the contract is proxy staked
	ProxyAccountID *AccountID `protobuf:"bytes,6,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`
	// (NOT YET IMPLEMENTED) The new interval at which the contract will pay to extend its expiry (by the same interval)
	AutoRenewPeriod *Duration `protobuf:"bytes,7,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// The new id of the file asserted to contain the bytecode of the Solidity transaction that created this contract
	FileID *FileID `protobuf:"bytes,8,opt,name=fileID,proto3" json:"fileID,omitempty"`
	// The new contract memo, assumed to be Unicode encoded with UTF-8 (at most 100 bytes)
	//
	// Types that are assignable to MemoField:
	//	*ContractUpdateTransactionBody_Memo
	//	*ContractUpdateTransactionBody_MemoWrapper
	MemoField isContractUpdateTransactionBody_MemoField `protobuf_oneof:"memoField"`
	// contains filtered or unexported fields
}

At consensus, updates the fields of a smart contract to the given values.

If no value is given for a field, that field is left unchanged on the contract. For an immutable smart contract (that is, a contract created without an adminKey), only the expirationTime may be updated; setting any other field in this case will cause the transaction status to resolve to MODIFYING_IMMUTABLE_CONTRACT.

--- Signing Requirements --- 1. Whether or not a contract has an admin Key, its expiry can be extended with only the transaction payer's signature. 2. Updating any other field of a mutable contract requires the admin key's signature. 3. If the update transaction includes a new admin key, this new key must also sign <b>unless</b> it is exactly an empty <tt>KeyList</tt>. This special sentinel key removes the existing admin key and causes the contract to become immutable. (Other <tt>Key</tt> structures without a constituent <tt>Ed25519</tt> key will be rejected with <tt>INVALID_ADMIN_KEY</tt>.)

func (*ContractUpdateTransactionBody) Descriptor deprecated

func (*ContractUpdateTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use ContractUpdateTransactionBody.ProtoReflect.Descriptor instead.

func (*ContractUpdateTransactionBody) GetAdminKey

func (x *ContractUpdateTransactionBody) GetAdminKey() *Key

func (*ContractUpdateTransactionBody) GetAutoRenewPeriod

func (x *ContractUpdateTransactionBody) GetAutoRenewPeriod() *Duration

func (*ContractUpdateTransactionBody) GetContractID

func (x *ContractUpdateTransactionBody) GetContractID() *ContractID

func (*ContractUpdateTransactionBody) GetExpirationTime

func (x *ContractUpdateTransactionBody) GetExpirationTime() *Timestamp

func (*ContractUpdateTransactionBody) GetFileID

func (x *ContractUpdateTransactionBody) GetFileID() *FileID

func (*ContractUpdateTransactionBody) GetMemo deprecated

Deprecated: Do not use.

func (*ContractUpdateTransactionBody) GetMemoField

func (m *ContractUpdateTransactionBody) GetMemoField() isContractUpdateTransactionBody_MemoField

func (*ContractUpdateTransactionBody) GetMemoWrapper

func (x *ContractUpdateTransactionBody) GetMemoWrapper() *wrappers.StringValue

func (*ContractUpdateTransactionBody) GetProxyAccountID

func (x *ContractUpdateTransactionBody) GetProxyAccountID() *AccountID

func (*ContractUpdateTransactionBody) ProtoMessage

func (*ContractUpdateTransactionBody) ProtoMessage()

func (*ContractUpdateTransactionBody) ProtoReflect

func (*ContractUpdateTransactionBody) Reset

func (x *ContractUpdateTransactionBody) Reset()

func (*ContractUpdateTransactionBody) String

type ContractUpdateTransactionBody_Memo

type ContractUpdateTransactionBody_Memo struct {
	// Deprecated: Do not use.
	Memo string `protobuf:"bytes,9,opt,name=memo,proto3,oneof"` // [Deprecated] If set with a non-zero length, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
}

type ContractUpdateTransactionBody_MemoWrapper

type ContractUpdateTransactionBody_MemoWrapper struct {
	MemoWrapper *wrappers.StringValue `protobuf:"bytes,10,opt,name=memoWrapper,proto3,oneof"` // If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
}

type CryptoAddLiveHashTransactionBody

type CryptoAddLiveHashTransactionBody struct {

	// A hash of some credential or certificate, along with the keys of the entities that asserted it validity
	LiveHash *LiveHash `protobuf:"bytes,3,opt,name=liveHash,proto3" json:"liveHash,omitempty"`
	// contains filtered or unexported fields
}

At consensus, attaches the given livehash to the given account. The hash can be deleted by the key controlling the account, or by any of the keys associated to the livehash. Hence livehashes provide a revocation service for their implied credentials; for example, when an authority grants a credential to the account, the account owner will cosign with the authority (or authorities) to attach a hash of the credential to the account---hence proving the grant. If the credential is revoked, then any of the authorities may delete it (or the account owner). In this way, the livehash mechanism acts as a revocation service. An account cannot have two identical livehashes associated. To modify the list of keys in a livehash, the livehash should first be deleted, then recreated with a new list of keys.

func (*CryptoAddLiveHashTransactionBody) Descriptor deprecated

func (*CryptoAddLiveHashTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use CryptoAddLiveHashTransactionBody.ProtoReflect.Descriptor instead.

func (*CryptoAddLiveHashTransactionBody) GetLiveHash

func (x *CryptoAddLiveHashTransactionBody) GetLiveHash() *LiveHash

func (*CryptoAddLiveHashTransactionBody) ProtoMessage

func (*CryptoAddLiveHashTransactionBody) ProtoMessage()

func (*CryptoAddLiveHashTransactionBody) ProtoReflect

func (*CryptoAddLiveHashTransactionBody) Reset

func (*CryptoAddLiveHashTransactionBody) String

type CryptoCreateTransactionBody

type CryptoCreateTransactionBody struct {
	Key            *Key       `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`                        // The key that must sign each transfer out of the account. If receiverSigRequired is true, then it must also sign any transfer into the account.
	InitialBalance uint64     `protobuf:"varint,2,opt,name=initialBalance,proto3" json:"initialBalance,omitempty"` // The initial number of tinybars to put into the account
	ProxyAccountID *AccountID `protobuf:"bytes,3,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`  // ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
	// Deprecated: Do not use.
	SendRecordThreshold uint64 `protobuf:"varint,6,opt,name=sendRecordThreshold,proto3" json:"sendRecordThreshold,omitempty"` // [Deprecated]. The threshold amount (in tinybars) for which an account record is created for any send/withdraw transaction
	// Deprecated: Do not use.
	ReceiveRecordThreshold uint64    `protobuf:"varint,7,opt,name=receiveRecordThreshold,proto3" json:"receiveRecordThreshold,omitempty"` // [Deprecated]. The threshold amount (in tinybars) for which an account record is created for any receive/deposit transaction
	ReceiverSigRequired    bool      `protobuf:"varint,8,opt,name=receiverSigRequired,proto3" json:"receiverSigRequired,omitempty"`       // If true, this account's key must sign any transaction depositing into this account (in addition to all withdrawals)
	AutoRenewPeriod        *Duration `protobuf:"bytes,9,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`                // The account is charged to extend its expiration date every this many seconds. If it doesn't have enough balance, it extends as long as possible. If it is empty when it expires, then it is deleted.
	ShardID                *ShardID  `protobuf:"bytes,10,opt,name=shardID,proto3" json:"shardID,omitempty"`                               // The shard in which this account is created
	RealmID                *RealmID  `protobuf:"bytes,11,opt,name=realmID,proto3" json:"realmID,omitempty"`                               // The realm in which this account is created (leave this null to create a new realm)
	NewRealmAdminKey       *Key      `protobuf:"bytes,12,opt,name=newRealmAdminKey,proto3" json:"newRealmAdminKey,omitempty"`             // If realmID is null, then this the admin key for the new realm that will be created
	Memo                   string    `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"`                                     // The memo associated with the account (UTF-8 encoding max 100 bytes)
	// contains filtered or unexported fields
}

Create a new account. After the account is created, the AccountID for it is in the receipt. It can also be retrieved with a GetByKey query. Threshold values can be defined, and records are generated and stored for 25 hours for any transfer that exceeds the thresholds. This account is charged for each record generated, so the thresholds are useful for limiting record generation to happen only for large transactions.

The Key field is the key used to sign transactions for this account. If the account has receiverSigRequired set to true, then all cryptocurrency transfers must be signed by this account's key, both for transfers in and out. If it is false, then only transfers out have to be signed by it. When the account is created, the payer account is charged enough hbars so that the new account will not expire for the next autoRenewPeriod seconds. When it reaches the expiration time, the new account will then be automatically charged to renew for another autoRenewPeriod seconds. If it does not have enough hbars to renew for that long, then the remaining hbars are used to extend its expiration as long as possible. If it is has a zero balance when it expires, then it is deleted. This transaction must be signed by the payer account. If receiverSigRequired is false, then the transaction does not have to be signed by the keys in the keys field. If it is true, then it must be signed by them, in addition to the keys of the payer account. An entity (account, file, or smart contract instance) must be created in a particular realm. If the realmID is left null, then a new realm will be created with the given admin key. If a new realm has a null adminKey, then anyone can create/modify/delete entities in that realm. But if an admin key is given, then any transaction to create/modify/delete an entity in that realm must be signed by that key, though anyone can still call functions on smart contract instances that exist in that realm. A realm ceases to exist when everything within it has expired and no longer exists. The current API ignores shardID, realmID, and newRealmAdminKey, and creates everything in shard 0 and realm 0, with a null key. Future versions of the API will support multiple realms and multiple shards.

func (*CryptoCreateTransactionBody) Descriptor deprecated

func (*CryptoCreateTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use CryptoCreateTransactionBody.ProtoReflect.Descriptor instead.

func (*CryptoCreateTransactionBody) GetAutoRenewPeriod

func (x *CryptoCreateTransactionBody) GetAutoRenewPeriod() *Duration

func (*CryptoCreateTransactionBody) GetInitialBalance

func (x *CryptoCreateTransactionBody) GetInitialBalance() uint64

func (*CryptoCreateTransactionBody) GetKey

func (x *CryptoCreateTransactionBody) GetKey() *Key

func (*CryptoCreateTransactionBody) GetMemo

func (x *CryptoCreateTransactionBody) GetMemo() string

func (*CryptoCreateTransactionBody) GetNewRealmAdminKey

func (x *CryptoCreateTransactionBody) GetNewRealmAdminKey() *Key

func (*CryptoCreateTransactionBody) GetProxyAccountID

func (x *CryptoCreateTransactionBody) GetProxyAccountID() *AccountID

func (*CryptoCreateTransactionBody) GetRealmID

func (x *CryptoCreateTransactionBody) GetRealmID() *RealmID

func (*CryptoCreateTransactionBody) GetReceiveRecordThreshold deprecated

func (x *CryptoCreateTransactionBody) GetReceiveRecordThreshold() uint64

Deprecated: Do not use.

func (*CryptoCreateTransactionBody) GetReceiverSigRequired

func (x *CryptoCreateTransactionBody) GetReceiverSigRequired() bool

func (*CryptoCreateTransactionBody) GetSendRecordThreshold deprecated

func (x *CryptoCreateTransactionBody) GetSendRecordThreshold() uint64

Deprecated: Do not use.

func (*CryptoCreateTransactionBody) GetShardID

func (x *CryptoCreateTransactionBody) GetShardID() *ShardID

func (*CryptoCreateTransactionBody) ProtoMessage

func (*CryptoCreateTransactionBody) ProtoMessage()

func (*CryptoCreateTransactionBody) ProtoReflect

func (*CryptoCreateTransactionBody) Reset

func (x *CryptoCreateTransactionBody) Reset()

func (*CryptoCreateTransactionBody) String

func (x *CryptoCreateTransactionBody) String() string

type CryptoDeleteLiveHashTransactionBody

type CryptoDeleteLiveHashTransactionBody struct {

	// The account owning the livehash
	AccountOfLiveHash *AccountID `protobuf:"bytes,1,opt,name=accountOfLiveHash,proto3" json:"accountOfLiveHash,omitempty"`
	// The SHA-384 livehash to delete from the account
	LiveHashToDelete []byte `protobuf:"bytes,2,opt,name=liveHashToDelete,proto3" json:"liveHashToDelete,omitempty"`
	// contains filtered or unexported fields
}

At consensus, deletes a livehash associated to the given account. The transaction must be signed by either the key of the owning account, or at least one of the keys associated to the livehash.

func (*CryptoDeleteLiveHashTransactionBody) Descriptor deprecated

func (*CryptoDeleteLiveHashTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use CryptoDeleteLiveHashTransactionBody.ProtoReflect.Descriptor instead.

func (*CryptoDeleteLiveHashTransactionBody) GetAccountOfLiveHash

func (x *CryptoDeleteLiveHashTransactionBody) GetAccountOfLiveHash() *AccountID

func (*CryptoDeleteLiveHashTransactionBody) GetLiveHashToDelete

func (x *CryptoDeleteLiveHashTransactionBody) GetLiveHashToDelete() []byte

func (*CryptoDeleteLiveHashTransactionBody) ProtoMessage

func (*CryptoDeleteLiveHashTransactionBody) ProtoMessage()

func (*CryptoDeleteLiveHashTransactionBody) ProtoReflect

func (*CryptoDeleteLiveHashTransactionBody) Reset

func (*CryptoDeleteLiveHashTransactionBody) String

type CryptoDeleteTransactionBody

type CryptoDeleteTransactionBody struct {
	TransferAccountID *AccountID `protobuf:"bytes,1,opt,name=transferAccountID,proto3" json:"transferAccountID,omitempty"` // The account ID which will receive all remaining hbars
	DeleteAccountID   *AccountID `protobuf:"bytes,2,opt,name=deleteAccountID,proto3" json:"deleteAccountID,omitempty"`     // The account ID which should be deleted
	// contains filtered or unexported fields
}

Mark an account as deleted, moving all its current hbars to another account. It will remain in the ledger, marked as deleted, until it expires. Transfers into it a deleted account fail. But a deleted account can still have its expiration extended in the normal way.

func (*CryptoDeleteTransactionBody) Descriptor deprecated

func (*CryptoDeleteTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use CryptoDeleteTransactionBody.ProtoReflect.Descriptor instead.

func (*CryptoDeleteTransactionBody) GetDeleteAccountID

func (x *CryptoDeleteTransactionBody) GetDeleteAccountID() *AccountID

func (*CryptoDeleteTransactionBody) GetTransferAccountID

func (x *CryptoDeleteTransactionBody) GetTransferAccountID() *AccountID

func (*CryptoDeleteTransactionBody) ProtoMessage

func (*CryptoDeleteTransactionBody) ProtoMessage()

func (*CryptoDeleteTransactionBody) ProtoReflect

func (*CryptoDeleteTransactionBody) Reset

func (x *CryptoDeleteTransactionBody) Reset()

func (*CryptoDeleteTransactionBody) String

func (x *CryptoDeleteTransactionBody) String() string

type CryptoGetAccountBalanceQuery

type CryptoGetAccountBalanceQuery struct {
	Header *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	// Types that are assignable to BalanceSource:
	//	*CryptoGetAccountBalanceQuery_AccountID
	//	*CryptoGetAccountBalanceQuery_ContractID
	BalanceSource isCryptoGetAccountBalanceQuery_BalanceSource `protobuf_oneof:"balanceSource"`
	// contains filtered or unexported fields
}

Get the balance of a cryptocurrency account. This returns only the balance, so it is a smaller reply than CryptoGetInfo, which returns the balance plus additional information.

func (*CryptoGetAccountBalanceQuery) Descriptor deprecated

func (*CryptoGetAccountBalanceQuery) Descriptor() ([]byte, []int)

Deprecated: Use CryptoGetAccountBalanceQuery.ProtoReflect.Descriptor instead.

func (*CryptoGetAccountBalanceQuery) GetAccountID

func (x *CryptoGetAccountBalanceQuery) GetAccountID() *AccountID

func (*CryptoGetAccountBalanceQuery) GetBalanceSource

func (m *CryptoGetAccountBalanceQuery) GetBalanceSource() isCryptoGetAccountBalanceQuery_BalanceSource

func (*CryptoGetAccountBalanceQuery) GetContractID

func (x *CryptoGetAccountBalanceQuery) GetContractID() *ContractID

func (*CryptoGetAccountBalanceQuery) GetHeader

func (x *CryptoGetAccountBalanceQuery) GetHeader() *QueryHeader

func (*CryptoGetAccountBalanceQuery) ProtoMessage

func (*CryptoGetAccountBalanceQuery) ProtoMessage()

func (*CryptoGetAccountBalanceQuery) ProtoReflect

func (*CryptoGetAccountBalanceQuery) Reset

func (x *CryptoGetAccountBalanceQuery) Reset()

func (*CryptoGetAccountBalanceQuery) String

type CryptoGetAccountBalanceQuery_AccountID

type CryptoGetAccountBalanceQuery_AccountID struct {
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3,oneof"` // The account ID for which information is requested
}

type CryptoGetAccountBalanceQuery_ContractID

type CryptoGetAccountBalanceQuery_ContractID struct {
	ContractID *ContractID `protobuf:"bytes,3,opt,name=contractID,proto3,oneof"` // The account ID for which information is requested
}

type CryptoGetAccountBalanceResponse

type CryptoGetAccountBalanceResponse struct {
	Header        *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`               // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither.
	AccountID     *AccountID      `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`         // The account ID that is being described (this is useful with state proofs, for proving to a third party)
	Balance       uint64          `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"`            // The current balance, in tinybars.
	TokenBalances []*TokenBalance `protobuf:"bytes,4,rep,name=tokenBalances,proto3" json:"tokenBalances,omitempty"` // The token balances possessed by the target account.
	// contains filtered or unexported fields
}

Response when the client sends the node CryptoGetAccountBalanceQuery

func (*CryptoGetAccountBalanceResponse) Descriptor deprecated

func (*CryptoGetAccountBalanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use CryptoGetAccountBalanceResponse.ProtoReflect.Descriptor instead.

func (*CryptoGetAccountBalanceResponse) GetAccountID

func (x *CryptoGetAccountBalanceResponse) GetAccountID() *AccountID

func (*CryptoGetAccountBalanceResponse) GetBalance

func (x *CryptoGetAccountBalanceResponse) GetBalance() uint64

func (*CryptoGetAccountBalanceResponse) GetHeader

func (*CryptoGetAccountBalanceResponse) GetTokenBalances

func (x *CryptoGetAccountBalanceResponse) GetTokenBalances() []*TokenBalance

func (*CryptoGetAccountBalanceResponse) ProtoMessage

func (*CryptoGetAccountBalanceResponse) ProtoMessage()

func (*CryptoGetAccountBalanceResponse) ProtoReflect

func (*CryptoGetAccountBalanceResponse) Reset

func (*CryptoGetAccountBalanceResponse) String

type CryptoGetAccountRecordsQuery

type CryptoGetAccountRecordsQuery struct {
	Header    *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`       // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	AccountID *AccountID   `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"` // The account ID for which the records should be retrieved
	// contains filtered or unexported fields
}

Requests records of all transactions for which the given account was the effective payer in the last 3 minutes of consensus time and <tt>ledger.keepRecordsInState=true</tt> was true during <tt>handleTransaction</tt>.

func (*CryptoGetAccountRecordsQuery) Descriptor deprecated

func (*CryptoGetAccountRecordsQuery) Descriptor() ([]byte, []int)

Deprecated: Use CryptoGetAccountRecordsQuery.ProtoReflect.Descriptor instead.

func (*CryptoGetAccountRecordsQuery) GetAccountID

func (x *CryptoGetAccountRecordsQuery) GetAccountID() *AccountID

func (*CryptoGetAccountRecordsQuery) GetHeader

func (x *CryptoGetAccountRecordsQuery) GetHeader() *QueryHeader

func (*CryptoGetAccountRecordsQuery) ProtoMessage

func (*CryptoGetAccountRecordsQuery) ProtoMessage()

func (*CryptoGetAccountRecordsQuery) ProtoReflect

func (*CryptoGetAccountRecordsQuery) Reset

func (x *CryptoGetAccountRecordsQuery) Reset()

func (*CryptoGetAccountRecordsQuery) String

type CryptoGetAccountRecordsResponse

type CryptoGetAccountRecordsResponse struct {
	Header    *ResponseHeader      `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`       // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	AccountID *AccountID           `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"` // The account that this record is for
	Records   []*TransactionRecord `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`     // List of records
	// contains filtered or unexported fields
}

Returns records of all transactions for which the given account was the effective payer in the last 3 minutes of consensus time and <tt>ledger.keepRecordsInState=true</tt> was true during <tt>handleTransaction</tt>.

func (*CryptoGetAccountRecordsResponse) Descriptor deprecated

func (*CryptoGetAccountRecordsResponse) Descriptor() ([]byte, []int)

Deprecated: Use CryptoGetAccountRecordsResponse.ProtoReflect.Descriptor instead.

func (*CryptoGetAccountRecordsResponse) GetAccountID

func (x *CryptoGetAccountRecordsResponse) GetAccountID() *AccountID

func (*CryptoGetAccountRecordsResponse) GetHeader

func (*CryptoGetAccountRecordsResponse) GetRecords

func (*CryptoGetAccountRecordsResponse) ProtoMessage

func (*CryptoGetAccountRecordsResponse) ProtoMessage()

func (*CryptoGetAccountRecordsResponse) ProtoReflect

func (*CryptoGetAccountRecordsResponse) Reset

func (*CryptoGetAccountRecordsResponse) String

type CryptoGetInfoQuery

type CryptoGetInfoQuery struct {
	Header    *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`       // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	AccountID *AccountID   `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"` // The account ID for which information is requested
	// contains filtered or unexported fields
}

Get all the information about an account, including the balance. This does not get the list of account records.

func (*CryptoGetInfoQuery) Descriptor deprecated

func (*CryptoGetInfoQuery) Descriptor() ([]byte, []int)

Deprecated: Use CryptoGetInfoQuery.ProtoReflect.Descriptor instead.

func (*CryptoGetInfoQuery) GetAccountID

func (x *CryptoGetInfoQuery) GetAccountID() *AccountID

func (*CryptoGetInfoQuery) GetHeader

func (x *CryptoGetInfoQuery) GetHeader() *QueryHeader

func (*CryptoGetInfoQuery) ProtoMessage

func (*CryptoGetInfoQuery) ProtoMessage()

func (*CryptoGetInfoQuery) ProtoReflect

func (x *CryptoGetInfoQuery) ProtoReflect() protoreflect.Message

func (*CryptoGetInfoQuery) Reset

func (x *CryptoGetInfoQuery) Reset()

func (*CryptoGetInfoQuery) String

func (x *CryptoGetInfoQuery) String() string

type CryptoGetInfoResponse

type CryptoGetInfoResponse struct {
	Header      *ResponseHeader                    `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`           // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	AccountInfo *CryptoGetInfoResponse_AccountInfo `protobuf:"bytes,2,opt,name=accountInfo,proto3" json:"accountInfo,omitempty"` // Info about the account (a state proof can be generated for this)
	// contains filtered or unexported fields
}

Response when the client sends the node CryptoGetInfoQuery

func (*CryptoGetInfoResponse) Descriptor deprecated

func (*CryptoGetInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use CryptoGetInfoResponse.ProtoReflect.Descriptor instead.

func (*CryptoGetInfoResponse) GetAccountInfo

func (*CryptoGetInfoResponse) GetHeader

func (x *CryptoGetInfoResponse) GetHeader() *ResponseHeader

func (*CryptoGetInfoResponse) ProtoMessage

func (*CryptoGetInfoResponse) ProtoMessage()

func (*CryptoGetInfoResponse) ProtoReflect

func (x *CryptoGetInfoResponse) ProtoReflect() protoreflect.Message

func (*CryptoGetInfoResponse) Reset

func (x *CryptoGetInfoResponse) Reset()

func (*CryptoGetInfoResponse) String

func (x *CryptoGetInfoResponse) String() string

type CryptoGetInfoResponse_AccountInfo

type CryptoGetInfoResponse_AccountInfo struct {
	AccountID         *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"`                 // The account ID for which this information applies
	ContractAccountID string     `protobuf:"bytes,2,opt,name=contractAccountID,proto3" json:"contractAccountID,omitempty"` // The Contract Account ID comprising of both the contract instance and the cryptocurrency account owned by the contract instance, in the format used by Solidity
	Deleted           bool       `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`                    // If true, then this account has been deleted, it will disappear when it expires, and all transactions for it will fail except the transaction to extend its expiration date
	ProxyAccountID    *AccountID `protobuf:"bytes,4,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`       // The Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
	ProxyReceived     int64      `protobuf:"varint,6,opt,name=proxyReceived,proto3" json:"proxyReceived,omitempty"`        // The total number of tinybars proxy staked to this account
	Key               *Key       `protobuf:"bytes,7,opt,name=key,proto3" json:"key,omitempty"`                             // The key for the account, which must sign in order to transfer out, or to modify the account in any way other than extending its expiration date.
	Balance           uint64     `protobuf:"varint,8,opt,name=balance,proto3" json:"balance,omitempty"`                    // The current balance of account in tinybars
	// [Deprecated]. The threshold amount, in tinybars, at which a record is created of any transaction that decreases the balance of this account by more than the threshold
	//
	// Deprecated: Do not use.
	GenerateSendRecordThreshold uint64 `protobuf:"varint,9,opt,name=generateSendRecordThreshold,proto3" json:"generateSendRecordThreshold,omitempty"`
	// [Deprecated]. The threshold amount, in tinybars, at which a record is created of any transaction that increases the balance of this account by more than the threshold
	//
	// Deprecated: Do not use.
	GenerateReceiveRecordThreshold uint64               `protobuf:"varint,10,opt,name=generateReceiveRecordThreshold,proto3" json:"generateReceiveRecordThreshold,omitempty"`
	ReceiverSigRequired            bool                 `protobuf:"varint,11,opt,name=receiverSigRequired,proto3" json:"receiverSigRequired,omitempty"` // If true, no transaction can transfer to this account unless signed by this account's key
	ExpirationTime                 *Timestamp           `protobuf:"bytes,12,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`            // The TimeStamp time at which this account is set to expire
	AutoRenewPeriod                *Duration            `protobuf:"bytes,13,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`          // The duration for expiration time will extend every this many seconds. If there are insufficient funds, then it extends as long as possible. If it is empty when it expires, then it is deleted.
	LiveHashes                     []*LiveHash          `protobuf:"bytes,14,rep,name=liveHashes,proto3" json:"liveHashes,omitempty"`                    // All of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it)
	TokenRelationships             []*TokenRelationship `protobuf:"bytes,15,rep,name=tokenRelationships,proto3" json:"tokenRelationships,omitempty"`    // All tokens related to this account
	Memo                           string               `protobuf:"bytes,16,opt,name=memo,proto3" json:"memo,omitempty"`                                // The memo associated with the account
	OwnedNfts                      int64                `protobuf:"varint,17,opt,name=ownedNfts,proto3" json:"ownedNfts,omitempty"`                     // The number of NFTs owned by this account
	// contains filtered or unexported fields
}

func (*CryptoGetInfoResponse_AccountInfo) Descriptor deprecated

func (*CryptoGetInfoResponse_AccountInfo) Descriptor() ([]byte, []int)

Deprecated: Use CryptoGetInfoResponse_AccountInfo.ProtoReflect.Descriptor instead.

func (*CryptoGetInfoResponse_AccountInfo) GetAccountID

func (x *CryptoGetInfoResponse_AccountInfo) GetAccountID() *AccountID

func (*CryptoGetInfoResponse_AccountInfo) GetAutoRenewPeriod

func (x *CryptoGetInfoResponse_AccountInfo) GetAutoRenewPeriod() *Duration

func (*CryptoGetInfoResponse_AccountInfo) GetBalance

func (x *CryptoGetInfoResponse_AccountInfo) GetBalance() uint64

func (*CryptoGetInfoResponse_AccountInfo) GetContractAccountID

func (x *CryptoGetInfoResponse_AccountInfo) GetContractAccountID() string

func (*CryptoGetInfoResponse_AccountInfo) GetDeleted

func (x *CryptoGetInfoResponse_AccountInfo) GetDeleted() bool

func (*CryptoGetInfoResponse_AccountInfo) GetExpirationTime

func (x *CryptoGetInfoResponse_AccountInfo) GetExpirationTime() *Timestamp

func (*CryptoGetInfoResponse_AccountInfo) GetGenerateReceiveRecordThreshold deprecated

func (x *CryptoGetInfoResponse_AccountInfo) GetGenerateReceiveRecordThreshold() uint64

Deprecated: Do not use.

func (*CryptoGetInfoResponse_AccountInfo) GetGenerateSendRecordThreshold deprecated

func (x *CryptoGetInfoResponse_AccountInfo) GetGenerateSendRecordThreshold() uint64

Deprecated: Do not use.

func (*CryptoGetInfoResponse_AccountInfo) GetKey

func (*CryptoGetInfoResponse_AccountInfo) GetLiveHashes

func (x *CryptoGetInfoResponse_AccountInfo) GetLiveHashes() []*LiveHash

func (*CryptoGetInfoResponse_AccountInfo) GetMemo

func (*CryptoGetInfoResponse_AccountInfo) GetOwnedNfts

func (x *CryptoGetInfoResponse_AccountInfo) GetOwnedNfts() int64

func (*CryptoGetInfoResponse_AccountInfo) GetProxyAccountID

func (x *CryptoGetInfoResponse_AccountInfo) GetProxyAccountID() *AccountID

func (*CryptoGetInfoResponse_AccountInfo) GetProxyReceived

func (x *CryptoGetInfoResponse_AccountInfo) GetProxyReceived() int64

func (*CryptoGetInfoResponse_AccountInfo) GetReceiverSigRequired

func (x *CryptoGetInfoResponse_AccountInfo) GetReceiverSigRequired() bool

func (*CryptoGetInfoResponse_AccountInfo) GetTokenRelationships

func (x *CryptoGetInfoResponse_AccountInfo) GetTokenRelationships() []*TokenRelationship

func (*CryptoGetInfoResponse_AccountInfo) ProtoMessage

func (*CryptoGetInfoResponse_AccountInfo) ProtoMessage()

func (*CryptoGetInfoResponse_AccountInfo) ProtoReflect

func (*CryptoGetInfoResponse_AccountInfo) Reset

func (*CryptoGetInfoResponse_AccountInfo) String

type CryptoGetLiveHashQuery

type CryptoGetLiveHashQuery struct {

	// Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	Header *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// The account to which the livehash is associated
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// The SHA-384 data in the livehash
	Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

Requests a livehash associated to an account.

func (*CryptoGetLiveHashQuery) Descriptor deprecated

func (*CryptoGetLiveHashQuery) Descriptor() ([]byte, []int)

Deprecated: Use CryptoGetLiveHashQuery.ProtoReflect.Descriptor instead.

func (*CryptoGetLiveHashQuery) GetAccountID

func (x *CryptoGetLiveHashQuery) GetAccountID() *AccountID

func (*CryptoGetLiveHashQuery) GetHash

func (x *CryptoGetLiveHashQuery) GetHash() []byte

func (*CryptoGetLiveHashQuery) GetHeader

func (x *CryptoGetLiveHashQuery) GetHeader() *QueryHeader

func (*CryptoGetLiveHashQuery) ProtoMessage

func (*CryptoGetLiveHashQuery) ProtoMessage()

func (*CryptoGetLiveHashQuery) ProtoReflect

func (x *CryptoGetLiveHashQuery) ProtoReflect() protoreflect.Message

func (*CryptoGetLiveHashQuery) Reset

func (x *CryptoGetLiveHashQuery) Reset()

func (*CryptoGetLiveHashQuery) String

func (x *CryptoGetLiveHashQuery) String() string

type CryptoGetLiveHashResponse

type CryptoGetLiveHashResponse struct {

	// Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// The livehash, if present
	LiveHash *LiveHash `protobuf:"bytes,2,opt,name=liveHash,proto3" json:"liveHash,omitempty"`
	// contains filtered or unexported fields
}

Returns the full livehash associated to an account, if it is present. Note that the only way to obtain a state proof exhibiting the absence of a livehash from an account is to retrieve a state proof of the entire account with its list of livehashes.

func (*CryptoGetLiveHashResponse) Descriptor deprecated

func (*CryptoGetLiveHashResponse) Descriptor() ([]byte, []int)

Deprecated: Use CryptoGetLiveHashResponse.ProtoReflect.Descriptor instead.

func (*CryptoGetLiveHashResponse) GetHeader

func (x *CryptoGetLiveHashResponse) GetHeader() *ResponseHeader

func (*CryptoGetLiveHashResponse) GetLiveHash

func (x *CryptoGetLiveHashResponse) GetLiveHash() *LiveHash

func (*CryptoGetLiveHashResponse) ProtoMessage

func (*CryptoGetLiveHashResponse) ProtoMessage()

func (*CryptoGetLiveHashResponse) ProtoReflect

func (*CryptoGetLiveHashResponse) Reset

func (x *CryptoGetLiveHashResponse) Reset()

func (*CryptoGetLiveHashResponse) String

func (x *CryptoGetLiveHashResponse) String() string

type CryptoGetStakersQuery

type CryptoGetStakersQuery struct {
	Header    *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`       // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	AccountID *AccountID   `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"` // The Account ID for which the records should be retrieved
	// contains filtered or unexported fields
}

Get all the accounts that are proxy staking to this account. For each of them, give the amount currently staked. This is not yet implemented, but will be in a future version of the API.

func (*CryptoGetStakersQuery) Descriptor deprecated

func (*CryptoGetStakersQuery) Descriptor() ([]byte, []int)

Deprecated: Use CryptoGetStakersQuery.ProtoReflect.Descriptor instead.

func (*CryptoGetStakersQuery) GetAccountID

func (x *CryptoGetStakersQuery) GetAccountID() *AccountID

func (*CryptoGetStakersQuery) GetHeader

func (x *CryptoGetStakersQuery) GetHeader() *QueryHeader

func (*CryptoGetStakersQuery) ProtoMessage

func (*CryptoGetStakersQuery) ProtoMessage()

func (*CryptoGetStakersQuery) ProtoReflect

func (x *CryptoGetStakersQuery) ProtoReflect() protoreflect.Message

func (*CryptoGetStakersQuery) Reset

func (x *CryptoGetStakersQuery) Reset()

func (*CryptoGetStakersQuery) String

func (x *CryptoGetStakersQuery) String() string

type CryptoGetStakersResponse

type CryptoGetStakersResponse struct {
	Header  *ResponseHeader  `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`   // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	Stakers *AllProxyStakers `protobuf:"bytes,3,opt,name=stakers,proto3" json:"stakers,omitempty"` // List of accounts proxy staking to this account, and the amount each is currently proxy staking
	// contains filtered or unexported fields
}

Response when the client sends the node CryptoGetStakersQuery

func (*CryptoGetStakersResponse) Descriptor deprecated

func (*CryptoGetStakersResponse) Descriptor() ([]byte, []int)

Deprecated: Use CryptoGetStakersResponse.ProtoReflect.Descriptor instead.

func (*CryptoGetStakersResponse) GetHeader

func (x *CryptoGetStakersResponse) GetHeader() *ResponseHeader

func (*CryptoGetStakersResponse) GetStakers

func (x *CryptoGetStakersResponse) GetStakers() *AllProxyStakers

func (*CryptoGetStakersResponse) ProtoMessage

func (*CryptoGetStakersResponse) ProtoMessage()

func (*CryptoGetStakersResponse) ProtoReflect

func (x *CryptoGetStakersResponse) ProtoReflect() protoreflect.Message

func (*CryptoGetStakersResponse) Reset

func (x *CryptoGetStakersResponse) Reset()

func (*CryptoGetStakersResponse) String

func (x *CryptoGetStakersResponse) String() string

type CryptoServiceClient

type CryptoServiceClient interface {
	// Creates a new account by submitting the transaction
	CreateAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Updates an account by submitting the transaction
	UpdateAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Initiates a transfer by submitting the transaction
	CryptoTransfer(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Deletes and account by submitting the transaction
	CryptoDelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// (NOT CURRENTLY SUPPORTED) Adds a livehash
	AddLiveHash(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// (NOT CURRENTLY SUPPORTED) Deletes a livehash
	DeleteLiveHash(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// (NOT CURRENTLY SUPPORTED) Retrieves a livehash for an account
	GetLiveHash(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Returns all transactions in the last 180s of consensus time for which the given account was the effective payer <b>and</b> network property <tt>ledger.keepRecordsInState</tt> was <tt>true</tt>.
	GetAccountRecords(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Retrieves the balance of an account
	CryptoGetBalance(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Retrieves the metadata of an account
	GetAccountInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Retrieves the latest receipt for a transaction that is either awaiting consensus, or reached consensus in the last 180 seconds
	GetTransactionReceipts(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// (NOT CURRENTLY SUPPORTED) Returns the records of transactions recently funded by an account
	GetFastTransactionRecord(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Retrieves the record of a transaction that is either awaiting consensus, or reached consensus in the last 180 seconds
	GetTxRecordByTxID(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// (NOT CURRENTLY SUPPORTED) Retrieves the stakers for a node by account id
	GetStakersByAccountID(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
}

CryptoServiceClient is the client API for CryptoService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CryptoServiceServer

type CryptoServiceServer interface {
	// Creates a new account by submitting the transaction
	CreateAccount(context.Context, *Transaction) (*TransactionResponse, error)
	// Updates an account by submitting the transaction
	UpdateAccount(context.Context, *Transaction) (*TransactionResponse, error)
	// Initiates a transfer by submitting the transaction
	CryptoTransfer(context.Context, *Transaction) (*TransactionResponse, error)
	// Deletes and account by submitting the transaction
	CryptoDelete(context.Context, *Transaction) (*TransactionResponse, error)
	// (NOT CURRENTLY SUPPORTED) Adds a livehash
	AddLiveHash(context.Context, *Transaction) (*TransactionResponse, error)
	// (NOT CURRENTLY SUPPORTED) Deletes a livehash
	DeleteLiveHash(context.Context, *Transaction) (*TransactionResponse, error)
	// (NOT CURRENTLY SUPPORTED) Retrieves a livehash for an account
	GetLiveHash(context.Context, *Query) (*Response, error)
	// Returns all transactions in the last 180s of consensus time for which the given account was the effective payer <b>and</b> network property <tt>ledger.keepRecordsInState</tt> was <tt>true</tt>.
	GetAccountRecords(context.Context, *Query) (*Response, error)
	// Retrieves the balance of an account
	CryptoGetBalance(context.Context, *Query) (*Response, error)
	// Retrieves the metadata of an account
	GetAccountInfo(context.Context, *Query) (*Response, error)
	// Retrieves the latest receipt for a transaction that is either awaiting consensus, or reached consensus in the last 180 seconds
	GetTransactionReceipts(context.Context, *Query) (*Response, error)
	// (NOT CURRENTLY SUPPORTED) Returns the records of transactions recently funded by an account
	GetFastTransactionRecord(context.Context, *Query) (*Response, error)
	// Retrieves the record of a transaction that is either awaiting consensus, or reached consensus in the last 180 seconds
	GetTxRecordByTxID(context.Context, *Query) (*Response, error)
	// (NOT CURRENTLY SUPPORTED) Retrieves the stakers for a node by account id
	GetStakersByAccountID(context.Context, *Query) (*Response, error)
	// contains filtered or unexported methods
}

CryptoServiceServer is the server API for CryptoService service. All implementations must embed UnimplementedCryptoServiceServer for forward compatibility

type CryptoTransferTransactionBody

type CryptoTransferTransactionBody struct {
	Transfers      *TransferList        `protobuf:"bytes,1,opt,name=transfers,proto3" json:"transfers,omitempty"`           // The desired hbar balance adjustments
	TokenTransfers []*TokenTransferList `protobuf:"bytes,2,rep,name=tokenTransfers,proto3" json:"tokenTransfers,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
	// 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 (*CryptoTransferTransactionBody) Reset

func (x *CryptoTransferTransactionBody) Reset()

func (*CryptoTransferTransactionBody) String

type CryptoUpdateTransactionBody

type CryptoUpdateTransactionBody struct {
	AccountIDToUpdate *AccountID `protobuf:"bytes,2,opt,name=accountIDToUpdate,proto3" json:"accountIDToUpdate,omitempty"` // The account ID which is being updated in this transaction
	Key               *Key       `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`                             // The new key
	ProxyAccountID    *AccountID `protobuf:"bytes,4,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`       // ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn't a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
	// Deprecated: Do not use.
	ProxyFraction int32 `protobuf:"varint,5,opt,name=proxyFraction,proto3" json:"proxyFraction,omitempty"` // [Deprecated]. Payments earned from proxy staking are shared between the node and this account, with proxyFraction / 10000 going to this account
	// Types that are assignable to SendRecordThresholdField:
	//	*CryptoUpdateTransactionBody_SendRecordThreshold
	//	*CryptoUpdateTransactionBody_SendRecordThresholdWrapper
	SendRecordThresholdField isCryptoUpdateTransactionBody_SendRecordThresholdField `protobuf_oneof:"sendRecordThresholdField"`
	// Types that are assignable to ReceiveRecordThresholdField:
	//	*CryptoUpdateTransactionBody_ReceiveRecordThreshold
	//	*CryptoUpdateTransactionBody_ReceiveRecordThresholdWrapper
	ReceiveRecordThresholdField isCryptoUpdateTransactionBody_ReceiveRecordThresholdField `protobuf_oneof:"receiveRecordThresholdField"`
	AutoRenewPeriod             *Duration                                                 `protobuf:"bytes,8,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"` // The duration in which it will automatically extend the expiration period. If it doesn't have enough balance, it extends as long as possible. If it is empty when it expires, then it is deleted.
	ExpirationTime              *Timestamp                                                `protobuf:"bytes,9,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`   // The new expiration time to extend to (ignored if equal to or before the current one)
	// Types that are assignable to ReceiverSigRequiredField:
	//	*CryptoUpdateTransactionBody_ReceiverSigRequired
	//	*CryptoUpdateTransactionBody_ReceiverSigRequiredWrapper
	ReceiverSigRequiredField isCryptoUpdateTransactionBody_ReceiverSigRequiredField `protobuf_oneof:"receiverSigRequiredField"`
	Memo                     *wrappers.StringValue                                  `protobuf:"bytes,14,opt,name=memo,proto3" json:"memo,omitempty"` // If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
	// contains filtered or unexported fields
}

Change properties for the given account. Any null field is ignored (left unchanged). This transaction must be signed by the existing key for this account. If the transaction is changing the key field, then the transaction must be signed by both the old key (from before the change) and the new key. The old key must sign for security. The new key must sign as a safeguard to avoid accidentally changing to an invalid key, and then having no way to recover.

func (*CryptoUpdateTransactionBody) Descriptor deprecated

func (*CryptoUpdateTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use CryptoUpdateTransactionBody.ProtoReflect.Descriptor instead.

func (*CryptoUpdateTransactionBody) GetAccountIDToUpdate

func (x *CryptoUpdateTransactionBody) GetAccountIDToUpdate() *AccountID

func (*CryptoUpdateTransactionBody) GetAutoRenewPeriod

func (x *CryptoUpdateTransactionBody) GetAutoRenewPeriod() *Duration

func (*CryptoUpdateTransactionBody) GetExpirationTime

func (x *CryptoUpdateTransactionBody) GetExpirationTime() *Timestamp

func (*CryptoUpdateTransactionBody) GetKey

func (x *CryptoUpdateTransactionBody) GetKey() *Key

func (*CryptoUpdateTransactionBody) GetMemo

func (*CryptoUpdateTransactionBody) GetProxyAccountID

func (x *CryptoUpdateTransactionBody) GetProxyAccountID() *AccountID

func (*CryptoUpdateTransactionBody) GetProxyFraction deprecated

func (x *CryptoUpdateTransactionBody) GetProxyFraction() int32

Deprecated: Do not use.

func (*CryptoUpdateTransactionBody) GetReceiveRecordThreshold deprecated

func (x *CryptoUpdateTransactionBody) GetReceiveRecordThreshold() uint64

Deprecated: Do not use.

func (*CryptoUpdateTransactionBody) GetReceiveRecordThresholdField

func (m *CryptoUpdateTransactionBody) GetReceiveRecordThresholdField() isCryptoUpdateTransactionBody_ReceiveRecordThresholdField

func (*CryptoUpdateTransactionBody) GetReceiveRecordThresholdWrapper deprecated

func (x *CryptoUpdateTransactionBody) GetReceiveRecordThresholdWrapper() *wrappers.UInt64Value

Deprecated: Do not use.

func (*CryptoUpdateTransactionBody) GetReceiverSigRequired deprecated

func (x *CryptoUpdateTransactionBody) GetReceiverSigRequired() bool

Deprecated: Do not use.

func (*CryptoUpdateTransactionBody) GetReceiverSigRequiredField

func (m *CryptoUpdateTransactionBody) GetReceiverSigRequiredField() isCryptoUpdateTransactionBody_ReceiverSigRequiredField

func (*CryptoUpdateTransactionBody) GetReceiverSigRequiredWrapper

func (x *CryptoUpdateTransactionBody) GetReceiverSigRequiredWrapper() *wrappers.BoolValue

func (*CryptoUpdateTransactionBody) GetSendRecordThreshold deprecated

func (x *CryptoUpdateTransactionBody) GetSendRecordThreshold() uint64

Deprecated: Do not use.

func (*CryptoUpdateTransactionBody) GetSendRecordThresholdField

func (m *CryptoUpdateTransactionBody) GetSendRecordThresholdField() isCryptoUpdateTransactionBody_SendRecordThresholdField

func (*CryptoUpdateTransactionBody) GetSendRecordThresholdWrapper deprecated

func (x *CryptoUpdateTransactionBody) GetSendRecordThresholdWrapper() *wrappers.UInt64Value

Deprecated: Do not use.

func (*CryptoUpdateTransactionBody) ProtoMessage

func (*CryptoUpdateTransactionBody) ProtoMessage()

func (*CryptoUpdateTransactionBody) ProtoReflect

func (*CryptoUpdateTransactionBody) Reset

func (x *CryptoUpdateTransactionBody) Reset()

func (*CryptoUpdateTransactionBody) String

func (x *CryptoUpdateTransactionBody) String() string

type CryptoUpdateTransactionBody_ReceiveRecordThreshold

type CryptoUpdateTransactionBody_ReceiveRecordThreshold struct {
	// Deprecated: Do not use.
	ReceiveRecordThreshold uint64 `protobuf:"varint,7,opt,name=receiveRecordThreshold,proto3,oneof"` // [Deprecated]. The new threshold amount (in tinybars) for which an account record is created for any receive/deposit transaction.
}

type CryptoUpdateTransactionBody_ReceiveRecordThresholdWrapper

type CryptoUpdateTransactionBody_ReceiveRecordThresholdWrapper struct {
	// Deprecated: Do not use.
	ReceiveRecordThresholdWrapper *wrappers.UInt64Value `protobuf:"bytes,12,opt,name=receiveRecordThresholdWrapper,proto3,oneof"` // [Deprecated]. The new threshold amount (in tinybars) for which an account record is created for any receive/deposit transaction.
}

type CryptoUpdateTransactionBody_ReceiverSigRequired

type CryptoUpdateTransactionBody_ReceiverSigRequired struct {
	// Deprecated: Do not use.
	ReceiverSigRequired bool `protobuf:"varint,10,opt,name=receiverSigRequired,proto3,oneof"` // [Deprecated] Do NOT use this field to set a false value because the server cannot distinguish from the default value. Use receiverSigRequiredWrapper field for this purpose.
}

type CryptoUpdateTransactionBody_ReceiverSigRequiredWrapper

type CryptoUpdateTransactionBody_ReceiverSigRequiredWrapper struct {
	ReceiverSigRequiredWrapper *wrappers.BoolValue `protobuf:"bytes,13,opt,name=receiverSigRequiredWrapper,proto3,oneof"` // If true, this account's key must sign any transaction depositing into this account (in addition to all withdrawals)
}

type CryptoUpdateTransactionBody_SendRecordThreshold

type CryptoUpdateTransactionBody_SendRecordThreshold struct {
	// Deprecated: Do not use.
	SendRecordThreshold uint64 `protobuf:"varint,6,opt,name=sendRecordThreshold,proto3,oneof"` // [Deprecated]. The new threshold amount (in tinybars) for which an account record is created for any send/withdraw transaction
}

type CryptoUpdateTransactionBody_SendRecordThresholdWrapper

type CryptoUpdateTransactionBody_SendRecordThresholdWrapper struct {
	// Deprecated: Do not use.
	SendRecordThresholdWrapper *wrappers.UInt64Value `protobuf:"bytes,11,opt,name=sendRecordThresholdWrapper,proto3,oneof"` // [Deprecated]. The new threshold amount (in tinybars) for which an account record is created for any send/withdraw transaction
}

type CurrentAndNextFeeSchedule

type CurrentAndNextFeeSchedule struct {
	CurrentFeeSchedule *FeeSchedule `protobuf:"bytes,1,opt,name=currentFeeSchedule,proto3" json:"currentFeeSchedule,omitempty"` // Contains current Fee Schedule
	NextFeeSchedule    *FeeSchedule `protobuf:"bytes,2,opt,name=nextFeeSchedule,proto3" json:"nextFeeSchedule,omitempty"`       // Contains next Fee Schedule
	// 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 (*CurrentAndNextFeeSchedule) Reset

func (x *CurrentAndNextFeeSchedule) Reset()

func (*CurrentAndNextFeeSchedule) String

func (x *CurrentAndNextFeeSchedule) String() string

type CustomFee added in v0.2.0

type CustomFee struct {

	// Types that are assignable to Fee:
	//	*CustomFee_FixedFee
	//	*CustomFee_FractionalFee
	Fee                   isCustomFee_Fee `protobuf_oneof:"fee"`
	FeeCollectorAccountId *AccountID      `` // The account to receive the custom fee
	/* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

A transfer fee to assess during a CryptoTransfer that transfers units of the token to which the fee is attached. A custom fee may be either fixed or fractional, and must specify a fee collector account to receive the assessed fees. Only positive fees may be assessed.

func (*CustomFee) Descriptor deprecated added in v0.2.0

func (*CustomFee) Descriptor() ([]byte, []int)

Deprecated: Use CustomFee.ProtoReflect.Descriptor instead.

func (*CustomFee) GetFee added in v0.2.0

func (m *CustomFee) GetFee() isCustomFee_Fee

func (*CustomFee) GetFeeCollectorAccountId added in v0.2.0

func (x *CustomFee) GetFeeCollectorAccountId() *AccountID

func (*CustomFee) GetFixedFee added in v0.2.0

func (x *CustomFee) GetFixedFee() *FixedFee

func (*CustomFee) GetFractionalFee added in v0.2.0

func (x *CustomFee) GetFractionalFee() *FractionalFee

func (*CustomFee) ProtoMessage added in v0.2.0

func (*CustomFee) ProtoMessage()

func (*CustomFee) ProtoReflect added in v0.2.0

func (x *CustomFee) ProtoReflect() protoreflect.Message

func (*CustomFee) Reset added in v0.2.0

func (x *CustomFee) Reset()

func (*CustomFee) String added in v0.2.0

func (x *CustomFee) String() string

type CustomFee_FixedFee added in v0.2.0

type CustomFee_FixedFee struct {
	FixedFee *FixedFee `protobuf:"bytes,1,opt,name=fixed_fee,json=fixedFee,proto3,oneof"` // Fixed fee to be charged
}

type CustomFee_FractionalFee added in v0.2.0

type CustomFee_FractionalFee struct {
	FractionalFee *FractionalFee `protobuf:"bytes,2,opt,name=fractional_fee,json=fractionalFee,proto3,oneof"` // Fractional fee to be charged
}

type Duration

type Duration struct {
	Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` // The number of seconds
	// contains filtered or unexported fields
}

A length of time in seconds.

func (*Duration) Descriptor deprecated

func (*Duration) Descriptor() ([]byte, []int)

Deprecated: Use Duration.ProtoReflect.Descriptor instead.

func (*Duration) GetSeconds

func (x *Duration) GetSeconds() int64

func (*Duration) ProtoMessage

func (*Duration) ProtoMessage()

func (*Duration) ProtoReflect

func (x *Duration) ProtoReflect() protoreflect.Message

func (*Duration) Reset

func (x *Duration) Reset()

func (*Duration) String

func (x *Duration) String() string

type EntityID

type EntityID struct {

	// Types that are assignable to Entity:
	//	*EntityID_AccountID
	//	*EntityID_LiveHash
	//	*EntityID_FileID
	//	*EntityID_ContractID
	Entity isEntityID_Entity `protobuf_oneof:"entity"`
	// contains filtered or unexported fields
}

the ID for a single entity (account, livehash, file, or smart contract instance)

func (*EntityID) Descriptor deprecated

func (*EntityID) Descriptor() ([]byte, []int)

Deprecated: Use EntityID.ProtoReflect.Descriptor instead.

func (*EntityID) GetAccountID

func (x *EntityID) GetAccountID() *AccountID

func (*EntityID) GetContractID

func (x *EntityID) GetContractID() *ContractID

func (*EntityID) GetEntity

func (m *EntityID) GetEntity() isEntityID_Entity

func (*EntityID) GetFileID

func (x *EntityID) GetFileID() *FileID

func (*EntityID) GetLiveHash

func (x *EntityID) GetLiveHash() *LiveHash

func (*EntityID) ProtoMessage

func (*EntityID) ProtoMessage()

func (*EntityID) ProtoReflect

func (x *EntityID) ProtoReflect() protoreflect.Message

func (*EntityID) Reset

func (x *EntityID) Reset()

func (*EntityID) String

func (x *EntityID) String() string

type EntityID_AccountID

type EntityID_AccountID struct {
	AccountID *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3,oneof"` // The Account ID for the cryptocurrency account
}

type EntityID_ContractID

type EntityID_ContractID struct {
	ContractID *ContractID `protobuf:"bytes,4,opt,name=contractID,proto3,oneof"` // The smart contract ID that identifies instance
}

type EntityID_FileID

type EntityID_FileID struct {
	FileID *FileID `protobuf:"bytes,3,opt,name=fileID,proto3,oneof"` // The file ID of the file
}

type EntityID_LiveHash

type EntityID_LiveHash struct {
	LiveHash *LiveHash `protobuf:"bytes,2,opt,name=liveHash,proto3,oneof"` // A uniquely identifying livehash of an acount
}

type ExchangeRate

type ExchangeRate struct {

	// Denominator in calculation of exchange rate between hbar and cents
	HbarEquiv int32 `protobuf:"varint,1,opt,name=hbarEquiv,proto3" json:"hbarEquiv,omitempty"`
	// Numerator in calculation of exchange rate between hbar and cents
	CentEquiv int32 `protobuf:"varint,2,opt,name=centEquiv,proto3" json:"centEquiv,omitempty"`
	// Expiration time in seconds for this exchange rate
	ExpirationTime *TimestampSeconds `protobuf:"bytes,3,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	// contains filtered or unexported fields
}

An exchange rate between hbar and cents (USD) and the time at which the exchange rate will expire, and be superseded by a new exchange rate.

func (*ExchangeRate) Descriptor deprecated

func (*ExchangeRate) Descriptor() ([]byte, []int)

Deprecated: Use ExchangeRate.ProtoReflect.Descriptor instead.

func (*ExchangeRate) GetCentEquiv

func (x *ExchangeRate) GetCentEquiv() int32

func (*ExchangeRate) GetExpirationTime

func (x *ExchangeRate) GetExpirationTime() *TimestampSeconds

func (*ExchangeRate) GetHbarEquiv

func (x *ExchangeRate) GetHbarEquiv() int32

func (*ExchangeRate) ProtoMessage

func (*ExchangeRate) ProtoMessage()

func (*ExchangeRate) ProtoReflect

func (x *ExchangeRate) ProtoReflect() protoreflect.Message

func (*ExchangeRate) Reset

func (x *ExchangeRate) Reset()

func (*ExchangeRate) String

func (x *ExchangeRate) String() string

type ExchangeRateSet

type ExchangeRateSet struct {

	// Current exchange rate
	CurrentRate *ExchangeRate `protobuf:"bytes,1,opt,name=currentRate,proto3" json:"currentRate,omitempty"`
	// Next exchange rate which will take effect when current rate expires
	NextRate *ExchangeRate `protobuf:"bytes,2,opt,name=nextRate,proto3" json:"nextRate,omitempty"`
	// contains filtered or unexported fields
}

Two sets of exchange rates

func (*ExchangeRateSet) Descriptor deprecated

func (*ExchangeRateSet) Descriptor() ([]byte, []int)

Deprecated: Use ExchangeRateSet.ProtoReflect.Descriptor instead.

func (*ExchangeRateSet) GetCurrentRate

func (x *ExchangeRateSet) GetCurrentRate() *ExchangeRate

func (*ExchangeRateSet) GetNextRate

func (x *ExchangeRateSet) GetNextRate() *ExchangeRate

func (*ExchangeRateSet) ProtoMessage

func (*ExchangeRateSet) ProtoMessage()

func (*ExchangeRateSet) ProtoReflect

func (x *ExchangeRateSet) ProtoReflect() protoreflect.Message

func (*ExchangeRateSet) Reset

func (x *ExchangeRateSet) Reset()

func (*ExchangeRateSet) String

func (x *ExchangeRateSet) String() string

type FeeComponents

type FeeComponents struct {
	Min      int64 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"`           // A minimum, the calculated fee must be greater than this value
	Max      int64 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`           // A maximum, the calculated fee must be less than this value
	Constant int64 `protobuf:"varint,3,opt,name=constant,proto3" json:"constant,omitempty"` // A constant contribution to the fee
	Bpt      int64 `protobuf:"varint,4,opt,name=bpt,proto3" json:"bpt,omitempty"`           // The price of bandwidth consumed by a transaction, measured in bytes
	Vpt      int64 `protobuf:"varint,5,opt,name=vpt,proto3" json:"vpt,omitempty"`           // The price per signature verification for a transaction
	Rbh      int64 `protobuf:"varint,6,opt,name=rbh,proto3" json:"rbh,omitempty"`           // The price of RAM consumed by a transaction, measured in byte-hours
	Sbh      int64 `protobuf:"varint,7,opt,name=sbh,proto3" json:"sbh,omitempty"`           // The price of storage consumed by a transaction, measured in byte-hours
	Gas      int64 `protobuf:"varint,8,opt,name=gas,proto3" json:"gas,omitempty"`           // The price of computation for a smart contract transaction, measured in gas
	Tv       int64 `protobuf:"varint,9,opt,name=tv,proto3" json:"tv,omitempty"`             // The price per hbar transferred for a transfer
	Bpr      int64 `protobuf:"varint,10,opt,name=bpr,proto3" json:"bpr,omitempty"`          // The price of bandwidth for data retrieved from memory for a response, measured in bytes
	Sbpr     int64 `protobuf:"varint,11,opt,name=sbpr,proto3" json:"sbpr,omitempty"`        // The price of bandwidth for data retrieved from disk for a response, measured in bytes
	// 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) Descriptor() ([]byte, []int)

Deprecated: Use FeeData.ProtoReflect.Descriptor instead.

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 (x *FeeData) GetSubType() SubType

func (*FeeData) ProtoMessage

func (*FeeData) ProtoMessage()

func (*FeeData) ProtoReflect

func (x *FeeData) ProtoReflect() protoreflect.Message

func (*FeeData) Reset

func (x *FeeData) Reset()

func (*FeeData) String

func (x *FeeData) String() string

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 FileAppendTransactionBody

type FileAppendTransactionBody struct {

	// The file to which the bytes will be appended
	FileID *FileID `protobuf:"bytes,2,opt,name=fileID,proto3" json:"fileID,omitempty"`
	// The bytes that will be appended to the end of the specified file
	Contents []byte `protobuf:"bytes,4,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

Append the given contents to the end of the specified file. If a file is too big to create with a single FileCreateTransaction, then it can be created with the first part of its contents, and then appended as many times as necessary to create the entire file. This transaction must be signed by all initial M-of-M KeyList keys. If keys contains additional KeyList or ThresholdKey then M-of-M secondary KeyList or ThresholdKey signing requirements must be meet.

func (*FileAppendTransactionBody) Descriptor deprecated

func (*FileAppendTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use FileAppendTransactionBody.ProtoReflect.Descriptor instead.

func (*FileAppendTransactionBody) GetContents

func (x *FileAppendTransactionBody) GetContents() []byte

func (*FileAppendTransactionBody) GetFileID

func (x *FileAppendTransactionBody) GetFileID() *FileID

func (*FileAppendTransactionBody) ProtoMessage

func (*FileAppendTransactionBody) ProtoMessage()

func (*FileAppendTransactionBody) ProtoReflect

func (*FileAppendTransactionBody) Reset

func (x *FileAppendTransactionBody) Reset()

func (*FileAppendTransactionBody) String

func (x *FileAppendTransactionBody) String() string

type FileCreateTransactionBody

type FileCreateTransactionBody struct {
	ExpirationTime   *Timestamp `protobuf:"bytes,2,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`     // The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
	Keys             *KeyList   `protobuf:"bytes,3,opt,name=keys,proto3" json:"keys,omitempty"`                         // All keys at the top level of a key list must sign to create or modify the file. Any one of the keys at the top level key list can sign to delete the file.
	Contents         []byte     `protobuf:"bytes,4,opt,name=contents,proto3" json:"contents,omitempty"`                 // The bytes that are the contents of the file
	ShardID          *ShardID   `protobuf:"bytes,5,opt,name=shardID,proto3" json:"shardID,omitempty"`                   // Shard in which this file is created
	RealmID          *RealmID   `protobuf:"bytes,6,opt,name=realmID,proto3" json:"realmID,omitempty"`                   // The Realm in which to the file is created (leave this null to create a new realm)
	NewRealmAdminKey *Key       `protobuf:"bytes,7,opt,name=newRealmAdminKey,proto3" json:"newRealmAdminKey,omitempty"` // If realmID is null, then this the admin key for the new realm that will be created
	Memo             string     `protobuf:"bytes,8,opt,name=memo,proto3" json:"memo,omitempty"`                         // The memo associated with the file (UTF-8 encoding max 100 bytes)
	// contains filtered or unexported fields
}

Create a new file, containing the given contents. After the file is created, the FileID for it can be found in the receipt, or record, or retrieved with a GetByKey query.

The file contains the specified contents (possibly empty). The file will automatically disappear at the expirationTime, unless its expiration is extended by another transaction before that time. If the file is deleted, then its contents will become empty and it will be marked as deleted until it expires, and then it will cease to exist.

The keys field is a list of keys. All keys within the top-level key list must sign (M-M) to create or modify a file. However, to delete the file, only one key (1-M) is required to sign from the top-level key list. Each of those "keys" may itself be threshold key containing other keys (including other threshold keys). In other words, the behavior is an AND for create/modify, OR for delete. This is useful for acting as a revocation server. If it is desired to have the behavior be AND for all 3 operations (or OR for all 3), then the list should have only a single Key, which is a threshold key, with N=1 for OR, N=M for AND.

If a file is created without ANY keys in the keys field, the file is immutable and ONLY the expirationTime of the file can be changed with a FileUpdate transaction. The file contents or its keys cannot be changed.

An entity (account, file, or smart contract instance) must be created in a particular realm. If the realmID is left null, then a new realm will be created with the given admin key. If a new realm has a null adminKey, then anyone can create/modify/delete entities in that realm. But if an admin key is given, then any transaction to create/modify/delete an entity in that realm must be signed by that key, though anyone can still call functions on smart contract instances that exist in that realm. A realm ceases to exist when everything within it has expired and no longer exists.

The current API ignores shardID, realmID, and newRealmAdminKey, and creates everything in shard 0 and realm 0, with a null key. Future versions of the API will support multiple realms and multiple shards.

func (*FileCreateTransactionBody) Descriptor deprecated

func (*FileCreateTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use FileCreateTransactionBody.ProtoReflect.Descriptor instead.

func (*FileCreateTransactionBody) GetContents

func (x *FileCreateTransactionBody) GetContents() []byte

func (*FileCreateTransactionBody) GetExpirationTime

func (x *FileCreateTransactionBody) GetExpirationTime() *Timestamp

func (*FileCreateTransactionBody) GetKeys

func (x *FileCreateTransactionBody) GetKeys() *KeyList

func (*FileCreateTransactionBody) GetMemo

func (x *FileCreateTransactionBody) GetMemo() string

func (*FileCreateTransactionBody) GetNewRealmAdminKey

func (x *FileCreateTransactionBody) GetNewRealmAdminKey() *Key

func (*FileCreateTransactionBody) GetRealmID

func (x *FileCreateTransactionBody) GetRealmID() *RealmID

func (*FileCreateTransactionBody) GetShardID

func (x *FileCreateTransactionBody) GetShardID() *ShardID

func (*FileCreateTransactionBody) ProtoMessage

func (*FileCreateTransactionBody) ProtoMessage()

func (*FileCreateTransactionBody) ProtoReflect

func (*FileCreateTransactionBody) Reset

func (x *FileCreateTransactionBody) Reset()

func (*FileCreateTransactionBody) String

func (x *FileCreateTransactionBody) String() string

type FileDeleteTransactionBody

type FileDeleteTransactionBody struct {
	FileID *FileID `protobuf:"bytes,2,opt,name=fileID,proto3" json:"fileID,omitempty"` // The file to delete. It will be marked as deleted until it expires. Then it will disappear.
	// contains filtered or unexported fields
}

Delete the given file. After deletion, it will be marked as deleted and will have no contents. But information about it will continue to exist until it expires. A list of keys was given when the file was created. All the top level keys on that list must sign transactions to create or modify the file, but any single one of the top level keys can be used to delete the file. This transaction must be signed by 1-of-M KeyList keys. If keys contains additional KeyList or ThresholdKey then 1-of-M secondary KeyList or ThresholdKey signing requirements must be meet.

func (*FileDeleteTransactionBody) Descriptor deprecated

func (*FileDeleteTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use FileDeleteTransactionBody.ProtoReflect.Descriptor instead.

func (*FileDeleteTransactionBody) GetFileID

func (x *FileDeleteTransactionBody) GetFileID() *FileID

func (*FileDeleteTransactionBody) ProtoMessage

func (*FileDeleteTransactionBody) ProtoMessage()

func (*FileDeleteTransactionBody) ProtoReflect

func (*FileDeleteTransactionBody) Reset

func (x *FileDeleteTransactionBody) Reset()

func (*FileDeleteTransactionBody) String

func (x *FileDeleteTransactionBody) String() string

type FileGetContentsQuery

type FileGetContentsQuery struct {
	Header *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	FileID *FileID      `protobuf:"bytes,2,opt,name=fileID,proto3" json:"fileID,omitempty"` // The file ID of the file whose contents are requested
	// contains filtered or unexported fields
}

Get the contents of a file. The content field is empty (no bytes) if the file is empty.

func (*FileGetContentsQuery) Descriptor deprecated

func (*FileGetContentsQuery) Descriptor() ([]byte, []int)

Deprecated: Use FileGetContentsQuery.ProtoReflect.Descriptor instead.

func (*FileGetContentsQuery) GetFileID

func (x *FileGetContentsQuery) GetFileID() *FileID

func (*FileGetContentsQuery) GetHeader

func (x *FileGetContentsQuery) GetHeader() *QueryHeader

func (*FileGetContentsQuery) ProtoMessage

func (*FileGetContentsQuery) ProtoMessage()

func (*FileGetContentsQuery) ProtoReflect

func (x *FileGetContentsQuery) ProtoReflect() protoreflect.Message

func (*FileGetContentsQuery) Reset

func (x *FileGetContentsQuery) Reset()

func (*FileGetContentsQuery) String

func (x *FileGetContentsQuery) String() string

type FileGetContentsResponse

type FileGetContentsResponse struct {
	Header       *ResponseHeader                       `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`             // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	FileContents *FileGetContentsResponse_FileContents `protobuf:"bytes,2,opt,name=fileContents,proto3" json:"fileContents,omitempty"` // the file ID and contents (a state proof can be generated for this)
	// contains filtered or unexported fields
}

Response when the client sends the node FileGetContentsQuery

func (*FileGetContentsResponse) Descriptor deprecated

func (*FileGetContentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use FileGetContentsResponse.ProtoReflect.Descriptor instead.

func (*FileGetContentsResponse) GetFileContents

func (*FileGetContentsResponse) GetHeader

func (x *FileGetContentsResponse) GetHeader() *ResponseHeader

func (*FileGetContentsResponse) ProtoMessage

func (*FileGetContentsResponse) ProtoMessage()

func (*FileGetContentsResponse) ProtoReflect

func (x *FileGetContentsResponse) ProtoReflect() protoreflect.Message

func (*FileGetContentsResponse) Reset

func (x *FileGetContentsResponse) Reset()

func (*FileGetContentsResponse) String

func (x *FileGetContentsResponse) String() string

type FileGetContentsResponse_FileContents

type FileGetContentsResponse_FileContents struct {
	FileID   *FileID `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"`     // The file ID of the file whose contents are being returned
	Contents []byte  `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"` // The bytes contained in the file
	// contains filtered or unexported fields
}

func (*FileGetContentsResponse_FileContents) Descriptor deprecated

func (*FileGetContentsResponse_FileContents) Descriptor() ([]byte, []int)

Deprecated: Use FileGetContentsResponse_FileContents.ProtoReflect.Descriptor instead.

func (*FileGetContentsResponse_FileContents) GetContents

func (x *FileGetContentsResponse_FileContents) GetContents() []byte

func (*FileGetContentsResponse_FileContents) GetFileID

func (*FileGetContentsResponse_FileContents) ProtoMessage

func (*FileGetContentsResponse_FileContents) ProtoMessage()

func (*FileGetContentsResponse_FileContents) ProtoReflect

func (*FileGetContentsResponse_FileContents) Reset

func (*FileGetContentsResponse_FileContents) String

type FileGetInfoQuery

type FileGetInfoQuery struct {
	Header *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	FileID *FileID      `protobuf:"bytes,2,opt,name=fileID,proto3" json:"fileID,omitempty"` // The file ID of the file for which information is requested
	// contains filtered or unexported fields
}

Get all of the information about a file, except for its contents. When a file expires, it no longer exists, and there will be no info about it, and the fileInfo field will be blank. If a transaction or smart contract deletes the file, but it has not yet expired, then the fileInfo field will be non-empty, the deleted field will be true, its size will be 0, and its contents will be empty.

func (*FileGetInfoQuery) Descriptor deprecated

func (*FileGetInfoQuery) Descriptor() ([]byte, []int)

Deprecated: Use FileGetInfoQuery.ProtoReflect.Descriptor instead.

func (*FileGetInfoQuery) GetFileID

func (x *FileGetInfoQuery) GetFileID() *FileID

func (*FileGetInfoQuery) GetHeader

func (x *FileGetInfoQuery) GetHeader() *QueryHeader

func (*FileGetInfoQuery) ProtoMessage

func (*FileGetInfoQuery) ProtoMessage()

func (*FileGetInfoQuery) ProtoReflect

func (x *FileGetInfoQuery) ProtoReflect() protoreflect.Message

func (*FileGetInfoQuery) Reset

func (x *FileGetInfoQuery) Reset()

func (*FileGetInfoQuery) String

func (x *FileGetInfoQuery) String() string

type FileGetInfoResponse

type FileGetInfoResponse struct {
	Header   *ResponseHeader               `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`     // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	FileInfo *FileGetInfoResponse_FileInfo `protobuf:"bytes,2,opt,name=fileInfo,proto3" json:"fileInfo,omitempty"` // The information about the file
	// contains filtered or unexported fields
}

Response when the client sends the node FileGetInfoQuery

func (*FileGetInfoResponse) Descriptor deprecated

func (*FileGetInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use FileGetInfoResponse.ProtoReflect.Descriptor instead.

func (*FileGetInfoResponse) GetFileInfo

func (*FileGetInfoResponse) GetHeader

func (x *FileGetInfoResponse) GetHeader() *ResponseHeader

func (*FileGetInfoResponse) ProtoMessage

func (*FileGetInfoResponse) ProtoMessage()

func (*FileGetInfoResponse) ProtoReflect

func (x *FileGetInfoResponse) ProtoReflect() protoreflect.Message

func (*FileGetInfoResponse) Reset

func (x *FileGetInfoResponse) Reset()

func (*FileGetInfoResponse) String

func (x *FileGetInfoResponse) String() string

type FileGetInfoResponse_FileInfo

type FileGetInfoResponse_FileInfo struct {
	FileID         *FileID    `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"`                 // The file ID of the file for which information is requested
	Size           int64      `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`                    // Number of bytes in contents
	ExpirationTime *Timestamp `protobuf:"bytes,3,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"` // The current time at which this account is set to expire
	Deleted        bool       `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`              // True if deleted but not yet expired
	Keys           *KeyList   `protobuf:"bytes,5,opt,name=keys,proto3" json:"keys,omitempty"`                     // One of these keys must sign in order to modify or delete the file
	Memo           string     `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo,omitempty"`                     // The memo associated with the file
	// contains filtered or unexported fields
}

func (*FileGetInfoResponse_FileInfo) Descriptor deprecated

func (*FileGetInfoResponse_FileInfo) Descriptor() ([]byte, []int)

Deprecated: Use FileGetInfoResponse_FileInfo.ProtoReflect.Descriptor instead.

func (*FileGetInfoResponse_FileInfo) GetDeleted

func (x *FileGetInfoResponse_FileInfo) GetDeleted() bool

func (*FileGetInfoResponse_FileInfo) GetExpirationTime

func (x *FileGetInfoResponse_FileInfo) GetExpirationTime() *Timestamp

func (*FileGetInfoResponse_FileInfo) GetFileID

func (x *FileGetInfoResponse_FileInfo) GetFileID() *FileID

func (*FileGetInfoResponse_FileInfo) GetKeys

func (x *FileGetInfoResponse_FileInfo) GetKeys() *KeyList

func (*FileGetInfoResponse_FileInfo) GetMemo

func (x *FileGetInfoResponse_FileInfo) GetMemo() string

func (*FileGetInfoResponse_FileInfo) GetSize

func (x *FileGetInfoResponse_FileInfo) GetSize() int64

func (*FileGetInfoResponse_FileInfo) ProtoMessage

func (*FileGetInfoResponse_FileInfo) ProtoMessage()

func (*FileGetInfoResponse_FileInfo) ProtoReflect

func (*FileGetInfoResponse_FileInfo) Reset

func (x *FileGetInfoResponse_FileInfo) Reset()

func (*FileGetInfoResponse_FileInfo) String

type FileID

type FileID struct {
	ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // The shard number (nonnegative)
	RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"` // The realm number (nonnegative)
	FileNum  int64 `protobuf:"varint,3,opt,name=fileNum,proto3" json:"fileNum,omitempty"`   // A nonnegative File number unique within its realm
	// contains filtered or unexported fields
}

The ID for a file

func (*FileID) Descriptor deprecated

func (*FileID) Descriptor() ([]byte, []int)

Deprecated: Use FileID.ProtoReflect.Descriptor instead.

func (*FileID) GetFileNum

func (x *FileID) GetFileNum() int64

func (*FileID) GetRealmNum

func (x *FileID) GetRealmNum() int64

func (*FileID) GetShardNum

func (x *FileID) GetShardNum() int64

func (*FileID) ProtoMessage

func (*FileID) ProtoMessage()

func (*FileID) ProtoReflect

func (x *FileID) ProtoReflect() protoreflect.Message

func (*FileID) Reset

func (x *FileID) Reset()

func (*FileID) String

func (x *FileID) String() string

type FileServiceClient

type FileServiceClient interface {
	// Creates a file
	CreateFile(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Updates a file
	UpdateFile(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Deletes a file
	DeleteFile(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Appends to a file
	AppendContent(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Retrieves the file contents
	GetFileContent(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Retrieves the file information
	GetFileInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Deletes a file if the submitting account has network admin privileges
	SystemDelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Undeletes a file if the submitting account has network admin privileges
	SystemUndelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
}

FileServiceClient is the client API for FileService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type FileServiceServer

type FileServiceServer interface {
	// Creates a file
	CreateFile(context.Context, *Transaction) (*TransactionResponse, error)
	// Updates a file
	UpdateFile(context.Context, *Transaction) (*TransactionResponse, error)
	// Deletes a file
	DeleteFile(context.Context, *Transaction) (*TransactionResponse, error)
	// Appends to a file
	AppendContent(context.Context, *Transaction) (*TransactionResponse, error)
	// Retrieves the file contents
	GetFileContent(context.Context, *Query) (*Response, error)
	// Retrieves the file information
	GetFileInfo(context.Context, *Query) (*Response, error)
	// Deletes a file if the submitting account has network admin privileges
	SystemDelete(context.Context, *Transaction) (*TransactionResponse, error)
	// Undeletes a file if the submitting account has network admin privileges
	SystemUndelete(context.Context, *Transaction) (*TransactionResponse, error)
	// contains filtered or unexported methods
}

FileServiceServer is the server API for FileService service. All implementations must embed UnimplementedFileServiceServer for forward compatibility

type FileUpdateTransactionBody

type FileUpdateTransactionBody struct {
	FileID         *FileID               `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"`                 // The ID of the file to update
	ExpirationTime *Timestamp            `protobuf:"bytes,2,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"` // The new expiry time (ignored if not later than the current expiry)
	Keys           *KeyList              `protobuf:"bytes,3,opt,name=keys,proto3" json:"keys,omitempty"`                     // The new list of keys that can modify or delete the file
	Contents       []byte                `protobuf:"bytes,4,opt,name=contents,proto3" json:"contents,omitempty"`             // The new contents that should overwrite the file's current contents
	Memo           *wrappers.StringValue `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"`                     // If set, the new memo to be associated with the file (UTF-8 encoding max 100 bytes)
	// contains filtered or unexported fields
}

Modify the metadata and/or contents of a file. If a field is not set in the transaction body, the corresponding file attribute will be unchanged. This transaction must be signed by all the keys in the top level of a key list (M-of-M) of the file being updated. If the keys themselves are being updated, then the transaction must also be signed by all the new keys. If the keys contain additional KeyList or ThresholdKey then M-of-M secondary KeyList or ThresholdKey signing requirements must be meet

func (*FileUpdateTransactionBody) Descriptor deprecated

func (*FileUpdateTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use FileUpdateTransactionBody.ProtoReflect.Descriptor instead.

func (*FileUpdateTransactionBody) GetContents

func (x *FileUpdateTransactionBody) GetContents() []byte

func (*FileUpdateTransactionBody) GetExpirationTime

func (x *FileUpdateTransactionBody) GetExpirationTime() *Timestamp

func (*FileUpdateTransactionBody) GetFileID

func (x *FileUpdateTransactionBody) GetFileID() *FileID

func (*FileUpdateTransactionBody) GetKeys

func (x *FileUpdateTransactionBody) GetKeys() *KeyList

func (*FileUpdateTransactionBody) GetMemo

func (*FileUpdateTransactionBody) ProtoMessage

func (*FileUpdateTransactionBody) ProtoMessage()

func (*FileUpdateTransactionBody) ProtoReflect

func (*FileUpdateTransactionBody) Reset

func (x *FileUpdateTransactionBody) Reset()

func (*FileUpdateTransactionBody) String

func (x *FileUpdateTransactionBody) String() string

type FixedFee added in v0.2.0

type FixedFee struct {
	Amount              int64    `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`                                                       // The number of units to assess as a fee
	DenominatingTokenId *TokenID `protobuf:"bytes,2,opt,name=denominating_token_id,json=denominatingTokenId,proto3" json:"denominating_token_id,omitempty"` // The denomination of the fee; taken as hbar if left unset
	// contains filtered or unexported fields
}

A fixed number of units (hbar or token) to asssess as a fee during a CryptoTransfer that transfers units of the token to which this fixed fee is attached.

func (*FixedFee) Descriptor deprecated added in v0.2.0

func (*FixedFee) Descriptor() ([]byte, []int)

Deprecated: Use FixedFee.ProtoReflect.Descriptor instead.

func (*FixedFee) GetAmount added in v0.2.0

func (x *FixedFee) GetAmount() int64

func (*FixedFee) GetDenominatingTokenId added in v0.2.0

func (x *FixedFee) GetDenominatingTokenId() *TokenID

func (*FixedFee) ProtoMessage added in v0.2.0

func (*FixedFee) ProtoMessage()

func (*FixedFee) ProtoReflect added in v0.2.0

func (x *FixedFee) ProtoReflect() protoreflect.Message

func (*FixedFee) Reset added in v0.2.0

func (x *FixedFee) Reset()

func (*FixedFee) String added in v0.2.0

func (x *FixedFee) String() string

type Fraction added in v0.2.0

type Fraction struct {
	Numerator   int64 `protobuf:"varint,1,opt,name=numerator,proto3" json:"numerator,omitempty"`     // The rational's numerator
	Denominator int64 `protobuf:"varint,2,opt,name=denominator,proto3" json:"denominator,omitempty"` // The rational's denominator; a zero value will result in FRACTION_DIVIDES_BY_ZERO
	// 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 added in v0.2.0

func (*Fraction) Descriptor() ([]byte, []int)

Deprecated: Use Fraction.ProtoReflect.Descriptor instead.

func (*Fraction) GetDenominator added in v0.2.0

func (x *Fraction) GetDenominator() int64

func (*Fraction) GetNumerator added in v0.2.0

func (x *Fraction) GetNumerator() int64

func (*Fraction) ProtoMessage added in v0.2.0

func (*Fraction) ProtoMessage()

func (*Fraction) ProtoReflect added in v0.2.0

func (x *Fraction) ProtoReflect() protoreflect.Message

func (*Fraction) Reset added in v0.2.0

func (x *Fraction) Reset()

func (*Fraction) String added in v0.2.0

func (x *Fraction) String() string

type FractionalFee added in v0.2.0

type FractionalFee struct {
	FractionalAmount *Fraction `protobuf:"bytes,1,opt,name=fractional_amount,json=fractionalAmount,proto3" json:"fractional_amount,omitempty"` // The fraction of the transferred units to assess as a fee
	MinimumAmount    int64     `protobuf:"varint,2,opt,name=minimum_amount,json=minimumAmount,proto3" json:"minimum_amount,omitempty"`         // The minimum amount to assess
	MaximumAmount    int64     `protobuf:"varint,3,opt,name=maximum_amount,json=maximumAmount,proto3" json:"maximum_amount,omitempty"`         // The maximum amount to assess (zero implies no maximum)
	// contains filtered or unexported fields
}

A fraction of the transferred units of a token to assess as a fee. The amount assessed will never be less than the given minimum_amount, and never greater than the given maximum_amount. The denomination is always units of the token to which this fractional fee is attached.

func (*FractionalFee) Descriptor deprecated added in v0.2.0

func (*FractionalFee) Descriptor() ([]byte, []int)

Deprecated: Use FractionalFee.ProtoReflect.Descriptor instead.

func (*FractionalFee) GetFractionalAmount added in v0.2.0

func (x *FractionalFee) GetFractionalAmount() *Fraction

func (*FractionalFee) GetMaximumAmount added in v0.2.0

func (x *FractionalFee) GetMaximumAmount() int64

func (*FractionalFee) GetMinimumAmount added in v0.2.0

func (x *FractionalFee) GetMinimumAmount() int64

func (*FractionalFee) ProtoMessage added in v0.2.0

func (*FractionalFee) ProtoMessage()

func (*FractionalFee) ProtoReflect added in v0.2.0

func (x *FractionalFee) ProtoReflect() protoreflect.Message

func (*FractionalFee) Reset added in v0.2.0

func (x *FractionalFee) Reset()

func (*FractionalFee) String added in v0.2.0

func (x *FractionalFee) String() string

type FreezeServiceClient

type FreezeServiceClient interface {
	Freeze(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
}

FreezeServiceClient is the client API for FreezeService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type FreezeServiceServer

type FreezeServiceServer interface {
	Freeze(context.Context, *Transaction) (*TransactionResponse, error)
	// contains filtered or unexported methods
}

FreezeServiceServer is the server API for FreezeService service. All implementations must embed UnimplementedFreezeServiceServer for forward compatibility

type FreezeTransactionBody

type FreezeTransactionBody struct {
	StartHour  int32   `protobuf:"varint,1,opt,name=startHour,proto3" json:"startHour,omitempty"`  // The start hour (in UTC time), a value between 0 and 23
	StartMin   int32   `protobuf:"varint,2,opt,name=startMin,proto3" json:"startMin,omitempty"`    // The start minute (in UTC time), a value between 0 and 59
	EndHour    int32   `protobuf:"varint,3,opt,name=endHour,proto3" json:"endHour,omitempty"`      // The end hour (in UTC time), a value between 0 and 23
	EndMin     int32   `protobuf:"varint,4,opt,name=endMin,proto3" json:"endMin,omitempty"`        // The end minute (in UTC time), a value between 0 and 59
	UpdateFile *FileID `protobuf:"bytes,5,opt,name=updateFile,proto3" json:"updateFile,omitempty"` // The ID of the file needs to be updated during a freeze transaction
	FileHash   []byte  `protobuf:"bytes,6,opt,name=fileHash,proto3" json:"fileHash,omitempty"`     // The hash value of the file, used to verify file content before performing freeze and update
	// contains filtered or unexported fields
}

Set the freezing period in which the platform will stop creating events and accepting transactions. This is used before safely shut down the platform for maintenance.

func (*FreezeTransactionBody) Descriptor deprecated

func (*FreezeTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use FreezeTransactionBody.ProtoReflect.Descriptor instead.

func (*FreezeTransactionBody) GetEndHour

func (x *FreezeTransactionBody) GetEndHour() int32

func (*FreezeTransactionBody) GetEndMin

func (x *FreezeTransactionBody) GetEndMin() int32

func (*FreezeTransactionBody) GetFileHash

func (x *FreezeTransactionBody) GetFileHash() []byte

func (*FreezeTransactionBody) GetStartHour

func (x *FreezeTransactionBody) GetStartHour() int32

func (*FreezeTransactionBody) GetStartMin

func (x *FreezeTransactionBody) GetStartMin() int32

func (*FreezeTransactionBody) GetUpdateFile

func (x *FreezeTransactionBody) GetUpdateFile() *FileID

func (*FreezeTransactionBody) ProtoMessage

func (*FreezeTransactionBody) ProtoMessage()

func (*FreezeTransactionBody) ProtoReflect

func (x *FreezeTransactionBody) ProtoReflect() protoreflect.Message

func (*FreezeTransactionBody) Reset

func (x *FreezeTransactionBody) Reset()

func (*FreezeTransactionBody) String

func (x *FreezeTransactionBody) String() string

type GetByKeyQuery

type GetByKeyQuery struct {
	Header *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	Key    *Key         `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`       // The key to search for. It must not contain a contractID nor a ThresholdSignature.
	// contains filtered or unexported fields
}

Get all accounts, claims, files, and smart contract instances whose associated keys include the given Key. The given Key must not be a contractID or a ThresholdKey. This is not yet implemented in the API, but will be in the future.

func (*GetByKeyQuery) Descriptor deprecated

func (*GetByKeyQuery) Descriptor() ([]byte, []int)

Deprecated: Use GetByKeyQuery.ProtoReflect.Descriptor instead.

func (*GetByKeyQuery) GetHeader

func (x *GetByKeyQuery) GetHeader() *QueryHeader

func (*GetByKeyQuery) GetKey

func (x *GetByKeyQuery) GetKey() *Key

func (*GetByKeyQuery) ProtoMessage

func (*GetByKeyQuery) ProtoMessage()

func (*GetByKeyQuery) ProtoReflect

func (x *GetByKeyQuery) ProtoReflect() protoreflect.Message

func (*GetByKeyQuery) Reset

func (x *GetByKeyQuery) Reset()

func (*GetByKeyQuery) String

func (x *GetByKeyQuery) String() string

type GetByKeyResponse

type GetByKeyResponse struct {
	Header   *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`     // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	Entities []*EntityID     `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` // The list of entities that include this public key in their associated Key list
	// contains filtered or unexported fields
}

Response when the client sends the node GetByKeyQuery

func (*GetByKeyResponse) Descriptor deprecated

func (*GetByKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetByKeyResponse.ProtoReflect.Descriptor instead.

func (*GetByKeyResponse) GetEntities

func (x *GetByKeyResponse) GetEntities() []*EntityID

func (*GetByKeyResponse) GetHeader

func (x *GetByKeyResponse) GetHeader() *ResponseHeader

func (*GetByKeyResponse) ProtoMessage

func (*GetByKeyResponse) ProtoMessage()

func (*GetByKeyResponse) ProtoReflect

func (x *GetByKeyResponse) ProtoReflect() protoreflect.Message

func (*GetByKeyResponse) Reset

func (x *GetByKeyResponse) Reset()

func (*GetByKeyResponse) String

func (x *GetByKeyResponse) String() string

type GetBySolidityIDQuery

type GetBySolidityIDQuery struct {
	Header     *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`         // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	SolidityID string       `protobuf:"bytes,2,opt,name=solidityID,proto3" json:"solidityID,omitempty"` // The ID in the format used by Solidity
	// contains filtered or unexported fields
}

Get the IDs in the format used by transactions, given the ID in the format used by Solidity. If the Solidity ID is for a smart contract instance, then both the ContractID and associated AccountID will be returned.

func (*GetBySolidityIDQuery) Descriptor deprecated

func (*GetBySolidityIDQuery) Descriptor() ([]byte, []int)

Deprecated: Use GetBySolidityIDQuery.ProtoReflect.Descriptor instead.

func (*GetBySolidityIDQuery) GetHeader

func (x *GetBySolidityIDQuery) GetHeader() *QueryHeader

func (*GetBySolidityIDQuery) GetSolidityID

func (x *GetBySolidityIDQuery) GetSolidityID() string

func (*GetBySolidityIDQuery) ProtoMessage

func (*GetBySolidityIDQuery) ProtoMessage()

func (*GetBySolidityIDQuery) ProtoReflect

func (x *GetBySolidityIDQuery) ProtoReflect() protoreflect.Message

func (*GetBySolidityIDQuery) Reset

func (x *GetBySolidityIDQuery) Reset()

func (*GetBySolidityIDQuery) String

func (x *GetBySolidityIDQuery) String() string

type GetBySolidityIDResponse

type GetBySolidityIDResponse struct {
	Header     *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`         // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	AccountID  *AccountID      `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`   //  The Account ID for the cryptocurrency account
	FileID     *FileID         `protobuf:"bytes,3,opt,name=fileID,proto3" json:"fileID,omitempty"`         // The file Id for the file
	ContractID *ContractID     `protobuf:"bytes,4,opt,name=contractID,proto3" json:"contractID,omitempty"` // A smart contract ID for the instance (if this is included, then the associated accountID will also be included)
	// contains filtered or unexported fields
}

Response when the client sends the node GetBySolidityIDQuery

func (*GetBySolidityIDResponse) Descriptor deprecated

func (*GetBySolidityIDResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBySolidityIDResponse.ProtoReflect.Descriptor instead.

func (*GetBySolidityIDResponse) GetAccountID

func (x *GetBySolidityIDResponse) GetAccountID() *AccountID

func (*GetBySolidityIDResponse) GetContractID

func (x *GetBySolidityIDResponse) GetContractID() *ContractID

func (*GetBySolidityIDResponse) GetFileID

func (x *GetBySolidityIDResponse) GetFileID() *FileID

func (*GetBySolidityIDResponse) GetHeader

func (x *GetBySolidityIDResponse) GetHeader() *ResponseHeader

func (*GetBySolidityIDResponse) ProtoMessage

func (*GetBySolidityIDResponse) ProtoMessage()

func (*GetBySolidityIDResponse) ProtoReflect

func (x *GetBySolidityIDResponse) ProtoReflect() protoreflect.Message

func (*GetBySolidityIDResponse) Reset

func (x *GetBySolidityIDResponse) Reset()

func (*GetBySolidityIDResponse) String

func (x *GetBySolidityIDResponse) String() string

type HederaFunctionality

type HederaFunctionality int32

The transactions and queries supported by Hedera Hashgraph.

const (
	HederaFunctionality_NONE           HederaFunctionality = 0 // UNSPECIFIED - Need to keep first value as unspecified because first element is ignored and not parsed (0 is ignored by parser)
	HederaFunctionality_CryptoTransfer HederaFunctionality = 1 // crypto transfer
	HederaFunctionality_CryptoUpdate   HederaFunctionality = 2 // crypto update account
	HederaFunctionality_CryptoDelete   HederaFunctionality = 3 // crypto delete account
	// Add a livehash to a crypto account
	HederaFunctionality_CryptoAddLiveHash HederaFunctionality = 4
	// Delete a livehash from a crypto account
	HederaFunctionality_CryptoDeleteLiveHash    HederaFunctionality = 5
	HederaFunctionality_ContractCall            HederaFunctionality = 6  // Smart Contract Call
	HederaFunctionality_ContractCreate          HederaFunctionality = 7  // Smart Contract Create Contract
	HederaFunctionality_ContractUpdate          HederaFunctionality = 8  // Smart Contract update contract
	HederaFunctionality_FileCreate              HederaFunctionality = 9  // File Operation create file
	HederaFunctionality_FileAppend              HederaFunctionality = 10 // File Operation append file
	HederaFunctionality_FileUpdate              HederaFunctionality = 11 // File Operation update file
	HederaFunctionality_FileDelete              HederaFunctionality = 12 // File Operation delete file
	HederaFunctionality_CryptoGetAccountBalance HederaFunctionality = 13 // crypto get account balance
	HederaFunctionality_CryptoGetAccountRecords HederaFunctionality = 14 // crypto get account record
	HederaFunctionality_CryptoGetInfo           HederaFunctionality = 15 // Crypto get info
	HederaFunctionality_ContractCallLocal       HederaFunctionality = 16 // Smart Contract Call
	HederaFunctionality_ContractGetInfo         HederaFunctionality = 17 // Smart Contract get info
	HederaFunctionality_ContractGetBytecode     HederaFunctionality = 18 // Smart Contract, get the byte code
	HederaFunctionality_GetBySolidityID         HederaFunctionality = 19 // Smart Contract, get by solidity ID
	HederaFunctionality_GetByKey                HederaFunctionality = 20 // Smart Contract, get by key
	// Get a live hash from a crypto account
	HederaFunctionality_CryptoGetLiveHash          HederaFunctionality = 21
	HederaFunctionality_CryptoGetStakers           HederaFunctionality = 22 // Crypto, get the stakers for the node
	HederaFunctionality_FileGetContents            HederaFunctionality = 23 // File Operations get file contents
	HederaFunctionality_FileGetInfo                HederaFunctionality = 24 // File Operations get the info of the file
	HederaFunctionality_TransactionGetRecord       HederaFunctionality = 25 // Crypto get the transaction records
	HederaFunctionality_ContractGetRecords         HederaFunctionality = 26 // Contract get the transaction records
	HederaFunctionality_CryptoCreate               HederaFunctionality = 27 // crypto create account
	HederaFunctionality_SystemDelete               HederaFunctionality = 28 // system delete file
	HederaFunctionality_SystemUndelete             HederaFunctionality = 29 // system undelete file
	HederaFunctionality_ContractDelete             HederaFunctionality = 30 // delete contract
	HederaFunctionality_Freeze                     HederaFunctionality = 31 // freeze
	HederaFunctionality_CreateTransactionRecord    HederaFunctionality = 32 // Create Tx Record
	HederaFunctionality_CryptoAccountAutoRenew     HederaFunctionality = 33 // Crypto Auto Renew
	HederaFunctionality_ContractAutoRenew          HederaFunctionality = 34 // Contract Auto Renew
	HederaFunctionality_GetVersionInfo             HederaFunctionality = 35 // Get Version
	HederaFunctionality_TransactionGetReceipt      HederaFunctionality = 36 // Transaction Get Receipt
	HederaFunctionality_ConsensusCreateTopic       HederaFunctionality = 50 // Create Topic
	HederaFunctionality_ConsensusUpdateTopic       HederaFunctionality = 51 // Update Topic
	HederaFunctionality_ConsensusDeleteTopic       HederaFunctionality = 52 // Delete Topic
	HederaFunctionality_ConsensusGetTopicInfo      HederaFunctionality = 53 // Get Topic information
	HederaFunctionality_ConsensusSubmitMessage     HederaFunctionality = 54 // Submit message to topic
	HederaFunctionality_UncheckedSubmit            HederaFunctionality = 55
	HederaFunctionality_TokenCreate                HederaFunctionality = 56 // Create Token
	HederaFunctionality_TokenGetInfo               HederaFunctionality = 58 // Get Token information
	HederaFunctionality_TokenFreezeAccount         HederaFunctionality = 59 // Freeze Account
	HederaFunctionality_TokenUnfreezeAccount       HederaFunctionality = 60 // Unfreeze Account
	HederaFunctionality_TokenGrantKycToAccount     HederaFunctionality = 61 // Grant KYC to Account
	HederaFunctionality_TokenRevokeKycFromAccount  HederaFunctionality = 62 // Revoke KYC from Account
	HederaFunctionality_TokenDelete                HederaFunctionality = 63 // Delete Token
	HederaFunctionality_TokenUpdate                HederaFunctionality = 64 // Update Token
	HederaFunctionality_TokenMint                  HederaFunctionality = 65 // Mint tokens to treasury
	HederaFunctionality_TokenBurn                  HederaFunctionality = 66 // Burn tokens from treasury
	HederaFunctionality_TokenAccountWipe           HederaFunctionality = 67 // Wipe token amount from Account holder
	HederaFunctionality_TokenAssociateToAccount    HederaFunctionality = 68 // Associate tokens to an account
	HederaFunctionality_TokenDissociateFromAccount HederaFunctionality = 69 // Dissociate tokens from an account
	HederaFunctionality_ScheduleCreate             HederaFunctionality = 70 // Create Scheduled Transaction
	HederaFunctionality_ScheduleDelete             HederaFunctionality = 71 // Delete Scheduled Transaction
	HederaFunctionality_ScheduleSign               HederaFunctionality = 72 // Sign Scheduled Transaction
	HederaFunctionality_ScheduleGetInfo            HederaFunctionality = 73 // Get Scheduled Transaction Information
	HederaFunctionality_TokenGetAccountNftInfos    HederaFunctionality = 74 // Get Token Account Nft Information
	HederaFunctionality_TokenGetNftInfo            HederaFunctionality = 75 // Get Token Nft Information
	HederaFunctionality_TokenGetNftInfos           HederaFunctionality = 76 // Get Token Nft List Information
	HederaFunctionality_TokenFeeScheduleUpdate     HederaFunctionality = 77 // Update a token's custom fee schedule, if permissible
)

func (HederaFunctionality) Descriptor

func (HederaFunctionality) Enum

func (HederaFunctionality) EnumDescriptor deprecated

func (HederaFunctionality) EnumDescriptor() ([]byte, []int)

Deprecated: Use HederaFunctionality.Descriptor instead.

func (HederaFunctionality) Number

func (HederaFunctionality) String

func (x HederaFunctionality) String() string

func (HederaFunctionality) Type

type Key

type Key struct {

	// Types that are assignable to Key:
	//	*Key_ContractID
	//	*Key_Ed25519
	//	*Key_RSA_3072
	//	*Key_ECDSA_384
	//	*Key_ThresholdKey
	//	*Key_KeyList
	Key isKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

A Key can be a public key from one of the three supported systems (ed25519, RSA-3072, ECDSA with p384). Or, it can be the ID of a smart contract instance, which is authorized to act as if it had a key. If an account has an ed25519 key associated with it, then the corresponding private key must sign any transaction to transfer cryptocurrency out of it. And similarly for RSA and ECDSA.

A Key can be a smart contract ID, which means that smart contract is to authorize operations as if it had signed with a key that it owned. The smart contract doesn't actually have a key, and doesn't actually sign a transaction. But it's as if a virtual transaction were created, and the smart contract signed it with a private 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 Ed25519 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 (e.g., ed25519) has 3 levels: ThresholdKey -> KeyList -> Key. A KeyList which contains several primitive keys (e.g., ed25519) 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. Only ed25519 primitive keys are currently supported.

func (*Key) Descriptor deprecated

func (*Key) Descriptor() ([]byte, []int)

Deprecated: Use Key.ProtoReflect.Descriptor instead.

func (*Key) GetContractID

func (x *Key) GetContractID() *ContractID

func (*Key) GetECDSA_384

func (x *Key) GetECDSA_384() []byte

func (*Key) GetEd25519

func (x *Key) GetEd25519() []byte

func (*Key) GetKey

func (m *Key) GetKey() isKey_Key

func (*Key) GetKeyList

func (x *Key) GetKeyList() *KeyList

func (*Key) GetRSA_3072

func (x *Key) GetRSA_3072() []byte

func (*Key) GetThresholdKey

func (x *Key) GetThresholdKey() *ThresholdKey

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) ProtoReflect

func (x *Key) ProtoReflect() protoreflect.Message

func (*Key) Reset

func (x *Key) Reset()

func (*Key) String

func (x *Key) String() string

type KeyList

type KeyList struct {
	Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // list of keys
	// 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) Descriptor() ([]byte, []int)

Deprecated: Use KeyList.ProtoReflect.Descriptor instead.

func (*KeyList) GetKeys

func (x *KeyList) GetKeys() []*Key

func (*KeyList) ProtoMessage

func (*KeyList) ProtoMessage()

func (*KeyList) ProtoReflect

func (x *KeyList) ProtoReflect() protoreflect.Message

func (*KeyList) Reset

func (x *KeyList) Reset()

func (*KeyList) String

func (x *KeyList) String() string

type Key_ContractID

type Key_ContractID struct {
	ContractID *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3,oneof"` // smart contract instance that is authorized as if it had signed with a key
}

type Key_ECDSA_384

type Key_ECDSA_384 struct {
	ECDSA_384 []byte `protobuf:"bytes,4,opt,name=ECDSA_384,json=ECDSA384,proto3,oneof"` // ECDSA with the p-384 curve public key bytes
}

type Key_Ed25519

type Key_Ed25519 struct {
	Ed25519 []byte `protobuf:"bytes,2,opt,name=ed25519,proto3,oneof"` // ed25519 public key bytes
}

type Key_KeyList

type Key_KeyList struct {
	KeyList *KeyList `protobuf:"bytes,6,opt,name=keyList,proto3,oneof"` // A list of Keys of the Key type.
}

type Key_RSA_3072

type Key_RSA_3072 struct {
	RSA_3072 []byte `protobuf:"bytes,3,opt,name=RSA_3072,json=RSA3072,proto3,oneof"` // RSA-3072 public key bytes
}

type Key_ThresholdKey

type Key_ThresholdKey struct {
	ThresholdKey *ThresholdKey `protobuf:"bytes,5,opt,name=thresholdKey,proto3,oneof"` // a threshold N followed by a list of M keys, any N of which are required to form a valid signature
}

type LiveHash

type LiveHash struct {

	// The account to which the livehash is attached
	AccountId *AccountID `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId,omitempty"`
	// The SHA-384 hash of a credential or certificate
	Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// A list of keys (primitive or threshold), all of which must sign to attach the livehash to an account, and any one of which can later delete it.
	Keys *KeyList `protobuf:"bytes,3,opt,name=keys,proto3" json:"keys,omitempty"`
	// The duration for which the livehash will remain valid
	Duration *Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

A hash---presumably of some kind of credential or certificate---along with a list of keys, each of which may be either a primitive or a threshold key.

func (*LiveHash) Descriptor deprecated

func (*LiveHash) Descriptor() ([]byte, []int)

Deprecated: Use LiveHash.ProtoReflect.Descriptor instead.

func (*LiveHash) GetAccountId

func (x *LiveHash) GetAccountId() *AccountID

func (*LiveHash) GetDuration

func (x *LiveHash) GetDuration() *Duration

func (*LiveHash) GetHash

func (x *LiveHash) GetHash() []byte

func (*LiveHash) GetKeys

func (x *LiveHash) GetKeys() *KeyList

func (*LiveHash) ProtoMessage

func (*LiveHash) ProtoMessage()

func (*LiveHash) ProtoReflect

func (x *LiveHash) ProtoReflect() protoreflect.Message

func (*LiveHash) Reset

func (x *LiveHash) Reset()

func (*LiveHash) String

func (x *LiveHash) String() string

type NetworkGetVersionInfoQuery

type NetworkGetVersionInfoQuery struct {
	Header *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	// contains filtered or unexported fields
}

Get the deployed versions of Hedera Services and the HAPI proto in semantic version format

func (*NetworkGetVersionInfoQuery) Descriptor deprecated

func (*NetworkGetVersionInfoQuery) Descriptor() ([]byte, []int)

Deprecated: Use NetworkGetVersionInfoQuery.ProtoReflect.Descriptor instead.

func (*NetworkGetVersionInfoQuery) GetHeader

func (x *NetworkGetVersionInfoQuery) GetHeader() *QueryHeader

func (*NetworkGetVersionInfoQuery) ProtoMessage

func (*NetworkGetVersionInfoQuery) ProtoMessage()

func (*NetworkGetVersionInfoQuery) ProtoReflect

func (*NetworkGetVersionInfoQuery) Reset

func (x *NetworkGetVersionInfoQuery) Reset()

func (*NetworkGetVersionInfoQuery) String

func (x *NetworkGetVersionInfoQuery) String() string

type NetworkGetVersionInfoResponse

type NetworkGetVersionInfoResponse struct {
	Header                *ResponseHeader  `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`                               // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	HapiProtoVersion      *SemanticVersion `protobuf:"bytes,2,opt,name=hapiProtoVersion,proto3" json:"hapiProtoVersion,omitempty"`           // The Hedera API (HAPI) protobuf version recognized by the responding node.
	HederaServicesVersion *SemanticVersion `protobuf:"bytes,3,opt,name=hederaServicesVersion,proto3" json:"hederaServicesVersion,omitempty"` // The version of the Hedera Services software deployed on the responding node.
	// contains filtered or unexported fields
}

Response when the client sends the node NetworkGetVersionInfoQuery

func (*NetworkGetVersionInfoResponse) Descriptor deprecated

func (*NetworkGetVersionInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use NetworkGetVersionInfoResponse.ProtoReflect.Descriptor instead.

func (*NetworkGetVersionInfoResponse) GetHapiProtoVersion

func (x *NetworkGetVersionInfoResponse) GetHapiProtoVersion() *SemanticVersion

func (*NetworkGetVersionInfoResponse) GetHeader

func (*NetworkGetVersionInfoResponse) GetHederaServicesVersion

func (x *NetworkGetVersionInfoResponse) GetHederaServicesVersion() *SemanticVersion

func (*NetworkGetVersionInfoResponse) ProtoMessage

func (*NetworkGetVersionInfoResponse) ProtoMessage()

func (*NetworkGetVersionInfoResponse) ProtoReflect

func (*NetworkGetVersionInfoResponse) Reset

func (x *NetworkGetVersionInfoResponse) Reset()

func (*NetworkGetVersionInfoResponse) String

type NetworkServiceClient

type NetworkServiceClient interface {
	GetVersionInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	UncheckedSubmit(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
}

NetworkServiceClient is the client API for NetworkService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type NetworkServiceServer

type NetworkServiceServer interface {
	GetVersionInfo(context.Context, *Query) (*Response, error)
	UncheckedSubmit(context.Context, *Transaction) (*TransactionResponse, error)
	// contains filtered or unexported methods
}

NetworkServiceServer is the server API for NetworkService service. All implementations must embed UnimplementedNetworkServiceServer for forward compatibility

type NftID

type NftID struct {
	TokenID      *TokenID `protobuf:"bytes,1,opt,name=tokenID,proto3" json:"tokenID,omitempty"`            // The (non-fungible) token of which this NFT is an instance
	SerialNumber int64    `protobuf:"varint,2,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"` // The unique identifier of this instance
	// contains filtered or unexported fields
}

Represents an NFT on the Ledger

func (*NftID) Descriptor deprecated

func (*NftID) Descriptor() ([]byte, []int)

Deprecated: Use NftID.ProtoReflect.Descriptor instead.

func (*NftID) GetSerialNumber

func (x *NftID) GetSerialNumber() int64

func (*NftID) GetTokenID

func (x *NftID) GetTokenID() *TokenID

func (*NftID) ProtoMessage

func (*NftID) ProtoMessage()

func (*NftID) ProtoReflect

func (x *NftID) ProtoReflect() protoreflect.Message

func (*NftID) Reset

func (x *NftID) Reset()

func (*NftID) String

func (x *NftID) String() string

type NftTransfer

type NftTransfer struct {
	SenderAccountID   *AccountID `protobuf:"bytes,1,opt,name=senderAccountID,proto3" json:"senderAccountID,omitempty"`     // The accountID of the sender
	ReceiverAccountID *AccountID `protobuf:"bytes,2,opt,name=receiverAccountID,proto3" json:"receiverAccountID,omitempty"` // The accountID of the receiver
	SerialNumber      int64      `protobuf:"varint,3,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"`          // The serial number of the NFT
	// 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) 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 {

	// Deprecated: Do not use.
	IpAddress []byte `protobuf:"bytes,1,opt,name=ipAddress,proto3" json:"ipAddress,omitempty"` // 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: Do not use.
	Portno int32 `protobuf:"varint,2,opt,name=portno,proto3" json:"portno,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: Do not use.
	Memo            []byte             `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"`                            // Usage is deprecated, nodeAccountId is preferred to retrieve a node's account ID
	RSA_PubKey      string             `protobuf:"bytes,4,opt,name=RSA_PubKey,json=RSAPubKey,proto3" json:"RSA_PubKey,omitempty"` // The node's hex-encoded X509 RSA public key
	NodeId          int64              `protobuf:"varint,5,opt,name=nodeId,proto3" json:"nodeId,omitempty"`                       // # A non-sequential identifier for the node
	NodeAccountId   *AccountID         `protobuf:"bytes,6,opt,name=nodeAccountId,proto3" json:"nodeAccountId,omitempty"`          // # The account to be paid for queries and transactions sent to this node
	NodeCertHash    []byte             `protobuf:"bytes,7,opt,name=nodeCertHash,proto3" json:"nodeCertHash,omitempty"`            // # The hex-encoded SHA-384 hash of the X509 cert used to encrypt gRPC traffic to the node
	ServiceEndpoint []*ServiceEndpoint `protobuf:"bytes,8,rep,name=serviceEndpoint,proto3" json:"serviceEndpoint,omitempty"`      // # A node's service IP addresses and ports
	Description     string             `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`              // A description of the node, with UTF-8 encoding up to 100 bytes
	Stake           int64              `protobuf:"varint,10,opt,name=stake,proto3" json:"stake,omitempty"`                        // The amount of tinybars staked to the node
	// 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: Do not use.

func (*NodeAddress) GetMemo deprecated

func (x *NodeAddress) GetMemo() []byte

Deprecated: Do not use.

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: Do not use.

func (*NodeAddress) GetRSA_PubKey

func (x *NodeAddress) GetRSA_PubKey() string

func (*NodeAddress) GetServiceEndpoint

func (x *NodeAddress) GetServiceEndpoint() []*ServiceEndpoint

func (*NodeAddress) GetStake

func (x *NodeAddress) GetStake() int64

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 {
	NodeAddress []*NodeAddress `protobuf:"bytes,1,rep,name=nodeAddress,proto3" json:"nodeAddress,omitempty"` // Metadata of all nodes in the network
	// 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 ProxyStaker

type ProxyStaker struct {
	AccountID *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"` // The Account ID that is proxy staking
	Amount    int64      `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`      // The number of hbars that are currently proxy staked
	// contains filtered or unexported fields
}

information about a single account that is proxy staking

func (*ProxyStaker) Descriptor deprecated

func (*ProxyStaker) Descriptor() ([]byte, []int)

Deprecated: Use ProxyStaker.ProtoReflect.Descriptor instead.

func (*ProxyStaker) GetAccountID

func (x *ProxyStaker) GetAccountID() *AccountID

func (*ProxyStaker) GetAmount

func (x *ProxyStaker) GetAmount() int64

func (*ProxyStaker) ProtoMessage

func (*ProxyStaker) ProtoMessage()

func (*ProxyStaker) ProtoReflect

func (x *ProxyStaker) ProtoReflect() protoreflect.Message

func (*ProxyStaker) Reset

func (x *ProxyStaker) Reset()

func (*ProxyStaker) String

func (x *ProxyStaker) String() string

type Query

type Query struct {

	// Types that are assignable to Query:
	//	*Query_GetByKey
	//	*Query_GetBySolidityID
	//	*Query_ContractCallLocal
	//	*Query_ContractGetInfo
	//	*Query_ContractGetBytecode
	//	*Query_ContractGetRecords
	//	*Query_CryptogetAccountBalance
	//	*Query_CryptoGetAccountRecords
	//	*Query_CryptoGetInfo
	//	*Query_CryptoGetLiveHash
	//	*Query_CryptoGetProxyStakers
	//	*Query_FileGetContents
	//	*Query_FileGetInfo
	//	*Query_TransactionGetReceipt
	//	*Query_TransactionGetRecord
	//	*Query_TransactionGetFastRecord
	//	*Query_ConsensusGetTopicInfo
	//	*Query_NetworkGetVersionInfo
	//	*Query_TokenGetInfo
	//	*Query_ScheduleGetInfo
	//	*Query_TokenGetAccountNftInfos
	//	*Query_TokenGetNftInfo
	//	*Query_TokenGetNftInfos
	Query isQuery_Query `protobuf_oneof:"query"`
	// contains filtered or unexported fields
}

A single query, which is sent from the client to a node. This includes all possible queries. Each Query should not have more than 50 levels.

func (*Query) Descriptor deprecated

func (*Query) Descriptor() ([]byte, []int)

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetConsensusGetTopicInfo

func (x *Query) GetConsensusGetTopicInfo() *ConsensusGetTopicInfoQuery

func (*Query) GetContractCallLocal

func (x *Query) GetContractCallLocal() *ContractCallLocalQuery

func (*Query) GetContractGetBytecode

func (x *Query) GetContractGetBytecode() *ContractGetBytecodeQuery

func (*Query) GetContractGetInfo

func (x *Query) GetContractGetInfo() *ContractGetInfoQuery

func (*Query) GetContractGetRecords

func (x *Query) GetContractGetRecords() *ContractGetRecordsQuery

func (*Query) GetCryptoGetAccountRecords

func (x *Query) GetCryptoGetAccountRecords() *CryptoGetAccountRecordsQuery

func (*Query) GetCryptoGetInfo

func (x *Query) GetCryptoGetInfo() *CryptoGetInfoQuery

func (*Query) GetCryptoGetLiveHash

func (x *Query) GetCryptoGetLiveHash() *CryptoGetLiveHashQuery

func (*Query) GetCryptoGetProxyStakers

func (x *Query) GetCryptoGetProxyStakers() *CryptoGetStakersQuery

func (*Query) GetCryptogetAccountBalance

func (x *Query) GetCryptogetAccountBalance() *CryptoGetAccountBalanceQuery

func (*Query) GetFileGetContents

func (x *Query) GetFileGetContents() *FileGetContentsQuery

func (*Query) GetFileGetInfo

func (x *Query) GetFileGetInfo() *FileGetInfoQuery

func (*Query) GetGetByKey

func (x *Query) GetGetByKey() *GetByKeyQuery

func (*Query) GetGetBySolidityID

func (x *Query) GetGetBySolidityID() *GetBySolidityIDQuery

func (*Query) GetNetworkGetVersionInfo

func (x *Query) GetNetworkGetVersionInfo() *NetworkGetVersionInfoQuery

func (*Query) GetQuery

func (m *Query) GetQuery() isQuery_Query

func (*Query) GetScheduleGetInfo

func (x *Query) GetScheduleGetInfo() *ScheduleGetInfoQuery

func (*Query) GetTokenGetAccountNftInfos added in v0.2.0

func (x *Query) GetTokenGetAccountNftInfos() *TokenGetAccountNftInfosQuery

func (*Query) GetTokenGetInfo

func (x *Query) GetTokenGetInfo() *TokenGetInfoQuery

func (*Query) GetTokenGetNftInfo

func (x *Query) GetTokenGetNftInfo() *TokenGetNftInfoQuery

func (*Query) GetTokenGetNftInfos

func (x *Query) GetTokenGetNftInfos() *TokenGetNftInfosQuery

func (*Query) GetTransactionGetFastRecord

func (x *Query) GetTransactionGetFastRecord() *TransactionGetFastRecordQuery

func (*Query) GetTransactionGetReceipt

func (x *Query) GetTransactionGetReceipt() *TransactionGetReceiptQuery

func (*Query) GetTransactionGetRecord

func (x *Query) GetTransactionGetRecord() *TransactionGetRecordQuery

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect

func (x *Query) ProtoReflect() protoreflect.Message

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

type QueryHeader

type QueryHeader struct {
	Payment      *Transaction `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"`                                    // A signed CryptoTransferTransaction to pay the node a fee for handling this query
	ResponseType ResponseType `protobuf:"varint,2,opt,name=responseType,proto3,enum=proto.ResponseType" json:"responseType,omitempty"` // The requested response, asking for cost, state proof, both, or neither
	// contains filtered or unexported fields
}

Each query from the client to the node will contain the QueryHeader, which gives the requested response type, and includes a payment transaction that will compensate the node for responding to the query. The payment can be blank if the query is free.

func (*QueryHeader) Descriptor deprecated

func (*QueryHeader) Descriptor() ([]byte, []int)

Deprecated: Use QueryHeader.ProtoReflect.Descriptor instead.

func (*QueryHeader) GetPayment

func (x *QueryHeader) GetPayment() *Transaction

func (*QueryHeader) GetResponseType

func (x *QueryHeader) GetResponseType() ResponseType

func (*QueryHeader) ProtoMessage

func (*QueryHeader) ProtoMessage()

func (*QueryHeader) ProtoReflect

func (x *QueryHeader) ProtoReflect() protoreflect.Message

func (*QueryHeader) Reset

func (x *QueryHeader) Reset()

func (*QueryHeader) String

func (x *QueryHeader) String() string

type Query_ConsensusGetTopicInfo

type Query_ConsensusGetTopicInfo struct {
	ConsensusGetTopicInfo *ConsensusGetTopicInfoQuery `protobuf:"bytes,50,opt,name=consensusGetTopicInfo,proto3,oneof"` // Get the parameters of and state of a consensus topic.
}

type Query_ContractCallLocal

type Query_ContractCallLocal struct {
	ContractCallLocal *ContractCallLocalQuery `protobuf:"bytes,3,opt,name=contractCallLocal,proto3,oneof"` // Call a function of a smart contract instance
}

type Query_ContractGetBytecode

type Query_ContractGetBytecode struct {
	ContractGetBytecode *ContractGetBytecodeQuery `protobuf:"bytes,5,opt,name=contractGetBytecode,proto3,oneof"` // Get bytecode used by a smart contract instance
}

type Query_ContractGetInfo

type Query_ContractGetInfo struct {
	ContractGetInfo *ContractGetInfoQuery `protobuf:"bytes,4,opt,name=contractGetInfo,proto3,oneof"` // Get information about a smart contract instance
}

type Query_ContractGetRecords

type Query_ContractGetRecords struct {
	ContractGetRecords *ContractGetRecordsQuery `protobuf:"bytes,6,opt,name=ContractGetRecords,proto3,oneof"` // Get Records of the contract instance
}

type Query_CryptoGetAccountRecords

type Query_CryptoGetAccountRecords struct {
	CryptoGetAccountRecords *CryptoGetAccountRecordsQuery `protobuf:"bytes,8,opt,name=cryptoGetAccountRecords,proto3,oneof"` // Get all the records that currently exist for transactions involving an account
}

type Query_CryptoGetInfo

type Query_CryptoGetInfo struct {
	CryptoGetInfo *CryptoGetInfoQuery `protobuf:"bytes,9,opt,name=cryptoGetInfo,proto3,oneof"` // Get all information about an account
}

type Query_CryptoGetLiveHash

type Query_CryptoGetLiveHash struct {
	CryptoGetLiveHash *CryptoGetLiveHashQuery `protobuf:"bytes,10,opt,name=cryptoGetLiveHash,proto3,oneof"` // Get a single livehash from a single account, if present
}

type Query_CryptoGetProxyStakers

type Query_CryptoGetProxyStakers struct {
	CryptoGetProxyStakers *CryptoGetStakersQuery `protobuf:"bytes,11,opt,name=cryptoGetProxyStakers,proto3,oneof"` // Get all the accounts that proxy stake to a given account, and how much they proxy stake (not yet implemented in the current API)
}

type Query_CryptogetAccountBalance

type Query_CryptogetAccountBalance struct {
	CryptogetAccountBalance *CryptoGetAccountBalanceQuery `protobuf:"bytes,7,opt,name=cryptogetAccountBalance,proto3,oneof"` // Get the current balance in a cryptocurrency account
}

type Query_FileGetContents

type Query_FileGetContents struct {
	FileGetContents *FileGetContentsQuery `protobuf:"bytes,12,opt,name=fileGetContents,proto3,oneof"` // Get the contents of a file (the bytes stored in it)
}

type Query_FileGetInfo

type Query_FileGetInfo struct {
	FileGetInfo *FileGetInfoQuery `protobuf:"bytes,13,opt,name=fileGetInfo,proto3,oneof"` // Get information about a file, such as its expiration date
}

type Query_GetByKey

type Query_GetByKey struct {
	GetByKey *GetByKeyQuery `protobuf:"bytes,1,opt,name=getByKey,proto3,oneof"` // Get all entities associated with a given key
}

type Query_GetBySolidityID

type Query_GetBySolidityID struct {
	GetBySolidityID *GetBySolidityIDQuery `protobuf:"bytes,2,opt,name=getBySolidityID,proto3,oneof"` // Get the IDs in the format used in transactions, given the format used in Solidity
}

type Query_NetworkGetVersionInfo

type Query_NetworkGetVersionInfo struct {
	NetworkGetVersionInfo *NetworkGetVersionInfoQuery `protobuf:"bytes,51,opt,name=networkGetVersionInfo,proto3,oneof"` // Get the versions of the HAPI protobuf and Hedera Services software deployed on the responding node.
}

type Query_ScheduleGetInfo

type Query_ScheduleGetInfo struct {
	ScheduleGetInfo *ScheduleGetInfoQuery `protobuf:"bytes,53,opt,name=scheduleGetInfo,proto3,oneof"` // Get all information about a scheduled entity
}

type Query_TokenGetAccountNftInfos added in v0.2.0

type Query_TokenGetAccountNftInfos struct {
	TokenGetAccountNftInfos *TokenGetAccountNftInfosQuery `protobuf:"bytes,54,opt,name=tokenGetAccountNftInfos,proto3,oneof"` // Get a list of NFTs associated with the account
}

type Query_TokenGetInfo

type Query_TokenGetInfo struct {
	TokenGetInfo *TokenGetInfoQuery `protobuf:"bytes,52,opt,name=tokenGetInfo,proto3,oneof"` // Get all information about a token
}

type Query_TokenGetNftInfo

type Query_TokenGetNftInfo struct {
	TokenGetNftInfo *TokenGetNftInfoQuery `protobuf:"bytes,55,opt,name=tokenGetNftInfo,proto3,oneof"` // Get all information about a NFT
}

type Query_TokenGetNftInfos

type Query_TokenGetNftInfos struct {
	TokenGetNftInfos *TokenGetNftInfosQuery `protobuf:"bytes,56,opt,name=tokenGetNftInfos,proto3,oneof"` // Get a list of NFTs for the token
}

type Query_TransactionGetFastRecord

type Query_TransactionGetFastRecord struct {
	TransactionGetFastRecord *TransactionGetFastRecordQuery `protobuf:"bytes,16,opt,name=transactionGetFastRecord,proto3,oneof"` // Get a record for a transaction (lasts 180 seconds)
}

type Query_TransactionGetReceipt

type Query_TransactionGetReceipt struct {
	TransactionGetReceipt *TransactionGetReceiptQuery `protobuf:"bytes,14,opt,name=transactionGetReceipt,proto3,oneof"` // Get a receipt for a transaction (lasts 180 seconds)
}

type Query_TransactionGetRecord

type Query_TransactionGetRecord struct {
	TransactionGetRecord *TransactionGetRecordQuery `protobuf:"bytes,15,opt,name=transactionGetRecord,proto3,oneof"` // Get a record for a transaction
}

type RealmID

type RealmID struct {
	ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // The shard number (nonnegative)
	RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"` // The realm number (nonnegative)
	// 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) Descriptor() ([]byte, []int)

Deprecated: Use RealmID.ProtoReflect.Descriptor instead.

func (*RealmID) GetRealmNum

func (x *RealmID) GetRealmNum() int64

func (*RealmID) GetShardNum

func (x *RealmID) GetShardNum() int64

func (*RealmID) ProtoMessage

func (*RealmID) ProtoMessage()

func (*RealmID) ProtoReflect

func (x *RealmID) ProtoReflect() protoreflect.Message

func (*RealmID) Reset

func (x *RealmID) Reset()

func (*RealmID) String

func (x *RealmID) String() string

type Response

type Response struct {

	// Types that are assignable to Response:
	//	*Response_GetByKey
	//	*Response_GetBySolidityID
	//	*Response_ContractCallLocal
	//	*Response_ContractGetBytecodeResponse
	//	*Response_ContractGetInfo
	//	*Response_ContractGetRecordsResponse
	//	*Response_CryptogetAccountBalance
	//	*Response_CryptoGetAccountRecords
	//	*Response_CryptoGetInfo
	//	*Response_CryptoGetLiveHash
	//	*Response_CryptoGetProxyStakers
	//	*Response_FileGetContents
	//	*Response_FileGetInfo
	//	*Response_TransactionGetReceipt
	//	*Response_TransactionGetRecord
	//	*Response_TransactionGetFastRecord
	//	*Response_ConsensusGetTopicInfo
	//	*Response_NetworkGetVersionInfo
	//	*Response_TokenGetInfo
	//	*Response_ScheduleGetInfo
	//	*Response_TokenGetAccountNftInfos
	//	*Response_TokenGetNftInfo
	//	*Response_TokenGetNftInfos
	Response isResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

A single response, which is returned from the node to the client, after the client sent the node a query. This includes all responses.

func (*Response) Descriptor deprecated

func (*Response) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetConsensusGetTopicInfo

func (x *Response) GetConsensusGetTopicInfo() *ConsensusGetTopicInfoResponse

func (*Response) GetContractCallLocal

func (x *Response) GetContractCallLocal() *ContractCallLocalResponse

func (*Response) GetContractGetBytecodeResponse

func (x *Response) GetContractGetBytecodeResponse() *ContractGetBytecodeResponse

func (*Response) GetContractGetInfo

func (x *Response) GetContractGetInfo() *ContractGetInfoResponse

func (*Response) GetContractGetRecordsResponse

func (x *Response) GetContractGetRecordsResponse() *ContractGetRecordsResponse

func (*Response) GetCryptoGetAccountRecords

func (x *Response) GetCryptoGetAccountRecords() *CryptoGetAccountRecordsResponse

func (*Response) GetCryptoGetInfo

func (x *Response) GetCryptoGetInfo() *CryptoGetInfoResponse

func (*Response) GetCryptoGetLiveHash

func (x *Response) GetCryptoGetLiveHash() *CryptoGetLiveHashResponse

func (*Response) GetCryptoGetProxyStakers

func (x *Response) GetCryptoGetProxyStakers() *CryptoGetStakersResponse

func (*Response) GetCryptogetAccountBalance

func (x *Response) GetCryptogetAccountBalance() *CryptoGetAccountBalanceResponse

func (*Response) GetFileGetContents

func (x *Response) GetFileGetContents() *FileGetContentsResponse

func (*Response) GetFileGetInfo

func (x *Response) GetFileGetInfo() *FileGetInfoResponse

func (*Response) GetGetByKey

func (x *Response) GetGetByKey() *GetByKeyResponse

func (*Response) GetGetBySolidityID

func (x *Response) GetGetBySolidityID() *GetBySolidityIDResponse

func (*Response) GetNetworkGetVersionInfo

func (x *Response) GetNetworkGetVersionInfo() *NetworkGetVersionInfoResponse

func (*Response) GetResponse

func (m *Response) GetResponse() isResponse_Response

func (*Response) GetScheduleGetInfo

func (x *Response) GetScheduleGetInfo() *ScheduleGetInfoResponse

func (*Response) GetTokenGetAccountNftInfos added in v0.2.0

func (x *Response) GetTokenGetAccountNftInfos() *TokenGetAccountNftInfosResponse

func (*Response) GetTokenGetInfo

func (x *Response) GetTokenGetInfo() *TokenGetInfoResponse

func (*Response) GetTokenGetNftInfo

func (x *Response) GetTokenGetNftInfo() *TokenGetNftInfoResponse

func (*Response) GetTokenGetNftInfos

func (x *Response) GetTokenGetNftInfos() *TokenGetNftInfosResponse

func (*Response) GetTransactionGetFastRecord

func (x *Response) GetTransactionGetFastRecord() *TransactionGetFastRecordResponse

func (*Response) GetTransactionGetReceipt

func (x *Response) GetTransactionGetReceipt() *TransactionGetReceiptResponse

func (*Response) GetTransactionGetRecord

func (x *Response) GetTransactionGetRecord() *TransactionGetRecordResponse

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type ResponseCodeEnum

type ResponseCodeEnum int32
const (
	ResponseCodeEnum_OK                                      ResponseCodeEnum = 0  // The transaction passed the precheck validations.
	ResponseCodeEnum_INVALID_TRANSACTION                     ResponseCodeEnum = 1  // For any error not handled by specific error codes listed below.
	ResponseCodeEnum_PAYER_ACCOUNT_NOT_FOUND                 ResponseCodeEnum = 2  // Payer account does not exist.
	ResponseCodeEnum_INVALID_NODE_ACCOUNT                    ResponseCodeEnum = 3  // Node Account provided does not match the node account of the node the transaction was submitted to.
	ResponseCodeEnum_TRANSACTION_EXPIRED                     ResponseCodeEnum = 4  // Pre-Check error when TransactionValidStart + transactionValidDuration is less than current consensus time.
	ResponseCodeEnum_INVALID_TRANSACTION_START               ResponseCodeEnum = 5  // Transaction start time is greater than current consensus time
	ResponseCodeEnum_INVALID_TRANSACTION_DURATION            ResponseCodeEnum = 6  // valid transaction duration is a positive non zero number that does not exceed 120 seconds
	ResponseCodeEnum_INVALID_SIGNATURE                       ResponseCodeEnum = 7  // The transaction signature is not valid
	ResponseCodeEnum_MEMO_TOO_LONG                           ResponseCodeEnum = 8  // Transaction memo size exceeded 100 bytes
	ResponseCodeEnum_INSUFFICIENT_TX_FEE                     ResponseCodeEnum = 9  // The fee provided in the transaction is insufficient for this type of transaction
	ResponseCodeEnum_INSUFFICIENT_PAYER_BALANCE              ResponseCodeEnum = 10 // The payer account has insufficient cryptocurrency to pay the transaction fee
	ResponseCodeEnum_DUPLICATE_TRANSACTION                   ResponseCodeEnum = 11 // This transaction ID is a duplicate of one that was submitted to this node or reached consensus in the last 180 seconds (receipt period)
	ResponseCodeEnum_BUSY                                    ResponseCodeEnum = 12 // If API is throttled out
	ResponseCodeEnum_NOT_SUPPORTED                           ResponseCodeEnum = 13 // The API is not currently supported
	ResponseCodeEnum_INVALID_FILE_ID                         ResponseCodeEnum = 14 // The file id is invalid or does not exist
	ResponseCodeEnum_INVALID_ACCOUNT_ID                      ResponseCodeEnum = 15 // The account id is invalid or does not exist
	ResponseCodeEnum_INVALID_CONTRACT_ID                     ResponseCodeEnum = 16 // The contract id is invalid or does not exist
	ResponseCodeEnum_INVALID_TRANSACTION_ID                  ResponseCodeEnum = 17 // Transaction id is not valid
	ResponseCodeEnum_RECEIPT_NOT_FOUND                       ResponseCodeEnum = 18 // Receipt for given transaction id does not exist
	ResponseCodeEnum_RECORD_NOT_FOUND                        ResponseCodeEnum = 19 // Record for given transaction id does not exist
	ResponseCodeEnum_INVALID_SOLIDITY_ID                     ResponseCodeEnum = 20 // The solidity id is invalid or entity with this solidity id does not exist
	ResponseCodeEnum_UNKNOWN                                 ResponseCodeEnum = 21 // The responding node has submitted the transaction to the network. Its final status is still unknown.
	ResponseCodeEnum_SUCCESS                                 ResponseCodeEnum = 22 // The transaction succeeded
	ResponseCodeEnum_FAIL_INVALID                            ResponseCodeEnum = 23 // There was a system error and the transaction failed because of invalid request parameters.
	ResponseCodeEnum_FAIL_FEE                                ResponseCodeEnum = 24 // There was a system error while performing fee calculation, reserved for future.
	ResponseCodeEnum_FAIL_BALANCE                            ResponseCodeEnum = 25 // There was a system error while performing balance checks, reserved for future.
	ResponseCodeEnum_KEY_REQUIRED                            ResponseCodeEnum = 26 // Key not provided in the transaction body
	ResponseCodeEnum_BAD_ENCODING                            ResponseCodeEnum = 27 // Unsupported algorithm/encoding used for keys in the transaction
	ResponseCodeEnum_INSUFFICIENT_ACCOUNT_BALANCE            ResponseCodeEnum = 28 // When the account balance is not sufficient for the transfer
	ResponseCodeEnum_INVALID_SOLIDITY_ADDRESS                ResponseCodeEnum = 29 // During an update transaction when the system is not able to find the Users Solidity address
	ResponseCodeEnum_INSUFFICIENT_GAS                        ResponseCodeEnum = 30 // Not enough gas was supplied to execute transaction
	ResponseCodeEnum_CONTRACT_SIZE_LIMIT_EXCEEDED            ResponseCodeEnum = 31 // contract byte code size is over the limit
	ResponseCodeEnum_LOCAL_CALL_MODIFICATION_EXCEPTION       ResponseCodeEnum = 32 // local execution (query) is requested for a function which changes state
	ResponseCodeEnum_CONTRACT_REVERT_EXECUTED                ResponseCodeEnum = 33 // Contract REVERT OPCODE executed
	ResponseCodeEnum_CONTRACT_EXECUTION_EXCEPTION            ResponseCodeEnum = 34 // For any contract execution related error not handled by specific error codes listed above.
	ResponseCodeEnum_INVALID_RECEIVING_NODE_ACCOUNT          ResponseCodeEnum = 35 // In Query validation, account with +ve(amount) value should be Receiving node account, the receiver account should be only one account in the list
	ResponseCodeEnum_MISSING_QUERY_HEADER                    ResponseCodeEnum = 36 // Header is missing in Query request
	ResponseCodeEnum_ACCOUNT_UPDATE_FAILED                   ResponseCodeEnum = 37 // The update of the account failed
	ResponseCodeEnum_INVALID_KEY_ENCODING                    ResponseCodeEnum = 38 // Provided key encoding was not supported by the system
	ResponseCodeEnum_NULL_SOLIDITY_ADDRESS                   ResponseCodeEnum = 39 // null solidity address
	ResponseCodeEnum_CONTRACT_UPDATE_FAILED                  ResponseCodeEnum = 40 // update of the contract failed
	ResponseCodeEnum_INVALID_QUERY_HEADER                    ResponseCodeEnum = 41 // the query header is invalid
	ResponseCodeEnum_INVALID_FEE_SUBMITTED                   ResponseCodeEnum = 42 // Invalid fee submitted
	ResponseCodeEnum_INVALID_PAYER_SIGNATURE                 ResponseCodeEnum = 43 // Payer signature is invalid
	ResponseCodeEnum_KEY_NOT_PROVIDED                        ResponseCodeEnum = 44 // The keys were not provided in the request.
	ResponseCodeEnum_INVALID_EXPIRATION_TIME                 ResponseCodeEnum = 45 // Expiration time provided in the transaction was invalid.
	ResponseCodeEnum_NO_WACL_KEY                             ResponseCodeEnum = 46 // WriteAccess Control Keys are not provided for the file
	ResponseCodeEnum_FILE_CONTENT_EMPTY                      ResponseCodeEnum = 47 // The contents of file are provided as empty.
	ResponseCodeEnum_INVALID_ACCOUNT_AMOUNTS                 ResponseCodeEnum = 48 // The crypto transfer credit and debit do not sum equal to 0
	ResponseCodeEnum_EMPTY_TRANSACTION_BODY                  ResponseCodeEnum = 49 // Transaction body provided is empty
	ResponseCodeEnum_INVALID_TRANSACTION_BODY                ResponseCodeEnum = 50 // Invalid transaction body provided
	ResponseCodeEnum_INVALID_SIGNATURE_TYPE_MISMATCHING_KEY  ResponseCodeEnum = 51 // the type of key (base ed25519 key, KeyList, or ThresholdKey) does not match the type of signature (base ed25519 signature, SignatureList, or ThresholdKeySignature)
	ResponseCodeEnum_INVALID_SIGNATURE_COUNT_MISMATCHING_KEY ResponseCodeEnum = 52 // the number of key (KeyList, or ThresholdKey) does not match that of signature (SignatureList, or ThresholdKeySignature). e.g. if a keyList has 3 base keys, then the corresponding signatureList should also have 3 base signatures.
	ResponseCodeEnum_EMPTY_LIVE_HASH_BODY                    ResponseCodeEnum = 53 // the livehash body is empty
	ResponseCodeEnum_EMPTY_LIVE_HASH                         ResponseCodeEnum = 54 // the livehash data is missing
	ResponseCodeEnum_EMPTY_LIVE_HASH_KEYS                    ResponseCodeEnum = 55 // the keys for a livehash are missing
	ResponseCodeEnum_INVALID_LIVE_HASH_SIZE                  ResponseCodeEnum = 56 // the livehash data is not the output of a SHA-384 digest
	ResponseCodeEnum_EMPTY_QUERY_BODY                        ResponseCodeEnum = 57 // the query body is empty
	ResponseCodeEnum_EMPTY_LIVE_HASH_QUERY                   ResponseCodeEnum = 58 // the crypto livehash query is empty
	ResponseCodeEnum_LIVE_HASH_NOT_FOUND                     ResponseCodeEnum = 59 // the livehash is not present
	ResponseCodeEnum_ACCOUNT_ID_DOES_NOT_EXIST               ResponseCodeEnum = 60 // the account id passed has not yet been created.
	ResponseCodeEnum_LIVE_HASH_ALREADY_EXISTS                ResponseCodeEnum = 61 // the livehash already exists for a given account
	ResponseCodeEnum_INVALID_FILE_WACL                       ResponseCodeEnum = 62 // File WACL keys are invalid
	ResponseCodeEnum_SERIALIZATION_FAILED                    ResponseCodeEnum = 63 // Serialization failure
	ResponseCodeEnum_TRANSACTION_OVERSIZE                    ResponseCodeEnum = 64 // The size of the Transaction is greater than transactionMaxBytes
	ResponseCodeEnum_TRANSACTION_TOO_MANY_LAYERS             ResponseCodeEnum = 65 // The Transaction has more than 50 levels
	ResponseCodeEnum_CONTRACT_DELETED                        ResponseCodeEnum = 66 // Contract is marked as deleted
	ResponseCodeEnum_PLATFORM_NOT_ACTIVE                     ResponseCodeEnum = 67 // the platform node is either disconnected or lagging behind.
	ResponseCodeEnum_KEY_PREFIX_MISMATCH                     ResponseCodeEnum = 68 // one public key matches more than one prefixes on the signature map
	ResponseCodeEnum_PLATFORM_TRANSACTION_NOT_CREATED        ResponseCodeEnum = 69 // transaction not created by platform due to large backlog
	ResponseCodeEnum_INVALID_RENEWAL_PERIOD                  ResponseCodeEnum = 70 // auto renewal period is not a positive number of seconds
	ResponseCodeEnum_INVALID_PAYER_ACCOUNT_ID                ResponseCodeEnum = 71 // the response code when a smart contract id is passed for a crypto API request
	ResponseCodeEnum_ACCOUNT_DELETED                         ResponseCodeEnum = 72 // the account has been marked as deleted
	ResponseCodeEnum_FILE_DELETED                            ResponseCodeEnum = 73 // the file has been marked as deleted
	ResponseCodeEnum_ACCOUNT_REPEATED_IN_ACCOUNT_AMOUNTS     ResponseCodeEnum = 74 // same accounts repeated in the transfer account list
	ResponseCodeEnum_SETTING_NEGATIVE_ACCOUNT_BALANCE        ResponseCodeEnum = 75 // attempting to set negative balance value for crypto account
	ResponseCodeEnum_OBTAINER_REQUIRED                       ResponseCodeEnum = 76 // when deleting smart contract that has crypto balance either transfer account or transfer smart contract is required
	ResponseCodeEnum_OBTAINER_SAME_CONTRACT_ID               ResponseCodeEnum = 77 // when deleting smart contract that has crypto balance you can not use the same contract id as transferContractId as the one being deleted
	ResponseCodeEnum_OBTAINER_DOES_NOT_EXIST                 ResponseCodeEnum = 78 // transferAccountId or transferContractId specified for contract delete does not exist
	ResponseCodeEnum_MODIFYING_IMMUTABLE_CONTRACT            ResponseCodeEnum = 79 // attempting to modify (update or delete a immutable smart contract, i.e. one created without a admin key)
	ResponseCodeEnum_FILE_SYSTEM_EXCEPTION                   ResponseCodeEnum = 80 // Unexpected exception thrown by file system functions
	ResponseCodeEnum_AUTORENEW_DURATION_NOT_IN_RANGE         ResponseCodeEnum = 81 // the duration is not a subset of [MINIMUM_AUTORENEW_DURATION,MAXIMUM_AUTORENEW_DURATION]
	ResponseCodeEnum_ERROR_DECODING_BYTESTRING               ResponseCodeEnum = 82 // Decoding the smart contract binary to a byte array failed. Check that the input is a valid hex string.
	ResponseCodeEnum_CONTRACT_FILE_EMPTY                     ResponseCodeEnum = 83 // File to create a smart contract was of length zero
	ResponseCodeEnum_CONTRACT_BYTECODE_EMPTY                 ResponseCodeEnum = 84 // Bytecode for smart contract is of length zero
	ResponseCodeEnum_INVALID_INITIAL_BALANCE                 ResponseCodeEnum = 85 // Attempt to set negative initial balance
	// Deprecated: Do not use.
	ResponseCodeEnum_INVALID_RECEIVE_RECORD_THRESHOLD ResponseCodeEnum = 86 // [Deprecated]. attempt to set negative receive record threshold
	// Deprecated: Do not use.
	ResponseCodeEnum_INVALID_SEND_RECORD_THRESHOLD           ResponseCodeEnum = 87  // [Deprecated]. attempt to set negative send record threshold
	ResponseCodeEnum_ACCOUNT_IS_NOT_GENESIS_ACCOUNT          ResponseCodeEnum = 88  // Special Account Operations should be performed by only Genesis account, return this code if it is not Genesis Account
	ResponseCodeEnum_PAYER_ACCOUNT_UNAUTHORIZED              ResponseCodeEnum = 89  // The fee payer account doesn't have permission to submit such Transaction
	ResponseCodeEnum_INVALID_FREEZE_TRANSACTION_BODY         ResponseCodeEnum = 90  // FreezeTransactionBody is invalid
	ResponseCodeEnum_FREEZE_TRANSACTION_BODY_NOT_FOUND       ResponseCodeEnum = 91  // FreezeTransactionBody does not exist
	ResponseCodeEnum_TRANSFER_LIST_SIZE_LIMIT_EXCEEDED       ResponseCodeEnum = 92  // Exceeded the number of accounts (both from and to) allowed for crypto transfer list
	ResponseCodeEnum_RESULT_SIZE_LIMIT_EXCEEDED              ResponseCodeEnum = 93  // Smart contract result size greater than specified maxResultSize
	ResponseCodeEnum_NOT_SPECIAL_ACCOUNT                     ResponseCodeEnum = 94  // The payer account is not a special account(account 0.0.55)
	ResponseCodeEnum_CONTRACT_NEGATIVE_GAS                   ResponseCodeEnum = 95  // Negative gas was offered in smart contract call
	ResponseCodeEnum_CONTRACT_NEGATIVE_VALUE                 ResponseCodeEnum = 96  // Negative value / initial balance was specified in a smart contract call / create
	ResponseCodeEnum_INVALID_FEE_FILE                        ResponseCodeEnum = 97  // Failed to update fee file
	ResponseCodeEnum_INVALID_EXCHANGE_RATE_FILE              ResponseCodeEnum = 98  // Failed to update exchange rate file
	ResponseCodeEnum_INSUFFICIENT_LOCAL_CALL_GAS             ResponseCodeEnum = 99  // Payment tendered for contract local call cannot cover both the fee and the gas
	ResponseCodeEnum_ENTITY_NOT_ALLOWED_TO_DELETE            ResponseCodeEnum = 100 // Entities with Entity ID below 1000 are not allowed to be deleted
	ResponseCodeEnum_AUTHORIZATION_FAILED                    ResponseCodeEnum = 101 // Violating one of these rules: 1) treasury account can update all entities below 0.0.1000, 2) account 0.0.50 can update all entities from 0.0.51 - 0.0.80, 3) Network Function Master Account A/c 0.0.50 - Update all Network Function accounts & perform all the Network Functions listed below, 4) Network Function Accounts: i) A/c 0.0.55 - Update Address Book files (0.0.101/102), ii) A/c 0.0.56 - Update Fee schedule (0.0.111), iii) A/c 0.0.57 - Update Exchange Rate (0.0.112).
	ResponseCodeEnum_FILE_UPLOADED_PROTO_INVALID             ResponseCodeEnum = 102 // Fee Schedule Proto uploaded but not valid (append or update is required)
	ResponseCodeEnum_FILE_UPLOADED_PROTO_NOT_SAVED_TO_DISK   ResponseCodeEnum = 103 // Fee Schedule Proto uploaded but not valid (append or update is required)
	ResponseCodeEnum_FEE_SCHEDULE_FILE_PART_UPLOADED         ResponseCodeEnum = 104 // Fee Schedule Proto File Part uploaded
	ResponseCodeEnum_EXCHANGE_RATE_CHANGE_LIMIT_EXCEEDED     ResponseCodeEnum = 105 // The change on Exchange Rate exceeds Exchange_Rate_Allowed_Percentage
	ResponseCodeEnum_MAX_CONTRACT_STORAGE_EXCEEDED           ResponseCodeEnum = 106 // Contract permanent storage exceeded the currently allowable limit
	ResponseCodeEnum_TRANSFER_ACCOUNT_SAME_AS_DELETE_ACCOUNT ResponseCodeEnum = 107 // Transfer Account should not be same as Account to be deleted
	ResponseCodeEnum_TOTAL_LEDGER_BALANCE_INVALID            ResponseCodeEnum = 108
	ResponseCodeEnum_EXPIRATION_REDUCTION_NOT_ALLOWED        ResponseCodeEnum = 110 // The expiration date/time on a smart contract may not be reduced
	ResponseCodeEnum_MAX_GAS_LIMIT_EXCEEDED                  ResponseCodeEnum = 111 // Gas exceeded currently allowable gas limit per transaction
	ResponseCodeEnum_MAX_FILE_SIZE_EXCEEDED                  ResponseCodeEnum = 112 // File size exceeded the currently allowable limit
	ResponseCodeEnum_RECEIVER_SIG_REQUIRED                   ResponseCodeEnum = 113 // When a valid signature is not provided for operations on account with receiverSigRequired=true
	ResponseCodeEnum_INVALID_TOPIC_ID                        ResponseCodeEnum = 150 // The Topic ID specified is not in the system.
	ResponseCodeEnum_INVALID_ADMIN_KEY                       ResponseCodeEnum = 155 // A provided admin key was invalid.
	ResponseCodeEnum_INVALID_SUBMIT_KEY                      ResponseCodeEnum = 156 // A provided submit key was invalid.
	ResponseCodeEnum_UNAUTHORIZED                            ResponseCodeEnum = 157 // An attempted operation was not authorized (ie - a deleteTopic for a topic with no adminKey).
	ResponseCodeEnum_INVALID_TOPIC_MESSAGE                   ResponseCodeEnum = 158 // A ConsensusService message is empty.
	ResponseCodeEnum_INVALID_AUTORENEW_ACCOUNT               ResponseCodeEnum = 159 // The autoRenewAccount specified is not a valid, active account.
	ResponseCodeEnum_AUTORENEW_ACCOUNT_NOT_ALLOWED           ResponseCodeEnum = 160 // An adminKey was not specified on the topic, so there must not be an autoRenewAccount.
	// The topic has expired, was not automatically renewed, and is in a 7 day grace period before the topic will be
	// deleted unrecoverably. This error response code will not be returned until autoRenew functionality is supported
	// by HAPI.
	ResponseCodeEnum_TOPIC_EXPIRED                                          ResponseCodeEnum = 162
	ResponseCodeEnum_INVALID_CHUNK_NUMBER                                   ResponseCodeEnum = 163 // chunk number must be from 1 to total (chunks) inclusive.
	ResponseCodeEnum_INVALID_CHUNK_TRANSACTION_ID                           ResponseCodeEnum = 164 // For every chunk, the payer account that is part of initialTransactionID must match the Payer Account of this transaction. The entire initialTransactionID should match the transactionID of the first chunk, but this is not checked or enforced by Hedera except when the chunk number is 1.
	ResponseCodeEnum_ACCOUNT_FROZEN_FOR_TOKEN                               ResponseCodeEnum = 165 // Account is frozen and cannot transact with the token
	ResponseCodeEnum_TOKENS_PER_ACCOUNT_LIMIT_EXCEEDED                      ResponseCodeEnum = 166 // An involved account already has more than <tt>tokens.maxPerAccount</tt> associations with non-deleted tokens.
	ResponseCodeEnum_INVALID_TOKEN_ID                                       ResponseCodeEnum = 167 // The token is invalid or does not exist
	ResponseCodeEnum_INVALID_TOKEN_DECIMALS                                 ResponseCodeEnum = 168 // Invalid token decimals
	ResponseCodeEnum_INVALID_TOKEN_INITIAL_SUPPLY                           ResponseCodeEnum = 169 // Invalid token initial supply
	ResponseCodeEnum_INVALID_TREASURY_ACCOUNT_FOR_TOKEN                     ResponseCodeEnum = 170 // Treasury Account does not exist or is deleted
	ResponseCodeEnum_INVALID_TOKEN_SYMBOL                                   ResponseCodeEnum = 171 // Token Symbol is not UTF-8 capitalized alphabetical string
	ResponseCodeEnum_TOKEN_HAS_NO_FREEZE_KEY                                ResponseCodeEnum = 172 // Freeze key is not set on token
	ResponseCodeEnum_TRANSFERS_NOT_ZERO_SUM_FOR_TOKEN                       ResponseCodeEnum = 173 // Amounts in transfer list are not net zero
	ResponseCodeEnum_MISSING_TOKEN_SYMBOL                                   ResponseCodeEnum = 174 // A token symbol was not provided
	ResponseCodeEnum_TOKEN_SYMBOL_TOO_LONG                                  ResponseCodeEnum = 175 // The provided token symbol was too long
	ResponseCodeEnum_ACCOUNT_KYC_NOT_GRANTED_FOR_TOKEN                      ResponseCodeEnum = 176 // KYC must be granted and account does not have KYC granted
	ResponseCodeEnum_TOKEN_HAS_NO_KYC_KEY                                   ResponseCodeEnum = 177 // KYC key is not set on token
	ResponseCodeEnum_INSUFFICIENT_TOKEN_BALANCE                             ResponseCodeEnum = 178 // Token balance is not sufficient for the transaction
	ResponseCodeEnum_TOKEN_WAS_DELETED                                      ResponseCodeEnum = 179 // Token transactions cannot be executed on deleted token
	ResponseCodeEnum_TOKEN_HAS_NO_SUPPLY_KEY                                ResponseCodeEnum = 180 // Supply key is not set on token
	ResponseCodeEnum_TOKEN_HAS_NO_WIPE_KEY                                  ResponseCodeEnum = 181 // Wipe key is not set on token
	ResponseCodeEnum_INVALID_TOKEN_MINT_AMOUNT                              ResponseCodeEnum = 182 // The requested token mint amount would cause an invalid total supply
	ResponseCodeEnum_INVALID_TOKEN_BURN_AMOUNT                              ResponseCodeEnum = 183 // The requested token burn amount would cause an invalid total supply
	ResponseCodeEnum_TOKEN_NOT_ASSOCIATED_TO_ACCOUNT                        ResponseCodeEnum = 184 // A required token-account relationship is missing
	ResponseCodeEnum_CANNOT_WIPE_TOKEN_TREASURY_ACCOUNT                     ResponseCodeEnum = 185 // The target of a wipe operation was the token treasury account
	ResponseCodeEnum_INVALID_KYC_KEY                                        ResponseCodeEnum = 186 // The provided KYC key was invalid.
	ResponseCodeEnum_INVALID_WIPE_KEY                                       ResponseCodeEnum = 187 // The provided wipe key was invalid.
	ResponseCodeEnum_INVALID_FREEZE_KEY                                     ResponseCodeEnum = 188 // The provided freeze key was invalid.
	ResponseCodeEnum_INVALID_SUPPLY_KEY                                     ResponseCodeEnum = 189 // The provided supply key was invalid.
	ResponseCodeEnum_MISSING_TOKEN_NAME                                     ResponseCodeEnum = 190 // Token Name is not provided
	ResponseCodeEnum_TOKEN_NAME_TOO_LONG                                    ResponseCodeEnum = 191 // Token Name is too long
	ResponseCodeEnum_INVALID_WIPING_AMOUNT                                  ResponseCodeEnum = 192 // The provided wipe amount must not be negative, zero or bigger than the token holder balance
	ResponseCodeEnum_TOKEN_IS_IMMUTABLE                                     ResponseCodeEnum = 193 // Token does not have Admin key set, thus update/delete transactions cannot be performed
	ResponseCodeEnum_TOKEN_ALREADY_ASSOCIATED_TO_ACCOUNT                    ResponseCodeEnum = 194 // An <tt>associateToken</tt> operation specified a token already associated to the account
	ResponseCodeEnum_TRANSACTION_REQUIRES_ZERO_TOKEN_BALANCES               ResponseCodeEnum = 195 // An attempted operation is invalid until all token balances for the target account are zero
	ResponseCodeEnum_ACCOUNT_IS_TREASURY                                    ResponseCodeEnum = 196 // An attempted operation is invalid because the account is a treasury
	ResponseCodeEnum_TOKEN_ID_REPEATED_IN_TOKEN_LIST                        ResponseCodeEnum = 197 // Same TokenIDs present in the token list
	ResponseCodeEnum_TOKEN_TRANSFER_LIST_SIZE_LIMIT_EXCEEDED                ResponseCodeEnum = 198 // Exceeded the number of token transfers (both from and to) allowed for token transfer list
	ResponseCodeEnum_EMPTY_TOKEN_TRANSFER_BODY                              ResponseCodeEnum = 199 // TokenTransfersTransactionBody has no TokenTransferList
	ResponseCodeEnum_EMPTY_TOKEN_TRANSFER_ACCOUNT_AMOUNTS                   ResponseCodeEnum = 200 // TokenTransfersTransactionBody has a TokenTransferList with no AccountAmounts
	ResponseCodeEnum_INVALID_SCHEDULE_ID                                    ResponseCodeEnum = 201 // The Scheduled entity does not exist; or has now expired, been deleted, or been executed
	ResponseCodeEnum_SCHEDULE_IS_IMMUTABLE                                  ResponseCodeEnum = 202 // The Scheduled entity cannot be modified. Admin key not set
	ResponseCodeEnum_INVALID_SCHEDULE_PAYER_ID                              ResponseCodeEnum = 203 // The provided Scheduled Payer does not exist
	ResponseCodeEnum_INVALID_SCHEDULE_ACCOUNT_ID                            ResponseCodeEnum = 204 // The Schedule Create Transaction TransactionID account does not exist
	ResponseCodeEnum_NO_NEW_VALID_SIGNATURES                                ResponseCodeEnum = 205 // The provided sig map did not contain any new valid signatures from required signers of the scheduled transaction
	ResponseCodeEnum_UNRESOLVABLE_REQUIRED_SIGNERS                          ResponseCodeEnum = 206 // The required signers for a scheduled transaction cannot be resolved, for example because they do not exist or have been deleted
	ResponseCodeEnum_SCHEDULED_TRANSACTION_NOT_IN_WHITELIST                 ResponseCodeEnum = 207 // Only whitelisted transaction types may be scheduled
	ResponseCodeEnum_SOME_SIGNATURES_WERE_INVALID                           ResponseCodeEnum = 208 // At least one of the signatures in the provided sig map did not represent a valid signature for any required signer
	ResponseCodeEnum_TRANSACTION_ID_FIELD_NOT_ALLOWED                       ResponseCodeEnum = 209 // The scheduled field in the TransactionID may not be set to true
	ResponseCodeEnum_IDENTICAL_SCHEDULE_ALREADY_CREATED                     ResponseCodeEnum = 210 // A schedule already exists with the same identifying fields of an attempted ScheduleCreate (that is, all fields other than scheduledPayerAccountID)
	ResponseCodeEnum_INVALID_ZERO_BYTE_IN_STRING                            ResponseCodeEnum = 211 // A string field in the transaction has a UTF-8 encoding with the prohibited zero byte
	ResponseCodeEnum_SCHEDULE_ALREADY_DELETED                               ResponseCodeEnum = 212 // A schedule being signed or deleted has already been deleted
	ResponseCodeEnum_SCHEDULE_ALREADY_EXECUTED                              ResponseCodeEnum = 213 // A schedule being signed or deleted has already been executed
	ResponseCodeEnum_MESSAGE_SIZE_TOO_LARGE                                 ResponseCodeEnum = 214 // ConsensusSubmitMessage request's message size is larger than allowed.
	ResponseCodeEnum_OPERATION_REPEATED_IN_BUCKET_GROUPS                    ResponseCodeEnum = 215 // An operation was assigned to more than one throttle group in a given bucket
	ResponseCodeEnum_BUCKET_CAPACITY_OVERFLOW                               ResponseCodeEnum = 216 // The capacity needed to satisfy all opsPerSec groups in a bucket overflowed a signed 8-byte integral type
	ResponseCodeEnum_NODE_CAPACITY_NOT_SUFFICIENT_FOR_OPERATION             ResponseCodeEnum = 217 // Given the network size in the address book, the node-level capacity for an operation would never be enough to accept a single request; usually means a bucket burstPeriod should be increased
	ResponseCodeEnum_BUCKET_HAS_NO_THROTTLE_GROUPS                          ResponseCodeEnum = 218 // A bucket was defined without any throttle groups
	ResponseCodeEnum_THROTTLE_GROUP_HAS_ZERO_OPS_PER_SEC                    ResponseCodeEnum = 219 // A throttle group was granted zero opsPerSec
	ResponseCodeEnum_SUCCESS_BUT_MISSING_EXPECTED_OPERATION                 ResponseCodeEnum = 220 // The throttle definitions file was updated, but some supported operations were not assigned a bucket
	ResponseCodeEnum_UNPARSEABLE_THROTTLE_DEFINITIONS                       ResponseCodeEnum = 221 // The new contents for the throttle definitions system file were not valid protobuf
	ResponseCodeEnum_INVALID_THROTTLE_DEFINITIONS                           ResponseCodeEnum = 222 // The new throttle definitions system file were invalid, and no more specific error could be divined
	ResponseCodeEnum_ACCOUNT_EXPIRED_AND_PENDING_REMOVAL                    ResponseCodeEnum = 223 // The transaction references an account which has passed its expiration without renewal funds available, and currently remains in the ledger only because of the grace period given to expired entities
	ResponseCodeEnum_INVALID_TOKEN_MAX_SUPPLY                               ResponseCodeEnum = 224 // Invalid token max supply
	ResponseCodeEnum_INVALID_TOKEN_NFT_SERIAL_NUMBER                        ResponseCodeEnum = 225 // Invalid token nft serial number
	ResponseCodeEnum_INVALID_NFT_ID                                         ResponseCodeEnum = 226 // Invalid nft id
	ResponseCodeEnum_METADATA_TOO_LONG                                      ResponseCodeEnum = 227 // Nft metadata is too long
	ResponseCodeEnum_BATCH_SIZE_LIMIT_EXCEEDED                              ResponseCodeEnum = 228 // Repeated operations count exceeds the limit
	ResponseCodeEnum_INVALID_QUERY_RANGE                                    ResponseCodeEnum = 229 // The range of data to be gathered is out of the set boundaries
	ResponseCodeEnum_FRACTION_DIVIDES_BY_ZERO                               ResponseCodeEnum = 230 // A custom fractional fee set a denominator of zero
	ResponseCodeEnum_INSUFFICIENT_PAYER_BALANCE_FOR_CUSTOM_FEE              ResponseCodeEnum = 231 // The transaction payer could not afford a custom fee
	ResponseCodeEnum_CUSTOM_FEES_LIST_TOO_LONG                              ResponseCodeEnum = 232 // The customFees list is longer than allowed limit 10
	ResponseCodeEnum_INVALID_CUSTOM_FEE_COLLECTOR                           ResponseCodeEnum = 233 // Any of the feeCollector accounts for customFees is invalid
	ResponseCodeEnum_INVALID_TOKEN_ID_IN_CUSTOM_FEES                        ResponseCodeEnum = 234 // Any of the token Ids in customFees is invalid
	ResponseCodeEnum_TOKEN_NOT_ASSOCIATED_TO_FEE_COLLECTOR                  ResponseCodeEnum = 235 // Any of the token Ids in customFees are not associated to feeCollector
	ResponseCodeEnum_TOKEN_MAX_SUPPLY_REACHED                               ResponseCodeEnum = 236 // A token cannot have more units minted due to its configured supply ceiling
	ResponseCodeEnum_SENDER_DOES_NOT_OWN_NFT_SERIAL_NO                      ResponseCodeEnum = 237 // The transaction attempted to move an NFT serial number from an account other than its owner
	ResponseCodeEnum_CUSTOM_FEE_NOT_FULLY_SPECIFIED                         ResponseCodeEnum = 238 // A custom fee schedule entry did not specify either a fixed or fractional fee
	ResponseCodeEnum_CUSTOM_FEE_MUST_BE_POSITIVE                            ResponseCodeEnum = 239 // Only positive fees may be assessed at this time
	ResponseCodeEnum_TOKEN_HAS_NO_FEE_SCHEDULE_KEY                          ResponseCodeEnum = 240 // Fee schedule key is not set on token
	ResponseCodeEnum_CUSTOM_FEE_OUTSIDE_NUMERIC_RANGE                       ResponseCodeEnum = 241 // A fractional custom fee exceeded the range of a 64-bit signed integer
	ResponseCodeEnum_INVALID_CUSTOM_FRACTIONAL_FEES_SUM                     ResponseCodeEnum = 242 // The sum of all custom fractional fees must be strictly less than 1
	ResponseCodeEnum_FRACTIONAL_FEE_MAX_AMOUNT_LESS_THAN_MIN_AMOUNT         ResponseCodeEnum = 243 // Each fractional custom fee must have its maximum_amount, if specified, at least its minimum_amount
	ResponseCodeEnum_CUSTOM_SCHEDULE_ALREADY_HAS_NO_FEES                    ResponseCodeEnum = 244 // A fee schedule update tried to clear the custom fees from a token whose fee schedule was already empty
	ResponseCodeEnum_CUSTOM_FEE_DENOMINATION_MUST_BE_FUNGIBLE_COMMON        ResponseCodeEnum = 245 // Only tokens of type FUNGIBLE_COMMON can be used to as fee schedule denominations
	ResponseCodeEnum_CUSTOM_FRACTIONAL_FEE_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON ResponseCodeEnum = 246 // Only tokens of type FUNGIBLE_COMMON can have fractional fees
	ResponseCodeEnum_INVALID_CUSTOM_FEE_SCHEDULE_KEY                        ResponseCodeEnum = 247 // The provided custom fee schedule key was invalid
	ResponseCodeEnum_INVALID_TOKEN_MINT_METADATA                            ResponseCodeEnum = 248 // The requested token mint metadata was invalid
	ResponseCodeEnum_INVALID_TOKEN_BURN_METADATA                            ResponseCodeEnum = 249 // The requested token burn metadata was invalid
	ResponseCodeEnum_CURRENT_TREASURY_STILL_OWNS_NFTS                       ResponseCodeEnum = 250 // The treasury for a unique token cannot be changed until it owns no NFTs
)

func (ResponseCodeEnum) Descriptor

func (ResponseCodeEnum) Enum

func (ResponseCodeEnum) EnumDescriptor deprecated

func (ResponseCodeEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResponseCodeEnum.Descriptor instead.

func (ResponseCodeEnum) Number

func (ResponseCodeEnum) String

func (x ResponseCodeEnum) String() string

func (ResponseCodeEnum) Type

type ResponseHeader

type ResponseHeader struct {
	NodeTransactionPrecheckCode ResponseCodeEnum `` // Result of fee transaction precheck, saying it passed, or why it failed
	/* 136-byte string literal not displayed */
	ResponseType ResponseType `protobuf:"varint,2,opt,name=responseType,proto3,enum=proto.ResponseType" json:"responseType,omitempty"` // The requested response is repeated back here, for convenience
	Cost         uint64       `protobuf:"varint,3,opt,name=cost,proto3" json:"cost,omitempty"`                                         // The fee that would be charged to get the requested information (if a cost was requested). Note: This cost only includes the query fee and does not include the transfer fee(which is required to execute the transfer transaction to debit the payer account and credit the node account with query fee)
	StateProof   []byte       `protobuf:"bytes,4,opt,name=stateProof,proto3" json:"stateProof,omitempty"`                              // The state proof for this information (if a state proof was requested, and is available)
	// contains filtered or unexported fields
}

Every query receives a response containing the QueryResponseHeader. Either or both of the cost and stateProof fields may be blank, if the responseType didn't ask for the cost or stateProof.

func (*ResponseHeader) Descriptor deprecated

func (*ResponseHeader) Descriptor() ([]byte, []int)

Deprecated: Use ResponseHeader.ProtoReflect.Descriptor instead.

func (*ResponseHeader) GetCost

func (x *ResponseHeader) GetCost() uint64

func (*ResponseHeader) GetNodeTransactionPrecheckCode

func (x *ResponseHeader) GetNodeTransactionPrecheckCode() ResponseCodeEnum

func (*ResponseHeader) GetResponseType

func (x *ResponseHeader) GetResponseType() ResponseType

func (*ResponseHeader) GetStateProof

func (x *ResponseHeader) GetStateProof() []byte

func (*ResponseHeader) ProtoMessage

func (*ResponseHeader) ProtoMessage()

func (*ResponseHeader) ProtoReflect

func (x *ResponseHeader) ProtoReflect() protoreflect.Message

func (*ResponseHeader) Reset

func (x *ResponseHeader) Reset()

func (*ResponseHeader) String

func (x *ResponseHeader) String() string

type ResponseType

type ResponseType int32

The client uses the ResponseType to indicate that it desires the node send just the answer, or both the answer and a state proof. It can also ask for just the cost and not the answer itself (allowing it to tailor the payment transaction accordingly). If the payment in the query fails the precheck, then the response may have some fields blank. The state proof is only available for some types of information. It is available for a Record, but not a receipt. It is available for the information in each kind of *GetInfo request.

const (
	// Response returns answer
	ResponseType_ANSWER_ONLY ResponseType = 0
	// (NOT YET SUPPORTED) Response returns both answer and state proof
	ResponseType_ANSWER_STATE_PROOF ResponseType = 1
	// Response returns the cost of answer
	ResponseType_COST_ANSWER ResponseType = 2
	// (NOT YET SUPPORTED) Response returns the total cost of answer and state proof
	ResponseType_COST_ANSWER_STATE_PROOF ResponseType = 3
)

func (ResponseType) Descriptor

func (ResponseType) Enum

func (x ResponseType) Enum() *ResponseType

func (ResponseType) EnumDescriptor deprecated

func (ResponseType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResponseType.Descriptor instead.

func (ResponseType) Number

func (ResponseType) String

func (x ResponseType) String() string

func (ResponseType) Type

type Response_ConsensusGetTopicInfo

type Response_ConsensusGetTopicInfo struct {
	ConsensusGetTopicInfo *ConsensusGetTopicInfoResponse `protobuf:"bytes,150,opt,name=consensusGetTopicInfo,proto3,oneof"` // Parameters of and state of a consensus topic..
}

type Response_ContractCallLocal

type Response_ContractCallLocal struct {
	ContractCallLocal *ContractCallLocalResponse `protobuf:"bytes,3,opt,name=contractCallLocal,proto3,oneof"` // Response to call a function of a smart contract instance
}

type Response_ContractGetBytecodeResponse

type Response_ContractGetBytecodeResponse struct {
	ContractGetBytecodeResponse *ContractGetBytecodeResponse `protobuf:"bytes,5,opt,name=contractGetBytecodeResponse,proto3,oneof"` // Get the bytecode for a smart contract instance
}

type Response_ContractGetInfo

type Response_ContractGetInfo struct {
	ContractGetInfo *ContractGetInfoResponse `protobuf:"bytes,4,opt,name=contractGetInfo,proto3,oneof"` // Get information about a smart contract instance
}

type Response_ContractGetRecordsResponse

type Response_ContractGetRecordsResponse struct {
	ContractGetRecordsResponse *ContractGetRecordsResponse `protobuf:"bytes,6,opt,name=contractGetRecordsResponse,proto3,oneof"` // Get all existing records for a smart contract instance
}

type Response_CryptoGetAccountRecords

type Response_CryptoGetAccountRecords struct {
	CryptoGetAccountRecords *CryptoGetAccountRecordsResponse `protobuf:"bytes,8,opt,name=cryptoGetAccountRecords,proto3,oneof"` // Get all the records that currently exist for transactions involving an account
}

type Response_CryptoGetInfo

type Response_CryptoGetInfo struct {
	CryptoGetInfo *CryptoGetInfoResponse `protobuf:"bytes,9,opt,name=cryptoGetInfo,proto3,oneof"` // Get all information about an account
}

type Response_CryptoGetLiveHash

type Response_CryptoGetLiveHash struct {
	CryptoGetLiveHash *CryptoGetLiveHashResponse `protobuf:"bytes,10,opt,name=cryptoGetLiveHash,proto3,oneof"` // Contains a livehash associated to an account
}

type Response_CryptoGetProxyStakers

type Response_CryptoGetProxyStakers struct {
	CryptoGetProxyStakers *CryptoGetStakersResponse `protobuf:"bytes,11,opt,name=cryptoGetProxyStakers,proto3,oneof"` // Get all the accounts that proxy stake to a given account, and how much they proxy stake
}

type Response_CryptogetAccountBalance

type Response_CryptogetAccountBalance struct {
	CryptogetAccountBalance *CryptoGetAccountBalanceResponse `protobuf:"bytes,7,opt,name=cryptogetAccountBalance,proto3,oneof"` // Get the current balance in a cryptocurrency account
}

type Response_FileGetContents

type Response_FileGetContents struct {
	FileGetContents *FileGetContentsResponse `protobuf:"bytes,12,opt,name=fileGetContents,proto3,oneof"` // Get the contents of a file (the bytes stored in it)
}

type Response_FileGetInfo

type Response_FileGetInfo struct {
	FileGetInfo *FileGetInfoResponse `protobuf:"bytes,13,opt,name=fileGetInfo,proto3,oneof"` // Get information about a file, such as its expiration date
}

type Response_GetByKey

type Response_GetByKey struct {
	GetByKey *GetByKeyResponse `protobuf:"bytes,1,opt,name=getByKey,proto3,oneof"` // Get all entities associated with a given key
}

type Response_GetBySolidityID

type Response_GetBySolidityID struct {
	GetBySolidityID *GetBySolidityIDResponse `protobuf:"bytes,2,opt,name=getBySolidityID,proto3,oneof"` // Get the IDs in the format used in transactions, given the format used in Solidity
}

type Response_NetworkGetVersionInfo

type Response_NetworkGetVersionInfo struct {
	NetworkGetVersionInfo *NetworkGetVersionInfoResponse `protobuf:"bytes,151,opt,name=networkGetVersionInfo,proto3,oneof"` // Semantic versions of Hedera Services and HAPI proto
}

type Response_ScheduleGetInfo

type Response_ScheduleGetInfo struct {
	ScheduleGetInfo *ScheduleGetInfoResponse `protobuf:"bytes,153,opt,name=scheduleGetInfo,proto3,oneof"` // Get all information about a schedule entity
}

type Response_TokenGetAccountNftInfos added in v0.2.0

type Response_TokenGetAccountNftInfos struct {
	TokenGetAccountNftInfos *TokenGetAccountNftInfosResponse `protobuf:"bytes,154,opt,name=tokenGetAccountNftInfos,proto3,oneof"` // A list of the NFTs associated with the account
}

type Response_TokenGetInfo

type Response_TokenGetInfo struct {
	TokenGetInfo *TokenGetInfoResponse `protobuf:"bytes,152,opt,name=tokenGetInfo,proto3,oneof"` // Get all information about a token
}

type Response_TokenGetNftInfo

type Response_TokenGetNftInfo struct {
	TokenGetNftInfo *TokenGetNftInfoResponse `protobuf:"bytes,155,opt,name=tokenGetNftInfo,proto3,oneof"` // All information about an NFT
}

type Response_TokenGetNftInfos

type Response_TokenGetNftInfos struct {
	TokenGetNftInfos *TokenGetNftInfosResponse `protobuf:"bytes,156,opt,name=tokenGetNftInfos,proto3,oneof"` // A list of the NFTs for the token
}

type Response_TransactionGetFastRecord

type Response_TransactionGetFastRecord struct {
	TransactionGetFastRecord *TransactionGetFastRecordResponse `protobuf:"bytes,16,opt,name=transactionGetFastRecord,proto3,oneof"` // Get a record for a transaction (lasts 180 seconds)
}

type Response_TransactionGetReceipt

type Response_TransactionGetReceipt struct {
	TransactionGetReceipt *TransactionGetReceiptResponse `protobuf:"bytes,14,opt,name=transactionGetReceipt,proto3,oneof"` // Get a receipt for a transaction
}

type Response_TransactionGetRecord

type Response_TransactionGetRecord struct {
	TransactionGetRecord *TransactionGetRecordResponse `protobuf:"bytes,15,opt,name=transactionGetRecord,proto3,oneof"` // Get a record for a transaction
}

type SchedulableTransactionBody

type SchedulableTransactionBody struct {
	TransactionFee uint64 `protobuf:"varint,1,opt,name=transactionFee,proto3" json:"transactionFee,omitempty"` // The maximum transaction fee the client is willing to pay
	Memo           string `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"`                      // A memo to include the execution record; the UTF-8 encoding may be up to 100 bytes and must not include the zero byte
	// Types that are assignable to Data:
	//	*SchedulableTransactionBody_ContractCall
	//	*SchedulableTransactionBody_ContractCreateInstance
	//	*SchedulableTransactionBody_ContractUpdateInstance
	//	*SchedulableTransactionBody_ContractDeleteInstance
	//	*SchedulableTransactionBody_CryptoCreateAccount
	//	*SchedulableTransactionBody_CryptoDelete
	//	*SchedulableTransactionBody_CryptoTransfer
	//	*SchedulableTransactionBody_CryptoUpdateAccount
	//	*SchedulableTransactionBody_FileAppend
	//	*SchedulableTransactionBody_FileCreate
	//	*SchedulableTransactionBody_FileDelete
	//	*SchedulableTransactionBody_FileUpdate
	//	*SchedulableTransactionBody_SystemDelete
	//	*SchedulableTransactionBody_SystemUndelete
	//	*SchedulableTransactionBody_Freeze
	//	*SchedulableTransactionBody_ConsensusCreateTopic
	//	*SchedulableTransactionBody_ConsensusUpdateTopic
	//	*SchedulableTransactionBody_ConsensusDeleteTopic
	//	*SchedulableTransactionBody_ConsensusSubmitMessage
	//	*SchedulableTransactionBody_TokenCreation
	//	*SchedulableTransactionBody_TokenFreeze
	//	*SchedulableTransactionBody_TokenUnfreeze
	//	*SchedulableTransactionBody_TokenGrantKyc
	//	*SchedulableTransactionBody_TokenRevokeKyc
	//	*SchedulableTransactionBody_TokenDeletion
	//	*SchedulableTransactionBody_TokenUpdate
	//	*SchedulableTransactionBody_TokenMint
	//	*SchedulableTransactionBody_TokenBurn
	//	*SchedulableTransactionBody_TokenWipe
	//	*SchedulableTransactionBody_TokenAssociate
	//	*SchedulableTransactionBody_TokenDissociate
	//	*SchedulableTransactionBody_ScheduleDelete
	Data isSchedulableTransactionBody_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

A schedulable transaction. Note that the global/dynamic system property <tt>scheduling.whitelist</tt> controls which transaction types may be scheduled. In Hedera Services 0.13.0, it will include only <tt>CryptoTransfer</tt> and <tt>ConsensusSubmitMessage</tt> functions.

func (*SchedulableTransactionBody) Descriptor deprecated

func (*SchedulableTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use SchedulableTransactionBody.ProtoReflect.Descriptor instead.

func (*SchedulableTransactionBody) GetConsensusCreateTopic

func (*SchedulableTransactionBody) GetConsensusDeleteTopic

func (*SchedulableTransactionBody) GetConsensusSubmitMessage

func (x *SchedulableTransactionBody) GetConsensusSubmitMessage() *ConsensusSubmitMessageTransactionBody

func (*SchedulableTransactionBody) GetConsensusUpdateTopic

func (*SchedulableTransactionBody) GetContractCall

func (*SchedulableTransactionBody) GetContractCreateInstance

func (x *SchedulableTransactionBody) GetContractCreateInstance() *ContractCreateTransactionBody

func (*SchedulableTransactionBody) GetContractDeleteInstance

func (x *SchedulableTransactionBody) GetContractDeleteInstance() *ContractDeleteTransactionBody

func (*SchedulableTransactionBody) GetContractUpdateInstance

func (x *SchedulableTransactionBody) GetContractUpdateInstance() *ContractUpdateTransactionBody

func (*SchedulableTransactionBody) GetCryptoCreateAccount

func (x *SchedulableTransactionBody) GetCryptoCreateAccount() *CryptoCreateTransactionBody

func (*SchedulableTransactionBody) GetCryptoDelete

func (*SchedulableTransactionBody) GetCryptoTransfer

func (*SchedulableTransactionBody) GetCryptoUpdateAccount

func (x *SchedulableTransactionBody) GetCryptoUpdateAccount() *CryptoUpdateTransactionBody

func (*SchedulableTransactionBody) GetData

func (m *SchedulableTransactionBody) GetData() isSchedulableTransactionBody_Data

func (*SchedulableTransactionBody) GetFileAppend

func (*SchedulableTransactionBody) GetFileCreate

func (*SchedulableTransactionBody) GetFileDelete

func (*SchedulableTransactionBody) GetFileUpdate

func (*SchedulableTransactionBody) GetFreeze

func (*SchedulableTransactionBody) GetMemo

func (x *SchedulableTransactionBody) GetMemo() string

func (*SchedulableTransactionBody) GetScheduleDelete

func (*SchedulableTransactionBody) GetSystemDelete

func (*SchedulableTransactionBody) GetSystemUndelete

func (*SchedulableTransactionBody) GetTokenAssociate

func (*SchedulableTransactionBody) GetTokenBurn

func (*SchedulableTransactionBody) GetTokenCreation

func (*SchedulableTransactionBody) GetTokenDeletion

func (*SchedulableTransactionBody) GetTokenDissociate

func (*SchedulableTransactionBody) GetTokenFreeze

func (*SchedulableTransactionBody) GetTokenGrantKyc

func (*SchedulableTransactionBody) GetTokenMint

func (*SchedulableTransactionBody) GetTokenRevokeKyc

func (*SchedulableTransactionBody) GetTokenUnfreeze

func (*SchedulableTransactionBody) GetTokenUpdate

func (*SchedulableTransactionBody) GetTokenWipe

func (*SchedulableTransactionBody) GetTransactionFee

func (x *SchedulableTransactionBody) GetTransactionFee() uint64

func (*SchedulableTransactionBody) ProtoMessage

func (*SchedulableTransactionBody) ProtoMessage()

func (*SchedulableTransactionBody) ProtoReflect

func (*SchedulableTransactionBody) Reset

func (x *SchedulableTransactionBody) Reset()

func (*SchedulableTransactionBody) String

func (x *SchedulableTransactionBody) String() string

type SchedulableTransactionBody_ConsensusCreateTopic

type SchedulableTransactionBody_ConsensusCreateTopic struct {
	ConsensusCreateTopic *ConsensusCreateTopicTransactionBody `protobuf:"bytes,18,opt,name=consensusCreateTopic,proto3,oneof"` // Creates a topic
}

type SchedulableTransactionBody_ConsensusDeleteTopic

type SchedulableTransactionBody_ConsensusDeleteTopic struct {
	ConsensusDeleteTopic *ConsensusDeleteTopicTransactionBody `protobuf:"bytes,20,opt,name=consensusDeleteTopic,proto3,oneof"` // Deletes a topic
}

type SchedulableTransactionBody_ConsensusSubmitMessage

type SchedulableTransactionBody_ConsensusSubmitMessage struct {
	ConsensusSubmitMessage *ConsensusSubmitMessageTransactionBody `protobuf:"bytes,21,opt,name=consensusSubmitMessage,proto3,oneof"` // Submits message to a topic
}

type SchedulableTransactionBody_ConsensusUpdateTopic

type SchedulableTransactionBody_ConsensusUpdateTopic struct {
	ConsensusUpdateTopic *ConsensusUpdateTopicTransactionBody `protobuf:"bytes,19,opt,name=consensusUpdateTopic,proto3,oneof"` // Updates a topic
}

type SchedulableTransactionBody_ContractCall

type SchedulableTransactionBody_ContractCall struct {
	ContractCall *ContractCallTransactionBody `protobuf:"bytes,3,opt,name=contractCall,proto3,oneof"` // Calls a function of a contract instance
}

type SchedulableTransactionBody_ContractCreateInstance

type SchedulableTransactionBody_ContractCreateInstance struct {
	ContractCreateInstance *ContractCreateTransactionBody `protobuf:"bytes,4,opt,name=contractCreateInstance,proto3,oneof"` // Creates a contract instance
}

type SchedulableTransactionBody_ContractDeleteInstance

type SchedulableTransactionBody_ContractDeleteInstance struct {
	ContractDeleteInstance *ContractDeleteTransactionBody `protobuf:"bytes,6,opt,name=contractDeleteInstance,proto3,oneof"` // Delete contract and transfer remaining balance into specified account
}

type SchedulableTransactionBody_ContractUpdateInstance

type SchedulableTransactionBody_ContractUpdateInstance struct {
	ContractUpdateInstance *ContractUpdateTransactionBody `protobuf:"bytes,5,opt,name=contractUpdateInstance,proto3,oneof"` // Updates a contract
}

type SchedulableTransactionBody_CryptoCreateAccount

type SchedulableTransactionBody_CryptoCreateAccount struct {
	CryptoCreateAccount *CryptoCreateTransactionBody `protobuf:"bytes,7,opt,name=cryptoCreateAccount,proto3,oneof"` // Create a new cryptocurrency account
}

type SchedulableTransactionBody_CryptoDelete

type SchedulableTransactionBody_CryptoDelete struct {
	CryptoDelete *CryptoDeleteTransactionBody `protobuf:"bytes,8,opt,name=cryptoDelete,proto3,oneof"` // Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
}

type SchedulableTransactionBody_CryptoTransfer

type SchedulableTransactionBody_CryptoTransfer struct {
	CryptoTransfer *CryptoTransferTransactionBody `protobuf:"bytes,9,opt,name=cryptoTransfer,proto3,oneof"` // Transfer amount between accounts
}

type SchedulableTransactionBody_CryptoUpdateAccount

type SchedulableTransactionBody_CryptoUpdateAccount struct {
	CryptoUpdateAccount *CryptoUpdateTransactionBody `protobuf:"bytes,10,opt,name=cryptoUpdateAccount,proto3,oneof"` // Modify information such as the expiration date for an account
}

type SchedulableTransactionBody_FileAppend

type SchedulableTransactionBody_FileAppend struct {
	FileAppend *FileAppendTransactionBody `protobuf:"bytes,11,opt,name=fileAppend,proto3,oneof"` // Add bytes to the end of the contents of a file
}

type SchedulableTransactionBody_FileCreate

type SchedulableTransactionBody_FileCreate struct {
	FileCreate *FileCreateTransactionBody `protobuf:"bytes,12,opt,name=fileCreate,proto3,oneof"` // Create a new file
}

type SchedulableTransactionBody_FileDelete

type SchedulableTransactionBody_FileDelete struct {
	FileDelete *FileDeleteTransactionBody `protobuf:"bytes,13,opt,name=fileDelete,proto3,oneof"` // Delete a file (remove contents and mark as deleted until it expires)
}

type SchedulableTransactionBody_FileUpdate

type SchedulableTransactionBody_FileUpdate struct {
	FileUpdate *FileUpdateTransactionBody `protobuf:"bytes,14,opt,name=fileUpdate,proto3,oneof"` // Modify information such as the expiration date for a file
}

type SchedulableTransactionBody_Freeze

type SchedulableTransactionBody_Freeze struct {
	Freeze *FreezeTransactionBody `protobuf:"bytes,17,opt,name=freeze,proto3,oneof"` // Freeze the nodes
}

type SchedulableTransactionBody_ScheduleDelete

type SchedulableTransactionBody_ScheduleDelete struct {
	ScheduleDelete *ScheduleDeleteTransactionBody `protobuf:"bytes,34,opt,name=scheduleDelete,proto3,oneof"` // Marks a schedule in the network's action queue as deleted, preventing it from executing
}

type SchedulableTransactionBody_SystemDelete

type SchedulableTransactionBody_SystemDelete struct {
	SystemDelete *SystemDeleteTransactionBody `protobuf:"bytes,15,opt,name=systemDelete,proto3,oneof"` // Hedera administrative deletion of a file or smart contract
}

type SchedulableTransactionBody_SystemUndelete

type SchedulableTransactionBody_SystemUndelete struct {
	SystemUndelete *SystemUndeleteTransactionBody `protobuf:"bytes,16,opt,name=systemUndelete,proto3,oneof"` // To undelete an entity deleted by SystemDelete
}

type SchedulableTransactionBody_TokenAssociate

type SchedulableTransactionBody_TokenAssociate struct {
	TokenAssociate *TokenAssociateTransactionBody `protobuf:"bytes,32,opt,name=tokenAssociate,proto3,oneof"` // Associate tokens to an account
}

type SchedulableTransactionBody_TokenBurn

type SchedulableTransactionBody_TokenBurn struct {
	TokenBurn *TokenBurnTransactionBody `protobuf:"bytes,30,opt,name=tokenBurn,proto3,oneof"` // Burns tokens from a token's treasury account
}

type SchedulableTransactionBody_TokenCreation

type SchedulableTransactionBody_TokenCreation struct {
	TokenCreation *TokenCreateTransactionBody `protobuf:"bytes,22,opt,name=tokenCreation,proto3,oneof"` // Creates a token instance
}

type SchedulableTransactionBody_TokenDeletion

type SchedulableTransactionBody_TokenDeletion struct {
	TokenDeletion *TokenDeleteTransactionBody `protobuf:"bytes,27,opt,name=tokenDeletion,proto3,oneof"` // Deletes a token instance
}

type SchedulableTransactionBody_TokenDissociate

type SchedulableTransactionBody_TokenDissociate struct {
	TokenDissociate *TokenDissociateTransactionBody `protobuf:"bytes,33,opt,name=tokenDissociate,proto3,oneof"` // Dissociate tokens from an account
}

type SchedulableTransactionBody_TokenFreeze

type SchedulableTransactionBody_TokenFreeze struct {
	TokenFreeze *TokenFreezeAccountTransactionBody `protobuf:"bytes,23,opt,name=tokenFreeze,proto3,oneof"` // Freezes account not to be able to transact with a token
}

type SchedulableTransactionBody_TokenGrantKyc

type SchedulableTransactionBody_TokenGrantKyc struct {
	TokenGrantKyc *TokenGrantKycTransactionBody `protobuf:"bytes,25,opt,name=tokenGrantKyc,proto3,oneof"` // Grants KYC to an account for a token
}

type SchedulableTransactionBody_TokenMint

type SchedulableTransactionBody_TokenMint struct {
	TokenMint *TokenMintTransactionBody `protobuf:"bytes,29,opt,name=tokenMint,proto3,oneof"` // Mints new tokens to a token's treasury account
}

type SchedulableTransactionBody_TokenRevokeKyc

type SchedulableTransactionBody_TokenRevokeKyc struct {
	TokenRevokeKyc *TokenRevokeKycTransactionBody `protobuf:"bytes,26,opt,name=tokenRevokeKyc,proto3,oneof"` // Revokes KYC of an account for a token
}

type SchedulableTransactionBody_TokenUnfreeze

type SchedulableTransactionBody_TokenUnfreeze struct {
	TokenUnfreeze *TokenUnfreezeAccountTransactionBody `protobuf:"bytes,24,opt,name=tokenUnfreeze,proto3,oneof"` // Unfreezes account for a token
}

type SchedulableTransactionBody_TokenUpdate

type SchedulableTransactionBody_TokenUpdate struct {
	TokenUpdate *TokenUpdateTransactionBody `protobuf:"bytes,28,opt,name=tokenUpdate,proto3,oneof"` // Updates a token instance
}

type SchedulableTransactionBody_TokenWipe

type SchedulableTransactionBody_TokenWipe struct {
	TokenWipe *TokenWipeAccountTransactionBody `protobuf:"bytes,31,opt,name=tokenWipe,proto3,oneof"` // Wipes amount of tokens from an account
}

type ScheduleCreateTransactionBody

type ScheduleCreateTransactionBody struct {
	ScheduledTransactionBody *SchedulableTransactionBody `protobuf:"bytes,1,opt,name=scheduledTransactionBody,proto3" json:"scheduledTransactionBody,omitempty"` // The scheduled transaction
	Memo                     string                      `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"`                                         // An optional memo with a UTF-8 encoding of no more than 100 bytes which does not contain the zero byte
	AdminKey                 *Key                        `protobuf:"bytes,3,opt,name=adminKey,proto3" json:"adminKey,omitempty"`                                 // An optional Hedera key which can be used to sign a ScheduleDelete and remove the schedule
	PayerAccountID           *AccountID                  `protobuf:"bytes,4,opt,name=payerAccountID,proto3" json:"payerAccountID,omitempty"`                     // An optional id of the account to be charged the service fee for the scheduled transaction at the consensus time that it executes (if ever); defaults to the ScheduleCreate payer if not given
	// contains filtered or unexported fields
}

func (*ScheduleCreateTransactionBody) Descriptor deprecated

func (*ScheduleCreateTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleCreateTransactionBody.ProtoReflect.Descriptor instead.

func (*ScheduleCreateTransactionBody) GetAdminKey

func (x *ScheduleCreateTransactionBody) GetAdminKey() *Key

func (*ScheduleCreateTransactionBody) GetMemo

func (*ScheduleCreateTransactionBody) GetPayerAccountID

func (x *ScheduleCreateTransactionBody) GetPayerAccountID() *AccountID

func (*ScheduleCreateTransactionBody) GetScheduledTransactionBody

func (x *ScheduleCreateTransactionBody) GetScheduledTransactionBody() *SchedulableTransactionBody

func (*ScheduleCreateTransactionBody) ProtoMessage

func (*ScheduleCreateTransactionBody) ProtoMessage()

func (*ScheduleCreateTransactionBody) ProtoReflect

func (*ScheduleCreateTransactionBody) Reset

func (x *ScheduleCreateTransactionBody) Reset()

func (*ScheduleCreateTransactionBody) String

type ScheduleDeleteTransactionBody

type ScheduleDeleteTransactionBody struct {
	ScheduleID *ScheduleID `protobuf:"bytes,1,opt,name=scheduleID,proto3" json:"scheduleID,omitempty"` // The ID of the Scheduled Entity
	// contains filtered or unexported fields
}

Marks a schedule in the network's action queue as deleted. Must be signed by the admin key of the target schedule. A deleted schedule cannot receive any additional signing keys, nor will it be executed.

Other notable response codes include, <tt>INVALID_SCHEDULE_ID</tt>, <tt>SCHEDULE_WAS_DELETED</tt>, <tt>SCHEDULE_WAS_EXECUTED</tt>, <tt>SCHEDULE_IS_IMMUTABLE</tt>. For more information please see the section of this documentation on the <tt>ResponseCode</tt> enum.

func (*ScheduleDeleteTransactionBody) Descriptor deprecated

func (*ScheduleDeleteTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleDeleteTransactionBody.ProtoReflect.Descriptor instead.

func (*ScheduleDeleteTransactionBody) GetScheduleID

func (x *ScheduleDeleteTransactionBody) GetScheduleID() *ScheduleID

func (*ScheduleDeleteTransactionBody) ProtoMessage

func (*ScheduleDeleteTransactionBody) ProtoMessage()

func (*ScheduleDeleteTransactionBody) ProtoReflect

func (*ScheduleDeleteTransactionBody) Reset

func (x *ScheduleDeleteTransactionBody) Reset()

func (*ScheduleDeleteTransactionBody) String

type ScheduleGetInfoQuery

type ScheduleGetInfoQuery struct {
	Header     *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`         // standard info sent from client to node including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	ScheduleID *ScheduleID  `protobuf:"bytes,2,opt,name=scheduleID,proto3" json:"scheduleID,omitempty"` // The id of the schedule to interrogate
	// contains filtered or unexported fields
}

Gets information about a schedule in the network's action queue.

Responds with <tt>INVALID_SCHEDULE_ID</tt> if the requested schedule doesn't exist.

func (*ScheduleGetInfoQuery) Descriptor deprecated

func (*ScheduleGetInfoQuery) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleGetInfoQuery.ProtoReflect.Descriptor instead.

func (*ScheduleGetInfoQuery) GetHeader

func (x *ScheduleGetInfoQuery) GetHeader() *QueryHeader

func (*ScheduleGetInfoQuery) GetScheduleID

func (x *ScheduleGetInfoQuery) GetScheduleID() *ScheduleID

func (*ScheduleGetInfoQuery) ProtoMessage

func (*ScheduleGetInfoQuery) ProtoMessage()

func (*ScheduleGetInfoQuery) ProtoReflect

func (x *ScheduleGetInfoQuery) ProtoReflect() protoreflect.Message

func (*ScheduleGetInfoQuery) Reset

func (x *ScheduleGetInfoQuery) Reset()

func (*ScheduleGetInfoQuery) String

func (x *ScheduleGetInfoQuery) String() string

type ScheduleGetInfoResponse

type ScheduleGetInfoResponse struct {
	Header       *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`             // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	ScheduleInfo *ScheduleInfo   `protobuf:"bytes,2,opt,name=scheduleInfo,proto3" json:"scheduleInfo,omitempty"` // The information requested about this schedule instance
	// contains filtered or unexported fields
}

Response wrapper for the <tt>ScheduleInfo</tt>

func (*ScheduleGetInfoResponse) Descriptor deprecated

func (*ScheduleGetInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleGetInfoResponse.ProtoReflect.Descriptor instead.

func (*ScheduleGetInfoResponse) GetHeader

func (x *ScheduleGetInfoResponse) GetHeader() *ResponseHeader

func (*ScheduleGetInfoResponse) GetScheduleInfo

func (x *ScheduleGetInfoResponse) GetScheduleInfo() *ScheduleInfo

func (*ScheduleGetInfoResponse) ProtoMessage

func (*ScheduleGetInfoResponse) ProtoMessage()

func (*ScheduleGetInfoResponse) ProtoReflect

func (x *ScheduleGetInfoResponse) ProtoReflect() protoreflect.Message

func (*ScheduleGetInfoResponse) Reset

func (x *ScheduleGetInfoResponse) Reset()

func (*ScheduleGetInfoResponse) String

func (x *ScheduleGetInfoResponse) String() string

type ScheduleID

type ScheduleID struct {
	ShardNum    int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`       // A nonnegative shard number
	RealmNum    int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"`       // A nonnegative realm number
	ScheduleNum int64 `protobuf:"varint,3,opt,name=scheduleNum,proto3" json:"scheduleNum,omitempty"` // A nonnegative schedule number
	// 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 ScheduleInfo

type ScheduleInfo struct {
	ScheduleID *ScheduleID `protobuf:"bytes,1,opt,name=scheduleID,proto3" json:"scheduleID,omitempty"` // The id of the schedule
	// Types that are assignable to Data:
	//	*ScheduleInfo_DeletionTime
	//	*ScheduleInfo_ExecutionTime
	Data                     isScheduleInfo_Data         `protobuf_oneof:"data"`
	ExpirationTime           *Timestamp                  `protobuf:"bytes,4,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`                     // The time at which the schedule will expire
	ScheduledTransactionBody *SchedulableTransactionBody `protobuf:"bytes,5,opt,name=scheduledTransactionBody,proto3" json:"scheduledTransactionBody,omitempty"` // The scheduled transaction
	Memo                     string                      `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo,omitempty"`                                         // The publicly visible memo of the schedule
	AdminKey                 *Key                        `protobuf:"bytes,7,opt,name=adminKey,proto3" json:"adminKey,omitempty"`                                 // The key used to delete the schedule from state
	Signers                  *KeyList                    `protobuf:"bytes,8,opt,name=signers,proto3" json:"signers,omitempty"`                                   // The Ed25519 keys the network deems to have signed the scheduled transaction
	CreatorAccountID         *AccountID                  `protobuf:"bytes,9,opt,name=creatorAccountID,proto3" json:"creatorAccountID,omitempty"`                 // The id of the account that created the schedule
	PayerAccountID           *AccountID                  `protobuf:"bytes,10,opt,name=payerAccountID,proto3" json:"payerAccountID,omitempty"`                    // The id of the account responsible for the service fee of the scheduled transaction
	ScheduledTransactionID   *TransactionID              `protobuf:"bytes,11,opt,name=scheduledTransactionID,proto3" json:"scheduledTransactionID,omitempty"`    // The transaction id that will be used in the record of the scheduled transaction (if it executes)
	// contains filtered or unexported fields
}

Information summarizing schedule state

func (*ScheduleInfo) Descriptor deprecated

func (*ScheduleInfo) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleInfo.ProtoReflect.Descriptor instead.

func (*ScheduleInfo) GetAdminKey

func (x *ScheduleInfo) GetAdminKey() *Key

func (*ScheduleInfo) GetCreatorAccountID

func (x *ScheduleInfo) GetCreatorAccountID() *AccountID

func (*ScheduleInfo) GetData

func (m *ScheduleInfo) GetData() isScheduleInfo_Data

func (*ScheduleInfo) GetDeletionTime

func (x *ScheduleInfo) GetDeletionTime() *Timestamp

func (*ScheduleInfo) GetExecutionTime

func (x *ScheduleInfo) GetExecutionTime() *Timestamp

func (*ScheduleInfo) GetExpirationTime

func (x *ScheduleInfo) GetExpirationTime() *Timestamp

func (*ScheduleInfo) GetMemo

func (x *ScheduleInfo) GetMemo() string

func (*ScheduleInfo) GetPayerAccountID

func (x *ScheduleInfo) GetPayerAccountID() *AccountID

func (*ScheduleInfo) GetScheduleID

func (x *ScheduleInfo) GetScheduleID() *ScheduleID

func (*ScheduleInfo) GetScheduledTransactionBody

func (x *ScheduleInfo) GetScheduledTransactionBody() *SchedulableTransactionBody

func (*ScheduleInfo) GetScheduledTransactionID

func (x *ScheduleInfo) GetScheduledTransactionID() *TransactionID

func (*ScheduleInfo) GetSigners

func (x *ScheduleInfo) GetSigners() *KeyList

func (*ScheduleInfo) ProtoMessage

func (*ScheduleInfo) ProtoMessage()

func (*ScheduleInfo) ProtoReflect

func (x *ScheduleInfo) ProtoReflect() protoreflect.Message

func (*ScheduleInfo) Reset

func (x *ScheduleInfo) Reset()

func (*ScheduleInfo) String

func (x *ScheduleInfo) String() string

type ScheduleInfo_DeletionTime

type ScheduleInfo_DeletionTime struct {
	DeletionTime *Timestamp `protobuf:"bytes,2,opt,name=deletion_time,json=deletionTime,proto3,oneof"` // If the schedule has been deleted, the consensus time when this occurred
}

type ScheduleInfo_ExecutionTime

type ScheduleInfo_ExecutionTime struct {
	ExecutionTime *Timestamp `protobuf:"bytes,3,opt,name=execution_time,json=executionTime,proto3,oneof"` // If the schedule has been executed, the consensus time when this occurred
}

type ScheduleServiceClient

type ScheduleServiceClient interface {
	// Creates a new Schedule by submitting the transaction
	CreateSchedule(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Signs a new Schedule by submitting the transaction
	SignSchedule(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Deletes a new Schedule by submitting the transaction
	DeleteSchedule(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Retrieves the metadata of a schedule entity
	GetScheduleInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
}

ScheduleServiceClient is the client API for ScheduleService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ScheduleServiceServer

type ScheduleServiceServer interface {
	// Creates a new Schedule by submitting the transaction
	CreateSchedule(context.Context, *Transaction) (*TransactionResponse, error)
	// Signs a new Schedule by submitting the transaction
	SignSchedule(context.Context, *Transaction) (*TransactionResponse, error)
	// Deletes a new Schedule by submitting the transaction
	DeleteSchedule(context.Context, *Transaction) (*TransactionResponse, error)
	// Retrieves the metadata of a schedule entity
	GetScheduleInfo(context.Context, *Query) (*Response, error)
	// contains filtered or unexported methods
}

ScheduleServiceServer is the server API for ScheduleService service. All implementations must embed UnimplementedScheduleServiceServer for forward compatibility

type ScheduleSignTransactionBody

type ScheduleSignTransactionBody struct {
	ScheduleID *ScheduleID `protobuf:"bytes,1,opt,name=scheduleID,proto3" json:"scheduleID,omitempty"` // The id of the schedule to add signing keys to
	// contains filtered or unexported fields
}

Adds zero or more signing keys to a schedule. If the resulting set of signing keys satisfy the scheduled transaction's signing requirements, it will be executed immediately after the triggering <tt>ScheduleSign</tt>.

Upon <tt>SUCCESS</tt>, the receipt includes the <tt>scheduledTransactionID</tt> to use to query for the record of the scheduled transaction's execution (if it occurs).

Other notable response codes include <tt>INVALID_SCHEDULE_ID</tt>, <tt>SCHEDULE_WAS_DELETD</tt>, <tt>INVALID_ACCOUNT_ID</tt>, <tt>UNRESOLVABLE_REQUIRED_SIGNERS</tt>, <tt>SOME_SIGNATURES_WERE_INVALID</tt>, and <tt>NO_NEW_VALID_SIGNATURES</tt>. For more information please see the section of this documentation on the <tt>ResponseCode</tt> enum.

func (*ScheduleSignTransactionBody) Descriptor deprecated

func (*ScheduleSignTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleSignTransactionBody.ProtoReflect.Descriptor instead.

func (*ScheduleSignTransactionBody) GetScheduleID

func (x *ScheduleSignTransactionBody) GetScheduleID() *ScheduleID

func (*ScheduleSignTransactionBody) ProtoMessage

func (*ScheduleSignTransactionBody) ProtoMessage()

func (*ScheduleSignTransactionBody) ProtoReflect

func (*ScheduleSignTransactionBody) Reset

func (x *ScheduleSignTransactionBody) Reset()

func (*ScheduleSignTransactionBody) String

func (x *ScheduleSignTransactionBody) String() string

type SemanticVersion

type SemanticVersion struct {
	Major int32  `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` // Increases with incompatible API changes
	Minor int32  `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` // Increases with backwards-compatible new functionality
	Patch int32  `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` // Increases with backwards-compatible bug fixes
	Pre   string `protobuf:"bytes,4,opt,name=pre,proto3" json:"pre,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'
	Build string `protobuf:"bytes,5,opt,name=build,proto3" json:"build,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'
	// 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 {
	IpAddressV4 []byte `protobuf:"bytes,1,opt,name=ipAddressV4,proto3" json:"ipAddressV4,omitempty"` // 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)
	Port        int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`              // The port of the node
	// 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 {
	NameValue []*Setting `protobuf:"bytes,1,rep,name=nameValue,proto3" json:"nameValue,omitempty"` // list of name value pairs of the application properties
	// contains filtered or unexported fields
}

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 (*ServicesConfigurationList) Reset

func (x *ServicesConfigurationList) Reset()

func (*ServicesConfigurationList) String

func (x *ServicesConfigurationList) String() string

type Setting

type Setting struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`   // name of the property
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // value of the property
	Data  []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`   // any data associated with property
	// contains filtered or unexported fields
}

func (*Setting) Descriptor deprecated

func (*Setting) Descriptor() ([]byte, []int)

Deprecated: Use Setting.ProtoReflect.Descriptor instead.

func (*Setting) GetData

func (x *Setting) GetData() []byte

func (*Setting) GetName

func (x *Setting) GetName() string

func (*Setting) GetValue

func (x *Setting) GetValue() string

func (*Setting) ProtoMessage

func (*Setting) ProtoMessage()

func (*Setting) ProtoReflect

func (x *Setting) ProtoReflect() protoreflect.Message

func (*Setting) Reset

func (x *Setting) Reset()

func (*Setting) String

func (x *Setting) String() string

type ShardID

type ShardID struct {
	ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // the shard number (nonnegative)
	// 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) Descriptor() ([]byte, []int)

Deprecated: Use ShardID.ProtoReflect.Descriptor instead.

func (*ShardID) GetShardNum

func (x *ShardID) GetShardNum() int64

func (*ShardID) ProtoMessage

func (*ShardID) ProtoMessage()

func (*ShardID) ProtoReflect

func (x *ShardID) ProtoReflect() protoreflect.Message

func (*ShardID) Reset

func (x *ShardID) Reset()

func (*ShardID) String

func (x *ShardID) String() string

type Signature deprecated

type Signature struct {

	// Types that are assignable 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
}

A Signature corresponding to a Key. It is a sequence of bytes holding a public key signature from one of the three supported systems (ed25519, RSA-3072, ECDSA with p384). Or, it can be a list of signatures corresponding to a single threshold key. Or, it can be the ID of a smart contract instance, which is authorized to act as if it had a key. If an account has an ed25519 key associated with it, then the corresponding private key must sign any transaction to transfer cryptocurrency out of it. If it has a smart contract ID associated with it, then that smart contract is allowed to transfer cryptocurrency out of it. The smart contract doesn't actually have a key, and doesn't actually sign a transaction. But it's as if a virtual transaction were created, and the smart contract signed it with a private key. A key can also 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 (this nesting is not supported in the currently, but will be supported in a future version of API). If a Signature message is missing the "signature" field, then this is considered to be a null signature. That is useful in cases such as threshold signatures, where some of the signatures can be null. The definition of Key uses mutual recursion, so it allows nesting that is arbitrarily deep. But the current API only accepts Key messages up to 3 levels deep, such as a list of threshold keys, each of which is a list of primitive keys. Therefore, the matching Signature will have the same limitation. This restriction may be relaxed in future versions of the API, to allow deeper nesting. This message is deprecated and succeeded by SignaturePair and SignatureMap messages.

Deprecated: Do not use.

func (*Signature) Descriptor deprecated

func (*Signature) Descriptor() ([]byte, []int)

Deprecated: Use Signature.ProtoReflect.Descriptor instead.

func (*Signature) GetContract

func (x *Signature) GetContract() []byte

func (*Signature) GetECDSA_384

func (x *Signature) GetECDSA_384() []byte

func (*Signature) GetEd25519

func (x *Signature) GetEd25519() []byte

func (*Signature) GetRSA_3072

func (x *Signature) GetRSA_3072() []byte

func (*Signature) GetSignature

func (m *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

func (*Signature) Reset

func (x *Signature) Reset()

func (*Signature) String

func (x *Signature) String() string

type SignatureList deprecated

type SignatureList struct {
	Sigs []*Signature `protobuf:"bytes,2,rep,name=sigs,proto3" json:"sigs,omitempty"` // each signature corresponds to a Key in the KeyList
	// contains filtered or unexported fields
}

The signatures corresponding to a KeyList of the same length. This message is deprecated and succeeded by SignaturePair and SignatureMap messages.

Deprecated: Do not use.

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 {
	SigPair []*SignaturePair `protobuf:"bytes,1,rep,name=sigPair,proto3" json:"sigPair,omitempty"` // Each signature pair corresponds to a unique Key required to sign the transaction.
	// 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 {
	PubKeyPrefix []byte `protobuf:"bytes,1,opt,name=pubKeyPrefix,proto3" json:"pubKeyPrefix,omitempty"` // First few bytes of the public key
	// Types that are assignable to Signature:
	//	*SignaturePair_Contract
	//	*SignaturePair_Ed25519
	//	*SignaturePair_RSA_3072
	//	*SignaturePair_ECDSA_384
	Signature isSignaturePair_Signature `protobuf_oneof:"signature"`
	// contains filtered or unexported fields
}

The client may use any number of bytes from 0 to the whole length of the public key for pubKeyPrefix. If 0 bytes is used, then it is assumed that only one public key is used to sign. Only ed25519 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) 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 (m *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 {
	Contract []byte `protobuf:"bytes,2,opt,name=contract,proto3,oneof"` // smart contract virtual signature (always length zero)
}

type SignaturePair_ECDSA_384

type SignaturePair_ECDSA_384 struct {
	ECDSA_384 []byte `protobuf:"bytes,5,opt,name=ECDSA_384,json=ECDSA384,proto3,oneof"` // ECDSA p-384 signature
}

type SignaturePair_Ed25519

type SignaturePair_Ed25519 struct {
	Ed25519 []byte `protobuf:"bytes,3,opt,name=ed25519,proto3,oneof"` // ed25519 signature
}

type SignaturePair_RSA_3072

type SignaturePair_RSA_3072 struct {
	RSA_3072 []byte `protobuf:"bytes,4,opt,name=RSA_3072,json=RSA3072,proto3,oneof"` // RSA-3072 signature
}

type Signature_Contract

type Signature_Contract struct {
	Contract []byte `protobuf:"bytes,1,opt,name=contract,proto3,oneof"` // smart contract virtual signature (always length zero)
}

type Signature_ECDSA_384

type Signature_ECDSA_384 struct {
	ECDSA_384 []byte `protobuf:"bytes,4,opt,name=ECDSA_384,json=ECDSA384,proto3,oneof"` // ECDSA p-384 signature bytes
}

type Signature_Ed25519

type Signature_Ed25519 struct {
	Ed25519 []byte `protobuf:"bytes,2,opt,name=ed25519,proto3,oneof"` // ed25519 signature bytes
}

type Signature_RSA_3072

type Signature_RSA_3072 struct {
	RSA_3072 []byte `protobuf:"bytes,3,opt,name=RSA_3072,json=RSA3072,proto3,oneof"` // RSA-3072 signature bytes
}

type Signature_SignatureList

type Signature_SignatureList struct {
	SignatureList *SignatureList `protobuf:"bytes,6,opt,name=signatureList,proto3,oneof"` // A list of M signatures, each corresponding to a Key in a KeyList of the same length.
}

type Signature_ThresholdSignature

type Signature_ThresholdSignature struct {
	ThresholdSignature *ThresholdSignature `protobuf:"bytes,5,opt,name=thresholdSignature,proto3,oneof"` // 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.
}

type SignedTransaction

type SignedTransaction struct {
	BodyBytes []byte        `protobuf:"bytes,1,opt,name=bodyBytes,proto3" json:"bodyBytes,omitempty"` // TransactionBody serialized into bytes, which needs to be signed
	SigMap    *SignatureMap `protobuf:"bytes,2,opt,name=sigMap,proto3" json:"sigMap,omitempty"`       // The signatures on the body with the new format, to authorize the transaction
	// 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 SmartContractServiceClient

type SmartContractServiceClient interface {
	// Creates a contract
	CreateContract(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Updates a contract with the content
	UpdateContract(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Calls a contract
	ContractCallMethod(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Retrieves the contract information
	GetContractInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Calls a smart contract to be run on a single node
	ContractCallLocalMethod(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Retrieves the byte code of a contract
	ContractGetBytecode(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Retrieves a contract by its Solidity address
	GetBySolidityID(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Deprecated: Do not use.
	// Always returns an empty record list, as contract accounts are never effective payers for transactions
	GetTxRecordByContractID(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Deletes a contract instance and transfers any remaining hbars to a specified receiver
	DeleteContract(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Deletes a contract if the submitting account has network admin privileges
	SystemDelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Undeletes a contract if the submitting account has network admin privileges
	SystemUndelete(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
}

SmartContractServiceClient is the client API for SmartContractService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SmartContractServiceServer

type SmartContractServiceServer interface {
	// Creates a contract
	CreateContract(context.Context, *Transaction) (*TransactionResponse, error)
	// Updates a contract with the content
	UpdateContract(context.Context, *Transaction) (*TransactionResponse, error)
	// Calls a contract
	ContractCallMethod(context.Context, *Transaction) (*TransactionResponse, error)
	// Retrieves the contract information
	GetContractInfo(context.Context, *Query) (*Response, error)
	// Calls a smart contract to be run on a single node
	ContractCallLocalMethod(context.Context, *Query) (*Response, error)
	// Retrieves the byte code of a contract
	ContractGetBytecode(context.Context, *Query) (*Response, error)
	// Retrieves a contract by its Solidity address
	GetBySolidityID(context.Context, *Query) (*Response, error)
	// Deprecated: Do not use.
	// Always returns an empty record list, as contract accounts are never effective payers for transactions
	GetTxRecordByContractID(context.Context, *Query) (*Response, error)
	// Deletes a contract instance and transfers any remaining hbars to a specified receiver
	DeleteContract(context.Context, *Transaction) (*TransactionResponse, error)
	// Deletes a contract if the submitting account has network admin privileges
	SystemDelete(context.Context, *Transaction) (*TransactionResponse, error)
	// Undeletes a contract if the submitting account has network admin privileges
	SystemUndelete(context.Context, *Transaction) (*TransactionResponse, error)
	// contains filtered or unexported methods
}

SmartContractServiceServer is the server API for SmartContractService service. All implementations must embed UnimplementedSmartContractServiceServer for forward compatibility

type SubType

type SubType int32

* Possible FeeData Object SubTypes. Supplementary to the main HederaFunctionality Type. When not explicitly specified, DEFAULT is used.

const (
	SubType_DEFAULT                   SubType = 0
	SubType_TOKEN_FUNGIBLE_COMMON     SubType = 1
	SubType_TOKEN_NON_FUNGIBLE_UNIQUE SubType = 2
)

func (SubType) Descriptor

func (SubType) Descriptor() protoreflect.EnumDescriptor

func (SubType) Enum

func (x SubType) Enum() *SubType

func (SubType) EnumDescriptor deprecated

func (SubType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SubType.Descriptor instead.

func (SubType) Number

func (x SubType) Number() protoreflect.EnumNumber

func (SubType) String

func (x SubType) String() string

func (SubType) Type

func (SubType) Type() protoreflect.EnumType

type SystemDeleteTransactionBody

type SystemDeleteTransactionBody struct {

	// Types that are assignable to Id:
	//	*SystemDeleteTransactionBody_FileID
	//	*SystemDeleteTransactionBody_ContractID
	Id             isSystemDeleteTransactionBody_Id `protobuf_oneof:"id"`
	ExpirationTime *TimestampSeconds                `protobuf:"bytes,3,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"` // The timestamp in seconds at which the "deleted" file should truly be permanently deleted
	// contains filtered or unexported fields
}

Delete a file or smart contract - can only be done with a Hedera administrative multisignature. When it is deleted, it immediately disappears from the system as seen by the user, but is still stored internally until the expiration time, at which time it is truly and permanently deleted. Until that time, it can be undeleted by the Hedera administrative multisignature. When a smart contract is deleted, the cryptocurrency account within it continues to exist, and is not affected by the expiration time here.

func (*SystemDeleteTransactionBody) Descriptor deprecated

func (*SystemDeleteTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use SystemDeleteTransactionBody.ProtoReflect.Descriptor instead.

func (*SystemDeleteTransactionBody) GetContractID

func (x *SystemDeleteTransactionBody) GetContractID() *ContractID

func (*SystemDeleteTransactionBody) GetExpirationTime

func (x *SystemDeleteTransactionBody) GetExpirationTime() *TimestampSeconds

func (*SystemDeleteTransactionBody) GetFileID

func (x *SystemDeleteTransactionBody) GetFileID() *FileID

func (*SystemDeleteTransactionBody) GetId

func (m *SystemDeleteTransactionBody) GetId() isSystemDeleteTransactionBody_Id

func (*SystemDeleteTransactionBody) ProtoMessage

func (*SystemDeleteTransactionBody) ProtoMessage()

func (*SystemDeleteTransactionBody) ProtoReflect

func (*SystemDeleteTransactionBody) Reset

func (x *SystemDeleteTransactionBody) Reset()

func (*SystemDeleteTransactionBody) String

func (x *SystemDeleteTransactionBody) String() string

type SystemDeleteTransactionBody_ContractID

type SystemDeleteTransactionBody_ContractID struct {
	ContractID *ContractID `protobuf:"bytes,2,opt,name=contractID,proto3,oneof"` // The contract ID instance to delete, in the format used in transactions
}

type SystemDeleteTransactionBody_FileID

type SystemDeleteTransactionBody_FileID struct {
	FileID *FileID `protobuf:"bytes,1,opt,name=fileID,proto3,oneof"` // The file ID of the file to delete, in the format used in transactions
}

type SystemUndeleteTransactionBody

type SystemUndeleteTransactionBody struct {

	// Types that are assignable to Id:
	//	*SystemUndeleteTransactionBody_FileID
	//	*SystemUndeleteTransactionBody_ContractID
	Id isSystemUndeleteTransactionBody_Id `protobuf_oneof:"id"`
	// contains filtered or unexported fields
}

Undelete a file or smart contract that was deleted by SystemDelete; requires a Hedera administrative multisignature.

func (*SystemUndeleteTransactionBody) Descriptor deprecated

func (*SystemUndeleteTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use SystemUndeleteTransactionBody.ProtoReflect.Descriptor instead.

func (*SystemUndeleteTransactionBody) GetContractID

func (x *SystemUndeleteTransactionBody) GetContractID() *ContractID

func (*SystemUndeleteTransactionBody) GetFileID

func (x *SystemUndeleteTransactionBody) GetFileID() *FileID

func (*SystemUndeleteTransactionBody) GetId

func (m *SystemUndeleteTransactionBody) GetId() isSystemUndeleteTransactionBody_Id

func (*SystemUndeleteTransactionBody) ProtoMessage

func (*SystemUndeleteTransactionBody) ProtoMessage()

func (*SystemUndeleteTransactionBody) ProtoReflect

func (*SystemUndeleteTransactionBody) Reset

func (x *SystemUndeleteTransactionBody) Reset()

func (*SystemUndeleteTransactionBody) String

type SystemUndeleteTransactionBody_ContractID

type SystemUndeleteTransactionBody_ContractID struct {
	ContractID *ContractID `protobuf:"bytes,2,opt,name=contractID,proto3,oneof"` // The contract ID instance to undelete, in the format used in transactions
}

type SystemUndeleteTransactionBody_FileID

type SystemUndeleteTransactionBody_FileID struct {
	FileID *FileID `protobuf:"bytes,1,opt,name=fileID,proto3,oneof"` // The file ID to undelete, in the format used in transactions
}

type ThresholdKey

type ThresholdKey struct {
	Threshold uint32   `protobuf:"varint,1,opt,name=threshold,proto3" json:"threshold,omitempty"` // A valid signature set must have at least this many signatures
	Keys      *KeyList `protobuf:"bytes,2,opt,name=keys,proto3" json:"keys,omitempty"`            // List of all the keys that can sign
	// 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 {
	Sigs *SignatureList `protobuf:"bytes,2,opt,name=sigs,proto3" json:"sigs,omitempty"` // for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null
	// contains filtered or unexported fields
}

A signature corresponding to a ThresholdKey. For an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null. This message is deprecated and succeeded by SignaturePair and SignatureMap messages.

Deprecated: Do not use.

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 ThrottleBucket

type ThrottleBucket struct {
	Name           string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                     // A name for this bucket (primarily for use in logs)
	BurstPeriodMs  uint64           `protobuf:"varint,2,opt,name=burstPeriodMs,proto3" json:"burstPeriodMs,omitempty"`  // The number of milliseconds required for this bucket to drain completely when full. The product of this number and the least common multiple of the milliOpsPerSec values in this bucket must not exceed 9223372036.
	ThrottleGroups []*ThrottleGroup `protobuf:"bytes,3,rep,name=throttleGroups,proto3" json:"throttleGroups,omitempty"` // The throttle groups competing for this bucket
	// contains filtered or unexported fields
}

A list of throttle groups that should all compete for the same internal bucket.

func (*ThrottleBucket) Descriptor deprecated

func (*ThrottleBucket) Descriptor() ([]byte, []int)

Deprecated: Use ThrottleBucket.ProtoReflect.Descriptor instead.

func (*ThrottleBucket) GetBurstPeriodMs

func (x *ThrottleBucket) GetBurstPeriodMs() uint64

func (*ThrottleBucket) GetName

func (x *ThrottleBucket) GetName() string

func (*ThrottleBucket) GetThrottleGroups

func (x *ThrottleBucket) GetThrottleGroups() []*ThrottleGroup

func (*ThrottleBucket) ProtoMessage

func (*ThrottleBucket) ProtoMessage()

func (*ThrottleBucket) ProtoReflect

func (x *ThrottleBucket) ProtoReflect() protoreflect.Message

func (*ThrottleBucket) Reset

func (x *ThrottleBucket) Reset()

func (*ThrottleBucket) String

func (x *ThrottleBucket) String() string

type ThrottleDefinitions

type ThrottleDefinitions struct {
	ThrottleBuckets []*ThrottleBucket `protobuf:"bytes,1,rep,name=throttleBuckets,proto3" json:"throttleBuckets,omitempty"`
	// contains filtered or unexported fields
}

A list of throttle buckets which, simultaneously enforced, define the system's throttling policy. <ol> <li> When an operation appears in more than one throttling bucket, all its buckets must have room or it will be throttled.</li> <li>An operation assigned to no buckets is always throttled.</li> </ol>

func (*ThrottleDefinitions) Descriptor deprecated

func (*ThrottleDefinitions) Descriptor() ([]byte, []int)

Deprecated: Use ThrottleDefinitions.ProtoReflect.Descriptor instead.

func (*ThrottleDefinitions) GetThrottleBuckets

func (x *ThrottleDefinitions) GetThrottleBuckets() []*ThrottleBucket

func (*ThrottleDefinitions) ProtoMessage

func (*ThrottleDefinitions) ProtoMessage()

func (*ThrottleDefinitions) ProtoReflect

func (x *ThrottleDefinitions) ProtoReflect() protoreflect.Message

func (*ThrottleDefinitions) Reset

func (x *ThrottleDefinitions) Reset()

func (*ThrottleDefinitions) String

func (x *ThrottleDefinitions) String() string

type ThrottleGroup

type ThrottleGroup struct {
	Operations     []HederaFunctionality `protobuf:"varint,1,rep,packed,name=operations,proto3,enum=proto.HederaFunctionality" json:"operations,omitempty"` // The operations to be throttled
	MilliOpsPerSec uint64                `protobuf:"varint,2,opt,name=milliOpsPerSec,proto3" json:"milliOpsPerSec,omitempty"`                               // The number of total operations per second across the entire network, multiplied by 1000. So, to choose 3 operations per second (which on a network of 30 nodes is a tenth of an operation per second for each node), set milliOpsPerSec = 3000. And to choose 3.6 ops per second, use milliOpsPerSec = 3600. Minimum allowed value is 1, and maximum allowed value is 9223372.
	// contains filtered or unexported fields
}

A set of operations which should be collectively throttled at a given milli-ops-per-second limit.

func (*ThrottleGroup) Descriptor deprecated

func (*ThrottleGroup) Descriptor() ([]byte, []int)

Deprecated: Use ThrottleGroup.ProtoReflect.Descriptor instead.

func (*ThrottleGroup) GetMilliOpsPerSec

func (x *ThrottleGroup) GetMilliOpsPerSec() uint64

func (*ThrottleGroup) GetOperations

func (x *ThrottleGroup) GetOperations() []HederaFunctionality

func (*ThrottleGroup) ProtoMessage

func (*ThrottleGroup) ProtoMessage()

func (*ThrottleGroup) ProtoReflect

func (x *ThrottleGroup) ProtoReflect() protoreflect.Message

func (*ThrottleGroup) Reset

func (x *ThrottleGroup) Reset()

func (*ThrottleGroup) String

func (x *ThrottleGroup) String() string

type Timestamp

type Timestamp struct {
	Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` // Number of complete seconds since the start of the epoch
	Nanos   int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`     // Number of nanoseconds since the start of the last second
	// 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) Descriptor() ([]byte, []int)

Deprecated: Use Timestamp.ProtoReflect.Descriptor instead.

func (*Timestamp) GetNanos

func (x *Timestamp) GetNanos() int32

func (*Timestamp) GetSeconds

func (x *Timestamp) GetSeconds() int64

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) ProtoReflect

func (x *Timestamp) ProtoReflect() protoreflect.Message

func (*Timestamp) Reset

func (x *Timestamp) Reset()

func (*Timestamp) String

func (x *Timestamp) String() string

type TimestampSeconds

type TimestampSeconds struct {
	Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` // Number of complete seconds since the start of the epoch
	// 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 TokenAssociateTransactionBody

type TokenAssociateTransactionBody struct {
	Account *AccountID `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The account to be associated with the provided tokens
	Tokens  []*TokenID `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"`   // The tokens to be associated with the provided account. In the case of NON_FUNGIBLE_UNIQUE Type, once an account is associated, it can hold any number of NFTs (serial numbers) of that token type
	// contains filtered or unexported fields
}

Associates the provided account with the provided tokens. Must be signed by the provided Account's key. If the provided account is not found, the transaction will resolve to INVALID_ACCOUNT_ID. If the provided account has been deleted, the transaction will resolve to ACCOUNT_DELETED. If any of the provided tokens is not found, the transaction will resolve to INVALID_TOKEN_REF. If any of the provided tokens has been deleted, the transaction will resolve to TOKEN_WAS_DELETED. If an association between the provided account and any of the tokens already exists, the transaction will resolve to TOKEN_ALREADY_ASSOCIATED_TO_ACCOUNT. If the provided account's associations count exceed the constraint of maximum token associations per account, the transaction will resolve to TOKENS_PER_ACCOUNT_LIMIT_EXCEEDED. On success, associations between the provided account and tokens are made and the account is ready to interact with the tokens.

func (*TokenAssociateTransactionBody) Descriptor deprecated

func (*TokenAssociateTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenAssociateTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenAssociateTransactionBody) GetAccount

func (x *TokenAssociateTransactionBody) GetAccount() *AccountID

func (*TokenAssociateTransactionBody) GetTokens

func (x *TokenAssociateTransactionBody) GetTokens() []*TokenID

func (*TokenAssociateTransactionBody) ProtoMessage

func (*TokenAssociateTransactionBody) ProtoMessage()

func (*TokenAssociateTransactionBody) ProtoReflect

func (*TokenAssociateTransactionBody) Reset

func (x *TokenAssociateTransactionBody) Reset()

func (*TokenAssociateTransactionBody) String

type TokenBalance

type TokenBalance struct {
	TokenId  *TokenID `protobuf:"bytes,1,opt,name=tokenId,proto3" json:"tokenId,omitempty"`    // A unique token id
	Balance  uint64   `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,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
	Decimals uint32   `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"` // Tokens divide into <tt>10<sup>decimals</sup></tt> pieces
	// 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 TokenBurnTransactionBody

type TokenBurnTransactionBody struct {
	Token         *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`                         // The token for which to burn tokens. If token does not exist, transaction results in INVALID_TOKEN_ID
	Amount        uint64   `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`                      // Applicable to tokens of type FUNGIBLE_COMMON. The amount to burn from the Treasury Account. Amount must be a positive non-zero number, not bigger than the token balance of the treasury account (0; balance], represented in the lowest denomination.
	SerialNumbers []int64  `protobuf:"varint,3,rep,packed,name=serialNumbers,proto3" json:"serialNumbers,omitempty"` // Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be burned.
	// contains filtered or unexported fields
}

Burns tokens from the Token's treasury Account. If no Supply Key is defined, the transaction will resolve to TOKEN_HAS_NO_SUPPLY_KEY. The operation decreases the Total Supply of the Token. Total supply cannot go below zero. The amount provided must be in the lowest denomination possible. Example: Token A has 2 decimals. In order to burn 100 tokens, one must provide amount of 10000. In order to burn 100.55 tokens, one must provide amount of 10055.

func (*TokenBurnTransactionBody) Descriptor deprecated

func (*TokenBurnTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenBurnTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenBurnTransactionBody) GetAmount

func (x *TokenBurnTransactionBody) GetAmount() uint64

func (*TokenBurnTransactionBody) GetSerialNumbers

func (x *TokenBurnTransactionBody) GetSerialNumbers() []int64

func (*TokenBurnTransactionBody) GetToken

func (x *TokenBurnTransactionBody) GetToken() *TokenID

func (*TokenBurnTransactionBody) ProtoMessage

func (*TokenBurnTransactionBody) ProtoMessage()

func (*TokenBurnTransactionBody) ProtoReflect

func (x *TokenBurnTransactionBody) ProtoReflect() protoreflect.Message

func (*TokenBurnTransactionBody) Reset

func (x *TokenBurnTransactionBody) Reset()

func (*TokenBurnTransactionBody) String

func (x *TokenBurnTransactionBody) String() string

type TokenCreateTransactionBody

type TokenCreateTransactionBody struct {
	Name             string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                              // The publicly visible name of the token, limited to a UTF-8 encoding of length <tt>tokens.maxSymbolUtf8Bytes</tt>.
	Symbol           string          `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`                                          // The publicly visible token symbol, limited to a UTF-8 encoding of length <tt>tokens.maxTokenNameUtf8Bytes</tt>.
	Decimals         uint32          `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"`                                     // For tokens of type FUNGIBLE_COMMON - the number of decimal places a token is divisible by. For tokens of type NON_FUNGIBLE_UNIQUE - value must be 0
	InitialSupply    uint64          `protobuf:"varint,4,opt,name=initialSupply,proto3" json:"initialSupply,omitempty"`                           // Specifies the initial supply of tokens to be put in circulation. The initial supply is sent to the Treasury Account. The supply is in the lowest denomination possible. In the case for NON_FUNGIBLE_UNIQUE Type the value must be 0
	Treasury         *AccountID      `protobuf:"bytes,5,opt,name=treasury,proto3" json:"treasury,omitempty"`                                      // The account which will act as a treasury for the token. This account will receive the specified initial supply or the newly minted NFTs in the case for NON_FUNGIBLE_UNIQUE Type
	AdminKey         *Key            `protobuf:"bytes,6,opt,name=adminKey,proto3" json:"adminKey,omitempty"`                                      // The key which can perform update/delete operations on the token. If empty, the token can be perceived as immutable (not being able to be updated/deleted)
	KycKey           *Key            `protobuf:"bytes,7,opt,name=kycKey,proto3" json:"kycKey,omitempty"`                                          // The key which can grant or revoke KYC of an account for the token's transactions. If empty, KYC is not required, and KYC grant or revoke operations are not possible.
	FreezeKey        *Key            `protobuf:"bytes,8,opt,name=freezeKey,proto3" json:"freezeKey,omitempty"`                                    // The key which can sign to freeze or unfreeze an account for token transactions. If empty, freezing is not possible
	WipeKey          *Key            `protobuf:"bytes,9,opt,name=wipeKey,proto3" json:"wipeKey,omitempty"`                                        // The key which can wipe the token balance of an account. If empty, wipe is not possible
	SupplyKey        *Key            `protobuf:"bytes,10,opt,name=supplyKey,proto3" json:"supplyKey,omitempty"`                                   // The key which can change the supply of a token. The key is used to sign Token Mint/Burn operations
	FreezeDefault    bool            `protobuf:"varint,11,opt,name=freezeDefault,proto3" json:"freezeDefault,omitempty"`                          // The default Freeze status (frozen or unfrozen) of Hedera accounts relative to this token. If true, an account must be unfrozen before it can receive the token
	Expiry           *Timestamp      `protobuf:"bytes,13,opt,name=expiry,proto3" json:"expiry,omitempty"`                                         // The epoch second at which the token should expire; if an auto-renew account and period are specified, this is coerced to the current epoch second plus the autoRenewPeriod
	AutoRenewAccount *AccountID      `protobuf:"bytes,14,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"`                     // An account which will be automatically charged to renew the token's expiration, at autoRenewPeriod interval
	AutoRenewPeriod  *Duration       `protobuf:"bytes,15,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`                       // The interval at which the auto-renew account will be charged to extend the token's expiry
	Memo             string          `protobuf:"bytes,16,opt,name=memo,proto3" json:"memo,omitempty"`                                             // The memo associated with the token (UTF-8 encoding max 100 bytes)
	TokenType        TokenType       `protobuf:"varint,17,opt,name=tokenType,proto3,enum=proto.TokenType" json:"tokenType,omitempty"`             // IWA compatibility. Specifies the token type. Defaults to FUNGIBLE_COMMON
	SupplyType       TokenSupplyType `protobuf:"varint,18,opt,name=supplyType,proto3,enum=proto.TokenSupplyType" json:"supplyType,omitempty"`     // IWA compatibility. Specified the token supply type. Defaults to INFINITE
	MaxSupply        int64           `protobuf:"varint,19,opt,name=maxSupply,proto3" json:"maxSupply,omitempty"`                                  // IWA Compatibility. Depends on TokenSupplyType. For tokens of type FUNGIBLE_COMMON - the maximum number of tokens that can be in circulation. For tokens of type NON_FUNGIBLE_UNIQUE - the maximum number of NFTs (serial numbers) that can be minted. This field can never be changed!
	FeeScheduleKey   *Key            `protobuf:"bytes,20,opt,name=fee_schedule_key,json=feeScheduleKey,proto3" json:"fee_schedule_key,omitempty"` // The key which can change the token's custom fee schedule; must sign a TokenFeeScheduleUpdate transaction
	CustomFees       []*CustomFee    `protobuf:"bytes,21,rep,name=custom_fees,json=customFees,proto3" json:"custom_fees,omitempty"`               // The custom fees to be assessed during a CryptoTransfer that transfers units of this token
	// contains filtered or unexported fields
}

Create a new token. After the token is created, the Token ID for it is in the receipt. The specified Treasury Account is receiving the initial supply of tokens as-well as the tokens from the Token Mint operation once executed. The balance of the treasury account is decreased when the Token Burn operation is executed.

The <tt>initialSupply</tt> is the initial supply of the smallest parts of a token (like a tinybar, not an hbar). These are the smallest units of the token which may be transferred.

The supply can change over time. If the total supply at some moment is <i>S</i> parts of tokens, and the token is using <i>D</i> decimals, then <i>S</i> must be less than or equal to 2<sup>63</sup>-1, which is 9,223,372,036,854,775,807. The number of whole tokens (not parts) will be <i>S / 10<sup>D</sup></i>.

If decimals is 8 or 11, then the number of whole tokens can be at most a few billions or millions, respectively. For example, it could match Bitcoin (21 million whole tokens with 8 decimals) or hbars (50 billion whole tokens with 8 decimals). It could even match Bitcoin with milli-satoshis (21 million whole tokens with 11 decimals).

Note that a created token is <i>immutable</i> if the <tt>adminKey</tt> is omitted. No property of an immutable token can ever change, with the sole exception of its expiry. Anyone can pay to extend the expiry time of an immutable token.

func (*TokenCreateTransactionBody) Descriptor deprecated

func (*TokenCreateTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenCreateTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenCreateTransactionBody) GetAdminKey

func (x *TokenCreateTransactionBody) GetAdminKey() *Key

func (*TokenCreateTransactionBody) GetAutoRenewAccount

func (x *TokenCreateTransactionBody) GetAutoRenewAccount() *AccountID

func (*TokenCreateTransactionBody) GetAutoRenewPeriod

func (x *TokenCreateTransactionBody) GetAutoRenewPeriod() *Duration

func (*TokenCreateTransactionBody) GetCustomFees added in v0.2.0

func (x *TokenCreateTransactionBody) GetCustomFees() []*CustomFee

func (*TokenCreateTransactionBody) GetDecimals

func (x *TokenCreateTransactionBody) GetDecimals() uint32

func (*TokenCreateTransactionBody) GetExpiry

func (x *TokenCreateTransactionBody) GetExpiry() *Timestamp

func (*TokenCreateTransactionBody) GetFeeScheduleKey added in v0.2.0

func (x *TokenCreateTransactionBody) GetFeeScheduleKey() *Key

func (*TokenCreateTransactionBody) GetFreezeDefault

func (x *TokenCreateTransactionBody) GetFreezeDefault() bool

func (*TokenCreateTransactionBody) GetFreezeKey

func (x *TokenCreateTransactionBody) GetFreezeKey() *Key

func (*TokenCreateTransactionBody) GetInitialSupply

func (x *TokenCreateTransactionBody) GetInitialSupply() uint64

func (*TokenCreateTransactionBody) GetKycKey

func (x *TokenCreateTransactionBody) GetKycKey() *Key

func (*TokenCreateTransactionBody) GetMaxSupply

func (x *TokenCreateTransactionBody) GetMaxSupply() int64

func (*TokenCreateTransactionBody) GetMemo

func (x *TokenCreateTransactionBody) GetMemo() string

func (*TokenCreateTransactionBody) GetName

func (x *TokenCreateTransactionBody) GetName() string

func (*TokenCreateTransactionBody) GetSupplyKey

func (x *TokenCreateTransactionBody) GetSupplyKey() *Key

func (*TokenCreateTransactionBody) GetSupplyType

func (x *TokenCreateTransactionBody) GetSupplyType() TokenSupplyType

func (*TokenCreateTransactionBody) GetSymbol

func (x *TokenCreateTransactionBody) GetSymbol() string

func (*TokenCreateTransactionBody) GetTokenType

func (x *TokenCreateTransactionBody) GetTokenType() TokenType

func (*TokenCreateTransactionBody) GetTreasury

func (x *TokenCreateTransactionBody) GetTreasury() *AccountID

func (*TokenCreateTransactionBody) GetWipeKey

func (x *TokenCreateTransactionBody) GetWipeKey() *Key

func (*TokenCreateTransactionBody) ProtoMessage

func (*TokenCreateTransactionBody) ProtoMessage()

func (*TokenCreateTransactionBody) ProtoReflect

func (*TokenCreateTransactionBody) Reset

func (x *TokenCreateTransactionBody) Reset()

func (*TokenCreateTransactionBody) String

func (x *TokenCreateTransactionBody) String() string

type TokenDeleteTransactionBody

type TokenDeleteTransactionBody struct {
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // The token to be deleted. If invalid token is specified, transaction will result in INVALID_TOKEN_ID
	// contains filtered or unexported fields
}

Marks a token as deleted, though it will remain in the ledger. The operation must be signed by the specified Admin Key of the Token. If admin key is not set, Transaction will result in TOKEN_IS_IMMUTABlE. Once deleted update, mint, burn, wipe, freeze, unfreeze, grant kyc, revoke kyc and token transfer transactions will resolve to TOKEN_WAS_DELETED.

func (*TokenDeleteTransactionBody) Descriptor deprecated

func (*TokenDeleteTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenDeleteTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenDeleteTransactionBody) GetToken

func (x *TokenDeleteTransactionBody) GetToken() *TokenID

func (*TokenDeleteTransactionBody) ProtoMessage

func (*TokenDeleteTransactionBody) ProtoMessage()

func (*TokenDeleteTransactionBody) ProtoReflect

func (*TokenDeleteTransactionBody) Reset

func (x *TokenDeleteTransactionBody) Reset()

func (*TokenDeleteTransactionBody) String

func (x *TokenDeleteTransactionBody) String() string

type TokenDissociateTransactionBody

type TokenDissociateTransactionBody struct {
	Account *AccountID `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The account to be dissociated with the provided tokens
	Tokens  []*TokenID `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"`   // The tokens to be dissociated with the provided account
	// contains filtered or unexported fields
}

Dissociates the provided account with the provided tokens. Must be signed by the provided Account's key. If the provided account is not found, the transaction will resolve to INVALID_ACCOUNT_ID. If the provided account has been deleted, the transaction will resolve to ACCOUNT_DELETED. If any of the provided tokens is not found, the transaction will resolve to INVALID_TOKEN_REF. If any of the provided tokens has been deleted, the transaction will resolve to TOKEN_WAS_DELETED. If an association between the provided account and any of the tokens does not exist, the transaction will resolve to TOKEN_NOT_ASSOCIATED_TO_ACCOUNT. If the provided account has a nonzero balance with any of the provided tokens, the transaction will resolve to TRANSACTION_REQUIRES_ZERO_TOKEN_BALANCES. On success, associations between the provided account and tokens are removed.

func (*TokenDissociateTransactionBody) Descriptor deprecated

func (*TokenDissociateTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenDissociateTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenDissociateTransactionBody) GetAccount

func (x *TokenDissociateTransactionBody) GetAccount() *AccountID

func (*TokenDissociateTransactionBody) GetTokens

func (x *TokenDissociateTransactionBody) GetTokens() []*TokenID

func (*TokenDissociateTransactionBody) ProtoMessage

func (*TokenDissociateTransactionBody) ProtoMessage()

func (*TokenDissociateTransactionBody) ProtoReflect

func (*TokenDissociateTransactionBody) Reset

func (x *TokenDissociateTransactionBody) Reset()

func (*TokenDissociateTransactionBody) String

type TokenFeeScheduleUpdateTransactionBody added in v0.2.0

type TokenFeeScheduleUpdateTransactionBody struct {
	TokenId    *TokenID     `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`          // The token whose fee schedule is to be updated
	CustomFees []*CustomFee `protobuf:"bytes,2,rep,name=custom_fees,json=customFees,proto3" json:"custom_fees,omitempty"` // The new custom fees to be assessed during a CryptoTransfer that transfers units of this token
	// contains filtered or unexported fields
}

At consensus, updates a token type's fee schedule to the given list of custom fees.

If the target token type has no fee_schedule_key, resolves to TOKEN_HAS_NO_FEE_SCHEDULE_KEY. Otherwise this transaction must be signed to the fee_schedule_key, or the transaction will resolve to INVALID_SIGNATURE.

If the custom_fees list is empty, clears the fee schedule or resolves to CUSTOM_SCHEDULE_ALREADY_HAS_NO_FEES if the fee schedule was already empty.

func (*TokenFeeScheduleUpdateTransactionBody) Descriptor deprecated added in v0.2.0

func (*TokenFeeScheduleUpdateTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenFeeScheduleUpdateTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenFeeScheduleUpdateTransactionBody) GetCustomFees added in v0.2.0

func (x *TokenFeeScheduleUpdateTransactionBody) GetCustomFees() []*CustomFee

func (*TokenFeeScheduleUpdateTransactionBody) GetTokenId added in v0.2.0

func (*TokenFeeScheduleUpdateTransactionBody) ProtoMessage added in v0.2.0

func (*TokenFeeScheduleUpdateTransactionBody) ProtoMessage()

func (*TokenFeeScheduleUpdateTransactionBody) ProtoReflect added in v0.2.0

func (*TokenFeeScheduleUpdateTransactionBody) Reset added in v0.2.0

func (*TokenFeeScheduleUpdateTransactionBody) String added in v0.2.0

type TokenFreezeAccountTransactionBody

type TokenFreezeAccountTransactionBody struct {
	Token   *TokenID   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`     // The token for which this account will be frozen. If token does not exist, transaction results in INVALID_TOKEN_ID
	Account *AccountID `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // The account to be frozen
	// contains filtered or unexported fields
}

Freezes transfers of the specified token for the account. Must be signed by the Token's freezeKey. If the provided account is not found, the transaction will resolve to INVALID_ACCOUNT_ID. If the provided account has been deleted, the transaction will resolve to ACCOUNT_DELETED. If the provided token is not found, the transaction will resolve to INVALID_TOKEN_ID. If the provided token has been deleted, the transaction will resolve to TOKEN_WAS_DELETED. If an Association between the provided token and account is not found, the transaction will resolve to TOKEN_NOT_ASSOCIATED_TO_ACCOUNT. If no Freeze Key is defined, the transaction will resolve to TOKEN_HAS_NO_FREEZE_KEY. Once executed the Account is marked as Frozen and will not be able to receive or send tokens unless unfrozen. The operation is idempotent.

func (*TokenFreezeAccountTransactionBody) Descriptor deprecated

func (*TokenFreezeAccountTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenFreezeAccountTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenFreezeAccountTransactionBody) GetAccount

func (*TokenFreezeAccountTransactionBody) GetToken

func (*TokenFreezeAccountTransactionBody) ProtoMessage

func (*TokenFreezeAccountTransactionBody) ProtoMessage()

func (*TokenFreezeAccountTransactionBody) ProtoReflect

func (*TokenFreezeAccountTransactionBody) Reset

func (*TokenFreezeAccountTransactionBody) String

type TokenFreezeStatus

type TokenFreezeStatus int32

Possible Freeze statuses returned on TokenGetInfoQuery or CryptoGetInfoResponse in TokenRelationship

const (
	TokenFreezeStatus_FreezeNotApplicable TokenFreezeStatus = 0
	TokenFreezeStatus_Frozen              TokenFreezeStatus = 1
	TokenFreezeStatus_Unfrozen            TokenFreezeStatus = 2
)

func (TokenFreezeStatus) Descriptor

func (TokenFreezeStatus) Enum

func (TokenFreezeStatus) EnumDescriptor deprecated

func (TokenFreezeStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use TokenFreezeStatus.Descriptor instead.

func (TokenFreezeStatus) Number

func (TokenFreezeStatus) String

func (x TokenFreezeStatus) String() string

func (TokenFreezeStatus) Type

type TokenGetAccountNftInfosQuery added in v0.2.0

type TokenGetAccountNftInfosQuery struct {
	Header    *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`       // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	AccountID *AccountID   `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"` // The Account for which information is requested
	Start     int64        `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`        // Specifies the start index (inclusive) of the range of NFTs to query for. Value must be in the range [0; ownedNFTs-1]
	End       int64        `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`            // Specifies the end index (exclusive) of the range of NFTs to query for. Value must be in the range (start; ownedNFTs]
	// contains filtered or unexported fields
}

Applicable only to tokens of type NON_FUNGIBLE_UNIQUE. Gets info on NFTs N through M owned by the specified accountId. Example: If Account A owns 5 NFTs (might be of different Token Entity), having start=0 and end=5 will return all of the NFTs

func (*TokenGetAccountNftInfosQuery) Descriptor deprecated added in v0.2.0

func (*TokenGetAccountNftInfosQuery) Descriptor() ([]byte, []int)

Deprecated: Use TokenGetAccountNftInfosQuery.ProtoReflect.Descriptor instead.

func (*TokenGetAccountNftInfosQuery) GetAccountID added in v0.2.0

func (x *TokenGetAccountNftInfosQuery) GetAccountID() *AccountID

func (*TokenGetAccountNftInfosQuery) GetEnd added in v0.2.0

func (x *TokenGetAccountNftInfosQuery) GetEnd() int64

func (*TokenGetAccountNftInfosQuery) GetHeader added in v0.2.0

func (x *TokenGetAccountNftInfosQuery) GetHeader() *QueryHeader

func (*TokenGetAccountNftInfosQuery) GetStart added in v0.2.0

func (x *TokenGetAccountNftInfosQuery) GetStart() int64

func (*TokenGetAccountNftInfosQuery) ProtoMessage added in v0.2.0

func (*TokenGetAccountNftInfosQuery) ProtoMessage()

func (*TokenGetAccountNftInfosQuery) ProtoReflect added in v0.2.0

func (*TokenGetAccountNftInfosQuery) Reset added in v0.2.0

func (x *TokenGetAccountNftInfosQuery) Reset()

func (*TokenGetAccountNftInfosQuery) String added in v0.2.0

type TokenGetAccountNftInfosResponse added in v0.2.0

type TokenGetAccountNftInfosResponse struct {
	Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	Nfts   []*TokenNftInfo `protobuf:"bytes,2,rep,name=nfts,proto3" json:"nfts,omitempty"`     // List of NFTs associated to the account
	// contains filtered or unexported fields
}

func (*TokenGetAccountNftInfosResponse) Descriptor deprecated added in v0.2.0

func (*TokenGetAccountNftInfosResponse) Descriptor() ([]byte, []int)

Deprecated: Use TokenGetAccountNftInfosResponse.ProtoReflect.Descriptor instead.

func (*TokenGetAccountNftInfosResponse) GetHeader added in v0.2.0

func (*TokenGetAccountNftInfosResponse) GetNfts added in v0.2.0

func (*TokenGetAccountNftInfosResponse) ProtoMessage added in v0.2.0

func (*TokenGetAccountNftInfosResponse) ProtoMessage()

func (*TokenGetAccountNftInfosResponse) ProtoReflect added in v0.2.0

func (*TokenGetAccountNftInfosResponse) Reset added in v0.2.0

func (*TokenGetAccountNftInfosResponse) String added in v0.2.0

type TokenGetInfoQuery

type TokenGetInfoQuery struct {
	Header *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither)
	Token  *TokenID     `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`   // The token for which information is requested. If invalid token is provided, INVALID_TOKEN_ID response is returned.
	// contains filtered or unexported fields
}

Gets information about Token instance

func (*TokenGetInfoQuery) Descriptor deprecated

func (*TokenGetInfoQuery) Descriptor() ([]byte, []int)

Deprecated: Use TokenGetInfoQuery.ProtoReflect.Descriptor instead.

func (*TokenGetInfoQuery) GetHeader

func (x *TokenGetInfoQuery) GetHeader() *QueryHeader

func (*TokenGetInfoQuery) GetToken

func (x *TokenGetInfoQuery) GetToken() *TokenID

func (*TokenGetInfoQuery) ProtoMessage

func (*TokenGetInfoQuery) ProtoMessage()

func (*TokenGetInfoQuery) ProtoReflect

func (x *TokenGetInfoQuery) ProtoReflect() protoreflect.Message

func (*TokenGetInfoQuery) Reset

func (x *TokenGetInfoQuery) Reset()

func (*TokenGetInfoQuery) String

func (x *TokenGetInfoQuery) String() string

type TokenGetInfoResponse

type TokenGetInfoResponse struct {
	Header    *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`       // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	TokenInfo *TokenInfo      `protobuf:"bytes,2,opt,name=tokenInfo,proto3" json:"tokenInfo,omitempty"` // The information requested about this token instance
	// contains filtered or unexported fields
}

Response when the client sends the node TokenGetInfoQuery

func (*TokenGetInfoResponse) Descriptor deprecated

func (*TokenGetInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use TokenGetInfoResponse.ProtoReflect.Descriptor instead.

func (*TokenGetInfoResponse) GetHeader

func (x *TokenGetInfoResponse) GetHeader() *ResponseHeader

func (*TokenGetInfoResponse) GetTokenInfo

func (x *TokenGetInfoResponse) GetTokenInfo() *TokenInfo

func (*TokenGetInfoResponse) ProtoMessage

func (*TokenGetInfoResponse) ProtoMessage()

func (*TokenGetInfoResponse) ProtoReflect

func (x *TokenGetInfoResponse) ProtoReflect() protoreflect.Message

func (*TokenGetInfoResponse) Reset

func (x *TokenGetInfoResponse) Reset()

func (*TokenGetInfoResponse) String

func (x *TokenGetInfoResponse) String() string

type TokenGetNftInfoQuery

type TokenGetNftInfoQuery struct {
	Header *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	NftID  *NftID       `protobuf:"bytes,2,opt,name=nftID,proto3" json:"nftID,omitempty"`   // The ID of the NFT
	// contains filtered or unexported fields
}

Applicable only to tokens of type NON_FUNGIBLE_UNIQUE. Gets info on a NFT for a given TokenID (of type NON_FUNGIBLE_UNIQUE) and serial number

func (*TokenGetNftInfoQuery) Descriptor deprecated

func (*TokenGetNftInfoQuery) Descriptor() ([]byte, []int)

Deprecated: Use TokenGetNftInfoQuery.ProtoReflect.Descriptor instead.

func (*TokenGetNftInfoQuery) GetHeader

func (x *TokenGetNftInfoQuery) GetHeader() *QueryHeader

func (*TokenGetNftInfoQuery) GetNftID

func (x *TokenGetNftInfoQuery) GetNftID() *NftID

func (*TokenGetNftInfoQuery) ProtoMessage

func (*TokenGetNftInfoQuery) ProtoMessage()

func (*TokenGetNftInfoQuery) ProtoReflect

func (x *TokenGetNftInfoQuery) ProtoReflect() protoreflect.Message

func (*TokenGetNftInfoQuery) Reset

func (x *TokenGetNftInfoQuery) Reset()

func (*TokenGetNftInfoQuery) String

func (x *TokenGetNftInfoQuery) String() string

type TokenGetNftInfoResponse

type TokenGetNftInfoResponse struct {
	Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	Nft    *TokenNftInfo   `protobuf:"bytes,2,opt,name=nft,proto3" json:"nft,omitempty"`       // The information about this NFT
	// contains filtered or unexported fields
}

func (*TokenGetNftInfoResponse) Descriptor deprecated

func (*TokenGetNftInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use TokenGetNftInfoResponse.ProtoReflect.Descriptor instead.

func (*TokenGetNftInfoResponse) GetHeader

func (x *TokenGetNftInfoResponse) GetHeader() *ResponseHeader

func (*TokenGetNftInfoResponse) GetNft

func (*TokenGetNftInfoResponse) ProtoMessage

func (*TokenGetNftInfoResponse) ProtoMessage()

func (*TokenGetNftInfoResponse) ProtoReflect

func (x *TokenGetNftInfoResponse) ProtoReflect() protoreflect.Message

func (*TokenGetNftInfoResponse) Reset

func (x *TokenGetNftInfoResponse) Reset()

func (*TokenGetNftInfoResponse) String

func (x *TokenGetNftInfoResponse) String() string

type TokenGetNftInfosQuery

type TokenGetNftInfosQuery struct {
	Header  *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`   // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	TokenID *TokenID     `protobuf:"bytes,2,opt,name=tokenID,proto3" json:"tokenID,omitempty"` // The ID of the token for which information is requested
	Start   int64        `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`    // Specifies the start index (inclusive) of the range of NFTs to query for. Value must be in the range [0; ownedNFTs-1]
	End     int64        `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`        // Specifies the end index (exclusive) of the range of NFTs to query for. Value must be in the range (start; ownedNFTs]
	// contains filtered or unexported fields
}

Applicable only to tokens of type NON_FUNGIBLE_UNIQUE. Gets info on NFTs N through M on the list of NFTs associated with a given NON_FUNGIBLE_UNIQUE Token. Example: If there are 10 NFTs issued, having start=0 and end=5 will query for the first 5 NFTs. Querying +all 10 NFTs will require start=0 and end=10

func (*TokenGetNftInfosQuery) Descriptor deprecated

func (*TokenGetNftInfosQuery) Descriptor() ([]byte, []int)

Deprecated: Use TokenGetNftInfosQuery.ProtoReflect.Descriptor instead.

func (*TokenGetNftInfosQuery) GetEnd

func (x *TokenGetNftInfosQuery) GetEnd() int64

func (*TokenGetNftInfosQuery) GetHeader

func (x *TokenGetNftInfosQuery) GetHeader() *QueryHeader

func (*TokenGetNftInfosQuery) GetStart

func (x *TokenGetNftInfosQuery) GetStart() int64

func (*TokenGetNftInfosQuery) GetTokenID

func (x *TokenGetNftInfosQuery) GetTokenID() *TokenID

func (*TokenGetNftInfosQuery) ProtoMessage

func (*TokenGetNftInfosQuery) ProtoMessage()

func (*TokenGetNftInfosQuery) ProtoReflect

func (x *TokenGetNftInfosQuery) ProtoReflect() protoreflect.Message

func (*TokenGetNftInfosQuery) Reset

func (x *TokenGetNftInfosQuery) Reset()

func (*TokenGetNftInfosQuery) String

func (x *TokenGetNftInfosQuery) String() string

type TokenGetNftInfosResponse

type TokenGetNftInfosResponse struct {
	Header  *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`   // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	TokenID *TokenID        `protobuf:"bytes,2,opt,name=tokenID,proto3" json:"tokenID,omitempty"` // The Token with type NON_FUNGIBLE that this record is for
	Nfts    []*TokenNftInfo `protobuf:"bytes,3,rep,name=nfts,proto3" json:"nfts,omitempty"`       // List of NFTs associated to the specified token
	// contains filtered or unexported fields
}

func (*TokenGetNftInfosResponse) Descriptor deprecated

func (*TokenGetNftInfosResponse) Descriptor() ([]byte, []int)

Deprecated: Use TokenGetNftInfosResponse.ProtoReflect.Descriptor instead.

func (*TokenGetNftInfosResponse) GetHeader

func (x *TokenGetNftInfosResponse) GetHeader() *ResponseHeader

func (*TokenGetNftInfosResponse) GetNfts

func (x *TokenGetNftInfosResponse) GetNfts() []*TokenNftInfo

func (*TokenGetNftInfosResponse) GetTokenID

func (x *TokenGetNftInfosResponse) GetTokenID() *TokenID

func (*TokenGetNftInfosResponse) ProtoMessage

func (*TokenGetNftInfosResponse) ProtoMessage()

func (*TokenGetNftInfosResponse) ProtoReflect

func (x *TokenGetNftInfosResponse) ProtoReflect() protoreflect.Message

func (*TokenGetNftInfosResponse) Reset

func (x *TokenGetNftInfosResponse) Reset()

func (*TokenGetNftInfosResponse) String

func (x *TokenGetNftInfosResponse) String() string

type TokenGrantKycTransactionBody

type TokenGrantKycTransactionBody struct {
	Token   *TokenID   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`     // The token for which this account will be granted KYC. If token does not exist, transaction results in INVALID_TOKEN_ID
	Account *AccountID `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // The account to be KYCed
	// contains filtered or unexported fields
}

Grants KYC to the account for the given token. Must be signed by the Token's kycKey. If the provided account is not found, the transaction will resolve to INVALID_ACCOUNT_ID. If the provided account has been deleted, the transaction will resolve to ACCOUNT_DELETED. If the provided token is not found, the transaction will resolve to INVALID_TOKEN_ID. If the provided token has been deleted, the transaction will resolve to TOKEN_WAS_DELETED. If an Association between the provided token and account is not found, the transaction will resolve to TOKEN_NOT_ASSOCIATED_TO_ACCOUNT. If no KYC Key is defined, the transaction will resolve to TOKEN_HAS_NO_KYC_KEY. Once executed the Account is marked as KYC Granted.

func (*TokenGrantKycTransactionBody) Descriptor deprecated

func (*TokenGrantKycTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenGrantKycTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenGrantKycTransactionBody) GetAccount

func (x *TokenGrantKycTransactionBody) GetAccount() *AccountID

func (*TokenGrantKycTransactionBody) GetToken

func (x *TokenGrantKycTransactionBody) GetToken() *TokenID

func (*TokenGrantKycTransactionBody) ProtoMessage

func (*TokenGrantKycTransactionBody) ProtoMessage()

func (*TokenGrantKycTransactionBody) ProtoReflect

func (*TokenGrantKycTransactionBody) Reset

func (x *TokenGrantKycTransactionBody) Reset()

func (*TokenGrantKycTransactionBody) String

type TokenID

type TokenID struct {
	ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // A nonnegative shard number
	RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"` // A nonnegative realm number
	TokenNum int64 `protobuf:"varint,3,opt,name=tokenNum,proto3" json:"tokenNum,omitempty"` // A nonnegative token number
	// contains filtered or unexported fields
}

Unique identifier for a token

func (*TokenID) Descriptor deprecated

func (*TokenID) Descriptor() ([]byte, []int)

Deprecated: Use TokenID.ProtoReflect.Descriptor instead.

func (*TokenID) GetRealmNum

func (x *TokenID) GetRealmNum() int64

func (*TokenID) GetShardNum

func (x *TokenID) GetShardNum() int64

func (*TokenID) GetTokenNum

func (x *TokenID) GetTokenNum() int64

func (*TokenID) ProtoMessage

func (*TokenID) ProtoMessage()

func (*TokenID) ProtoReflect

func (x *TokenID) ProtoReflect() protoreflect.Message

func (*TokenID) Reset

func (x *TokenID) Reset()

func (*TokenID) String

func (x *TokenID) String() string

type TokenInfo

type TokenInfo struct {
	TokenId             *TokenID          `protobuf:"bytes,1,opt,name=tokenId,proto3" json:"tokenId,omitempty"`                                                        // ID of the token instance
	Name                string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                                              // The name of the token. It is a string of ASCII only characters
	Symbol              string            `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`                                                          // The symbol of the token. It is a UTF-8 capitalized alphabetical string
	Decimals            uint32            `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"`                                                     // The number of decimal places a token is divisible by. Always 0 for tokens of type NON_FUNGIBLE_UNIQUE
	TotalSupply         uint64            `protobuf:"varint,5,opt,name=totalSupply,proto3" json:"totalSupply,omitempty"`                                               // For tokens of type FUNGIBLE_COMMON - the total supply of tokens that are currently in circulation. For tokens of type NON_FUNGIBLE_UNIQUE - the number of NFTs created of this token instance
	Treasury            *AccountID        `protobuf:"bytes,6,opt,name=treasury,proto3" json:"treasury,omitempty"`                                                      // The ID of the account which is set as Treasury
	AdminKey            *Key              `protobuf:"bytes,7,opt,name=adminKey,proto3" json:"adminKey,omitempty"`                                                      // The key which can perform update/delete operations on the token. If empty, the token can be perceived as immutable (not being able to be updated/deleted)
	KycKey              *Key              `protobuf:"bytes,8,opt,name=kycKey,proto3" json:"kycKey,omitempty"`                                                          // The key which can grant or revoke KYC of an account for the token's transactions. If empty, KYC is not required, and KYC grant or revoke operations are not possible.
	FreezeKey           *Key              `protobuf:"bytes,9,opt,name=freezeKey,proto3" json:"freezeKey,omitempty"`                                                    // The key which can freeze or unfreeze an account for token transactions. If empty, freezing is not possible
	WipeKey             *Key              `protobuf:"bytes,10,opt,name=wipeKey,proto3" json:"wipeKey,omitempty"`                                                       // The key which can wipe token balance of an account. If empty, wipe is not possible
	SupplyKey           *Key              `protobuf:"bytes,11,opt,name=supplyKey,proto3" json:"supplyKey,omitempty"`                                                   // The key which can change the supply of a token. The key is used to sign Token Mint/Burn operations
	DefaultFreezeStatus TokenFreezeStatus `protobuf:"varint,12,opt,name=defaultFreezeStatus,proto3,enum=proto.TokenFreezeStatus" json:"defaultFreezeStatus,omitempty"` // The default Freeze status (not applicable, frozen or unfrozen) of Hedera accounts relative to this token. FreezeNotApplicable is returned if Token Freeze Key is empty. Frozen is returned if Token Freeze Key is set and defaultFreeze is set to true. Unfrozen is returned if Token Freeze Key is set and defaultFreeze is set to false
	DefaultKycStatus    TokenKycStatus    `protobuf:"varint,13,opt,name=defaultKycStatus,proto3,enum=proto.TokenKycStatus" json:"defaultKycStatus,omitempty"`          // The default KYC status (KycNotApplicable or Revoked) of Hedera accounts relative to this token. KycNotApplicable is returned if KYC key is not set, otherwise Revoked
	Deleted             bool              `protobuf:"varint,14,opt,name=deleted,proto3" json:"deleted,omitempty"`                                                      // Specifies whether the token was deleted or not
	AutoRenewAccount    *AccountID        `protobuf:"bytes,15,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"`                                     // An account which will be automatically charged to renew the token's expiration, at autoRenewPeriod interval
	AutoRenewPeriod     *Duration         `protobuf:"bytes,16,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`                                       // The interval at which the auto-renew account will be charged to extend the token's expiry
	Expiry              *Timestamp        `protobuf:"bytes,17,opt,name=expiry,proto3" json:"expiry,omitempty"`                                                         // The epoch second at which the token will expire
	Memo                string            `protobuf:"bytes,18,opt,name=memo,proto3" json:"memo,omitempty"`                                                             // The memo associated with the token
	TokenType           TokenType         `protobuf:"varint,19,opt,name=tokenType,proto3,enum=proto.TokenType" json:"tokenType,omitempty"`                             // The token type
	SupplyType          TokenSupplyType   `protobuf:"varint,20,opt,name=supplyType,proto3,enum=proto.TokenSupplyType" json:"supplyType,omitempty"`                     // The token supply type
	MaxSupply           int64             `protobuf:"varint,21,opt,name=maxSupply,proto3" json:"maxSupply,omitempty"`                                                  // For tokens of type FUNGIBLE_COMMON - The Maximum number of fungible tokens that can be in circulation. For tokens of type NON_FUNGIBLE_UNIQUE - the maximum number of NFTs (serial numbers) that can be in circulation
	FeeScheduleKey      *Key              `protobuf:"bytes,22,opt,name=fee_schedule_key,json=feeScheduleKey,proto3" json:"fee_schedule_key,omitempty"`                 // The key which can change the custom fee schedule of the token; if not set, the fee schedule is immutable
	CustomFees          []*CustomFee      `protobuf:"bytes,23,rep,name=custom_fees,json=customFees,proto3" json:"custom_fees,omitempty"`                               // The custom fees to be assessed during a CryptoTransfer that transfers units of this token
	// contains filtered or unexported fields
}

The metadata about a Token instance

func (*TokenInfo) Descriptor deprecated

func (*TokenInfo) Descriptor() ([]byte, []int)

Deprecated: Use TokenInfo.ProtoReflect.Descriptor instead.

func (*TokenInfo) GetAdminKey

func (x *TokenInfo) GetAdminKey() *Key

func (*TokenInfo) GetAutoRenewAccount

func (x *TokenInfo) GetAutoRenewAccount() *AccountID

func (*TokenInfo) GetAutoRenewPeriod

func (x *TokenInfo) GetAutoRenewPeriod() *Duration

func (*TokenInfo) GetCustomFees added in v0.2.0

func (x *TokenInfo) GetCustomFees() []*CustomFee

func (*TokenInfo) GetDecimals

func (x *TokenInfo) GetDecimals() uint32

func (*TokenInfo) GetDefaultFreezeStatus

func (x *TokenInfo) GetDefaultFreezeStatus() TokenFreezeStatus

func (*TokenInfo) GetDefaultKycStatus

func (x *TokenInfo) GetDefaultKycStatus() TokenKycStatus

func (*TokenInfo) GetDeleted

func (x *TokenInfo) GetDeleted() bool

func (*TokenInfo) GetExpiry

func (x *TokenInfo) GetExpiry() *Timestamp

func (*TokenInfo) GetFeeScheduleKey added in v0.2.0

func (x *TokenInfo) GetFeeScheduleKey() *Key

func (*TokenInfo) GetFreezeKey

func (x *TokenInfo) GetFreezeKey() *Key

func (*TokenInfo) GetKycKey

func (x *TokenInfo) GetKycKey() *Key

func (*TokenInfo) GetMaxSupply

func (x *TokenInfo) GetMaxSupply() int64

func (*TokenInfo) GetMemo

func (x *TokenInfo) GetMemo() string

func (*TokenInfo) GetName

func (x *TokenInfo) GetName() string

func (*TokenInfo) GetSupplyKey

func (x *TokenInfo) GetSupplyKey() *Key

func (*TokenInfo) GetSupplyType

func (x *TokenInfo) GetSupplyType() TokenSupplyType

func (*TokenInfo) GetSymbol

func (x *TokenInfo) GetSymbol() string

func (*TokenInfo) GetTokenId

func (x *TokenInfo) GetTokenId() *TokenID

func (*TokenInfo) GetTokenType

func (x *TokenInfo) GetTokenType() TokenType

func (*TokenInfo) GetTotalSupply

func (x *TokenInfo) GetTotalSupply() uint64

func (*TokenInfo) GetTreasury

func (x *TokenInfo) GetTreasury() *AccountID

func (*TokenInfo) GetWipeKey

func (x *TokenInfo) GetWipeKey() *Key

func (*TokenInfo) ProtoMessage

func (*TokenInfo) ProtoMessage()

func (*TokenInfo) ProtoReflect

func (x *TokenInfo) ProtoReflect() protoreflect.Message

func (*TokenInfo) Reset

func (x *TokenInfo) Reset()

func (*TokenInfo) String

func (x *TokenInfo) String() string

type TokenKycStatus

type TokenKycStatus int32

Possible KYC statuses returned on TokenGetInfoQuery or CryptoGetInfoResponse in TokenRelationship

const (
	TokenKycStatus_KycNotApplicable TokenKycStatus = 0
	TokenKycStatus_Granted          TokenKycStatus = 1
	TokenKycStatus_Revoked          TokenKycStatus = 2
)

func (TokenKycStatus) Descriptor

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 (TokenKycStatus) String

func (x TokenKycStatus) String() string

func (TokenKycStatus) Type

type TokenMintTransactionBody

type TokenMintTransactionBody struct {
	Token    *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`       // The token for which to mint tokens. If token does not exist, transaction results in INVALID_TOKEN_ID
	Amount   uint64   `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`    // Applicable to tokens of type FUNGIBLE_COMMON. The amount to mint to the Treasury Account. Amount must be a positive non-zero number represented in the lowest denomination of the token. The new supply must be lower than 2^63.
	Metadata [][]byte `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty"` // Applicable to tokens of type NON_FUNGIBLE_UNIQUE. A list of metadata that are being created. Maximum allowed size of each metadata is 100 bytes
	// contains filtered or unexported fields
}

Mints tokens to the Token's treasury Account. If no Supply Key is defined, the transaction will resolve to TOKEN_HAS_NO_SUPPLY_KEY. The operation increases the Total Supply of the Token. The maximum total supply a token can have is 2^63-1. The amount provided must be in the lowest denomination possible. Example: Token A has 2 decimals. In order to mint 100 tokens, one must provide amount of 10000. In order to mint 100.55 tokens, one must provide amount of 10055.

func (*TokenMintTransactionBody) Descriptor deprecated

func (*TokenMintTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenMintTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenMintTransactionBody) GetAmount

func (x *TokenMintTransactionBody) GetAmount() uint64

func (*TokenMintTransactionBody) GetMetadata

func (x *TokenMintTransactionBody) GetMetadata() [][]byte

func (*TokenMintTransactionBody) GetToken

func (x *TokenMintTransactionBody) GetToken() *TokenID

func (*TokenMintTransactionBody) ProtoMessage

func (*TokenMintTransactionBody) ProtoMessage()

func (*TokenMintTransactionBody) ProtoReflect

func (x *TokenMintTransactionBody) ProtoReflect() protoreflect.Message

func (*TokenMintTransactionBody) Reset

func (x *TokenMintTransactionBody) Reset()

func (*TokenMintTransactionBody) String

func (x *TokenMintTransactionBody) String() string

type TokenNftInfo

type TokenNftInfo struct {
	NftID        *NftID     `protobuf:"bytes,1,opt,name=nftID,proto3" json:"nftID,omitempty"`               // The ID of the NFT
	AccountID    *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`       // The current owner of the NFT
	CreationTime *Timestamp `protobuf:"bytes,3,opt,name=creationTime,proto3" json:"creationTime,omitempty"` // The effective consensus timestamp at which the NFT was minted
	Metadata     []byte     `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`         // Represents the unique metadata of the NFT
	// contains filtered or unexported fields
}

func (*TokenNftInfo) Descriptor deprecated

func (*TokenNftInfo) Descriptor() ([]byte, []int)

Deprecated: Use TokenNftInfo.ProtoReflect.Descriptor instead.

func (*TokenNftInfo) GetAccountID

func (x *TokenNftInfo) GetAccountID() *AccountID

func (*TokenNftInfo) GetCreationTime

func (x *TokenNftInfo) GetCreationTime() *Timestamp

func (*TokenNftInfo) GetMetadata

func (x *TokenNftInfo) GetMetadata() []byte

func (*TokenNftInfo) GetNftID

func (x *TokenNftInfo) GetNftID() *NftID

func (*TokenNftInfo) ProtoMessage

func (*TokenNftInfo) ProtoMessage()

func (*TokenNftInfo) ProtoReflect

func (x *TokenNftInfo) ProtoReflect() protoreflect.Message

func (*TokenNftInfo) Reset

func (x *TokenNftInfo) Reset()

func (*TokenNftInfo) String

func (x *TokenNftInfo) String() string

type TokenRelationship

type TokenRelationship struct {
	TokenId      *TokenID          `protobuf:"bytes,1,opt,name=tokenId,proto3" json:"tokenId,omitempty"`                                         // The ID of the token
	Symbol       string            `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`                                           // The Symbol of the token
	Balance      uint64            `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,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
	KycStatus    TokenKycStatus    `protobuf:"varint,4,opt,name=kycStatus,proto3,enum=proto.TokenKycStatus" json:"kycStatus,omitempty"`          // The KYC status of the account (KycNotApplicable, Granted or Revoked). If the token does not have KYC key, KycNotApplicable is returned
	FreezeStatus TokenFreezeStatus `protobuf:"varint,5,opt,name=freezeStatus,proto3,enum=proto.TokenFreezeStatus" json:"freezeStatus,omitempty"` // The Freeze status of the account (FreezeNotApplicable, Frozen or Unfrozen). If the token does not have Freeze key, FreezeNotApplicable is returned
	Decimals     uint32            `protobuf:"varint,6,opt,name=decimals,proto3" json:"decimals,omitempty"`                                      // Tokens divide into <tt>10<sup>decimals</sup></tt> pieces
	// 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) 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 TokenRevokeKycTransactionBody

type TokenRevokeKycTransactionBody struct {
	Token   *TokenID   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`     // The token for which this account will get his KYC revoked. If token does not exist, transaction results in INVALID_TOKEN_ID
	Account *AccountID `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // The account to be KYC Revoked
	// contains filtered or unexported fields
}

Revokes KYC to the account for the given token. Must be signed by the Token's kycKey. If the provided account is not found, the transaction will resolve to INVALID_ACCOUNT_ID. If the provided account has been deleted, the transaction will resolve to ACCOUNT_DELETED. If the provided token is not found, the transaction will resolve to INVALID_TOKEN_ID. If the provided token has been deleted, the transaction will resolve to TOKEN_WAS_DELETED. If an Association between the provided token and account is not found, the transaction will resolve to TOKEN_NOT_ASSOCIATED_TO_ACCOUNT. If no KYC Key is defined, the transaction will resolve to TOKEN_HAS_NO_KYC_KEY. Once executed the Account is marked as KYC Revoked

func (*TokenRevokeKycTransactionBody) Descriptor deprecated

func (*TokenRevokeKycTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenRevokeKycTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenRevokeKycTransactionBody) GetAccount

func (x *TokenRevokeKycTransactionBody) GetAccount() *AccountID

func (*TokenRevokeKycTransactionBody) GetToken

func (x *TokenRevokeKycTransactionBody) GetToken() *TokenID

func (*TokenRevokeKycTransactionBody) ProtoMessage

func (*TokenRevokeKycTransactionBody) ProtoMessage()

func (*TokenRevokeKycTransactionBody) ProtoReflect

func (*TokenRevokeKycTransactionBody) Reset

func (x *TokenRevokeKycTransactionBody) Reset()

func (*TokenRevokeKycTransactionBody) String

type TokenServiceClient

type TokenServiceClient interface {
	// Creates a new Token by submitting the transaction
	CreateToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Updates the account by submitting the transaction
	UpdateToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Mints an amount of the token to the defined treasury account
	MintToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Burns an amount of the token from the defined treasury account
	BurnToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Deletes a Token
	DeleteToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Wipes the provided amount of tokens from the specified Account ID
	WipeTokenAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Freezes the transfer of tokens to or from the specified Account ID
	FreezeTokenAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Unfreezes the transfer of tokens to or from the specified Account ID
	UnfreezeTokenAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Flags the provided Account ID as having gone through KYC
	GrantKycToTokenAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Removes the KYC flag of the provided Account ID
	RevokeKycFromTokenAccount(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Associates tokens to an account
	AssociateTokens(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Dissociates tokens from an account
	DissociateTokens(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Updates the custom fee schedule on a token
	UpdateTokenFeeSchedule(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Retrieves the metadata of a token
	GetTokenInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Gets info on NFTs N through M on the list of NFTs associated with a given account
	GetAccountNftInfos(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Retrieves the metadata of an NFT by TokenID and serial number
	GetTokenNftInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// Gets info on NFTs N through M on the list of NFTs associated with a given Token of type NON_FUNGIBLE
	GetTokenNftInfos(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
}

TokenServiceClient is the client API for TokenService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TokenServiceServer

type TokenServiceServer interface {
	// Creates a new Token by submitting the transaction
	CreateToken(context.Context, *Transaction) (*TransactionResponse, error)
	// Updates the account by submitting the transaction
	UpdateToken(context.Context, *Transaction) (*TransactionResponse, error)
	// Mints an amount of the token to the defined treasury account
	MintToken(context.Context, *Transaction) (*TransactionResponse, error)
	// Burns an amount of the token from the defined treasury account
	BurnToken(context.Context, *Transaction) (*TransactionResponse, error)
	// Deletes a Token
	DeleteToken(context.Context, *Transaction) (*TransactionResponse, error)
	// Wipes the provided amount of tokens from the specified Account ID
	WipeTokenAccount(context.Context, *Transaction) (*TransactionResponse, error)
	// Freezes the transfer of tokens to or from the specified Account ID
	FreezeTokenAccount(context.Context, *Transaction) (*TransactionResponse, error)
	// Unfreezes the transfer of tokens to or from the specified Account ID
	UnfreezeTokenAccount(context.Context, *Transaction) (*TransactionResponse, error)
	// Flags the provided Account ID as having gone through KYC
	GrantKycToTokenAccount(context.Context, *Transaction) (*TransactionResponse, error)
	// Removes the KYC flag of the provided Account ID
	RevokeKycFromTokenAccount(context.Context, *Transaction) (*TransactionResponse, error)
	// Associates tokens to an account
	AssociateTokens(context.Context, *Transaction) (*TransactionResponse, error)
	// Dissociates tokens from an account
	DissociateTokens(context.Context, *Transaction) (*TransactionResponse, error)
	// Updates the custom fee schedule on a token
	UpdateTokenFeeSchedule(context.Context, *Transaction) (*TransactionResponse, error)
	// Retrieves the metadata of a token
	GetTokenInfo(context.Context, *Query) (*Response, error)
	// Gets info on NFTs N through M on the list of NFTs associated with a given account
	GetAccountNftInfos(context.Context, *Query) (*Response, error)
	// Retrieves the metadata of an NFT by TokenID and serial number
	GetTokenNftInfo(context.Context, *Query) (*Response, error)
	// Gets info on NFTs N through M on the list of NFTs associated with a given Token of type NON_FUNGIBLE
	GetTokenNftInfos(context.Context, *Query) (*Response, error)
	// contains filtered or unexported methods
}

TokenServiceServer is the server API for TokenService service. All implementations must embed UnimplementedTokenServiceServer for forward compatibility

type TokenSupplyType

type TokenSupplyType int32

* Possible Token Supply Types (IWA Compatibility). Indicates how many tokens can have during its lifetime.

const (
	TokenSupplyType_INFINITE TokenSupplyType = 0 // Indicates that tokens of that type have an upper bound of Long.MAX_VALUE.
	TokenSupplyType_FINITE   TokenSupplyType = 1 // Indicates that tokens of that type have an upper bound of maxSupply, provided on token creation.
)

func (TokenSupplyType) Descriptor

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 (TokenSupplyType) String

func (x TokenSupplyType) String() string

func (TokenSupplyType) Type

type TokenTransferList

type TokenTransferList struct {
	Token        *TokenID         `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`               // The ID of the token
	Transfers    []*AccountAmount `protobuf:"bytes,2,rep,name=transfers,proto3" json:"transfers,omitempty"`       // Applicable to tokens of type FUNGIBLE_COMMON. Multiple list of AccountAmounts, each of which has an account and amount
	NftTransfers []*NftTransfer   `protobuf:"bytes,3,rep,name=nftTransfers,proto3" json:"nftTransfers,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
	// 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) 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) Enum

func (x TokenType) Enum() *TokenType

func (TokenType) EnumDescriptor deprecated

func (TokenType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TokenType.Descriptor instead.

func (TokenType) Number

func (x TokenType) Number() protoreflect.EnumNumber

func (TokenType) String

func (x TokenType) String() string

func (TokenType) Type

type TokenUnfreezeAccountTransactionBody

type TokenUnfreezeAccountTransactionBody struct {
	Token   *TokenID   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`     // The token for which this account will be unfrozen. If token does not exist, transaction results in INVALID_TOKEN_ID
	Account *AccountID `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // The account to be unfrozen
	// contains filtered or unexported fields
}

Unfreezes transfers of the specified token for the account. Must be signed by the Token's freezeKey. If the provided account is not found, the transaction will resolve to INVALID_ACCOUNT_ID. If the provided account has been deleted, the transaction will resolve to ACCOUNT_DELETED. If the provided token is not found, the transaction will resolve to INVALID_TOKEN_ID. If the provided token has been deleted, the transaction will resolve to TOKEN_WAS_DELETED. If an Association between the provided token and account is not found, the transaction will resolve to TOKEN_NOT_ASSOCIATED_TO_ACCOUNT. If no Freeze Key is defined, the transaction will resolve to TOKEN_HAS_NO_FREEZE_KEY. Once executed the Account is marked as Unfrozen and will be able to receive or send tokens. The operation is idempotent.

func (*TokenUnfreezeAccountTransactionBody) Descriptor deprecated

func (*TokenUnfreezeAccountTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenUnfreezeAccountTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenUnfreezeAccountTransactionBody) GetAccount

func (*TokenUnfreezeAccountTransactionBody) GetToken

func (*TokenUnfreezeAccountTransactionBody) ProtoMessage

func (*TokenUnfreezeAccountTransactionBody) ProtoMessage()

func (*TokenUnfreezeAccountTransactionBody) ProtoReflect

func (*TokenUnfreezeAccountTransactionBody) Reset

func (*TokenUnfreezeAccountTransactionBody) String

type TokenUpdateTransactionBody

type TokenUpdateTransactionBody struct {
	Token            *TokenID              `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`                                            // The Token to be updated
	Symbol           string                `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`                                          // The new publicly visible Token symbol, limited to a UTF-8 encoding of length <tt>tokens.maxTokenNameUtf8Bytes</tt>.
	Name             string                `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                                              // The new publicly visible name of the Token, limited to a UTF-8 encoding of length <tt>tokens.maxSymbolUtf8Bytes</tt>.
	Treasury         *AccountID            `protobuf:"bytes,4,opt,name=treasury,proto3" json:"treasury,omitempty"`                                      // The new Treasury account of the Token. If the provided treasury account is not existing or deleted, the response will be INVALID_TREASURY_ACCOUNT_FOR_TOKEN. If successful, the Token balance held in the previous Treasury Account is transferred to the new one.
	AdminKey         *Key                  `protobuf:"bytes,5,opt,name=adminKey,proto3" json:"adminKey,omitempty"`                                      // The new admin key of the Token. If Token is immutable, transaction will resolve to TOKEN_IS_IMMUTABlE.
	KycKey           *Key                  `protobuf:"bytes,6,opt,name=kycKey,proto3" json:"kycKey,omitempty"`                                          // The new KYC key of the Token. If Token does not have currently a KYC key, transaction will resolve to TOKEN_HAS_NO_KYC_KEY.
	FreezeKey        *Key                  `protobuf:"bytes,7,opt,name=freezeKey,proto3" json:"freezeKey,omitempty"`                                    // The new Freeze key of the Token. If the Token does not have currently a Freeze key, transaction will resolve to TOKEN_HAS_NO_FREEZE_KEY.
	WipeKey          *Key                  `protobuf:"bytes,8,opt,name=wipeKey,proto3" json:"wipeKey,omitempty"`                                        // The new Wipe key of the Token. If the Token does not have currently a Wipe key, transaction will resolve to TOKEN_HAS_NO_WIPE_KEY.
	SupplyKey        *Key                  `protobuf:"bytes,9,opt,name=supplyKey,proto3" json:"supplyKey,omitempty"`                                    // The new Supply key of the Token. If the Token does not have currently a Supply key, transaction will resolve to TOKEN_HAS_NO_SUPPLY_KEY.
	AutoRenewAccount *AccountID            `protobuf:"bytes,10,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"`                     // The new account which will be automatically charged to renew the token's expiration, at autoRenewPeriod interval.
	AutoRenewPeriod  *Duration             `protobuf:"bytes,11,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`                       // The new interval at which the auto-renew account will be charged to extend the token's expiry.
	Expiry           *Timestamp            `protobuf:"bytes,12,opt,name=expiry,proto3" json:"expiry,omitempty"`                                         // The new expiry time of the token. Expiry can be updated even if admin key is not set. If the provided expiry is earlier than the current token expiry, transaction wil resolve to INVALID_EXPIRATION_TIME
	Memo             *wrappers.StringValue `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"`                                             // If set, the new memo to be associated with the token (UTF-8 encoding max 100 bytes)
	FeeScheduleKey   *Key                  `protobuf:"bytes,14,opt,name=fee_schedule_key,json=feeScheduleKey,proto3" json:"fee_schedule_key,omitempty"` // If set, the new key to use to update the token's custom fee schedule; if the token does not currently have this key, transaction will resolve to TOKEN_HAS_NO_FEE_SCHEDULE_KEY
	// contains filtered or unexported fields
}

At consensus, updates an already created token to the given values.

If no value is given for a field, that field is left unchanged. For an immutable tokens (that is, a token without an admin key), only the expiry may be updated. Setting any other field in that case will cause the transaction status to resolve to TOKEN_IS_IMMUTABLE.

--- Signing Requirements --- 1. Whether or not a token has an admin key, its expiry can be extended with only the transaction payer's signature. 2. Updating any other field of a mutable token requires the admin key's signature. 3. If a new admin key is set, this new key must sign <b>unless</b> it is exactly an empty <tt>KeyList</tt>. This special sentinel key removes the existing admin key and causes the token to become immutable. (Other <tt>Key</tt> structures without a constituent <tt>Ed25519</tt> key will be rejected with <tt>INVALID_ADMIN_KEY</tt>.) 4. If a new treasury is set, the new treasury account's key must sign the transaction.

func (*TokenUpdateTransactionBody) Descriptor deprecated

func (*TokenUpdateTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenUpdateTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenUpdateTransactionBody) GetAdminKey

func (x *TokenUpdateTransactionBody) GetAdminKey() *Key

func (*TokenUpdateTransactionBody) GetAutoRenewAccount

func (x *TokenUpdateTransactionBody) GetAutoRenewAccount() *AccountID

func (*TokenUpdateTransactionBody) GetAutoRenewPeriod

func (x *TokenUpdateTransactionBody) GetAutoRenewPeriod() *Duration

func (*TokenUpdateTransactionBody) GetExpiry

func (x *TokenUpdateTransactionBody) GetExpiry() *Timestamp

func (*TokenUpdateTransactionBody) GetFeeScheduleKey added in v0.2.0

func (x *TokenUpdateTransactionBody) GetFeeScheduleKey() *Key

func (*TokenUpdateTransactionBody) GetFreezeKey

func (x *TokenUpdateTransactionBody) GetFreezeKey() *Key

func (*TokenUpdateTransactionBody) GetKycKey

func (x *TokenUpdateTransactionBody) GetKycKey() *Key

func (*TokenUpdateTransactionBody) GetMemo

func (*TokenUpdateTransactionBody) GetName

func (x *TokenUpdateTransactionBody) GetName() string

func (*TokenUpdateTransactionBody) GetSupplyKey

func (x *TokenUpdateTransactionBody) GetSupplyKey() *Key

func (*TokenUpdateTransactionBody) GetSymbol

func (x *TokenUpdateTransactionBody) GetSymbol() string

func (*TokenUpdateTransactionBody) GetToken

func (x *TokenUpdateTransactionBody) GetToken() *TokenID

func (*TokenUpdateTransactionBody) GetTreasury

func (x *TokenUpdateTransactionBody) GetTreasury() *AccountID

func (*TokenUpdateTransactionBody) GetWipeKey

func (x *TokenUpdateTransactionBody) GetWipeKey() *Key

func (*TokenUpdateTransactionBody) ProtoMessage

func (*TokenUpdateTransactionBody) ProtoMessage()

func (*TokenUpdateTransactionBody) ProtoReflect

func (*TokenUpdateTransactionBody) Reset

func (x *TokenUpdateTransactionBody) Reset()

func (*TokenUpdateTransactionBody) String

func (x *TokenUpdateTransactionBody) String() string

type TokenWipeAccountTransactionBody

type TokenWipeAccountTransactionBody struct {
	Token         *TokenID   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`                         // The token for which the account will be wiped. If token does not exist, transaction results in INVALID_TOKEN_ID
	Account       *AccountID `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`                     // The account to be wiped
	Amount        uint64     `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`                      // Applicable to tokens of type FUNGIBLE_COMMON. The amount of tokens to wipe from the specified account. Amount must be a positive non-zero number in the lowest denomination possible, not bigger than the token balance of the account (0; balance]
	SerialNumbers []int64    `protobuf:"varint,4,rep,packed,name=serialNumbers,proto3" json:"serialNumbers,omitempty"` // Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be wiped.
	// contains filtered or unexported fields
}

Wipes the provided amount of tokens from the specified Account. Must be signed by the Token's Wipe key. If the provided account is not found, the transaction will resolve to INVALID_ACCOUNT_ID. If the provided account has been deleted, the transaction will resolve to ACCOUNT_DELETED. If the provided token is not found, the transaction will resolve to INVALID_TOKEN_ID. If the provided token has been deleted, the transaction will resolve to TOKEN_WAS_DELETED. If an Association between the provided token and account is not found, the transaction will resolve to TOKEN_NOT_ASSOCIATED_TO_ACCOUNT. If Wipe Key is not present in the Token, transaction results in TOKEN_HAS_NO_WIPE_KEY. If the provided account is the Token's Treasury Account, transaction results in CANNOT_WIPE_TOKEN_TREASURY_ACCOUNT On success, tokens are removed from the account and the total supply of the token is decreased by the wiped amount.

The amount provided is in the lowest denomination possible. Example: Token A has 2 decimals. In order to wipe 100 tokens from account, one must provide amount of 10000. In order to wipe 100.55 tokens, one must provide amount of 10055.

func (*TokenWipeAccountTransactionBody) Descriptor deprecated

func (*TokenWipeAccountTransactionBody) Descriptor() ([]byte, []int)

Deprecated: Use TokenWipeAccountTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenWipeAccountTransactionBody) GetAccount

func (x *TokenWipeAccountTransactionBody) GetAccount() *AccountID

func (*TokenWipeAccountTransactionBody) GetAmount

func (x *TokenWipeAccountTransactionBody) GetAmount() uint64

func (*TokenWipeAccountTransactionBody) GetSerialNumbers

func (x *TokenWipeAccountTransactionBody) GetSerialNumbers() []int64

func (*TokenWipeAccountTransactionBody) GetToken

func (*TokenWipeAccountTransactionBody) ProtoMessage

func (*TokenWipeAccountTransactionBody) ProtoMessage()

func (*TokenWipeAccountTransactionBody) ProtoReflect

func (*TokenWipeAccountTransactionBody) Reset

func (*TokenWipeAccountTransactionBody) String

type TopicID

type TopicID struct {
	ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"` // The shard number (nonnegative)
	RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"` // The realm number (nonnegative)
	TopicNum int64 `protobuf:"varint,3,opt,name=topicNum,proto3" json:"topicNum,omitempty"` // Unique topic identifier within a realm (nonnegative).
	// contains filtered or unexported fields
}

Unique identifier for a topic (used by the consensus service)

func (*TopicID) Descriptor deprecated

func (*TopicID) Descriptor() ([]byte, []int)

Deprecated: Use TopicID.ProtoReflect.Descriptor instead.

func (*TopicID) GetRealmNum

func (x *TopicID) GetRealmNum() int64

func (*TopicID) GetShardNum

func (x *TopicID) GetShardNum() int64

func (*TopicID) GetTopicNum

func (x *TopicID) GetTopicNum() int64

func (*TopicID) ProtoMessage

func (*TopicID) ProtoMessage()

func (*TopicID) ProtoReflect

func (x *TopicID) ProtoReflect() protoreflect.Message

func (*TopicID) Reset

func (x *TopicID) Reset()

func (*TopicID) String

func (x *TopicID) String() string

type Transaction

type Transaction struct {

	// Deprecated: Do not use.
	Body *TransactionBody `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // the body of the transaction, which needs to be signed
	// Deprecated: Do not use.
	Sigs *SignatureList `protobuf:"bytes,2,opt,name=sigs,proto3" json:"sigs,omitempty"` // The signatures on the body, to authorize the transaction; deprecated and to be succeeded by SignatureMap field
	// Deprecated: Do not use.
	SigMap *SignatureMap `protobuf:"bytes,3,opt,name=sigMap,proto3" json:"sigMap,omitempty"` // The signatures on the body with the new format, to authorize the transaction
	// Deprecated: Do not use.
	BodyBytes              []byte `protobuf:"bytes,4,opt,name=bodyBytes,proto3" json:"bodyBytes,omitempty"`                           // TransactionBody serialized into bytes, which needs to be signed
	SignedTransactionBytes []byte `protobuf:"bytes,5,opt,name=signedTransactionBytes,proto3" json:"signedTransactionBytes,omitempty"` // SignedTransaction serialized into bytes
	// contains filtered or unexported fields
}

A single signed transaction, including all its signatures. The SignatureList will have a Signature for each Key in the transaction, either explicit or implicit, in the order that they appear in the transaction. For example, a CryptoTransfer will first have a Signature corresponding to the Key for the paying account, followed by a Signature corresponding to the Key for each account that is sending or receiving cryptocurrency in the transfer. Each Transaction should not have more than 50 levels. The SignatureList field is deprecated and succeeded by SignatureMap.

func (*Transaction) Descriptor deprecated

func (*Transaction) Descriptor() ([]byte, []int)

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetBody deprecated added in v0.2.0

func (x *Transaction) GetBody() *TransactionBody

Deprecated: Do not use.

func (*Transaction) GetBodyBytes deprecated

func (x *Transaction) GetBodyBytes() []byte

Deprecated: Do not use.

func (*Transaction) GetSigMap deprecated

func (x *Transaction) GetSigMap() *SignatureMap

Deprecated: Do not use.

func (*Transaction) GetSignedTransactionBytes

func (x *Transaction) GetSignedTransactionBytes() []byte

func (*Transaction) GetSigs deprecated added in v0.2.0

func (x *Transaction) GetSigs() *SignatureList

Deprecated: Do not use.

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

func (x *Transaction) ProtoReflect() protoreflect.Message

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type TransactionBody

type TransactionBody struct {
	TransactionID            *TransactionID `protobuf:"bytes,1,opt,name=transactionID,proto3" json:"transactionID,omitempty"`                       // 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
	NodeAccountID            *AccountID     `protobuf:"bytes,2,opt,name=nodeAccountID,proto3" json:"nodeAccountID,omitempty"`                       // The account of the node that submits the client's transaction to the network
	TransactionFee           uint64         `protobuf:"varint,3,opt,name=transactionFee,proto3" json:"transactionFee,omitempty"`                    // The maximum transaction fee the client is willing to pay
	TransactionValidDuration *Duration      `protobuf:"bytes,4,opt,name=transactionValidDuration,proto3" json:"transactionValidDuration,omitempty"` // The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart + transactionValidDuration
	// Deprecated: Do not use.
	GenerateRecord bool   `protobuf:"varint,5,opt,name=generateRecord,proto3" json:"generateRecord,omitempty"` // Should a record of this transaction be generated? (A receipt is always generated, but the record is optional)
	Memo           string `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo,omitempty"`                      // Any notes or descriptions that should be put into the record (max length 100)
	// Types that are assignable to Data:
	//	*TransactionBody_ContractCall
	//	*TransactionBody_ContractCreateInstance
	//	*TransactionBody_ContractUpdateInstance
	//	*TransactionBody_ContractDeleteInstance
	//	*TransactionBody_CryptoAddLiveHash
	//	*TransactionBody_CryptoCreateAccount
	//	*TransactionBody_CryptoDelete
	//	*TransactionBody_CryptoDeleteLiveHash
	//	*TransactionBody_CryptoTransfer
	//	*TransactionBody_CryptoUpdateAccount
	//	*TransactionBody_FileAppend
	//	*TransactionBody_FileCreate
	//	*TransactionBody_FileDelete
	//	*TransactionBody_FileUpdate
	//	*TransactionBody_SystemDelete
	//	*TransactionBody_SystemUndelete
	//	*TransactionBody_Freeze
	//	*TransactionBody_ConsensusCreateTopic
	//	*TransactionBody_ConsensusUpdateTopic
	//	*TransactionBody_ConsensusDeleteTopic
	//	*TransactionBody_ConsensusSubmitMessage
	//	*TransactionBody_UncheckedSubmit
	//	*TransactionBody_TokenCreation
	//	*TransactionBody_TokenFreeze
	//	*TransactionBody_TokenUnfreeze
	//	*TransactionBody_TokenGrantKyc
	//	*TransactionBody_TokenRevokeKyc
	//	*TransactionBody_TokenDeletion
	//	*TransactionBody_TokenUpdate
	//	*TransactionBody_TokenMint
	//	*TransactionBody_TokenBurn
	//	*TransactionBody_TokenWipe
	//	*TransactionBody_TokenAssociate
	//	*TransactionBody_TokenDissociate
	//	*TransactionBody_TokenFeeScheduleUpdate
	//	*TransactionBody_ScheduleCreate
	//	*TransactionBody_ScheduleDelete
	//	*TransactionBody_ScheduleSign
	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) GetConsensusCreateTopic

func (x *TransactionBody) GetConsensusCreateTopic() *ConsensusCreateTopicTransactionBody

func (*TransactionBody) GetConsensusDeleteTopic

func (x *TransactionBody) GetConsensusDeleteTopic() *ConsensusDeleteTopicTransactionBody

func (*TransactionBody) GetConsensusSubmitMessage

func (x *TransactionBody) GetConsensusSubmitMessage() *ConsensusSubmitMessageTransactionBody

func (*TransactionBody) GetConsensusUpdateTopic

func (x *TransactionBody) GetConsensusUpdateTopic() *ConsensusUpdateTopicTransactionBody

func (*TransactionBody) GetContractCall

func (x *TransactionBody) GetContractCall() *ContractCallTransactionBody

func (*TransactionBody) GetContractCreateInstance

func (x *TransactionBody) GetContractCreateInstance() *ContractCreateTransactionBody

func (*TransactionBody) GetContractDeleteInstance

func (x *TransactionBody) GetContractDeleteInstance() *ContractDeleteTransactionBody

func (*TransactionBody) GetContractUpdateInstance

func (x *TransactionBody) GetContractUpdateInstance() *ContractUpdateTransactionBody

func (*TransactionBody) GetCryptoAddLiveHash

func (x *TransactionBody) GetCryptoAddLiveHash() *CryptoAddLiveHashTransactionBody

func (*TransactionBody) GetCryptoCreateAccount

func (x *TransactionBody) GetCryptoCreateAccount() *CryptoCreateTransactionBody

func (*TransactionBody) GetCryptoDelete

func (x *TransactionBody) GetCryptoDelete() *CryptoDeleteTransactionBody

func (*TransactionBody) GetCryptoDeleteLiveHash

func (x *TransactionBody) GetCryptoDeleteLiveHash() *CryptoDeleteLiveHashTransactionBody

func (*TransactionBody) GetCryptoTransfer

func (x *TransactionBody) GetCryptoTransfer() *CryptoTransferTransactionBody

func (*TransactionBody) GetCryptoUpdateAccount

func (x *TransactionBody) GetCryptoUpdateAccount() *CryptoUpdateTransactionBody

func (*TransactionBody) GetData

func (m *TransactionBody) GetData() isTransactionBody_Data

func (*TransactionBody) GetFileAppend

func (x *TransactionBody) GetFileAppend() *FileAppendTransactionBody

func (*TransactionBody) GetFileCreate

func (x *TransactionBody) GetFileCreate() *FileCreateTransactionBody

func (*TransactionBody) GetFileDelete

func (x *TransactionBody) GetFileDelete() *FileDeleteTransactionBody

func (*TransactionBody) GetFileUpdate

func (x *TransactionBody) GetFileUpdate() *FileUpdateTransactionBody

func (*TransactionBody) GetFreeze

func (x *TransactionBody) GetFreeze() *FreezeTransactionBody

func (*TransactionBody) GetGenerateRecord deprecated

func (x *TransactionBody) GetGenerateRecord() bool

Deprecated: Do not use.

func (*TransactionBody) GetMemo

func (x *TransactionBody) GetMemo() string

func (*TransactionBody) GetNodeAccountID

func (x *TransactionBody) GetNodeAccountID() *AccountID

func (*TransactionBody) GetScheduleCreate

func (x *TransactionBody) GetScheduleCreate() *ScheduleCreateTransactionBody

func (*TransactionBody) GetScheduleDelete

func (x *TransactionBody) GetScheduleDelete() *ScheduleDeleteTransactionBody

func (*TransactionBody) GetScheduleSign

func (x *TransactionBody) GetScheduleSign() *ScheduleSignTransactionBody

func (*TransactionBody) GetSystemDelete

func (x *TransactionBody) GetSystemDelete() *SystemDeleteTransactionBody

func (*TransactionBody) GetSystemUndelete

func (x *TransactionBody) GetSystemUndelete() *SystemUndeleteTransactionBody

func (*TransactionBody) GetTokenAssociate

func (x *TransactionBody) GetTokenAssociate() *TokenAssociateTransactionBody

func (*TransactionBody) GetTokenBurn

func (x *TransactionBody) GetTokenBurn() *TokenBurnTransactionBody

func (*TransactionBody) GetTokenCreation

func (x *TransactionBody) GetTokenCreation() *TokenCreateTransactionBody

func (*TransactionBody) GetTokenDeletion

func (x *TransactionBody) GetTokenDeletion() *TokenDeleteTransactionBody

func (*TransactionBody) GetTokenDissociate

func (x *TransactionBody) GetTokenDissociate() *TokenDissociateTransactionBody

func (*TransactionBody) GetTokenFeeScheduleUpdate added in v0.2.0

func (x *TransactionBody) GetTokenFeeScheduleUpdate() *TokenFeeScheduleUpdateTransactionBody

func (*TransactionBody) GetTokenFreeze

func (*TransactionBody) GetTokenGrantKyc

func (x *TransactionBody) GetTokenGrantKyc() *TokenGrantKycTransactionBody

func (*TransactionBody) GetTokenMint

func (x *TransactionBody) GetTokenMint() *TokenMintTransactionBody

func (*TransactionBody) GetTokenRevokeKyc

func (x *TransactionBody) GetTokenRevokeKyc() *TokenRevokeKycTransactionBody

func (*TransactionBody) GetTokenUnfreeze

func (*TransactionBody) GetTokenUpdate

func (x *TransactionBody) GetTokenUpdate() *TokenUpdateTransactionBody

func (*TransactionBody) GetTokenWipe

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) GetUncheckedSubmit

func (x *TransactionBody) GetUncheckedSubmit() *UncheckedSubmitBody

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_ConsensusCreateTopic

type TransactionBody_ConsensusCreateTopic struct {
	ConsensusCreateTopic *ConsensusCreateTopicTransactionBody `protobuf:"bytes,24,opt,name=consensusCreateTopic,proto3,oneof"` // Creates a topic
}

type TransactionBody_ConsensusDeleteTopic

type TransactionBody_ConsensusDeleteTopic struct {
	ConsensusDeleteTopic *ConsensusDeleteTopicTransactionBody `protobuf:"bytes,26,opt,name=consensusDeleteTopic,proto3,oneof"` // Deletes a topic
}

type TransactionBody_ConsensusSubmitMessage

type TransactionBody_ConsensusSubmitMessage struct {
	ConsensusSubmitMessage *ConsensusSubmitMessageTransactionBody `protobuf:"bytes,27,opt,name=consensusSubmitMessage,proto3,oneof"` // Submits message to a topic
}

type TransactionBody_ConsensusUpdateTopic

type TransactionBody_ConsensusUpdateTopic struct {
	ConsensusUpdateTopic *ConsensusUpdateTopicTransactionBody `protobuf:"bytes,25,opt,name=consensusUpdateTopic,proto3,oneof"` // Updates a topic
}

type TransactionBody_ContractCall

type TransactionBody_ContractCall struct {
	ContractCall *ContractCallTransactionBody `protobuf:"bytes,7,opt,name=contractCall,proto3,oneof"` // Calls a function of a contract instance
}

type TransactionBody_ContractCreateInstance

type TransactionBody_ContractCreateInstance struct {
	ContractCreateInstance *ContractCreateTransactionBody `protobuf:"bytes,8,opt,name=contractCreateInstance,proto3,oneof"` // Creates a contract instance
}

type TransactionBody_ContractDeleteInstance

type TransactionBody_ContractDeleteInstance struct {
	ContractDeleteInstance *ContractDeleteTransactionBody `protobuf:"bytes,22,opt,name=contractDeleteInstance,proto3,oneof"` // Delete contract and transfer remaining balance into specified account
}

type TransactionBody_ContractUpdateInstance

type TransactionBody_ContractUpdateInstance struct {
	ContractUpdateInstance *ContractUpdateTransactionBody `protobuf:"bytes,9,opt,name=contractUpdateInstance,proto3,oneof"` // Updates a contract
}

type TransactionBody_CryptoAddLiveHash

type TransactionBody_CryptoAddLiveHash struct {
	CryptoAddLiveHash *CryptoAddLiveHashTransactionBody `protobuf:"bytes,10,opt,name=cryptoAddLiveHash,proto3,oneof"` // Attach a new livehash to an account
}

type TransactionBody_CryptoCreateAccount

type TransactionBody_CryptoCreateAccount struct {
	CryptoCreateAccount *CryptoCreateTransactionBody `protobuf:"bytes,11,opt,name=cryptoCreateAccount,proto3,oneof"` // Create a new cryptocurrency account
}

type TransactionBody_CryptoDelete

type TransactionBody_CryptoDelete struct {
	CryptoDelete *CryptoDeleteTransactionBody `protobuf:"bytes,12,opt,name=cryptoDelete,proto3,oneof"` // Delete a cryptocurrency account (mark as deleted, and transfer hbars out)
}

type TransactionBody_CryptoDeleteLiveHash

type TransactionBody_CryptoDeleteLiveHash struct {
	CryptoDeleteLiveHash *CryptoDeleteLiveHashTransactionBody `protobuf:"bytes,13,opt,name=cryptoDeleteLiveHash,proto3,oneof"` // Remove a livehash from an account
}

type TransactionBody_CryptoTransfer

type TransactionBody_CryptoTransfer struct {
	CryptoTransfer *CryptoTransferTransactionBody `protobuf:"bytes,14,opt,name=cryptoTransfer,proto3,oneof"` // Transfer amount between accounts
}

type TransactionBody_CryptoUpdateAccount

type TransactionBody_CryptoUpdateAccount struct {
	CryptoUpdateAccount *CryptoUpdateTransactionBody `protobuf:"bytes,15,opt,name=cryptoUpdateAccount,proto3,oneof"` // Modify information such as the expiration date for an account
}

type TransactionBody_FileAppend

type TransactionBody_FileAppend struct {
	FileAppend *FileAppendTransactionBody `protobuf:"bytes,16,opt,name=fileAppend,proto3,oneof"` // Add bytes to the end of the contents of a file
}

type TransactionBody_FileCreate

type TransactionBody_FileCreate struct {
	FileCreate *FileCreateTransactionBody `protobuf:"bytes,17,opt,name=fileCreate,proto3,oneof"` // Create a new file
}

type TransactionBody_FileDelete

type TransactionBody_FileDelete struct {
	FileDelete *FileDeleteTransactionBody `protobuf:"bytes,18,opt,name=fileDelete,proto3,oneof"` // Delete a file (remove contents and mark as deleted until it expires)
}

type TransactionBody_FileUpdate

type TransactionBody_FileUpdate struct {
	FileUpdate *FileUpdateTransactionBody `protobuf:"bytes,19,opt,name=fileUpdate,proto3,oneof"` // Modify information such as the expiration date for a file
}

type TransactionBody_Freeze

type TransactionBody_Freeze struct {
	Freeze *FreezeTransactionBody `protobuf:"bytes,23,opt,name=freeze,proto3,oneof"` // Freeze the nodes
}

type TransactionBody_ScheduleCreate

type TransactionBody_ScheduleCreate struct {
	ScheduleCreate *ScheduleCreateTransactionBody `protobuf:"bytes,42,opt,name=scheduleCreate,proto3,oneof"` // Creates a schedule in the network's action queue
}

type TransactionBody_ScheduleDelete

type TransactionBody_ScheduleDelete struct {
	ScheduleDelete *ScheduleDeleteTransactionBody `protobuf:"bytes,43,opt,name=scheduleDelete,proto3,oneof"` // Deletes a schedule from the network's action queue
}

type TransactionBody_ScheduleSign

type TransactionBody_ScheduleSign struct {
	ScheduleSign *ScheduleSignTransactionBody `protobuf:"bytes,44,opt,name=scheduleSign,proto3,oneof"` // Adds one or more Ed25519 keys to the affirmed signers of a scheduled transaction
}

type TransactionBody_SystemDelete

type TransactionBody_SystemDelete struct {
	SystemDelete *SystemDeleteTransactionBody `protobuf:"bytes,20,opt,name=systemDelete,proto3,oneof"` // Hedera administrative deletion of a file or smart contract
}

type TransactionBody_SystemUndelete

type TransactionBody_SystemUndelete struct {
	SystemUndelete *SystemUndeleteTransactionBody `protobuf:"bytes,21,opt,name=systemUndelete,proto3,oneof"` // To undelete an entity deleted by SystemDelete
}

type TransactionBody_TokenAssociate

type TransactionBody_TokenAssociate struct {
	TokenAssociate *TokenAssociateTransactionBody `protobuf:"bytes,40,opt,name=tokenAssociate,proto3,oneof"` // Associate tokens to an account
}

type TransactionBody_TokenBurn

type TransactionBody_TokenBurn struct {
	TokenBurn *TokenBurnTransactionBody `protobuf:"bytes,38,opt,name=tokenBurn,proto3,oneof"` // Burns tokens from a token's treasury account
}

type TransactionBody_TokenCreation

type TransactionBody_TokenCreation struct {
	TokenCreation *TokenCreateTransactionBody `protobuf:"bytes,29,opt,name=tokenCreation,proto3,oneof"` // Creates a token instance
}

type TransactionBody_TokenDeletion

type TransactionBody_TokenDeletion struct {
	TokenDeletion *TokenDeleteTransactionBody `protobuf:"bytes,35,opt,name=tokenDeletion,proto3,oneof"` // Deletes a token instance
}

type TransactionBody_TokenDissociate

type TransactionBody_TokenDissociate struct {
	TokenDissociate *TokenDissociateTransactionBody `protobuf:"bytes,41,opt,name=tokenDissociate,proto3,oneof"` // Dissociate tokens from an account
}

type TransactionBody_TokenFeeScheduleUpdate added in v0.2.0

type TransactionBody_TokenFeeScheduleUpdate struct {
	TokenFeeScheduleUpdate *TokenFeeScheduleUpdateTransactionBody `protobuf:"bytes,45,opt,name=token_fee_schedule_update,json=tokenFeeScheduleUpdate,proto3,oneof"` // Updates a token's custom fee schedule
}

type TransactionBody_TokenFreeze

type TransactionBody_TokenFreeze struct {
	TokenFreeze *TokenFreezeAccountTransactionBody `protobuf:"bytes,31,opt,name=tokenFreeze,proto3,oneof"` // Freezes account not to be able to transact with a token
}

type TransactionBody_TokenGrantKyc

type TransactionBody_TokenGrantKyc struct {
	TokenGrantKyc *TokenGrantKycTransactionBody `protobuf:"bytes,33,opt,name=tokenGrantKyc,proto3,oneof"` // Grants KYC to an account for a token
}

type TransactionBody_TokenMint

type TransactionBody_TokenMint struct {
	TokenMint *TokenMintTransactionBody `protobuf:"bytes,37,opt,name=tokenMint,proto3,oneof"` // Mints new tokens to a token's treasury account
}

type TransactionBody_TokenRevokeKyc

type TransactionBody_TokenRevokeKyc struct {
	TokenRevokeKyc *TokenRevokeKycTransactionBody `protobuf:"bytes,34,opt,name=tokenRevokeKyc,proto3,oneof"` // Revokes KYC of an account for a token
}

type TransactionBody_TokenUnfreeze

type TransactionBody_TokenUnfreeze struct {
	TokenUnfreeze *TokenUnfreezeAccountTransactionBody `protobuf:"bytes,32,opt,name=tokenUnfreeze,proto3,oneof"` // Unfreezes account for a token
}

type TransactionBody_TokenUpdate

type TransactionBody_TokenUpdate struct {
	TokenUpdate *TokenUpdateTransactionBody `protobuf:"bytes,36,opt,name=tokenUpdate,proto3,oneof"` // Updates a token instance
}

type TransactionBody_TokenWipe

type TransactionBody_TokenWipe struct {
	TokenWipe *TokenWipeAccountTransactionBody `protobuf:"bytes,39,opt,name=tokenWipe,proto3,oneof"` // Wipes amount of tokens from an account
}

type TransactionBody_UncheckedSubmit

type TransactionBody_UncheckedSubmit struct {
	UncheckedSubmit *UncheckedSubmitBody `protobuf:"bytes,28,opt,name=uncheckedSubmit,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: Do not use.
	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: Do not use.

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 TransactionGetFastRecordQuery

type TransactionGetFastRecordQuery struct {
	Header        *QueryHeader   `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`               // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	TransactionID *TransactionID `protobuf:"bytes,2,opt,name=transactionID,proto3" json:"transactionID,omitempty"` // The ID of the transaction for which the record is requested.
	// contains filtered or unexported fields
}

Get the tx record of a transaction, given its transaction ID. Once a transaction reaches consensus, then information about whether it succeeded or failed will be available until the end of the receipt period. Before and after the receipt period, and for a transaction that was never submitted, the receipt is unknown. This query is free (the payment field is left empty).

func (*TransactionGetFastRecordQuery) Descriptor deprecated

func (*TransactionGetFastRecordQuery) Descriptor() ([]byte, []int)

Deprecated: Use TransactionGetFastRecordQuery.ProtoReflect.Descriptor instead.

func (*TransactionGetFastRecordQuery) GetHeader

func (*TransactionGetFastRecordQuery) GetTransactionID

func (x *TransactionGetFastRecordQuery) GetTransactionID() *TransactionID

func (*TransactionGetFastRecordQuery) ProtoMessage

func (*TransactionGetFastRecordQuery) ProtoMessage()

func (*TransactionGetFastRecordQuery) ProtoReflect

func (*TransactionGetFastRecordQuery) Reset

func (x *TransactionGetFastRecordQuery) Reset()

func (*TransactionGetFastRecordQuery) String

type TransactionGetFastRecordResponse

type TransactionGetFastRecordResponse struct {
	Header            *ResponseHeader    `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`                       // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	TransactionRecord *TransactionRecord `protobuf:"bytes,2,opt,name=transactionRecord,proto3" json:"transactionRecord,omitempty"` // The requested transaction records
	// contains filtered or unexported fields
}

Response when the client sends the node TransactionGetFastRecordQuery. If it created a new entity (account, file, or smart contract instance) then one of the three ID fields will be filled in with the ID of the new entity. Sometimes a single transaction will create more than one new entity, such as when a new contract instance is created, and this also creates the new account that it owned by that instance.

func (*TransactionGetFastRecordResponse) Descriptor deprecated

func (*TransactionGetFastRecordResponse) Descriptor() ([]byte, []int)

Deprecated: Use TransactionGetFastRecordResponse.ProtoReflect.Descriptor instead.

func (*TransactionGetFastRecordResponse) GetHeader

func (*TransactionGetFastRecordResponse) GetTransactionRecord

func (x *TransactionGetFastRecordResponse) GetTransactionRecord() *TransactionRecord

func (*TransactionGetFastRecordResponse) ProtoMessage

func (*TransactionGetFastRecordResponse) ProtoMessage()

func (*TransactionGetFastRecordResponse) ProtoReflect

func (*TransactionGetFastRecordResponse) Reset

func (*TransactionGetFastRecordResponse) String

type TransactionGetReceiptQuery

type TransactionGetReceiptQuery struct {
	Header            *QueryHeader   `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`                        // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	TransactionID     *TransactionID `protobuf:"bytes,2,opt,name=transactionID,proto3" json:"transactionID,omitempty"`          // The ID of the transaction for which the receipt is requested.
	IncludeDuplicates bool           `protobuf:"varint,3,opt,name=includeDuplicates,proto3" json:"includeDuplicates,omitempty"` // Whether receipts of processing duplicate transactions should be returned along with the receipt of processing the first consensus transaction with the given id whose status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>; <b>or</b>, if no such receipt exists, the receipt of processing the first transaction to reach consensus with the given transaction id..
	// contains filtered or unexported fields
}

Get the receipt of a transaction, given its transaction ID. Once a transaction reaches consensus, then information about whether it succeeded or failed will be available until the end of the receipt period. Before and after the receipt period, and for a transaction that was never submitted, the receipt is unknown. This query is free (the payment field is left empty). No State proof is available for this response

func (*TransactionGetReceiptQuery) Descriptor deprecated

func (*TransactionGetReceiptQuery) Descriptor() ([]byte, []int)

Deprecated: Use TransactionGetReceiptQuery.ProtoReflect.Descriptor instead.

func (*TransactionGetReceiptQuery) GetHeader

func (x *TransactionGetReceiptQuery) GetHeader() *QueryHeader

func (*TransactionGetReceiptQuery) GetIncludeDuplicates

func (x *TransactionGetReceiptQuery) GetIncludeDuplicates() bool

func (*TransactionGetReceiptQuery) GetTransactionID

func (x *TransactionGetReceiptQuery) GetTransactionID() *TransactionID

func (*TransactionGetReceiptQuery) ProtoMessage

func (*TransactionGetReceiptQuery) ProtoMessage()

func (*TransactionGetReceiptQuery) ProtoReflect

func (*TransactionGetReceiptQuery) Reset

func (x *TransactionGetReceiptQuery) Reset()

func (*TransactionGetReceiptQuery) String

func (x *TransactionGetReceiptQuery) String() string

type TransactionGetReceiptResponse

type TransactionGetReceiptResponse struct {
	Header                       *ResponseHeader       `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`                                             // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
	Receipt                      *TransactionReceipt   `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`                                           // Either the receipt of processing the first consensus transaction with the given id whose status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>; <b>or</b>, if no such receipt exists, the receipt of processing the first transaction to reach consensus with the given transaction id.
	DuplicateTransactionReceipts []*TransactionReceipt `protobuf:"bytes,4,rep,name=duplicateTransactionReceipts,proto3" json:"duplicateTransactionReceipts,omitempty"` // The receipts of processing all consensus transaction with the same id as the distinguished receipt above, in chronological order.
	// contains filtered or unexported fields
}

Response when the client sends the node TransactionGetReceiptQuery. If it created a new entity (account, file, or smart contract instance) then one of the three ID fields will be filled in with the ID of the new entity. Sometimes a single transaction will create more than one new entity, such as when a new contract instance is created, and this also creates the new account that it owned by that instance. No State proof is available for this response

func (*TransactionGetReceiptResponse) Descriptor deprecated

func (*TransactionGetReceiptResponse) Descriptor() ([]byte, []int)

Deprecated: Use TransactionGetReceiptResponse.ProtoReflect.Descriptor instead.

func (*TransactionGetReceiptResponse) GetDuplicateTransactionReceipts

func (x *TransactionGetReceiptResponse) GetDuplicateTransactionReceipts() []*TransactionReceipt

func (*TransactionGetReceiptResponse) GetHeader

func (*TransactionGetReceiptResponse) GetReceipt

func (*TransactionGetReceiptResponse) ProtoMessage

func (*TransactionGetReceiptResponse) ProtoMessage()

func (*TransactionGetReceiptResponse) ProtoReflect

func (*TransactionGetReceiptResponse) Reset

func (x *TransactionGetReceiptResponse) Reset()

func (*TransactionGetReceiptResponse) String

type TransactionGetRecordQuery

type TransactionGetRecordQuery struct {
	Header            *QueryHeader   `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`                        // Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
	TransactionID     *TransactionID `protobuf:"bytes,2,opt,name=transactionID,proto3" json:"transactionID,omitempty"`          // The ID of the transaction for which the record is requested.
	IncludeDuplicates bool           `protobuf:"varint,3,opt,name=includeDuplicates,proto3" json:"includeDuplicates,omitempty"` // Whether records of processing duplicate transactions should be returned along with the record of processing the first consensus transaction with the given id whose status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>; <b>or</b>, if no such record exists, the record of processing the first transaction to reach consensus with the given transaction id..
	// contains filtered or unexported fields
}

Get the record for a transaction. If the transaction requested a record, then the record lasts for one hour, and a state proof is available for it. If the transaction created an account, file, or smart contract instance, then the record will contain the ID for what it created. If the transaction called a smart contract function, then the record contains the result of that call. If the transaction was a cryptocurrency transfer, then the record includes the TransferList which gives the details of that transfer. If the transaction didn't return anything that should be in the record, then the results field will be set to nothing.

func (*TransactionGetRecordQuery) Descriptor deprecated

func (*TransactionGetRecordQuery) Descriptor() ([]byte, []int)

Deprecated: Use TransactionGetRecordQuery.ProtoReflect.Descriptor instead.

func (*TransactionGetRecordQuery) GetHeader

func (x *TransactionGetRecordQuery) GetHeader() *QueryHeader

func (*TransactionGetRecordQuery) GetIncludeDuplicates

func (x *TransactionGetRecordQuery) GetIncludeDuplicates() bool

func (*TransactionGetRecordQuery) GetTransactionID

func (x *TransactionGetRecordQuery) GetTransactionID() *TransactionID

func (*TransactionGetRecordQuery) ProtoMessage

func (*TransactionGetRecordQuery) ProtoMessage()

func (*TransactionGetRecordQuery) ProtoReflect

func (*TransactionGetRecordQuery) Reset

func (x *TransactionGetRecordQuery) Reset()

func (*TransactionGetRecordQuery) String

func (x *TransactionGetRecordQuery) String() string

type TransactionGetRecordResponse

type TransactionGetRecordResponse struct {
	Header                      *ResponseHeader      `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`                                           // Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither.
	TransactionRecord           *TransactionRecord   `protobuf:"bytes,3,opt,name=transactionRecord,proto3" json:"transactionRecord,omitempty"`                     // Either the record of processing the first consensus transaction with the given id whose status was neither <tt>INVALID_NODE_ACCOUNT</tt> nor <tt>INVALID_PAYER_SIGNATURE</tt>; <b>or</b>, if no such record exists, the record of processing the first transaction to reach consensus with the given transaction id.
	DuplicateTransactionRecords []*TransactionRecord `protobuf:"bytes,4,rep,name=duplicateTransactionRecords,proto3" json:"duplicateTransactionRecords,omitempty"` // The records of processing all consensus transaction with the same id as the distinguished record above, in chronological order.
	// contains filtered or unexported fields
}

Response when the client sends the node TransactionGetRecordQuery

func (*TransactionGetRecordResponse) Descriptor deprecated

func (*TransactionGetRecordResponse) Descriptor() ([]byte, []int)

Deprecated: Use TransactionGetRecordResponse.ProtoReflect.Descriptor instead.

func (*TransactionGetRecordResponse) GetDuplicateTransactionRecords

func (x *TransactionGetRecordResponse) GetDuplicateTransactionRecords() []*TransactionRecord

func (*TransactionGetRecordResponse) GetHeader

func (*TransactionGetRecordResponse) GetTransactionRecord

func (x *TransactionGetRecordResponse) GetTransactionRecord() *TransactionRecord

func (*TransactionGetRecordResponse) ProtoMessage

func (*TransactionGetRecordResponse) ProtoMessage()

func (*TransactionGetRecordResponse) ProtoReflect

func (*TransactionGetRecordResponse) Reset

func (x *TransactionGetRecordResponse) Reset()

func (*TransactionGetRecordResponse) String

type TransactionID

type TransactionID struct {
	TransactionValidStart *Timestamp `protobuf:"bytes,1,opt,name=transactionValidStart,proto3" json:"transactionValidStart,omitempty"` // The transaction is invalid if consensusTimestamp < transactionID.transactionStartValid
	AccountID             *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`                         // The Account ID that paid for this transaction
	Scheduled             bool       `protobuf:"varint,3,opt,name=scheduled,proto3" json:"scheduled,omitempty"`                        // Whether the Transaction is of type Scheduled or no
	// 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) 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 TransactionReceipt

type TransactionReceipt struct {

	// The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if the
	// associated transaction did not have a valid payer signature
	Status ResponseCodeEnum `protobuf:"varint,1,opt,name=status,proto3,enum=proto.ResponseCodeEnum" json:"status,omitempty"`
	// In the receipt of a CryptoCreate, the id of the newly created account
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// In the receipt of a FileCreate, the id of the newly created file
	FileID *FileID `protobuf:"bytes,3,opt,name=fileID,proto3" json:"fileID,omitempty"`
	// In the receipt of a ContractCreate, the id of the newly created contract
	ContractID *ContractID `protobuf:"bytes,4,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// The exchange rates in effect when the transaction reached consensus
	ExchangeRate *ExchangeRateSet `protobuf:"bytes,5,opt,name=exchangeRate,proto3" json:"exchangeRate,omitempty"`
	// In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
	TopicID *TopicID `protobuf:"bytes,6,opt,name=topicID,proto3" json:"topicID,omitempty"`
	// In the receipt of a ConsensusSubmitMessage, the new sequence number of the topic that received the message
	TopicSequenceNumber uint64 `protobuf:"varint,7,opt,name=topicSequenceNumber,proto3" json:"topicSequenceNumber,omitempty"`
	// In the receipt of a ConsensusSubmitMessage, the new running hash of the topic that received the message.
	// This 48-byte field is the output of a particular SHA-384 digest whose input data are determined by the
	// value of the topicRunningHashVersion below. The bytes of each uint64 or uint32 are to be in Big-Endian
	// format.
	//
	// IF the topicRunningHashVersion is '0' or '1', then the input data to the SHA-384 digest are, in order:
	// ---
	// 1. The previous running hash of the topic (48 bytes)
	// 2. The topic's shard (8 bytes)
	// 3. The topic's realm (8 bytes)
	// 4. The topic's number (8 bytes)
	// 5. The number of seconds since the epoch before the ConsensusSubmitMessage reached consensus (8 bytes)
	// 6. The number of nanoseconds since 5. before the ConsensusSubmitMessage reached consensus (4 bytes)
	// 7. The topicSequenceNumber from above (8 bytes)
	// 8. The message bytes from the ConsensusSubmitMessage (variable).
	//
	// IF the topicRunningHashVersion is '2', then the input data to the SHA-384 digest are, in order:
	// ---
	// 1. The previous running hash of the topic (48 bytes)
	// 2. The topicRunningHashVersion below (8 bytes)
	// 3. The topic's shard (8 bytes)
	// 4. The topic's realm (8 bytes)
	// 5. The topic's number (8 bytes)
	// 6. The number of seconds since the epoch before the ConsensusSubmitMessage reached consensus (8 bytes)
	// 7. The number of nanoseconds since 6. before the ConsensusSubmitMessage reached consensus (4 bytes)
	// 8. The topicSequenceNumber from above (8 bytes)
	// 9. The output of the SHA-384 digest of the message bytes from the consensusSubmitMessage (48 bytes)
	//
	// Otherwise, IF the topicRunningHashVersion is '3', then the input data to the SHA-384 digest are, in order:
	// ---
	// 1. The previous running hash of the topic (48 bytes)
	// 2. The topicRunningHashVersion below (8 bytes)
	// 3. The payer account's shard (8 bytes)
	// 4. The payer account's realm (8 bytes)
	// 5. The payer account's number (8 bytes)
	// 6. The topic's shard (8 bytes)
	// 7. The topic's realm (8 bytes)
	// 8. The topic's number (8 bytes)
	// 9. The number of seconds since the epoch before the ConsensusSubmitMessage reached consensus (8 bytes)
	// 10. The number of nanoseconds since 9. before the ConsensusSubmitMessage reached consensus (4 bytes)
	// 11. The topicSequenceNumber from above (8 bytes)
	// 12. The output of the SHA-384 digest of the message bytes from the consensusSubmitMessage (48 bytes)
	TopicRunningHash []byte `protobuf:"bytes,8,opt,name=topicRunningHash,proto3" json:"topicRunningHash,omitempty"`
	// In the receipt of a ConsensusSubmitMessage, the version of the SHA-384 digest used to update the running hash.
	TopicRunningHashVersion uint64 `protobuf:"varint,9,opt,name=topicRunningHashVersion,proto3" json:"topicRunningHashVersion,omitempty"`
	// In the receipt of a CreateToken, the id of the newly created token
	TokenID *TokenID `protobuf:"bytes,10,opt,name=tokenID,proto3" json:"tokenID,omitempty"`
	// In the receipt of TokenMint, TokenWipe, TokenBurn, For fungible tokens - the current total supply of this token. For non fungible tokens - the total number of NFTs issued for a given tokenID
	NewTotalSupply uint64 `protobuf:"varint,11,opt,name=newTotalSupply,proto3" json:"newTotalSupply,omitempty"`
	// In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
	ScheduleID *ScheduleID `protobuf:"bytes,12,opt,name=scheduleID,proto3" json:"scheduleID,omitempty"`
	// In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the TransactionID that should be used to query for the receipt or record of the relevant scheduled transaction
	ScheduledTransactionID *TransactionID `protobuf:"bytes,13,opt,name=scheduledTransactionID,proto3" json:"scheduledTransactionID,omitempty"`
	// In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of the newly created NFTs
	SerialNumbers []int64 `protobuf:"varint,14,rep,packed,name=serialNumbers,proto3" json:"serialNumbers,omitempty"`
	// contains filtered or unexported fields
}

The summary of a transaction's result so far. If the transaction has not reached consensus, this result will be necessarily incomplete.

func (*TransactionReceipt) Descriptor deprecated

func (*TransactionReceipt) Descriptor() ([]byte, []int)

Deprecated: Use TransactionReceipt.ProtoReflect.Descriptor instead.

func (*TransactionReceipt) GetAccountID

func (x *TransactionReceipt) GetAccountID() *AccountID

func (*TransactionReceipt) GetContractID

func (x *TransactionReceipt) GetContractID() *ContractID

func (*TransactionReceipt) GetExchangeRate

func (x *TransactionReceipt) GetExchangeRate() *ExchangeRateSet

func (*TransactionReceipt) GetFileID

func (x *TransactionReceipt) GetFileID() *FileID

func (*TransactionReceipt) GetNewTotalSupply

func (x *TransactionReceipt) GetNewTotalSupply() uint64

func (*TransactionReceipt) GetScheduleID

func (x *TransactionReceipt) GetScheduleID() *ScheduleID

func (*TransactionReceipt) GetScheduledTransactionID

func (x *TransactionReceipt) GetScheduledTransactionID() *TransactionID

func (*TransactionReceipt) GetSerialNumbers

func (x *TransactionReceipt) GetSerialNumbers() []int64

func (*TransactionReceipt) GetStatus

func (x *TransactionReceipt) GetStatus() ResponseCodeEnum

func (*TransactionReceipt) GetTokenID

func (x *TransactionReceipt) GetTokenID() *TokenID

func (*TransactionReceipt) GetTopicID

func (x *TransactionReceipt) GetTopicID() *TopicID

func (*TransactionReceipt) GetTopicRunningHash

func (x *TransactionReceipt) GetTopicRunningHash() []byte

func (*TransactionReceipt) GetTopicRunningHashVersion

func (x *TransactionReceipt) GetTopicRunningHashVersion() uint64

func (*TransactionReceipt) GetTopicSequenceNumber

func (x *TransactionReceipt) GetTopicSequenceNumber() uint64

func (*TransactionReceipt) ProtoMessage

func (*TransactionReceipt) ProtoMessage()

func (*TransactionReceipt) ProtoReflect

func (x *TransactionReceipt) ProtoReflect() protoreflect.Message

func (*TransactionReceipt) Reset

func (x *TransactionReceipt) Reset()

func (*TransactionReceipt) String

func (x *TransactionReceipt) String() string

type TransactionRecord

type TransactionRecord struct {
	Receipt            *TransactionReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`                       // The status (reach consensus, or failed, or is unknown) and the ID of any new account/file/instance created.
	TransactionHash    []byte              `protobuf:"bytes,2,opt,name=transactionHash,proto3" json:"transactionHash,omitempty"`       // The hash of the Transaction that executed (not the hash of any Transaction that failed for having a duplicate TransactionID)
	ConsensusTimestamp *Timestamp          `protobuf:"bytes,3,opt,name=consensusTimestamp,proto3" json:"consensusTimestamp,omitempty"` // The consensus timestamp (or null if didn't reach consensus yet)
	TransactionID      *TransactionID      `protobuf:"bytes,4,opt,name=transactionID,proto3" json:"transactionID,omitempty"`           // The ID of the transaction this record represents
	Memo               string              `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"`                             // The memo that was submitted as part of the transaction (max 100 bytes)
	TransactionFee     uint64              `protobuf:"varint,6,opt,name=transactionFee,proto3" json:"transactionFee,omitempty"`        // The actual transaction fee charged, not the original transactionFee value from TransactionBody
	// Types that are assignable to Body:
	//	*TransactionRecord_ContractCallResult
	//	*TransactionRecord_ContractCreateResult
	Body               isTransactionRecord_Body `protobuf_oneof:"body"`
	TransferList       *TransferList            `protobuf:"bytes,10,opt,name=transferList,proto3" json:"transferList,omitempty"`                                         // All hbar transfers as a result of this transaction, such as fees, or transfers performed by the transaction, or by a smart contract it calls, or by the creation of threshold records that it triggers.
	TokenTransferLists []*TokenTransferList     `protobuf:"bytes,11,rep,name=tokenTransferLists,proto3" json:"tokenTransferLists,omitempty"`                             // All Token transfers as a result of this transaction
	ScheduleRef        *ScheduleID              `protobuf:"bytes,12,opt,name=scheduleRef,proto3" json:"scheduleRef,omitempty"`                                           // Reference to the scheduled transaction ID that this transaction record represent
	AssessedCustomFees []*AssessedCustomFee     `protobuf:"bytes,13,rep,name=assessed_custom_fees,json=assessedCustomFees,proto3" json:"assessed_custom_fees,omitempty"` // All custom fees that were assessed during a CryptoTransfer, and must be paid if the transaction status resolved to SUCCESS
	// contains filtered or unexported fields
}

Response when the client sends the node TransactionGetRecordResponse

func (*TransactionRecord) Descriptor deprecated

func (*TransactionRecord) Descriptor() ([]byte, []int)

Deprecated: Use TransactionRecord.ProtoReflect.Descriptor instead.

func (*TransactionRecord) GetAssessedCustomFees added in v0.2.0

func (x *TransactionRecord) GetAssessedCustomFees() []*AssessedCustomFee

func (*TransactionRecord) GetBody

func (m *TransactionRecord) GetBody() isTransactionRecord_Body

func (*TransactionRecord) GetConsensusTimestamp

func (x *TransactionRecord) GetConsensusTimestamp() *Timestamp

func (*TransactionRecord) GetContractCallResult

func (x *TransactionRecord) GetContractCallResult() *ContractFunctionResult

func (*TransactionRecord) GetContractCreateResult

func (x *TransactionRecord) GetContractCreateResult() *ContractFunctionResult

func (*TransactionRecord) GetMemo

func (x *TransactionRecord) GetMemo() string

func (*TransactionRecord) GetReceipt

func (x *TransactionRecord) GetReceipt() *TransactionReceipt

func (*TransactionRecord) GetScheduleRef

func (x *TransactionRecord) GetScheduleRef() *ScheduleID

func (*TransactionRecord) GetTokenTransferLists

func (x *TransactionRecord) GetTokenTransferLists() []*TokenTransferList

func (*TransactionRecord) GetTransactionFee

func (x *TransactionRecord) GetTransactionFee() uint64

func (*TransactionRecord) GetTransactionHash

func (x *TransactionRecord) GetTransactionHash() []byte

func (*TransactionRecord) GetTransactionID

func (x *TransactionRecord) GetTransactionID() *TransactionID

func (*TransactionRecord) GetTransferList

func (x *TransactionRecord) GetTransferList() *TransferList

func (*TransactionRecord) ProtoMessage

func (*TransactionRecord) ProtoMessage()

func (*TransactionRecord) ProtoReflect

func (x *TransactionRecord) ProtoReflect() protoreflect.Message

func (*TransactionRecord) Reset

func (x *TransactionRecord) Reset()

func (*TransactionRecord) String

func (x *TransactionRecord) String() string

type TransactionRecord_ContractCallResult

type TransactionRecord_ContractCallResult struct {
	ContractCallResult *ContractFunctionResult `protobuf:"bytes,7,opt,name=contractCallResult,proto3,oneof"` // Record of the value returned by the smart contract function (if it completed and didn't fail) from ContractCallTransaction
}

type TransactionRecord_ContractCreateResult

type TransactionRecord_ContractCreateResult struct {
	ContractCreateResult *ContractFunctionResult `protobuf:"bytes,8,opt,name=contractCreateResult,proto3,oneof"` // Record of the value returned by the smart contract constructor (if it completed and didn't fail) from ContractCreateTransaction
}

type TransactionResponse

type TransactionResponse struct {
	NodeTransactionPrecheckCode ResponseCodeEnum `` // The response code that indicates the current status of the transaction.
	/* 136-byte string literal not displayed */
	Cost uint64 `protobuf:"varint,2,opt,name=cost,proto3" json:"cost,omitempty"` // If the response code was INSUFFICIENT_TX_FEE, the actual transaction fee that would be required to execute the transaction.
	// contains filtered or unexported fields
}

When the client sends the node a transaction of any kind, the node replies with this, which simply says that the transaction passed the precheck (so the node will submit it to the network) or it failed (so it won't). If the fee offered was insufficient, this will also contain the amount of the required fee. To learn the consensus result, the client should later obtain a receipt (free), or can buy a more detailed record (not free).

func (*TransactionResponse) Descriptor deprecated

func (*TransactionResponse) Descriptor() ([]byte, []int)

Deprecated: Use TransactionResponse.ProtoReflect.Descriptor instead.

func (*TransactionResponse) GetCost

func (x *TransactionResponse) GetCost() uint64

func (*TransactionResponse) GetNodeTransactionPrecheckCode

func (x *TransactionResponse) GetNodeTransactionPrecheckCode() ResponseCodeEnum

func (*TransactionResponse) ProtoMessage

func (*TransactionResponse) ProtoMessage()

func (*TransactionResponse) ProtoReflect

func (x *TransactionResponse) ProtoReflect() protoreflect.Message

func (*TransactionResponse) Reset

func (x *TransactionResponse) Reset()

func (*TransactionResponse) String

func (x *TransactionResponse) String() string

type TransferList

type TransferList struct {
	AccountAmounts []*AccountAmount `protobuf:"bytes,1,rep,name=accountAmounts,proto3" json:"accountAmounts,omitempty"` // Multiple list of AccountAmount pairs, each of which has an account and an amount to transfer into it (positive) or out of it (negative)
	// 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

type UncheckedSubmitBody

type UncheckedSubmitBody struct {
	TransactionBytes []byte `protobuf:"bytes,1,opt,name=transactionBytes,proto3" json:"transactionBytes,omitempty"` // The serialized bytes of the Transaction to be submitted without prechecks
	// contains filtered or unexported fields
}

Submit an arbitrary (serialized) Transaction to the network without prechecks. Requires superuser privileges.

func (*UncheckedSubmitBody) Descriptor deprecated

func (*UncheckedSubmitBody) Descriptor() ([]byte, []int)

Deprecated: Use UncheckedSubmitBody.ProtoReflect.Descriptor instead.

func (*UncheckedSubmitBody) GetTransactionBytes

func (x *UncheckedSubmitBody) GetTransactionBytes() []byte

func (*UncheckedSubmitBody) ProtoMessage

func (*UncheckedSubmitBody) ProtoMessage()

func (*UncheckedSubmitBody) ProtoReflect

func (x *UncheckedSubmitBody) ProtoReflect() protoreflect.Message

func (*UncheckedSubmitBody) Reset

func (x *UncheckedSubmitBody) Reset()

func (*UncheckedSubmitBody) String

func (x *UncheckedSubmitBody) String() string

type UnimplementedConsensusServiceServer

type UnimplementedConsensusServiceServer struct{}

UnimplementedConsensusServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedConsensusServiceServer) CreateTopic

func (UnimplementedConsensusServiceServer) DeleteTopic

func (UnimplementedConsensusServiceServer) GetTopicInfo

func (UnimplementedConsensusServiceServer) SubmitMessage

func (UnimplementedConsensusServiceServer) UpdateTopic

type UnimplementedCryptoServiceServer

type UnimplementedCryptoServiceServer struct{}

UnimplementedCryptoServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCryptoServiceServer) AddLiveHash

func (UnimplementedCryptoServiceServer) CreateAccount

func (UnimplementedCryptoServiceServer) CryptoDelete

func (UnimplementedCryptoServiceServer) CryptoGetBalance

func (UnimplementedCryptoServiceServer) CryptoTransfer

func (UnimplementedCryptoServiceServer) DeleteLiveHash

func (UnimplementedCryptoServiceServer) GetAccountInfo

func (UnimplementedCryptoServiceServer) GetAccountRecords

func (UnimplementedCryptoServiceServer) GetFastTransactionRecord

func (UnimplementedCryptoServiceServer) GetFastTransactionRecord(context.Context, *Query) (*Response, error)

func (UnimplementedCryptoServiceServer) GetLiveHash

func (UnimplementedCryptoServiceServer) GetStakersByAccountID

func (UnimplementedCryptoServiceServer) GetStakersByAccountID(context.Context, *Query) (*Response, error)

func (UnimplementedCryptoServiceServer) GetTransactionReceipts

func (UnimplementedCryptoServiceServer) GetTransactionReceipts(context.Context, *Query) (*Response, error)

func (UnimplementedCryptoServiceServer) GetTxRecordByTxID

func (UnimplementedCryptoServiceServer) UpdateAccount

type UnimplementedFileServiceServer

type UnimplementedFileServiceServer struct{}

UnimplementedFileServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedFileServiceServer) AppendContent

func (UnimplementedFileServiceServer) CreateFile

func (UnimplementedFileServiceServer) DeleteFile

func (UnimplementedFileServiceServer) GetFileContent

func (UnimplementedFileServiceServer) GetFileInfo

func (UnimplementedFileServiceServer) SystemDelete

func (UnimplementedFileServiceServer) SystemUndelete

func (UnimplementedFileServiceServer) UpdateFile

type UnimplementedFreezeServiceServer

type UnimplementedFreezeServiceServer struct{}

UnimplementedFreezeServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedFreezeServiceServer) Freeze

type UnimplementedNetworkServiceServer

type UnimplementedNetworkServiceServer struct{}

UnimplementedNetworkServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNetworkServiceServer) GetVersionInfo

func (UnimplementedNetworkServiceServer) UncheckedSubmit

type UnimplementedScheduleServiceServer

type UnimplementedScheduleServiceServer struct{}

UnimplementedScheduleServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedScheduleServiceServer) CreateSchedule

func (UnimplementedScheduleServiceServer) DeleteSchedule

func (UnimplementedScheduleServiceServer) GetScheduleInfo

func (UnimplementedScheduleServiceServer) SignSchedule

type UnimplementedSmartContractServiceServer

type UnimplementedSmartContractServiceServer struct{}

UnimplementedSmartContractServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSmartContractServiceServer) ContractCallLocalMethod

func (UnimplementedSmartContractServiceServer) ContractCallMethod

func (UnimplementedSmartContractServiceServer) ContractGetBytecode

func (UnimplementedSmartContractServiceServer) CreateContract

func (UnimplementedSmartContractServiceServer) DeleteContract

func (UnimplementedSmartContractServiceServer) GetBySolidityID

func (UnimplementedSmartContractServiceServer) GetContractInfo

func (UnimplementedSmartContractServiceServer) GetTxRecordByContractID

func (UnimplementedSmartContractServiceServer) SystemDelete

func (UnimplementedSmartContractServiceServer) SystemUndelete

func (UnimplementedSmartContractServiceServer) UpdateContract

type UnimplementedTokenServiceServer

type UnimplementedTokenServiceServer struct{}

UnimplementedTokenServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTokenServiceServer) AssociateTokens

func (UnimplementedTokenServiceServer) BurnToken

func (UnimplementedTokenServiceServer) CreateToken

func (UnimplementedTokenServiceServer) DeleteToken

func (UnimplementedTokenServiceServer) DissociateTokens

func (UnimplementedTokenServiceServer) FreezeTokenAccount

func (UnimplementedTokenServiceServer) GetAccountNftInfos added in v0.2.0

func (UnimplementedTokenServiceServer) GetTokenInfo

func (UnimplementedTokenServiceServer) GetTokenNftInfo

func (UnimplementedTokenServiceServer) GetTokenNftInfos

func (UnimplementedTokenServiceServer) GrantKycToTokenAccount

func (UnimplementedTokenServiceServer) MintToken

func (UnimplementedTokenServiceServer) RevokeKycFromTokenAccount

func (UnimplementedTokenServiceServer) UnfreezeTokenAccount

func (UnimplementedTokenServiceServer) UpdateToken

func (UnimplementedTokenServiceServer) UpdateTokenFeeSchedule added in v0.2.0

func (UnimplementedTokenServiceServer) WipeTokenAccount

type UnsafeConsensusServiceServer

type UnsafeConsensusServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeConsensusServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConsensusServiceServer will result in compilation errors.

type UnsafeCryptoServiceServer

type UnsafeCryptoServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCryptoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CryptoServiceServer will result in compilation errors.

type UnsafeFileServiceServer

type UnsafeFileServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeFileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FileServiceServer will result in compilation errors.

type UnsafeFreezeServiceServer

type UnsafeFreezeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeFreezeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FreezeServiceServer will result in compilation errors.

type UnsafeNetworkServiceServer

type UnsafeNetworkServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeNetworkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkServiceServer will result in compilation errors.

type UnsafeScheduleServiceServer

type UnsafeScheduleServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeScheduleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ScheduleServiceServer will result in compilation errors.

type UnsafeSmartContractServiceServer

type UnsafeSmartContractServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSmartContractServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SmartContractServiceServer will result in compilation errors.

type UnsafeTokenServiceServer

type UnsafeTokenServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTokenServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TokenServiceServer will result in compilation errors.

Source Files

Jump to

Keyboard shortcuts

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