services

package
v1.0.0-beta.11083 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

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",
		3: "TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES",
		4: "TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES",
		5: "SCHEDULE_CREATE_CONTRACT_CALL",
	}
	SubType_value = map[string]int32{
		"DEFAULT":                                    0,
		"TOKEN_FUNGIBLE_COMMON":                      1,
		"TOKEN_NON_FUNGIBLE_UNIQUE":                  2,
		"TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES":     3,
		"TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES": 4,
		"SCHEDULE_CREATE_CONTRACT_CALL":              5,
	}
)

Enum value maps for SubType.

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 (
	TokenPauseStatus_name = map[int32]string{
		0: "PauseNotApplicable",
		1: "Paused",
		2: "Unpaused",
	}
	TokenPauseStatus_value = map[string]int32{
		"PauseNotApplicable": 0,
		"Paused":             1,
		"Unpaused":           2,
	}
)

Enum value maps for TokenPauseStatus.

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",
		78: "NetworkGetExecutionTime",
		79: "TokenPause",
		80: "TokenUnpause",
		81: "CryptoApproveAllowance",
		82: "CryptoDeleteAllowance",
		83: "GetAccountDetails",
		84: "EthereumTransaction",
		85: "NodeStakeUpdate",
		86: "UtilPrng",
	}
	HederaFunctionality_value = map[string]int32{
		"NONE":                       0,
		"CryptoTransfer":             1,
		"CryptoUpdate":               2,
		"CryptoDelete":               3,
		"CryptoAddLiveHash":          4,
		"CryptoDeleteLiveHash":       5,
		"ContractCall":               6,
		"ContractCreate":             7,
		"ContractUpdate":             8,
		"FileCreate":                 9,
		"FileAppend":                 10,
		"FileUpdate":                 11,
		"FileDelete":                 12,
		"CryptoGetAccountBalance":    13,
		"CryptoGetAccountRecords":    14,
		"CryptoGetInfo":              15,
		"ContractCallLocal":          16,
		"ContractGetInfo":            17,
		"ContractGetBytecode":        18,
		"GetBySolidityID":            19,
		"GetByKey":                   20,
		"CryptoGetLiveHash":          21,
		"CryptoGetStakers":           22,
		"FileGetContents":            23,
		"FileGetInfo":                24,
		"TransactionGetRecord":       25,
		"ContractGetRecords":         26,
		"CryptoCreate":               27,
		"SystemDelete":               28,
		"SystemUndelete":             29,
		"ContractDelete":             30,
		"Freeze":                     31,
		"CreateTransactionRecord":    32,
		"CryptoAccountAutoRenew":     33,
		"ContractAutoRenew":          34,
		"GetVersionInfo":             35,
		"TransactionGetReceipt":      36,
		"ConsensusCreateTopic":       50,
		"ConsensusUpdateTopic":       51,
		"ConsensusDeleteTopic":       52,
		"ConsensusGetTopicInfo":      53,
		"ConsensusSubmitMessage":     54,
		"UncheckedSubmit":            55,
		"TokenCreate":                56,
		"TokenGetInfo":               58,
		"TokenFreezeAccount":         59,
		"TokenUnfreezeAccount":       60,
		"TokenGrantKycToAccount":     61,
		"TokenRevokeKycFromAccount":  62,
		"TokenDelete":                63,
		"TokenUpdate":                64,
		"TokenMint":                  65,
		"TokenBurn":                  66,
		"TokenAccountWipe":           67,
		"TokenAssociateToAccount":    68,
		"TokenDissociateFromAccount": 69,
		"ScheduleCreate":             70,
		"ScheduleDelete":             71,
		"ScheduleSign":               72,
		"ScheduleGetInfo":            73,
		"TokenGetAccountNftInfos":    74,
		"TokenGetNftInfo":            75,
		"TokenGetNftInfos":           76,
		"TokenFeeScheduleUpdate":     77,
		"NetworkGetExecutionTime":    78,
		"TokenPause":                 79,
		"TokenUnpause":               80,
		"CryptoApproveAllowance":     81,
		"CryptoDeleteAllowance":      82,
		"GetAccountDetails":          83,
		"EthereumTransaction":        84,
		"NodeStakeUpdate":            85,
		"UtilPrng":                   86,
	}
)

Enum value maps for HederaFunctionality.

View Source
var (
	FreezeType_name = map[int32]string{
		0: "UNKNOWN_FREEZE_TYPE",
		1: "FREEZE_ONLY",
		2: "PREPARE_UPGRADE",
		3: "FREEZE_UPGRADE",
		4: "FREEZE_ABORT",
		5: "TELEMETRY_UPGRADE",
	}
	FreezeType_value = map[string]int32{
		"UNKNOWN_FREEZE_TYPE": 0,
		"FREEZE_ONLY":         1,
		"PREPARE_UPGRADE":     2,
		"FREEZE_UPGRADE":      3,
		"FREEZE_ABORT":        4,
		"TELEMETRY_UPGRADE":   5,
	}
)

Enum value maps for FreezeType.

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{}/* 291 elements not displayed */

	ResponseCodeEnum_value = map[string]int32{}/* 291 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: "consensus_service.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: "approveAllowances",
			Handler:    _CryptoService_ApproveAllowances_Handler,
		},
		{
			MethodName: "deleteAllowances",
			Handler:    _CryptoService_DeleteAllowances_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: "crypto_service.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: "file_service.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_basic_types_proto protoreflect.FileDescriptor
View Source
var File_consensus_create_topic_proto protoreflect.FileDescriptor
View Source
var File_consensus_delete_topic_proto protoreflect.FileDescriptor
View Source
var File_consensus_get_topic_info_proto protoreflect.FileDescriptor
View Source
var File_consensus_service_proto protoreflect.FileDescriptor
View Source
var File_consensus_submit_message_proto protoreflect.FileDescriptor
View Source
var File_consensus_topic_info_proto protoreflect.FileDescriptor
View Source
var File_consensus_update_topic_proto protoreflect.FileDescriptor
View Source
var File_contract_call_local_proto protoreflect.FileDescriptor
View Source
var File_contract_call_proto protoreflect.FileDescriptor
View Source
var File_contract_create_proto protoreflect.FileDescriptor
View Source
var File_contract_delete_proto protoreflect.FileDescriptor
View Source
var File_contract_get_bytecode_proto protoreflect.FileDescriptor
View Source
var File_contract_get_info_proto protoreflect.FileDescriptor
View Source
var File_contract_get_records_proto protoreflect.FileDescriptor
View Source
var File_contract_types_proto protoreflect.FileDescriptor
View Source
var File_contract_update_proto protoreflect.FileDescriptor
View Source
var File_crypto_add_live_hash_proto protoreflect.FileDescriptor
View Source
var File_crypto_approve_allowance_proto protoreflect.FileDescriptor
View Source
var File_crypto_create_proto protoreflect.FileDescriptor
View Source
var File_crypto_delete_allowance_proto protoreflect.FileDescriptor
View Source
var File_crypto_delete_live_hash_proto protoreflect.FileDescriptor
View Source
var File_crypto_delete_proto protoreflect.FileDescriptor
View Source
var File_crypto_get_account_balance_proto protoreflect.FileDescriptor
View Source
var File_crypto_get_account_records_proto protoreflect.FileDescriptor
View Source
var File_crypto_get_info_proto protoreflect.FileDescriptor
View Source
var File_crypto_get_live_hash_proto protoreflect.FileDescriptor
View Source
var File_crypto_get_stakers_proto protoreflect.FileDescriptor
View Source
var File_crypto_service_proto protoreflect.FileDescriptor
View Source
var File_crypto_transfer_proto protoreflect.FileDescriptor
View Source
var File_crypto_update_proto protoreflect.FileDescriptor
View Source
var File_custom_fees_proto protoreflect.FileDescriptor
View Source
var File_duration_proto protoreflect.FileDescriptor
View Source
var File_ethereum_transaction_proto protoreflect.FileDescriptor
View Source
var File_exchange_rate_proto protoreflect.FileDescriptor
View Source
var File_file_append_proto protoreflect.FileDescriptor
View Source
var File_file_create_proto protoreflect.FileDescriptor
View Source
var File_file_delete_proto protoreflect.FileDescriptor
View Source
var File_file_get_contents_proto protoreflect.FileDescriptor
View Source
var File_file_get_info_proto protoreflect.FileDescriptor
View Source
var File_file_service_proto protoreflect.FileDescriptor
View Source
var File_file_update_proto protoreflect.FileDescriptor
View Source
var File_freeze_proto protoreflect.FileDescriptor
View Source
var File_freeze_service_proto protoreflect.FileDescriptor
View Source
var File_freeze_type_proto protoreflect.FileDescriptor
View Source
var File_get_account_details_proto protoreflect.FileDescriptor
View Source
var File_get_by_key_proto protoreflect.FileDescriptor
View Source
var File_get_by_solidity_id_proto protoreflect.FileDescriptor
View Source
var File_network_get_execution_time_proto protoreflect.FileDescriptor
View Source
var File_network_get_version_info_proto protoreflect.FileDescriptor
View Source
var File_network_service_proto protoreflect.FileDescriptor
View Source
var File_node_stake_update_proto protoreflect.FileDescriptor
View Source
var File_query_header_proto protoreflect.FileDescriptor
View Source
var File_query_proto protoreflect.FileDescriptor
View Source
var File_response_code_proto protoreflect.FileDescriptor
View Source
var File_response_header_proto protoreflect.FileDescriptor
View Source
var File_response_proto protoreflect.FileDescriptor
View Source
var File_schedulable_transaction_body_proto protoreflect.FileDescriptor
View Source
var File_schedule_create_proto protoreflect.FileDescriptor
View Source
var File_schedule_delete_proto protoreflect.FileDescriptor
View Source
var File_schedule_get_info_proto protoreflect.FileDescriptor
View Source
var File_schedule_service_proto protoreflect.FileDescriptor
View Source
var File_schedule_sign_proto protoreflect.FileDescriptor
View Source
var File_smart_contract_service_proto protoreflect.FileDescriptor
View Source
var File_system_delete_proto protoreflect.FileDescriptor
View Source
var File_system_undelete_proto protoreflect.FileDescriptor
View Source
var File_throttle_definitions_proto protoreflect.FileDescriptor
View Source
var File_timestamp_proto protoreflect.FileDescriptor
View Source
var File_token_associate_proto protoreflect.FileDescriptor
View Source
var File_token_burn_proto protoreflect.FileDescriptor
View Source
var File_token_create_proto protoreflect.FileDescriptor
View Source
var File_token_delete_proto protoreflect.FileDescriptor
View Source
var File_token_dissociate_proto protoreflect.FileDescriptor
View Source
var File_token_fee_schedule_update_proto protoreflect.FileDescriptor
View Source
var File_token_freeze_account_proto protoreflect.FileDescriptor
View Source
var File_token_get_account_nft_infos_proto protoreflect.FileDescriptor
View Source
var File_token_get_info_proto protoreflect.FileDescriptor
View Source
var File_token_get_nft_info_proto protoreflect.FileDescriptor
View Source
var File_token_get_nft_infos_proto protoreflect.FileDescriptor
View Source
var File_token_grant_kyc_proto protoreflect.FileDescriptor
View Source
var File_token_mint_proto protoreflect.FileDescriptor
View Source
var File_token_pause_proto protoreflect.FileDescriptor
View Source
var File_token_revoke_kyc_proto protoreflect.FileDescriptor
View Source
var File_token_service_proto protoreflect.FileDescriptor
View Source
var File_token_unfreeze_account_proto protoreflect.FileDescriptor
View Source
var File_token_unpause_proto protoreflect.FileDescriptor
View Source
var File_token_update_proto protoreflect.FileDescriptor
View Source
var File_token_wipe_account_proto protoreflect.FileDescriptor
View Source
var File_transaction_body_proto protoreflect.FileDescriptor
View Source
var File_transaction_contents_proto protoreflect.FileDescriptor
View Source
var File_transaction_get_fast_record_proto protoreflect.FileDescriptor
View Source
var File_transaction_get_receipt_proto protoreflect.FileDescriptor
View Source
var File_transaction_get_record_proto protoreflect.FileDescriptor
View Source
var File_transaction_proto protoreflect.FileDescriptor
View Source
var File_transaction_receipt_proto protoreflect.FileDescriptor
View Source
var File_transaction_record_proto protoreflect.FileDescriptor
View Source
var File_transaction_response_proto protoreflect.FileDescriptor
View Source
var File_unchecked_submit_proto protoreflect.FileDescriptor
View Source
var File_util_prng_proto protoreflect.FileDescriptor
View Source
var File_util_service_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: "freeze_service.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: "getExecutionTime",
			Handler:    _NetworkService_GetExecutionTime_Handler,
		},
		{
			MethodName: "uncheckedSubmit",
			Handler:    _NetworkService_UncheckedSubmit_Handler,
		},
		{
			MethodName: "getAccountDetails",
			Handler:    _NetworkService_GetAccountDetails_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "network_service.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: "schedule_service.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,
		},
		{
			MethodName: "callEthereum",
			Handler:    _SmartContractService_CallEthereum_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "smart_contract_service.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,
		},
		{
			MethodName: "pauseToken",
			Handler:    _TokenService_PauseToken_Handler,
		},
		{
			MethodName: "unpauseToken",
			Handler:    _TokenService_UnpauseToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "token_service.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)

View Source
var UtilService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.UtilService",
	HandlerType: (*UtilServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "prng",
			Handler:    _UtilService_Prng_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "util_service.proto",
}

UtilService_ServiceDesc is the grpc.ServiceDesc for UtilService 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)

func RegisterUtilServiceServer

func RegisterUtilServiceServer(s grpc.ServiceRegistrar, srv UtilServiceServer)

Types

type AccountAmount

type AccountAmount struct {

	// *
	// The Account ID that sends/receives cryptocurrency or tokens
	AccountID *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// *
	// The amount of tinybars (for Crypto transfers) or in the lowest
	// denomination (for Token transfers) that the account sends(negative) or
	// receives(positive)
	Amount int64 `protobuf:"zigzag64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// *
	// If true then the transfer is expected to be an approved allowance and the
	// accountID is expected to be the owner. The default is false (omitted).
	IsApproval bool `protobuf:"varint,3,opt,name=is_approval,json=isApproval,proto3" json:"is_approval,omitempty"`
	// contains filtered or unexported fields
}

* An account, and the amount that it sends or receives during a cryptocurrency or token transfer.

func (*AccountAmount) Descriptor deprecated

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

Deprecated: Use AccountAmount.ProtoReflect.Descriptor instead.

func (*AccountAmount) GetAccountID

func (x *AccountAmount) GetAccountID() *AccountID

func (*AccountAmount) GetAmount

func (x *AccountAmount) GetAmount() int64

func (*AccountAmount) GetIsApproval

func (x *AccountAmount) GetIsApproval() bool

func (*AccountAmount) ProtoMessage

func (*AccountAmount) ProtoMessage()

func (*AccountAmount) ProtoReflect

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

func (*AccountAmount) Reset

func (x *AccountAmount) Reset()

func (*AccountAmount) String

func (x *AccountAmount) String() string

type AccountID

type AccountID struct {

	// *
	// The shard number (nonnegative)
	ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`
	// *
	// The realm number (nonnegative)
	RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"`
	// *
	// The account number unique within its realm which can be a non-negative integer, an alias public key or an EVM address.
	// For any AccountID fields in the query response, transaction record or transaction receipt only accountNum will
	// be populated.
	//
	// Types that are assignable to Account:
	//
	//	*AccountID_AccountNum
	//	*AccountID_Alias
	Account isAccountID_Account `protobuf_oneof:"account"`
	// contains filtered or unexported fields
}

* The ID for an a cryptocurrency account

func (*AccountID) Descriptor deprecated

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

Deprecated: Use AccountID.ProtoReflect.Descriptor instead.

func (*AccountID) GetAccount

func (m *AccountID) GetAccount() isAccountID_Account

func (*AccountID) GetAccountNum

func (x *AccountID) GetAccountNum() int64

func (*AccountID) GetAlias

func (x *AccountID) GetAlias() []byte

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 AccountID_AccountNum

type AccountID_AccountNum struct {
	// *
	// A non-negative account number unique within its realm
	AccountNum int64 `protobuf:"varint,3,opt,name=accountNum,proto3,oneof"`
}

type AccountID_Alias

type AccountID_Alias struct {
	// *
	// The public key bytes to be used as the account's alias. The public key bytes are the result of serializing
	// a protobuf Key message for any primitive key type. Currently only primitive key bytes are supported as an alias
	// (ThresholdKey, KeyList, ContractID, and delegatable_contract_id are not supported)
	//
	// May also be the ethereum account 20-byte EVM address to be used initially in place of the public key bytes. This EVM
	// address may be either the encoded form of the shard.realm.num or the keccak-256 hash of a ECDSA_SECP256K1 primitive key.
	//
	// At most one account can ever have a given alias and it is used for account creation if it
	// was automatically created using a crypto transfer. It will be null if an account is created normally.
	// It is immutable once it is set for an account.
	//
	// If a transaction auto-creates the account, any further transfers to that alias will simply be deposited
	// in that account, without creating anything, and with no creation fee being charged.
	//
	// If a transaction lazily-creates this account, a subsequent transaction will be required containing the public key bytes
	// that map to the EVM address bytes. The provided public key bytes will then serve as the final alias bytes.
	Alias []byte `protobuf:"bytes,4,opt,name=alias,proto3,oneof"`
}

type AllProxyStakers

type AllProxyStakers struct {

	// *
	// The Account ID that is being proxy staked to
	AccountID *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// *
	// Each of the proxy staking accounts, and the amount they are proxy staking
	ProxyStaker []*ProxyStaker `protobuf:"bytes,2,rep,name=proxyStaker,proto3" json:"proxyStaker,omitempty"`
	// 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

type AssessedCustomFee struct {

	// *
	// The number of units assessed for the fee
	Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// *
	// The denomination of the fee; taken as hbar if left unset
	TokenId *TokenID `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// *
	// The account to receive the assessed fee
	FeeCollectorAccountId *AccountID `` /* 128-byte string literal not displayed */
	// *
	// The account(s) whose final balances would have been higher in the absence of this assessed fee
	EffectivePayerAccountId []*AccountID `` /* 134-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

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

Deprecated: Use AssessedCustomFee.ProtoReflect.Descriptor instead.

func (*AssessedCustomFee) GetAmount

func (x *AssessedCustomFee) GetAmount() int64

func (*AssessedCustomFee) GetEffectivePayerAccountId

func (x *AssessedCustomFee) GetEffectivePayerAccountId() []*AccountID

func (*AssessedCustomFee) GetFeeCollectorAccountId

func (x *AssessedCustomFee) GetFeeCollectorAccountId() *AccountID

func (*AssessedCustomFee) GetTokenId

func (x *AssessedCustomFee) GetTokenId() *TokenID

func (*AssessedCustomFee) ProtoMessage

func (*AssessedCustomFee) ProtoMessage()

func (*AssessedCustomFee) ProtoReflect

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

func (*AssessedCustomFee) Reset

func (x *AssessedCustomFee) Reset()

func (*AssessedCustomFee) String

func (x *AssessedCustomFee) String() string

type ConsensusCreateTopicTransactionBody

type ConsensusCreateTopicTransactionBody struct {

	// *
	// Short publicly visible memo about the topic. No guarantee of uniqueness.
	Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// 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 {

	// *
	// Topic identifier
	TopicID *TopicID `protobuf:"bytes,1,opt,name=topicID,proto3" json:"topicID,omitempty"`
	// 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"`
	// *
	// Topic identifier.
	TopicID *TopicID `protobuf:"bytes,2,opt,name=topicID,proto3" json:"topicID,omitempty"`
	// *
	// Current state of the topic
	TopicInfo *ConsensusTopicInfo `protobuf:"bytes,5,opt,name=topicInfo,proto3" json:"topicInfo,omitempty"`
	// 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 {

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

* UNDOCUMENTED

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 {

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

* UNDOCUMENTED

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 {

	// *
	// The memo associated with the topic (UTF-8 encoding max 100 bytes)
	Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// 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"`
	// *
	// Access control for update/delete of the topic. Null if there is no key.
	AdminKey *Key `protobuf:"bytes,5,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	// *
	// Access control for ConsensusService.submitMessage. Null if there is no key.
	SubmitKey *Key `protobuf:"bytes,6,opt,name=submitKey,proto3" json:"submitKey,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.
	AutoRenewPeriod *Duration `protobuf:"bytes,7,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// *
	// The account, if any, to charge for automatic renewal of the topic's lifetime upon expiry.
	AutoRenewAccount *AccountID `protobuf:"bytes,8,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"`
	// *
	// The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs.
	LedgerId []byte `protobuf:"bytes,9,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// 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) GetLedgerId

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

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 {

	// *
	// UNDOCUMENTED
	TopicID *TopicID `protobuf:"bytes,1,opt,name=topicID,proto3" json:"topicID,omitempty"`
	// *
	// If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
	Memo *wrappers.StringValue `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// 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 {

	// *
	// 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.
	Header *QueryHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// *
	// The contract to make a static call against
	ContractID *ContractID `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// *
	// The amount of gas to use for the call; all of the gas offered will be used and charged a corresponding fee
	Gas int64 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"`
	// *
	// which function to call, and the parameters to pass to the function
	FunctionParameters []byte `protobuf:"bytes,4,opt,name=functionParameters,proto3" json:"functionParameters,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.
	//
	// Deprecated: Marked as deprecated in contract_call_local.proto.
	MaxResultSize int64 `protobuf:"varint,5,opt,name=maxResultSize,proto3" json:"maxResultSize,omitempty"`
	// *
	// The account that is the "sender." If not present it is the accountId from the transactionId.
	// Typically a different value than specified in the transactionId requires a valid signature
	// over either the hedera transaction or foreign transaction data.
	SenderId *AccountID `protobuf:"bytes,6,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	// 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 deprecated

func (x *ContractCallLocalQuery) GetMaxResultSize() int64

Deprecated: Marked as deprecated in contract_call_local.proto.

func (*ContractCallLocalQuery) GetSenderId

func (x *ContractCallLocalQuery) GetSenderId() *AccountID

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 {

	// *
	// 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 value returned by the function (if it completed and didn't fail)
	FunctionResult *ContractFunctionResult `protobuf:"bytes,2,opt,name=functionResult,proto3" json:"functionResult,omitempty"`
	// 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 {

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

* Call a function of the given smart contract instance, giving it functionParameters as its inputs. The call can use at maximum the given amount of gas - the paying account will not be charged for any unspent gas.

If this function results in data being stored, an amount of gas is calculated that reflects this storage burden.

The amount of gas used, as well as other attributes of the transaction, e.g. size, number of signatures to be verified, determine the fee for the transaction - which is charged to the paying account.

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 {

	// *
	// There are two ways to specify the initcode of a ContractCreateTransction. If the initcode is
	// large (> 5K) then it must be stored in a file as hex encoded ascii. If it is small then it may
	// either be stored as a hex encoded file or as a binary encoded field as part of the transaciton.
	//
	// Types that are assignable to InitcodeSource:
	//
	//	*ContractCreateTransactionBody_FileID
	//	*ContractCreateTransactionBody_Initcode
	InitcodeSource isContractCreateTransactionBody_InitcodeSource `protobuf_oneof:"initcodeSource"`
	// *
	// 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.
	AdminKey *Key `protobuf:"bytes,3,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	// *
	// gas to run the constructor
	Gas int64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"`
	// *
	// initial number of tinybars to put into the cryptocurrency account associated with and owned
	// by the smart contract
	InitialBalance int64 `protobuf:"varint,5,opt,name=initialBalance,proto3" json:"initialBalance,omitempty"`
	// *
	// [Deprecated] 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: Marked as deprecated in contract_create.proto.
	ProxyAccountID *AccountID `protobuf:"bytes,6,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`
	// *
	// the instance will charge its account every this many seconds to renew for this long
	AutoRenewPeriod *Duration `protobuf:"bytes,8,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// *
	// parameters to pass to the constructor
	ConstructorParameters []byte `protobuf:"bytes,9,opt,name=constructorParameters,proto3" json:"constructorParameters,omitempty"`
	// *
	// shard in which to create this
	ShardID *ShardID `protobuf:"bytes,10,opt,name=shardID,proto3" json:"shardID,omitempty"`
	// *
	// realm in which to create this (leave this null to create a new realm)
	RealmID *RealmID `protobuf:"bytes,11,opt,name=realmID,proto3" json:"realmID,omitempty"`
	// *
	// if realmID is null, then this the admin key for the new realm that will be created
	NewRealmAdminKey *Key `protobuf:"bytes,12,opt,name=newRealmAdminKey,proto3" json:"newRealmAdminKey,omitempty"`
	// *
	// the memo that was submitted as part of the contract (max 100 bytes)
	Memo string `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The maximum number of tokens that this contract can be automatically associated
	// with (i.e., receive air-drops from).
	MaxAutomaticTokenAssociations int32 `` /* 154-byte string literal not displayed */
	// *
	// An account to charge for auto-renewal of this contract. If not set, or set to an
	// account with zero hbar balance, the contract's own hbar balance will be used to
	// cover auto-renewal fees.
	AutoRenewAccountId *AccountID `protobuf:"bytes,15,opt,name=auto_renew_account_id,json=autoRenewAccountId,proto3" json:"auto_renew_account_id,omitempty"`
	// *
	// ID of the new account or node to which this contract is staking.
	//
	// Types that are assignable to StakedId:
	//
	//	*ContractCreateTransactionBody_StakedAccountId
	//	*ContractCreateTransactionBody_StakedNodeId
	StakedId isContractCreateTransactionBody_StakedId `protobuf_oneof:"staked_id"`
	// *
	// If true, the contract declines receiving a staking reward. The default value is false.
	DeclineReward bool `protobuf:"varint,19,opt,name=decline_reward,json=declineReward,proto3" json:"decline_reward,omitempty"`
	// 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, either stored in a previously created file or in the transaction body itself for small contracts.

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.

<b>Signing requirements:</b> If an admin key is set, it must sign the transaction. If an auto-renew account is set, its key must sign the transaction.

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

func (x *ContractCreateTransactionBody) GetAutoRenewAccountId() *AccountID

func (*ContractCreateTransactionBody) GetAutoRenewPeriod

func (x *ContractCreateTransactionBody) GetAutoRenewPeriod() *Duration

func (*ContractCreateTransactionBody) GetConstructorParameters

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

func (*ContractCreateTransactionBody) GetDeclineReward

func (x *ContractCreateTransactionBody) GetDeclineReward() bool

func (*ContractCreateTransactionBody) GetFileID

func (x *ContractCreateTransactionBody) GetFileID() *FileID

func (*ContractCreateTransactionBody) GetGas

func (*ContractCreateTransactionBody) GetInitcode

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

func (*ContractCreateTransactionBody) GetInitcodeSource

func (m *ContractCreateTransactionBody) GetInitcodeSource() isContractCreateTransactionBody_InitcodeSource

func (*ContractCreateTransactionBody) GetInitialBalance

func (x *ContractCreateTransactionBody) GetInitialBalance() int64

func (*ContractCreateTransactionBody) GetMaxAutomaticTokenAssociations

func (x *ContractCreateTransactionBody) GetMaxAutomaticTokenAssociations() int32

func (*ContractCreateTransactionBody) GetMemo

func (*ContractCreateTransactionBody) GetNewRealmAdminKey

func (x *ContractCreateTransactionBody) GetNewRealmAdminKey() *Key

func (*ContractCreateTransactionBody) GetProxyAccountID deprecated

func (x *ContractCreateTransactionBody) GetProxyAccountID() *AccountID

Deprecated: Marked as deprecated in contract_create.proto.

func (*ContractCreateTransactionBody) GetRealmID

func (x *ContractCreateTransactionBody) GetRealmID() *RealmID

func (*ContractCreateTransactionBody) GetShardID

func (x *ContractCreateTransactionBody) GetShardID() *ShardID

func (*ContractCreateTransactionBody) GetStakedAccountId

func (x *ContractCreateTransactionBody) GetStakedAccountId() *AccountID

func (*ContractCreateTransactionBody) GetStakedId

func (m *ContractCreateTransactionBody) GetStakedId() isContractCreateTransactionBody_StakedId

func (*ContractCreateTransactionBody) GetStakedNodeId

func (x *ContractCreateTransactionBody) GetStakedNodeId() int64

func (*ContractCreateTransactionBody) ProtoMessage

func (*ContractCreateTransactionBody) ProtoMessage()

func (*ContractCreateTransactionBody) ProtoReflect

func (*ContractCreateTransactionBody) Reset

func (x *ContractCreateTransactionBody) Reset()

func (*ContractCreateTransactionBody) String

type ContractCreateTransactionBody_FileID

type ContractCreateTransactionBody_FileID struct {
	// *
	// The file containing the smart contract initcode. A copy will be made and held by the
	// contract instance, and have the same expiration time as the instance.
	FileID *FileID `protobuf:"bytes,1,opt,name=fileID,proto3,oneof"`
}

type ContractCreateTransactionBody_Initcode

type ContractCreateTransactionBody_Initcode struct {
	// *
	// The bytes of the smart contract initcode. This is only useful if the smart contract init
	// is less than the hedera transaction limit. In those cases fileID must be used.
	Initcode []byte `protobuf:"bytes,16,opt,name=initcode,proto3,oneof"`
}

type ContractCreateTransactionBody_StakedAccountId

type ContractCreateTransactionBody_StakedAccountId struct {
	// *
	// ID of the account to which this contract is staking.
	StakedAccountId *AccountID `protobuf:"bytes,17,opt,name=staked_account_id,json=stakedAccountId,proto3,oneof"`
}

type ContractCreateTransactionBody_StakedNodeId

type ContractCreateTransactionBody_StakedNodeId struct {
	// *
	// ID of the node this contract is staked to.
	StakedNodeId int64 `protobuf:"varint,18,opt,name=staked_node_id,json=stakedNodeId,proto3,oneof"`
}

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"`
	// *
	// If set to true, means this is a "synthetic" system transaction being used to
	// alert mirror nodes that the contract is being permanently removed from the ledger.
	// <b>IMPORTANT:</b> User transactions cannot set this field to true, as permanent
	// removal is always managed by the ledger itself. Any ContractDeleteTransactionBody
	// submitted to HAPI with permanent_removal=true will be rejected with precheck status
	// PERMANENT_REMOVAL_REQUIRES_SYSTEM_INITIATION.
	PermanentRemoval bool `protobuf:"varint,4,opt,name=permanent_removal,json=permanentRemoval,proto3" json:"permanent_removal,omitempty"`
	// 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) GetPermanentRemoval

func (x *ContractDeleteTransactionBody) GetPermanentRemoval() bool

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 {

	// *
	// the smart contract instance whose function was called
	ContractID *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// *
	// the result returned by the function
	ContractCallResult []byte `protobuf:"bytes,2,opt,name=contractCallResult,proto3" json:"contractCallResult,omitempty"`
	// *
	// message In case there was an error during smart contract execution
	ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// *
	// bloom filter for record
	Bloom []byte `protobuf:"bytes,4,opt,name=bloom,proto3" json:"bloom,omitempty"`
	// *
	// units of gas used to execute contract
	GasUsed uint64 `protobuf:"varint,5,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"`
	// *
	// the log info for events returned by the function
	LogInfo []*ContractLoginfo `protobuf:"bytes,6,rep,name=logInfo,proto3" json:"logInfo,omitempty"`
	// *
	// [DEPRECATED] the list of smart contracts that were created by the function call.
	//
	// The created ids will now _also_ be externalized through internal transaction
	// records, where each record has its alias field populated with the new contract's
	// EVM address. (This is needed for contracts created with CREATE2, since
	// there is no longer a simple relationship between the new contract's 0.0.X id
	// and its Solidity address.)
	//
	// Deprecated: Marked as deprecated in contract_call_local.proto.
	CreatedContractIDs []*ContractID `protobuf:"bytes,7,rep,name=createdContractIDs,proto3" json:"createdContractIDs,omitempty"`
	// *
	// The new contract's 20-byte EVM address. Only populated after release 0.23,
	// where each created contract will have its own record. (This is an important
	// point--the field is not <tt>repeated</tt> because there will be a separate
	// child record for each created contract.)
	//
	// Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
	// This address is as follows:
	//
	//	<ol>
	//	  <li>The first 4 bytes are the big-endian representation of the shard.</li>
	//	  <li>The next 8 bytes are the big-endian representation of the realm.</li>
	//	  <li>The final 8 bytes are the big-endian representation of the number.</li>
	//	</ol>
	//
	// Contracts created via CREATE2 have an <b>additional, primary address</b> that is
	// derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
	// specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
	//
	// (Please do note that CREATE2 contracts can also be referenced by the three-part
	// EVM address described above.)
	EvmAddress *wrappers.BytesValue `protobuf:"bytes,9,opt,name=evm_address,json=evmAddress,proto3" json:"evm_address,omitempty"`
	// *
	// The amount of gas available for the call, aka the gasLimit.
	//
	// This field should only be populated when the paired TransactionBody in the record stream is not a
	// ContractCreateTransactionBody or a ContractCallTransactionBody.
	Gas int64 `protobuf:"varint,10,opt,name=gas,proto3" json:"gas,omitempty"`
	// *
	// Number of tinybars sent (the function must be payable if this is nonzero).
	//
	// This field should only be populated when the paired TransactionBody in the record stream is not a
	// ContractCreateTransactionBody or a ContractCallTransactionBody.
	Amount int64 `protobuf:"varint,11,opt,name=amount,proto3" json:"amount,omitempty"`
	// *
	// The parameters passed into the contract call.
	//
	// This field should only be populated when the paired TransactionBody in the record stream is not a
	// ContractCreateTransactionBody or a ContractCallTransactionBody.
	FunctionParameters []byte `protobuf:"bytes,12,opt,name=functionParameters,proto3" json:"functionParameters,omitempty"`
	// *
	// The account that is the "sender." If not present it is the accountId from the transactionId.
	//
	// This field should only be populated when the paired TransactionBody in the record stream is not a
	// ContractCreateTransactionBody or a ContractCallTransactionBody.
	SenderId *AccountID `protobuf:"bytes,13,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	// *
	// A list of updated contract account nonces containing the new nonce value for each contract account.
	// This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
	ContractNonces []*ContractNonceInfo `protobuf:"bytes,14,rep,name=contract_nonces,json=contractNonces,proto3" json:"contract_nonces,omitempty"`
	// 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) GetAmount

func (x *ContractFunctionResult) GetAmount() int64

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

func (x *ContractFunctionResult) GetContractNonces() []*ContractNonceInfo

func (*ContractFunctionResult) GetCreatedContractIDs deprecated

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

Deprecated: Marked as deprecated in contract_call_local.proto.

func (*ContractFunctionResult) GetErrorMessage

func (x *ContractFunctionResult) GetErrorMessage() string

func (*ContractFunctionResult) GetEvmAddress

func (x *ContractFunctionResult) GetEvmAddress() *wrappers.BytesValue

func (*ContractFunctionResult) GetFunctionParameters

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

func (*ContractFunctionResult) GetGas

func (x *ContractFunctionResult) GetGas() int64

func (*ContractFunctionResult) GetGasUsed

func (x *ContractFunctionResult) GetGasUsed() uint64

func (*ContractFunctionResult) GetLogInfo

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

func (*ContractFunctionResult) GetSenderId

func (x *ContractFunctionResult) GetSenderId() *AccountID

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 {

	// *
	// 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 contract for which information is requested
	ContractID *ContractID `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// contains filtered or unexported fields
}

* Get the runtime 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 {

	// *
	// 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 runtime bytecode of the contract
	Bytecode []byte `protobuf:"bytes,6,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	// 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 {

	// *
	// 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 contract for which information is requested
	ContractID *ContractID `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// contains filtered or unexported fields
}

* Get information about a smart contract instance. This includes the account that it uses, the file containing its initcode (if a file was used to initialize the contract), 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 {

	// *
	// 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 information about this contract instance (a state proof can be generated for this)
	ContractInfo *ContractGetInfoResponse_ContractInfo `protobuf:"bytes,2,opt,name=contractInfo,proto3" json:"contractInfo,omitempty"`
	// 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 {

	// *
	// ID of the contract instance, in the format used in transactions
	ContractID *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// *
	// ID of the cryptocurrency account owned by the contract instance, in the format used in
	// transactions
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// *
	// ID of both the contract instance and the cryptocurrency account owned by the contract
	// instance, in the format used by Solidity
	ContractAccountID string `protobuf:"bytes,3,opt,name=contractAccountID,proto3" json:"contractAccountID,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.
	AdminKey *Key `protobuf:"bytes,4,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	// *
	// the current time at which this contract instance (and its account) is set to expire
	ExpirationTime *Timestamp `protobuf:"bytes,5,opt,name=expirationTime,proto3" json:"expirationTime,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.
	AutoRenewPeriod *Duration `protobuf:"bytes,6,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// *
	// number of bytes of storage being used by this instance (which affects the cost to extend
	// the expiration time)
	Storage int64 `protobuf:"varint,7,opt,name=storage,proto3" json:"storage,omitempty"`
	// *
	// the memo associated with the contract (max 100 bytes)
	Memo string `protobuf:"bytes,8,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The current balance, in tinybars
	Balance uint64 `protobuf:"varint,9,opt,name=balance,proto3" json:"balance,omitempty"`
	// *
	// Whether the contract has been deleted
	Deleted bool `protobuf:"varint,10,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// *
	// [DEPRECATED] The metadata of the tokens associated to the contract. This field was
	// deprecated by <a href="https://hips.hedera.com/hip/hip-367">HIP-367</a>, which allowed
	// an account to be associated to an unlimited number of tokens. This scale makes it more
	// efficient for users to consult mirror nodes to review their token associations.
	//
	// Deprecated: Marked as deprecated in contract_get_info.proto.
	TokenRelationships []*TokenRelationship `protobuf:"bytes,11,rep,name=tokenRelationships,proto3" json:"tokenRelationships,omitempty"`
	// *
	// The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs.
	LedgerId []byte `protobuf:"bytes,12,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// *
	// ID of the an account to charge for auto-renewal of this contract. If not set, or set to an account with zero hbar
	// balance, the contract's own hbar balance will be used to cover auto-renewal fees.
	AutoRenewAccountId *AccountID `protobuf:"bytes,13,opt,name=auto_renew_account_id,json=autoRenewAccountId,proto3" json:"auto_renew_account_id,omitempty"`
	// *
	// The maximum number of tokens that a contract can be implicitly associated with.
	MaxAutomaticTokenAssociations int32 `` /* 154-byte string literal not displayed */
	// *
	// Staking metadata for this contract.
	StakingInfo *StakingInfoHedera `protobuf:"bytes,15,opt,name=staking_info,json=stakingInfo,proto3" json:"staking_info,omitempty"`
	// 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) GetAutoRenewAccountId

func (x *ContractGetInfoResponse_ContractInfo) GetAutoRenewAccountId() *AccountID

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

func (x *ContractGetInfoResponse_ContractInfo) GetLedgerId() []byte

func (*ContractGetInfoResponse_ContractInfo) GetMaxAutomaticTokenAssociations

func (x *ContractGetInfoResponse_ContractInfo) GetMaxAutomaticTokenAssociations() int32

func (*ContractGetInfoResponse_ContractInfo) GetMemo

func (*ContractGetInfoResponse_ContractInfo) GetStakingInfo

func (*ContractGetInfoResponse_ContractInfo) GetStorage

func (*ContractGetInfoResponse_ContractInfo) GetTokenRelationships deprecated

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

Deprecated: Marked as deprecated in contract_get_info.proto.

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 {

	// *
	// 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 smart contract instance for which the records should be retrieved
	ContractID *ContractID `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// contains filtered or unexported fields
}

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

Deprecated: Marked as deprecated in contract_get_records.proto.

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 {

	// *
	// 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 smart contract instance that this record is for
	ContractID *ContractID `protobuf:"bytes,2,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// *
	// List of records, each with contractCreateResult or contractCallResult as its body
	Records []*TransactionRecord `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
	// contains filtered or unexported fields
}

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

Deprecated: Marked as deprecated in contract_get_records.proto.

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 {

	// *
	// The shard number (nonnegative)
	ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`
	// *
	// The realm number (nonnegative)
	RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"`
	// Types that are assignable to Contract:
	//
	//	*ContractID_ContractNum
	//	*ContractID_EvmAddress
	Contract isContractID_Contract `protobuf_oneof:"contract"`
	// contains filtered or unexported fields
}

* The ID for a smart contract instance

func (*ContractID) Descriptor deprecated

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

Deprecated: Use ContractID.ProtoReflect.Descriptor instead.

func (*ContractID) GetContract

func (m *ContractID) GetContract() isContractID_Contract

func (*ContractID) GetContractNum

func (x *ContractID) GetContractNum() int64

func (*ContractID) GetEvmAddress

func (x *ContractID) GetEvmAddress() []byte

func (*ContractID) GetRealmNum

func (x *ContractID) GetRealmNum() int64

func (*ContractID) GetShardNum

func (x *ContractID) GetShardNum() int64

func (*ContractID) ProtoMessage

func (*ContractID) ProtoMessage()

func (*ContractID) ProtoReflect

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

func (*ContractID) Reset

func (x *ContractID) Reset()

func (*ContractID) String

func (x *ContractID) String() string

type ContractID_ContractNum

type ContractID_ContractNum struct {
	// *
	// A nonnegative number unique within a given shard and realm
	ContractNum int64 `protobuf:"varint,3,opt,name=contractNum,proto3,oneof"`
}

type ContractID_EvmAddress

type ContractID_EvmAddress struct {
	// *
	// The 20-byte EVM address of the contract to call.
	//
	// Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
	// This address is as follows:
	//
	//	<ol>
	//	  <li>The first 4 bytes are the big-endian representation of the shard.</li>
	//	  <li>The next 8 bytes are the big-endian representation of the realm.</li>
	//	  <li>The final 8 bytes are the big-endian representation of the number.</li>
	//	</ol>
	//
	// Contracts created via CREATE2 have an <b>additional, primary address</b> that is
	// derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
	// specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
	//
	// (Please do note that CREATE2 contracts can also be referenced by the three-part
	// EVM address described above.)
	EvmAddress []byte `protobuf:"bytes,4,opt,name=evm_address,json=evmAddress,proto3,oneof"`
}

type ContractLoginfo

type ContractLoginfo struct {

	// *
	// address of a contract that emitted the event
	ContractID *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// *
	// bloom filter for a particular log
	Bloom []byte `protobuf:"bytes,2,opt,name=bloom,proto3" json:"bloom,omitempty"`
	// *
	// topics of a particular event
	Topic [][]byte `protobuf:"bytes,3,rep,name=topic,proto3" json:"topic,omitempty"`
	// *
	// event data
	Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// 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 ContractNonceInfo

type ContractNonceInfo struct {

	// *
	// Id of the contract
	ContractId *ContractID `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// *
	// The current value of the contract account's nonce property
	Nonce int64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

* Info about a contract account's nonce value. A nonce of a contract is only incremented when that contract creates another contract.

func (*ContractNonceInfo) Descriptor deprecated

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

Deprecated: Use ContractNonceInfo.ProtoReflect.Descriptor instead.

func (*ContractNonceInfo) GetContractId

func (x *ContractNonceInfo) GetContractId() *ContractID

func (*ContractNonceInfo) GetNonce

func (x *ContractNonceInfo) GetNonce() int64

func (*ContractNonceInfo) ProtoMessage

func (*ContractNonceInfo) ProtoMessage()

func (*ContractNonceInfo) ProtoReflect

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

func (*ContractNonceInfo) Reset

func (x *ContractNonceInfo) Reset()

func (*ContractNonceInfo) String

func (x *ContractNonceInfo) 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"`
	// *
	// [Deprecated] The new id of the account to which the contract is proxy staked
	//
	// Deprecated: Marked as deprecated in contract_update.proto.
	ProxyAccountID *AccountID `protobuf:"bytes,6,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`
	// *
	// If an auto-renew account is in use, the lifetime to be added by each auto-renewal.
	AutoRenewPeriod *Duration `protobuf:"bytes,7,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// *
	// This field is unused and will have no impact on the specified smart contract.
	//
	// Deprecated: Marked as deprecated in contract_update.proto.
	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"`
	// *
	// If set, the new maximum number of tokens that this contract can be
	// automatically associated with (i.e., receive air-drops from).
	MaxAutomaticTokenAssociations *wrappers.Int32Value `` /* 153-byte string literal not displayed */
	// *
	// If set to the sentinel <tt>0.0.0</tt> AccountID, this field removes the contract's auto-renew
	// account. Otherwise it updates the contract's auto-renew account to the referenced account.
	AutoRenewAccountId *AccountID `protobuf:"bytes,12,opt,name=auto_renew_account_id,json=autoRenewAccountId,proto3" json:"auto_renew_account_id,omitempty"`
	// *
	// ID of the new account or node to which this contract is staking.
	//
	// Types that are assignable to StakedId:
	//
	//	*ContractUpdateTransactionBody_StakedAccountId
	//	*ContractUpdateTransactionBody_StakedNodeId
	StakedId isContractUpdateTransactionBody_StakedId `protobuf_oneof:"staked_id"`
	// *
	// If true, the contract declines receiving a staking reward.
	DeclineReward *wrappers.BoolValue `protobuf:"bytes,15,opt,name=decline_reward,json=declineReward,proto3" json:"decline_reward,omitempty"`
	// 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>.)
  4. If the update transaction sets the AccountID auto_renew_account_id wrapper field to anything other than the sentinel <tt>0.0.0</tt> value, then the key of the referenced account must sign.

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

func (x *ContractUpdateTransactionBody) GetAutoRenewAccountId() *AccountID

func (*ContractUpdateTransactionBody) GetAutoRenewPeriod

func (x *ContractUpdateTransactionBody) GetAutoRenewPeriod() *Duration

func (*ContractUpdateTransactionBody) GetContractID

func (x *ContractUpdateTransactionBody) GetContractID() *ContractID

func (*ContractUpdateTransactionBody) GetDeclineReward

func (x *ContractUpdateTransactionBody) GetDeclineReward() *wrappers.BoolValue

func (*ContractUpdateTransactionBody) GetExpirationTime

func (x *ContractUpdateTransactionBody) GetExpirationTime() *Timestamp

func (*ContractUpdateTransactionBody) GetFileID deprecated

func (x *ContractUpdateTransactionBody) GetFileID() *FileID

Deprecated: Marked as deprecated in contract_update.proto.

func (*ContractUpdateTransactionBody) GetMaxAutomaticTokenAssociations

func (x *ContractUpdateTransactionBody) GetMaxAutomaticTokenAssociations() *wrappers.Int32Value

func (*ContractUpdateTransactionBody) GetMemo deprecated

Deprecated: Marked as deprecated in contract_update.proto.

func (*ContractUpdateTransactionBody) GetMemoField

func (m *ContractUpdateTransactionBody) GetMemoField() isContractUpdateTransactionBody_MemoField

func (*ContractUpdateTransactionBody) GetMemoWrapper

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

func (*ContractUpdateTransactionBody) GetProxyAccountID deprecated

func (x *ContractUpdateTransactionBody) GetProxyAccountID() *AccountID

Deprecated: Marked as deprecated in contract_update.proto.

func (*ContractUpdateTransactionBody) GetStakedAccountId

func (x *ContractUpdateTransactionBody) GetStakedAccountId() *AccountID

func (*ContractUpdateTransactionBody) GetStakedId

func (m *ContractUpdateTransactionBody) GetStakedId() isContractUpdateTransactionBody_StakedId

func (*ContractUpdateTransactionBody) GetStakedNodeId

func (x *ContractUpdateTransactionBody) GetStakedNodeId() int64

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] If set with a non-zero length, the new memo to be associated with the account
	// (UTF-8 encoding max 100 bytes)
	//
	// Deprecated: Marked as deprecated in contract_update.proto.
	Memo string `protobuf:"bytes,9,opt,name=memo,proto3,oneof"`
}

type ContractUpdateTransactionBody_MemoWrapper

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

type ContractUpdateTransactionBody_StakedAccountId

type ContractUpdateTransactionBody_StakedAccountId struct {
	// *
	// ID of the new account to which this contract is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
	// this field removes the contract's staked account ID.
	StakedAccountId *AccountID `protobuf:"bytes,13,opt,name=staked_account_id,json=stakedAccountId,proto3,oneof"`
}

type ContractUpdateTransactionBody_StakedNodeId

type ContractUpdateTransactionBody_StakedNodeId struct {
	// *
	// ID of the new node this contract is staked to. If set to the sentinel <tt>-1</tt>, this field
	// removes the contract's staked node ID.
	StakedNodeId int64 `protobuf:"varint,14,opt,name=staked_node_id,json=stakedNodeId,proto3,oneof"`
}

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 CryptoAllowance

type CryptoAllowance struct {

	// *
	// The account ID of the hbar owner (ie. the grantor of the allowance).
	Owner *AccountID `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// *
	// The account ID of the spender of the hbar allowance.
	Spender *AccountID `protobuf:"bytes,2,opt,name=spender,proto3" json:"spender,omitempty"`
	// *
	// The amount of the spender's allowance in tinybars.
	Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

* An approved allowance of hbar transfers for a spender.

func (*CryptoAllowance) Descriptor deprecated

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

Deprecated: Use CryptoAllowance.ProtoReflect.Descriptor instead.

func (*CryptoAllowance) GetAmount

func (x *CryptoAllowance) GetAmount() int64

func (*CryptoAllowance) GetOwner

func (x *CryptoAllowance) GetOwner() *AccountID

func (*CryptoAllowance) GetSpender

func (x *CryptoAllowance) GetSpender() *AccountID

func (*CryptoAllowance) ProtoMessage

func (*CryptoAllowance) ProtoMessage()

func (*CryptoAllowance) ProtoReflect

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

func (*CryptoAllowance) Reset

func (x *CryptoAllowance) Reset()

func (*CryptoAllowance) String

func (x *CryptoAllowance) String() string

type CryptoApproveAllowanceTransactionBody

type CryptoApproveAllowanceTransactionBody struct {

	// *
	// List of hbar allowances approved by the account owner.
	CryptoAllowances []*CryptoAllowance `protobuf:"bytes,1,rep,name=cryptoAllowances,proto3" json:"cryptoAllowances,omitempty"`
	// *
	// List of non-fungible token allowances approved by the account owner.
	NftAllowances []*NftAllowance `protobuf:"bytes,2,rep,name=nftAllowances,proto3" json:"nftAllowances,omitempty"`
	// *
	// List of fungible token allowances approved by the account owner.
	TokenAllowances []*TokenAllowance `protobuf:"bytes,3,rep,name=tokenAllowances,proto3" json:"tokenAllowances,omitempty"`
	// contains filtered or unexported fields
}

* Creates one or more hbar/token approved allowances <b>relative to the owner account specified in the allowances of this transaction</b>. Each allowance grants a spender the right to transfer a pre-determined amount of the owner's hbar/token to any other account of the spender's choice. If the owner is not specified in any allowance, the payer of transaction is considered to be the owner for that particular allowance. Setting the amount to zero in CryptoAllowance or TokenAllowance will remove the respective allowance for the spender.

(So if account <tt>0.0.X</tt> pays for this transaction and owner is not specified in the allowance, then at consensus each spender account will have new allowances to spend hbar or tokens from <tt>0.0.X</tt>).

func (*CryptoApproveAllowanceTransactionBody) Descriptor deprecated

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

Deprecated: Use CryptoApproveAllowanceTransactionBody.ProtoReflect.Descriptor instead.

func (*CryptoApproveAllowanceTransactionBody) GetCryptoAllowances

func (x *CryptoApproveAllowanceTransactionBody) GetCryptoAllowances() []*CryptoAllowance

func (*CryptoApproveAllowanceTransactionBody) GetNftAllowances

func (x *CryptoApproveAllowanceTransactionBody) GetNftAllowances() []*NftAllowance

func (*CryptoApproveAllowanceTransactionBody) GetTokenAllowances

func (x *CryptoApproveAllowanceTransactionBody) GetTokenAllowances() []*TokenAllowance

func (*CryptoApproveAllowanceTransactionBody) ProtoMessage

func (*CryptoApproveAllowanceTransactionBody) ProtoMessage()

func (*CryptoApproveAllowanceTransactionBody) ProtoReflect

func (*CryptoApproveAllowanceTransactionBody) Reset

func (*CryptoApproveAllowanceTransactionBody) String

type CryptoCreateTransactionBody

type CryptoCreateTransactionBody struct {

	// *
	// 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.
	Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// *
	// The initial number of tinybars to put into the account
	InitialBalance uint64 `protobuf:"varint,2,opt,name=initialBalance,proto3" json:"initialBalance,omitempty"`
	// *
	// [Deprecated] 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: Marked as deprecated in crypto_create.proto.
	ProxyAccountID *AccountID `protobuf:"bytes,3,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`
	// *
	// [Deprecated]. The threshold amount (in tinybars) for which an account record is created for
	// any send/withdraw transaction
	//
	// Deprecated: Marked as deprecated in crypto_create.proto.
	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 receive/deposit transaction
	//
	// Deprecated: Marked as deprecated in crypto_create.proto.
	ReceiveRecordThreshold uint64 `protobuf:"varint,7,opt,name=receiveRecordThreshold,proto3" json:"receiveRecordThreshold,omitempty"`
	// *
	// If true, this account's key must sign any transaction depositing into this account (in
	// addition to all withdrawals)
	ReceiverSigRequired bool `protobuf:"varint,8,opt,name=receiverSigRequired,proto3" json:"receiverSigRequired,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.
	AutoRenewPeriod *Duration `protobuf:"bytes,9,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// *
	// The shard in which this account is created
	ShardID *ShardID `protobuf:"bytes,10,opt,name=shardID,proto3" json:"shardID,omitempty"`
	// *
	// The realm in which this account is created (leave this null to create a new realm)
	RealmID *RealmID `protobuf:"bytes,11,opt,name=realmID,proto3" json:"realmID,omitempty"`
	// *
	// If realmID is null, then this the admin key for the new realm that will be created
	NewRealmAdminKey *Key `protobuf:"bytes,12,opt,name=newRealmAdminKey,proto3" json:"newRealmAdminKey,omitempty"`
	// *
	// The memo associated with the account (UTF-8 encoding max 100 bytes)
	Memo string `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The maximum number of tokens that an Account can be implicitly associated with. Defaults to 0
	// and up to a maximum value of 1000.
	MaxAutomaticTokenAssociations int32 `` /* 154-byte string literal not displayed */
	// *
	// ID of the account or node to which this account is staking.
	//
	// Types that are assignable to StakedId:
	//
	//	*CryptoCreateTransactionBody_StakedAccountId
	//	*CryptoCreateTransactionBody_StakedNodeId
	StakedId isCryptoCreateTransactionBody_StakedId `protobuf_oneof:"staked_id"`
	// *
	// If true, the account declines receiving a staking reward. The default value is false.
	DeclineReward bool `protobuf:"varint,17,opt,name=decline_reward,json=declineReward,proto3" json:"decline_reward,omitempty"`
	// *
	// The bytes to be used as the account's alias. It will be the
	// serialization of a protobuf Key message for an ED25519/ECDSA_SECP256K1 primitive key type. Currently only primitive key bytes are
	// supported as the key for an account with an alias. ThresholdKey, KeyList, ContractID, and
	// delegatable_contract_id are not supported.
	//
	// May also be the EOA 20-byte address to create that is derived from the keccak-256 hash of a ECDSA_SECP256K1 primitive key.
	//
	// A given alias can map to at most one account on the network at a time. This uniqueness will be enforced
	// relative to aliases currently on the network at alias assignment.
	//
	// If a transaction creates an account using an alias, any further crypto transfers to that alias will
	// simply be deposited in that account, without creating anything, and with no creation fee being charged.
	Alias []byte `protobuf:"bytes,18,opt,name=alias,proto3" json:"alias,omitempty"`
	// 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. If the auto_renew_account field is set, the key of the referenced account must sign.

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

func (x *CryptoCreateTransactionBody) GetAlias() []byte

func (*CryptoCreateTransactionBody) GetAutoRenewPeriod

func (x *CryptoCreateTransactionBody) GetAutoRenewPeriod() *Duration

func (*CryptoCreateTransactionBody) GetDeclineReward

func (x *CryptoCreateTransactionBody) GetDeclineReward() bool

func (*CryptoCreateTransactionBody) GetInitialBalance

func (x *CryptoCreateTransactionBody) GetInitialBalance() uint64

func (*CryptoCreateTransactionBody) GetKey

func (x *CryptoCreateTransactionBody) GetKey() *Key

func (*CryptoCreateTransactionBody) GetMaxAutomaticTokenAssociations

func (x *CryptoCreateTransactionBody) GetMaxAutomaticTokenAssociations() int32

func (*CryptoCreateTransactionBody) GetMemo

func (x *CryptoCreateTransactionBody) GetMemo() string

func (*CryptoCreateTransactionBody) GetNewRealmAdminKey

func (x *CryptoCreateTransactionBody) GetNewRealmAdminKey() *Key

func (*CryptoCreateTransactionBody) GetProxyAccountID deprecated

func (x *CryptoCreateTransactionBody) GetProxyAccountID() *AccountID

Deprecated: Marked as deprecated in crypto_create.proto.

func (*CryptoCreateTransactionBody) GetRealmID

func (x *CryptoCreateTransactionBody) GetRealmID() *RealmID

func (*CryptoCreateTransactionBody) GetReceiveRecordThreshold deprecated

func (x *CryptoCreateTransactionBody) GetReceiveRecordThreshold() uint64

Deprecated: Marked as deprecated in crypto_create.proto.

func (*CryptoCreateTransactionBody) GetReceiverSigRequired

func (x *CryptoCreateTransactionBody) GetReceiverSigRequired() bool

func (*CryptoCreateTransactionBody) GetSendRecordThreshold deprecated

func (x *CryptoCreateTransactionBody) GetSendRecordThreshold() uint64

Deprecated: Marked as deprecated in crypto_create.proto.

func (*CryptoCreateTransactionBody) GetShardID

func (x *CryptoCreateTransactionBody) GetShardID() *ShardID

func (*CryptoCreateTransactionBody) GetStakedAccountId

func (x *CryptoCreateTransactionBody) GetStakedAccountId() *AccountID

func (*CryptoCreateTransactionBody) GetStakedId

func (m *CryptoCreateTransactionBody) GetStakedId() isCryptoCreateTransactionBody_StakedId

func (*CryptoCreateTransactionBody) GetStakedNodeId

func (x *CryptoCreateTransactionBody) GetStakedNodeId() int64

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 CryptoCreateTransactionBody_StakedAccountId

type CryptoCreateTransactionBody_StakedAccountId struct {
	// *
	// ID of the account to which this account is staking.
	StakedAccountId *AccountID `protobuf:"bytes,15,opt,name=staked_account_id,json=stakedAccountId,proto3,oneof"`
}

type CryptoCreateTransactionBody_StakedNodeId

type CryptoCreateTransactionBody_StakedNodeId struct {
	// *
	// ID of the node this account is staked to.
	StakedNodeId int64 `protobuf:"varint,16,opt,name=staked_node_id,json=stakedNodeId,proto3,oneof"`
}

type CryptoDeleteAllowanceTransactionBody

type CryptoDeleteAllowanceTransactionBody struct {

	// *
	// List of non-fungible token allowances to remove.
	NftAllowances []*NftRemoveAllowance `protobuf:"bytes,2,rep,name=nftAllowances,proto3" json:"nftAllowances,omitempty"`
	// contains filtered or unexported fields
}

* Deletes one or more non-fungible approved allowances from an owner's account. This operation will remove the allowances granted to one or more specific non-fungible token serial numbers. Each owner account listed as wiping an allowance must sign the transaction. Hbar and fungible token allowances can be removed by setting the amount to zero in CryptoApproveAllowance.

func (*CryptoDeleteAllowanceTransactionBody) Descriptor deprecated

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

Deprecated: Use CryptoDeleteAllowanceTransactionBody.ProtoReflect.Descriptor instead.

func (*CryptoDeleteAllowanceTransactionBody) GetNftAllowances

func (*CryptoDeleteAllowanceTransactionBody) ProtoMessage

func (*CryptoDeleteAllowanceTransactionBody) ProtoMessage()

func (*CryptoDeleteAllowanceTransactionBody) ProtoReflect

func (*CryptoDeleteAllowanceTransactionBody) Reset

func (*CryptoDeleteAllowanceTransactionBody) 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 {

	// *
	// The account ID which will receive all remaining hbars
	TransferAccountID *AccountID `protobuf:"bytes,1,opt,name=transferAccountID,proto3" json:"transferAccountID,omitempty"`
	// *
	// The account ID which should be deleted
	DeleteAccountID *AccountID `protobuf:"bytes,2,opt,name=deleteAccountID,proto3" json:"deleteAccountID,omitempty"`
	// 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 {

	// *
	// 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"`
	// 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 {
	// *
	// The account ID for which information is requested
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3,oneof"`
}

type CryptoGetAccountBalanceQuery_ContractID

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

type CryptoGetAccountBalanceResponse

type CryptoGetAccountBalanceResponse 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 account ID that is being described (this is useful with state proofs, for proving to a
	// third party)
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// *
	// The current balance, in tinybars.
	Balance uint64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"`
	// *
	// [DEPRECATED] The balances of the tokens associated to the account. This field was
	// deprecated by <a href="https://hips.hedera.com/hip/hip-367">HIP-367</a>, which allowed
	// an account to be associated to an unlimited number of tokens. This scale makes it more
	// efficient for users to consult mirror nodes to review their token balances.
	//
	// Deprecated: Marked as deprecated in crypto_get_account_balance.proto.
	TokenBalances []*TokenBalance `protobuf:"bytes,4,rep,name=tokenBalances,proto3" json:"tokenBalances,omitempty"`
	// 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 deprecated

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

Deprecated: Marked as deprecated in crypto_get_account_balance.proto.

func (*CryptoGetAccountBalanceResponse) ProtoMessage

func (*CryptoGetAccountBalanceResponse) ProtoMessage()

func (*CryptoGetAccountBalanceResponse) ProtoReflect

func (*CryptoGetAccountBalanceResponse) Reset

func (*CryptoGetAccountBalanceResponse) String

type CryptoGetAccountRecordsQuery

type CryptoGetAccountRecordsQuery 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 ID for which the records should be retrieved
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// 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 {

	// *
	// 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 account that this record is for
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// *
	// List of records
	Records []*TransactionRecord `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
	// 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 {

	// *
	// 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 ID for which information is requested
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// 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 {

	// *
	// 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"`
	// *
	// Info about the account (a state proof can be generated for this)
	AccountInfo *CryptoGetInfoResponse_AccountInfo `protobuf:"bytes,2,opt,name=accountInfo,proto3" json:"accountInfo,omitempty"`
	// 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 {

	// *
	// The account ID for which this information applies
	AccountID *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,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
	ContractAccountID string `protobuf:"bytes,2,opt,name=contractAccountID,proto3" json:"contractAccountID,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
	Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// *
	// [Deprecated] 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.
	//
	// Deprecated: Marked as deprecated in crypto_get_info.proto.
	ProxyAccountID *AccountID `protobuf:"bytes,4,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`
	// *
	// The total number of tinybars proxy staked to this account
	ProxyReceived int64 `protobuf:"varint,6,opt,name=proxyReceived,proto3" json:"proxyReceived,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.
	Key *Key `protobuf:"bytes,7,opt,name=key,proto3" json:"key,omitempty"`
	// *
	// The current balance of account in tinybars
	Balance uint64 `protobuf:"varint,8,opt,name=balance,proto3" json:"balance,omitempty"`
	// *
	// [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: Marked as deprecated in crypto_get_info.proto.
	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: Marked as deprecated in crypto_get_info.proto.
	GenerateReceiveRecordThreshold uint64 `protobuf:"varint,10,opt,name=generateReceiveRecordThreshold,proto3" json:"generateReceiveRecordThreshold,omitempty"`
	// *
	// If true, no transaction can transfer to this account unless signed by this account's key
	ReceiverSigRequired bool `protobuf:"varint,11,opt,name=receiverSigRequired,proto3" json:"receiverSigRequired,omitempty"`
	// *
	// The TimeStamp time at which this account is set to expire
	ExpirationTime *Timestamp `protobuf:"bytes,12,opt,name=expirationTime,proto3" json:"expirationTime,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.
	AutoRenewPeriod *Duration `protobuf:"bytes,13,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,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)
	LiveHashes []*LiveHash `protobuf:"bytes,14,rep,name=liveHashes,proto3" json:"liveHashes,omitempty"`
	// *
	// [DEPRECATED] The metadata of the tokens associated to the account. This field was
	// deprecated by <a href="https://hips.hedera.com/hip/hip-367">HIP-367</a>, which allowed
	// an account to be associated to an unlimited number of tokens. This scale makes it more
	// efficient for users to consult mirror nodes to review their token associations.
	//
	// Deprecated: Marked as deprecated in crypto_get_info.proto.
	TokenRelationships []*TokenRelationship `protobuf:"bytes,15,rep,name=tokenRelationships,proto3" json:"tokenRelationships,omitempty"`
	// *
	// The memo associated with the account
	Memo string `protobuf:"bytes,16,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The number of NFTs owned by this account
	OwnedNfts int64 `protobuf:"varint,17,opt,name=ownedNfts,proto3" json:"ownedNfts,omitempty"`
	// *
	// The maximum number of tokens that an Account can be implicitly associated with.
	MaxAutomaticTokenAssociations int32 `` /* 154-byte string literal not displayed */
	// *
	// The alias of this account
	Alias []byte `protobuf:"bytes,19,opt,name=alias,proto3" json:"alias,omitempty"`
	// *
	// The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs.
	LedgerId []byte `protobuf:"bytes,20,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// *
	// The ethereum transaction nonce associated with this account.
	EthereumNonce int64 `protobuf:"varint,21,opt,name=ethereum_nonce,json=ethereumNonce,proto3" json:"ethereum_nonce,omitempty"`
	// *
	// Staking metadata for this account.
	StakingInfo *StakingInfoHedera `protobuf:"bytes,22,opt,name=staking_info,json=stakingInfo,proto3" json:"staking_info,omitempty"`
	// 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) GetAlias

func (x *CryptoGetInfoResponse_AccountInfo) GetAlias() []byte

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

func (x *CryptoGetInfoResponse_AccountInfo) GetEthereumNonce() int64

func (*CryptoGetInfoResponse_AccountInfo) GetExpirationTime

func (x *CryptoGetInfoResponse_AccountInfo) GetExpirationTime() *Timestamp

func (*CryptoGetInfoResponse_AccountInfo) GetGenerateReceiveRecordThreshold deprecated

func (x *CryptoGetInfoResponse_AccountInfo) GetGenerateReceiveRecordThreshold() uint64

Deprecated: Marked as deprecated in crypto_get_info.proto.

func (*CryptoGetInfoResponse_AccountInfo) GetGenerateSendRecordThreshold deprecated

func (x *CryptoGetInfoResponse_AccountInfo) GetGenerateSendRecordThreshold() uint64

Deprecated: Marked as deprecated in crypto_get_info.proto.

func (*CryptoGetInfoResponse_AccountInfo) GetKey

func (*CryptoGetInfoResponse_AccountInfo) GetLedgerId

func (x *CryptoGetInfoResponse_AccountInfo) GetLedgerId() []byte

func (*CryptoGetInfoResponse_AccountInfo) GetLiveHashes

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

func (*CryptoGetInfoResponse_AccountInfo) GetMaxAutomaticTokenAssociations

func (x *CryptoGetInfoResponse_AccountInfo) GetMaxAutomaticTokenAssociations() int32

func (*CryptoGetInfoResponse_AccountInfo) GetMemo

func (*CryptoGetInfoResponse_AccountInfo) GetOwnedNfts

func (x *CryptoGetInfoResponse_AccountInfo) GetOwnedNfts() int64

func (*CryptoGetInfoResponse_AccountInfo) GetProxyAccountID deprecated

func (x *CryptoGetInfoResponse_AccountInfo) GetProxyAccountID() *AccountID

Deprecated: Marked as deprecated in crypto_get_info.proto.

func (*CryptoGetInfoResponse_AccountInfo) GetProxyReceived

func (x *CryptoGetInfoResponse_AccountInfo) GetProxyReceived() int64

func (*CryptoGetInfoResponse_AccountInfo) GetReceiverSigRequired

func (x *CryptoGetInfoResponse_AccountInfo) GetReceiverSigRequired() bool

func (*CryptoGetInfoResponse_AccountInfo) GetStakingInfo

func (*CryptoGetInfoResponse_AccountInfo) GetTokenRelationships deprecated

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

Deprecated: Marked as deprecated in crypto_get_info.proto.

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 {

	// *
	// 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 ID for which the records should be retrieved
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// 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 {

	// *
	// 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"`
	// *
	// List of accounts proxy staking to this account, and the amount each is currently proxy
	// staking
	Stakers *AllProxyStakers `protobuf:"bytes,3,opt,name=stakers,proto3" json:"stakers,omitempty"`
	// 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)
	// *
	// Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
	ApproveAllowances(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// *
	// Deletes one or more of the specific approved NFT serial numbers on an owner account.
	DeleteAllowances(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)
	// *
	// Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
	ApproveAllowances(context.Context, *Transaction) (*TransactionResponse, error)
	// *
	// Deletes one or more of the specific approved NFT serial numbers on an owner account.
	DeleteAllowances(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 {

	// *
	// The desired hbar balance adjustments
	Transfers *TransferList `protobuf:"bytes,1,opt,name=transfers,proto3" json:"transfers,omitempty"`
	// *
	// The desired token unit balance adjustments; if any custom fees are assessed, the ledger will
	// try to deduct them from the payer of this CryptoTransfer, resolving the transaction to
	// INSUFFICIENT_PAYER_BALANCE_FOR_CUSTOM_FEE if this is not possible
	TokenTransfers []*TokenTransferList `protobuf:"bytes,2,rep,name=tokenTransfers,proto3" json:"tokenTransfers,omitempty"`
	// contains filtered or unexported fields
}

* Transfers cryptocurrency among two or more accounts by making the desired adjustments to their balances. Each transfer list can specify up to 10 adjustments. Each negative amount is withdrawn from the corresponding account (a sender), and each positive one is added to the corresponding account (a receiver). The amounts list must sum to zero. Each amount is a number of tinybars (there are 100,000,000 tinybars in one hbar). If any sender account fails to have sufficient hbars, then the entire transaction fails, and none of those transfers occur, though the transaction fee is still charged. This transaction must be signed by the keys for all the sending accounts, and for any receiving accounts that have receiverSigRequired == true. The signatures are in the same order as the accounts, skipping those accounts that don't need a signature.

func (*CryptoTransferTransactionBody) Descriptor deprecated

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

Deprecated: Use CryptoTransferTransactionBody.ProtoReflect.Descriptor instead.

func (*CryptoTransferTransactionBody) GetTokenTransfers

func (x *CryptoTransferTransactionBody) GetTokenTransfers() []*TokenTransferList

func (*CryptoTransferTransactionBody) GetTransfers

func (x *CryptoTransferTransactionBody) GetTransfers() *TransferList

func (*CryptoTransferTransactionBody) ProtoMessage

func (*CryptoTransferTransactionBody) ProtoMessage()

func (*CryptoTransferTransactionBody) ProtoReflect

func (*CryptoTransferTransactionBody) Reset

func (x *CryptoTransferTransactionBody) Reset()

func (*CryptoTransferTransactionBody) String

type CryptoUpdateTransactionBody

type CryptoUpdateTransactionBody struct {

	// *
	// The account ID which is being updated in this transaction
	AccountIDToUpdate *AccountID `protobuf:"bytes,2,opt,name=accountIDToUpdate,proto3" json:"accountIDToUpdate,omitempty"`
	// *
	// The new key
	Key *Key `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// *
	// [Deprecated] 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: Marked as deprecated in crypto_update.proto.
	ProxyAccountID *AccountID `protobuf:"bytes,4,opt,name=proxyAccountID,proto3" json:"proxyAccountID,omitempty"`
	// *
	// [Deprecated]. Payments earned from proxy staking are shared between the node and this
	// account, with proxyFraction / 10000 going to this account
	//
	// Deprecated: Marked as deprecated in crypto_update.proto.
	ProxyFraction int32 `protobuf:"varint,5,opt,name=proxyFraction,proto3" json:"proxyFraction,omitempty"`
	// 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"`
	// *
	// 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.
	AutoRenewPeriod *Duration `protobuf:"bytes,8,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// *
	// The new expiration time to extend to (ignored if equal to or before the current one)
	ExpirationTime *Timestamp `protobuf:"bytes,9,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	// Types that are assignable to ReceiverSigRequiredField:
	//
	//	*CryptoUpdateTransactionBody_ReceiverSigRequired
	//	*CryptoUpdateTransactionBody_ReceiverSigRequiredWrapper
	ReceiverSigRequiredField isCryptoUpdateTransactionBody_ReceiverSigRequiredField `protobuf_oneof:"receiverSigRequiredField"`
	// *
	// If set, the new memo to be associated with the account (UTF-8 encoding max 100 bytes)
	Memo *wrappers.StringValue `protobuf:"bytes,14,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The maximum number of tokens that an Account can be implicitly associated with. Up to a 1000
	// including implicit and explicit associations.
	MaxAutomaticTokenAssociations *wrappers.Int32Value `` /* 153-byte string literal not displayed */
	// *
	// ID of the account or node to which this account is staking.
	//
	// Types that are assignable to StakedId:
	//
	//	*CryptoUpdateTransactionBody_StakedAccountId
	//	*CryptoUpdateTransactionBody_StakedNodeId
	StakedId isCryptoUpdateTransactionBody_StakedId `protobuf_oneof:"staked_id"`
	// *
	// If true, the account declines receiving a staking reward. The default value is false.
	DeclineReward *wrappers.BoolValue `protobuf:"bytes,18,opt,name=decline_reward,json=declineReward,proto3" json:"decline_reward,omitempty"`
	// 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. If the update transaction sets the <tt>auto_renew_account</tt> field to anything other than the sentinel <tt>0.0.0</tt>, the key of the referenced account must sign.

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

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

func (*CryptoUpdateTransactionBody) GetExpirationTime

func (x *CryptoUpdateTransactionBody) GetExpirationTime() *Timestamp

func (*CryptoUpdateTransactionBody) GetKey

func (x *CryptoUpdateTransactionBody) GetKey() *Key

func (*CryptoUpdateTransactionBody) GetMaxAutomaticTokenAssociations

func (x *CryptoUpdateTransactionBody) GetMaxAutomaticTokenAssociations() *wrappers.Int32Value

func (*CryptoUpdateTransactionBody) GetMemo

func (*CryptoUpdateTransactionBody) GetProxyAccountID deprecated

func (x *CryptoUpdateTransactionBody) GetProxyAccountID() *AccountID

Deprecated: Marked as deprecated in crypto_update.proto.

func (*CryptoUpdateTransactionBody) GetProxyFraction deprecated

func (x *CryptoUpdateTransactionBody) GetProxyFraction() int32

Deprecated: Marked as deprecated in crypto_update.proto.

func (*CryptoUpdateTransactionBody) GetReceiveRecordThreshold deprecated

func (x *CryptoUpdateTransactionBody) GetReceiveRecordThreshold() uint64

Deprecated: Marked as deprecated in crypto_update.proto.

func (*CryptoUpdateTransactionBody) GetReceiveRecordThresholdField

func (m *CryptoUpdateTransactionBody) GetReceiveRecordThresholdField() isCryptoUpdateTransactionBody_ReceiveRecordThresholdField

func (*CryptoUpdateTransactionBody) GetReceiveRecordThresholdWrapper deprecated

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

Deprecated: Marked as deprecated in crypto_update.proto.

func (*CryptoUpdateTransactionBody) GetReceiverSigRequired deprecated

func (x *CryptoUpdateTransactionBody) GetReceiverSigRequired() bool

Deprecated: Marked as deprecated in crypto_update.proto.

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: Marked as deprecated in crypto_update.proto.

func (*CryptoUpdateTransactionBody) GetSendRecordThresholdField

func (m *CryptoUpdateTransactionBody) GetSendRecordThresholdField() isCryptoUpdateTransactionBody_SendRecordThresholdField

func (*CryptoUpdateTransactionBody) GetSendRecordThresholdWrapper deprecated

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

Deprecated: Marked as deprecated in crypto_update.proto.

func (*CryptoUpdateTransactionBody) GetStakedAccountId

func (x *CryptoUpdateTransactionBody) GetStakedAccountId() *AccountID

func (*CryptoUpdateTransactionBody) GetStakedId

func (m *CryptoUpdateTransactionBody) GetStakedId() isCryptoUpdateTransactionBody_StakedId

func (*CryptoUpdateTransactionBody) GetStakedNodeId

func (x *CryptoUpdateTransactionBody) GetStakedNodeId() int64

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]. The new threshold amount (in tinybars) for which an account record is
	// created for any receive/deposit transaction.
	//
	// Deprecated: Marked as deprecated in crypto_update.proto.
	ReceiveRecordThreshold uint64 `protobuf:"varint,7,opt,name=receiveRecordThreshold,proto3,oneof"`
}

type CryptoUpdateTransactionBody_ReceiveRecordThresholdWrapper

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

type CryptoUpdateTransactionBody_ReceiverSigRequired

type CryptoUpdateTransactionBody_ReceiverSigRequired struct {
	// *
	// [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.
	//
	// Deprecated: Marked as deprecated in crypto_update.proto.
	ReceiverSigRequired bool `protobuf:"varint,10,opt,name=receiverSigRequired,proto3,oneof"`
}

type CryptoUpdateTransactionBody_ReceiverSigRequiredWrapper

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

type CryptoUpdateTransactionBody_SendRecordThreshold

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

type CryptoUpdateTransactionBody_SendRecordThresholdWrapper

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

type CryptoUpdateTransactionBody_StakedAccountId

type CryptoUpdateTransactionBody_StakedAccountId struct {
	// *
	// ID of the new account to which this account is staking. If set to the sentinel <tt>0.0.0</tt> AccountID,
	// this field removes this account's staked account ID.
	StakedAccountId *AccountID `protobuf:"bytes,16,opt,name=staked_account_id,json=stakedAccountId,proto3,oneof"`
}

type CryptoUpdateTransactionBody_StakedNodeId

type CryptoUpdateTransactionBody_StakedNodeId struct {
	// *
	// ID of the new node this account is staked to. If set to the sentinel <tt>-1</tt>, this field
	// removes this account's staked node ID.
	StakedNodeId int64 `protobuf:"varint,17,opt,name=staked_node_id,json=stakedNodeId,proto3,oneof"`
}

type CurrentAndNextFeeSchedule

type CurrentAndNextFeeSchedule struct {

	// *
	// Contains current Fee Schedule
	CurrentFeeSchedule *FeeSchedule `protobuf:"bytes,1,opt,name=currentFeeSchedule,proto3" json:"currentFeeSchedule,omitempty"`
	// *
	// Contains next Fee Schedule
	NextFeeSchedule *FeeSchedule `protobuf:"bytes,2,opt,name=nextFeeSchedule,proto3" json:"nextFeeSchedule,omitempty"`
	// contains filtered or unexported fields
}

* This contains two Fee Schedules with expiry timestamp.

func (*CurrentAndNextFeeSchedule) Descriptor deprecated

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

Deprecated: Use CurrentAndNextFeeSchedule.ProtoReflect.Descriptor instead.

func (*CurrentAndNextFeeSchedule) GetCurrentFeeSchedule

func (x *CurrentAndNextFeeSchedule) GetCurrentFeeSchedule() *FeeSchedule

func (*CurrentAndNextFeeSchedule) GetNextFeeSchedule

func (x *CurrentAndNextFeeSchedule) GetNextFeeSchedule() *FeeSchedule

func (*CurrentAndNextFeeSchedule) ProtoMessage

func (*CurrentAndNextFeeSchedule) ProtoMessage()

func (*CurrentAndNextFeeSchedule) ProtoReflect

func (*CurrentAndNextFeeSchedule) Reset

func (x *CurrentAndNextFeeSchedule) Reset()

func (*CurrentAndNextFeeSchedule) String

func (x *CurrentAndNextFeeSchedule) String() string

type CustomFee

type CustomFee struct {

	// Types that are assignable to Fee:
	//
	//	*CustomFee_FixedFee
	//	*CustomFee_FractionalFee
	//	*CustomFee_RoyaltyFee
	Fee isCustomFee_Fee `protobuf_oneof:"fee"`
	// *
	// The account to receive the custom fee
	FeeCollectorAccountId *AccountID `` /* 128-byte string literal not displayed */
	// *
	// If true, exempts all the token's fee collection accounts from this fee.
	// (The token's treasury and the above fee_collector_account_id will always
	// be exempt. Please see <a href="https://hips.hedera.com/hip/hip-573">HIP-573</a>
	// for details.)
	AllCollectorsAreExempt bool `` /* 132-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

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

Deprecated: Use CustomFee.ProtoReflect.Descriptor instead.

func (*CustomFee) GetAllCollectorsAreExempt

func (x *CustomFee) GetAllCollectorsAreExempt() bool

func (*CustomFee) GetFee

func (m *CustomFee) GetFee() isCustomFee_Fee

func (*CustomFee) GetFeeCollectorAccountId

func (x *CustomFee) GetFeeCollectorAccountId() *AccountID

func (*CustomFee) GetFixedFee

func (x *CustomFee) GetFixedFee() *FixedFee

func (*CustomFee) GetFractionalFee

func (x *CustomFee) GetFractionalFee() *FractionalFee

func (*CustomFee) GetRoyaltyFee

func (x *CustomFee) GetRoyaltyFee() *RoyaltyFee

func (*CustomFee) ProtoMessage

func (*CustomFee) ProtoMessage()

func (*CustomFee) ProtoReflect

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

func (*CustomFee) Reset

func (x *CustomFee) Reset()

func (*CustomFee) String

func (x *CustomFee) String() string

type CustomFee_FixedFee

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

type CustomFee_FractionalFee

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

type CustomFee_RoyaltyFee

type CustomFee_RoyaltyFee struct {
	// *
	// Royalty fee to be charged
	RoyaltyFee *RoyaltyFee `protobuf:"bytes,4,opt,name=royalty_fee,json=royaltyFee,proto3,oneof"`
}

type Duration

type Duration struct {

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

* A length of time in seconds.

func (*Duration) Descriptor deprecated

func (*Duration) 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 {
	// *
	// The Account ID for the cryptocurrency account
	AccountID *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3,oneof"`
}

type EntityID_ContractID

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

type EntityID_FileID

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

type EntityID_LiveHash

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

type EthereumTransactionBody

type EthereumTransactionBody struct {

	// *
	// The raw Ethereum transaction (RLP encoded type 0, 1, and 2). Complete
	// unless the callData field is set.
	EthereumData []byte `protobuf:"bytes,1,opt,name=ethereum_data,json=ethereumData,proto3" json:"ethereum_data,omitempty"`
	// *
	// For large transactions (for example contract create) this is the callData
	// of the ethereumData. The data in the ethereumData will be re-written with
	// the callData element as a zero length string with the original contents in
	// the referenced file at time of execution. The ethereumData will need to be
	// "rehydrated" with the callData for signature validation to pass.
	CallData *FileID `protobuf:"bytes,2,opt,name=call_data,json=callData,proto3" json:"call_data,omitempty"`
	// *
	// The maximum amount, in tinybars, that the payer of the hedera transaction
	// is willing to pay to complete the transaction.
	//
	// Ordinarily the account with the ECDSA alias corresponding to the public
	// key that is extracted from the ethereum_data signature is responsible for
	// fees that result from the execution of the transaction. If that amount of
	// authorized fees is not sufficient then the payer of the transaction can be
	// charged, up to but not exceeding this amount. If the ethereum_data
	// transaction authorized an amount that was insufficient then the payer will
	// only be charged the amount needed to make up the difference. If the gas
	// price in the transaction was set to zero then the payer will be assessed
	// the entire fee.
	MaxGasAllowance int64 `protobuf:"varint,3,opt,name=max_gas_allowance,json=maxGasAllowance,proto3" json:"max_gas_allowance,omitempty"`
	// contains filtered or unexported fields
}

func (*EthereumTransactionBody) Descriptor deprecated

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

Deprecated: Use EthereumTransactionBody.ProtoReflect.Descriptor instead.

func (*EthereumTransactionBody) GetCallData

func (x *EthereumTransactionBody) GetCallData() *FileID

func (*EthereumTransactionBody) GetEthereumData

func (x *EthereumTransactionBody) GetEthereumData() []byte

func (*EthereumTransactionBody) GetMaxGasAllowance

func (x *EthereumTransactionBody) GetMaxGasAllowance() int64

func (*EthereumTransactionBody) ProtoMessage

func (*EthereumTransactionBody) ProtoMessage()

func (*EthereumTransactionBody) ProtoReflect

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

func (*EthereumTransactionBody) Reset

func (x *EthereumTransactionBody) Reset()

func (*EthereumTransactionBody) String

func (x *EthereumTransactionBody) String() string

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 {

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

* A set of prices the nodes use in determining transaction and query fees, and constants involved in fee calculations. Nodes multiply the amount of resources consumed by a transaction or query by the corresponding price to calculate the appropriate fee. Units are one-thousandth of a tinyCent.

func (*FeeComponents) Descriptor deprecated

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

Deprecated: Use FeeComponents.ProtoReflect.Descriptor instead.

func (*FeeComponents) GetBpr

func (x *FeeComponents) GetBpr() int64

func (*FeeComponents) GetBpt

func (x *FeeComponents) GetBpt() int64

func (*FeeComponents) GetConstant

func (x *FeeComponents) GetConstant() int64

func (*FeeComponents) GetGas

func (x *FeeComponents) GetGas() int64

func (*FeeComponents) GetMax

func (x *FeeComponents) GetMax() int64

func (*FeeComponents) GetMin

func (x *FeeComponents) GetMin() int64

func (*FeeComponents) GetRbh

func (x *FeeComponents) GetRbh() int64

func (*FeeComponents) GetSbh

func (x *FeeComponents) GetSbh() int64

func (*FeeComponents) GetSbpr

func (x *FeeComponents) GetSbpr() int64

func (*FeeComponents) GetTv

func (x *FeeComponents) GetTv() int64

func (*FeeComponents) GetVpt

func (x *FeeComponents) GetVpt() int64

func (*FeeComponents) ProtoMessage

func (*FeeComponents) ProtoMessage()

func (*FeeComponents) ProtoReflect

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

func (*FeeComponents) Reset

func (x *FeeComponents) Reset()

func (*FeeComponents) String

func (x *FeeComponents) String() string

type FeeData

type FeeData struct {

	// *
	// Fee paid to the submitting node
	Nodedata *FeeComponents `protobuf:"bytes,1,opt,name=nodedata,proto3" json:"nodedata,omitempty"`
	// *
	// Fee paid to the network for processing a transaction into consensus
	Networkdata *FeeComponents `protobuf:"bytes,2,opt,name=networkdata,proto3" json:"networkdata,omitempty"`
	// *
	// Fee paid to the network for providing the service associated with the
	// transaction; for instance, storing a file
	Servicedata *FeeComponents `protobuf:"bytes,3,opt,name=servicedata,proto3" json:"servicedata,omitempty"`
	// *
	// SubType distinguishing between different types of FeeData, correlating
	// to the same HederaFunctionality
	SubType SubType `protobuf:"varint,4,opt,name=subType,proto3,enum=proto.SubType" json:"subType,omitempty"`
	// contains filtered or unexported fields
}

* The total fee charged for a transaction. It is composed of three components - a node fee that compensates the specific node that submitted the transaction, a network fee that compensates the network for assigning the transaction a consensus timestamp, and a service fee that compensates the network for the ongoing maintenance of the consequences of the transaction.

func (*FeeData) Descriptor deprecated

func (*FeeData) 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 {

	// *
	// The time at which this file should expire (unless FileUpdateTransaction is used before then
	// to extend its life)
	ExpirationTime *Timestamp `protobuf:"bytes,2,opt,name=expirationTime,proto3" json:"expirationTime,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.
	Keys *KeyList `protobuf:"bytes,3,opt,name=keys,proto3" json:"keys,omitempty"`
	// *
	// The bytes that are the contents of the file
	Contents []byte `protobuf:"bytes,4,opt,name=contents,proto3" json:"contents,omitempty"`
	// *
	// Shard in which this file is created
	ShardID *ShardID `protobuf:"bytes,5,opt,name=shardID,proto3" json:"shardID,omitempty"`
	// *
	// The Realm in which to the file is created (leave this null to create a new realm)
	RealmID *RealmID `protobuf:"bytes,6,opt,name=realmID,proto3" json:"realmID,omitempty"`
	// *
	// If realmID is null, then this the admin key for the new realm that will be created
	NewRealmAdminKey *Key `protobuf:"bytes,7,opt,name=newRealmAdminKey,proto3" json:"newRealmAdminKey,omitempty"`
	// *
	// The memo associated with the file (UTF-8 encoding max 100 bytes)
	Memo string `protobuf:"bytes,8,opt,name=memo,proto3" json:"memo,omitempty"`
	// 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 the auto_renew_account field is set, the key of the referenced account must sign.

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 {

	// *
	// The file to delete. It will be marked as deleted until it expires. Then it will disappear.
	FileID *FileID `protobuf:"bytes,2,opt,name=fileID,proto3" json:"fileID,omitempty"`
	// 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 {

	// *
	// 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 file ID of the file whose contents are requested
	FileID *FileID `protobuf:"bytes,2,opt,name=fileID,proto3" json:"fileID,omitempty"`
	// 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 {

	// *
	// 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 file ID and contents (a state proof can be generated for this)
	FileContents *FileGetContentsResponse_FileContents `protobuf:"bytes,2,opt,name=fileContents,proto3" json:"fileContents,omitempty"`
	// 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 {

	// *
	// The file ID of the file whose contents are being returned
	FileID *FileID `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"`
	// *
	// The bytes contained in the file
	Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"`
	// 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 {

	// *
	// 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 file ID of the file for which information is requested
	FileID *FileID `protobuf:"bytes,2,opt,name=fileID,proto3" json:"fileID,omitempty"`
	// 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 {

	// *
	// 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 information about the file
	FileInfo *FileGetInfoResponse_FileInfo `protobuf:"bytes,2,opt,name=fileInfo,proto3" json:"fileInfo,omitempty"`
	// 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 {

	// *
	// The file ID of the file for which information is requested
	FileID *FileID `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"`
	// *
	// Number of bytes in contents
	Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// *
	// The current time at which this account is set to expire
	ExpirationTime *Timestamp `protobuf:"bytes,3,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	// *
	// True if deleted but not yet expired
	Deleted bool `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// *
	// One of these keys must sign in order to modify or delete the file
	Keys *KeyList `protobuf:"bytes,5,opt,name=keys,proto3" json:"keys,omitempty"`
	// *
	// The memo associated with the file
	Memo string `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs.
	LedgerId []byte `protobuf:"bytes,7,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// 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) GetLedgerId

func (x *FileGetInfoResponse_FileInfo) GetLedgerId() []byte

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 {

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

* The ID for a file

func (*FileID) Descriptor deprecated

func (*FileID) 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 {

	// *
	// The ID of the file to update
	FileID *FileID `protobuf:"bytes,1,opt,name=fileID,proto3" json:"fileID,omitempty"`
	// *
	// The new expiry time (ignored if not later than the current expiry)
	ExpirationTime *Timestamp `protobuf:"bytes,2,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	// *
	// The new list of keys that can modify or delete the file
	Keys *KeyList `protobuf:"bytes,3,opt,name=keys,proto3" json:"keys,omitempty"`
	// *
	// The new contents that should overwrite the file's current contents
	Contents []byte `protobuf:"bytes,4,opt,name=contents,proto3" json:"contents,omitempty"`
	// *
	// If set, the new memo to be associated with the file (UTF-8 encoding max 100 bytes)
	Memo *wrappers.StringValue `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"`
	// 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 If the update transaction sets the <tt>auto_renew_account_id</tt> field to anything other than the sentinel <tt>0.0.0</tt>, the key of the referenced account must sign.

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

type FixedFee struct {

	// *
	// The number of units to assess as a fee
	Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// *
	// The denomination of the fee; taken as hbar if left unset and, in a TokenCreate, taken as the id
	// of the newly created token if set to the sentinel value of 0.0.0
	DenominatingTokenId *TokenID `protobuf:"bytes,2,opt,name=denominating_token_id,json=denominatingTokenId,proto3" json:"denominating_token_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*FixedFee) Descriptor deprecated

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

Deprecated: Use FixedFee.ProtoReflect.Descriptor instead.

func (*FixedFee) GetAmount

func (x *FixedFee) GetAmount() int64

func (*FixedFee) GetDenominatingTokenId

func (x *FixedFee) GetDenominatingTokenId() *TokenID

func (*FixedFee) ProtoMessage

func (*FixedFee) ProtoMessage()

func (*FixedFee) ProtoReflect

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

func (*FixedFee) Reset

func (x *FixedFee) Reset()

func (*FixedFee) String

func (x *FixedFee) String() string

type Fraction

type Fraction struct {

	// *
	// The rational's numerator
	Numerator int64 `protobuf:"varint,1,opt,name=numerator,proto3" json:"numerator,omitempty"`
	// *
	// The rational's denominator; a zero value will result in FRACTION_DIVIDES_BY_ZERO
	Denominator int64 `protobuf:"varint,2,opt,name=denominator,proto3" json:"denominator,omitempty"`
	// contains filtered or unexported fields
}

* A rational number, used to set the amount of a value transfer to collect as a custom fee

func (*Fraction) Descriptor deprecated

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

Deprecated: Use Fraction.ProtoReflect.Descriptor instead.

func (*Fraction) GetDenominator

func (x *Fraction) GetDenominator() int64

func (*Fraction) GetNumerator

func (x *Fraction) GetNumerator() int64

func (*Fraction) ProtoMessage

func (*Fraction) ProtoMessage()

func (*Fraction) ProtoReflect

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

func (*Fraction) Reset

func (x *Fraction) Reset()

func (*Fraction) String

func (x *Fraction) String() string

type FractionalFee

type FractionalFee struct {

	// *
	// The fraction of the transferred units to assess as a fee
	FractionalAmount *Fraction `protobuf:"bytes,1,opt,name=fractional_amount,json=fractionalAmount,proto3" json:"fractional_amount,omitempty"`
	// *
	// The minimum amount to assess
	MinimumAmount int64 `protobuf:"varint,2,opt,name=minimum_amount,json=minimumAmount,proto3" json:"minimum_amount,omitempty"`
	// *
	// The maximum amount to assess (zero implies no maximum)
	MaximumAmount int64 `protobuf:"varint,3,opt,name=maximum_amount,json=maximumAmount,proto3" json:"maximum_amount,omitempty"`
	// *
	// If true, assesses the fee to the sender, so the receiver gets the full amount from the token
	// transfer list, and the sender is charged an additional fee; if false, the receiver does NOT get
	// the full amount, but only what is left over after paying the fractional fee
	NetOfTransfers bool `protobuf:"varint,4,opt,name=net_of_transfers,json=netOfTransfers,proto3" json:"net_of_transfers,omitempty"`
	// 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

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

Deprecated: Use FractionalFee.ProtoReflect.Descriptor instead.

func (*FractionalFee) GetFractionalAmount

func (x *FractionalFee) GetFractionalAmount() *Fraction

func (*FractionalFee) GetMaximumAmount

func (x *FractionalFee) GetMaximumAmount() int64

func (*FractionalFee) GetMinimumAmount

func (x *FractionalFee) GetMinimumAmount() int64

func (*FractionalFee) GetNetOfTransfers

func (x *FractionalFee) GetNetOfTransfers() bool

func (*FractionalFee) ProtoMessage

func (*FractionalFee) ProtoMessage()

func (*FractionalFee) ProtoReflect

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

func (*FractionalFee) Reset

func (x *FractionalFee) Reset()

func (*FractionalFee) String

func (x *FractionalFee) String() string

type FreezeServiceClient

type FreezeServiceClient interface {
	// *
	// Freezes the nodes by submitting the transaction. The grpc server returns the
	// TransactionResponse
	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 {
	// *
	// Freezes the nodes by submitting the transaction. The grpc server returns the
	// TransactionResponse
	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 {

	// *
	// !! DEPRECATED and REJECTED by nodes
	// The start hour (in UTC time), a value between 0 and 23
	//
	// Deprecated: Marked as deprecated in freeze.proto.
	StartHour int32 `protobuf:"varint,1,opt,name=startHour,proto3" json:"startHour,omitempty"`
	// *
	// !! DEPRECATED and REJECTED by nodes
	// The start minute (in UTC time), a value between 0 and 59
	//
	// Deprecated: Marked as deprecated in freeze.proto.
	StartMin int32 `protobuf:"varint,2,opt,name=startMin,proto3" json:"startMin,omitempty"`
	// *
	// !! DEPRECATED and REJECTED by nodes
	// The end hour (in UTC time), a value between 0 and 23
	//
	// Deprecated: Marked as deprecated in freeze.proto.
	EndHour int32 `protobuf:"varint,3,opt,name=endHour,proto3" json:"endHour,omitempty"`
	// *
	// !! DEPRECATED and REJECTED by nodes
	// The end minute (in UTC time), a value between 0 and 59
	//
	// Deprecated: Marked as deprecated in freeze.proto.
	EndMin int32 `protobuf:"varint,4,opt,name=endMin,proto3" json:"endMin,omitempty"`
	// *
	// If set, the file whose contents should be used for a network software update during the
	// maintenance window.
	UpdateFile *FileID `protobuf:"bytes,5,opt,name=update_file,json=updateFile,proto3" json:"update_file,omitempty"`
	// *
	// If set, the expected hash of the contents of the update file (used to verify the update).
	FileHash []byte `protobuf:"bytes,6,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"`
	// *
	// The consensus time at which the maintenance window should begin.
	StartTime *Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// *
	// The type of network freeze or upgrade operation to perform.
	FreezeType FreezeType `protobuf:"varint,8,opt,name=freeze_type,json=freezeType,proto3,enum=proto.FreezeType" json:"freeze_type,omitempty"`
	// contains filtered or unexported fields
}

* At consensus, sets the consensus time at which the platform should stop creating events and accepting transactions, and enter a maintenance window.

func (*FreezeTransactionBody) Descriptor deprecated

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

Deprecated: Use FreezeTransactionBody.ProtoReflect.Descriptor instead.

func (*FreezeTransactionBody) GetEndHour deprecated

func (x *FreezeTransactionBody) GetEndHour() int32

Deprecated: Marked as deprecated in freeze.proto.

func (*FreezeTransactionBody) GetEndMin deprecated

func (x *FreezeTransactionBody) GetEndMin() int32

Deprecated: Marked as deprecated in freeze.proto.

func (*FreezeTransactionBody) GetFileHash

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

func (*FreezeTransactionBody) GetFreezeType

func (x *FreezeTransactionBody) GetFreezeType() FreezeType

func (*FreezeTransactionBody) GetStartHour deprecated

func (x *FreezeTransactionBody) GetStartHour() int32

Deprecated: Marked as deprecated in freeze.proto.

func (*FreezeTransactionBody) GetStartMin deprecated

func (x *FreezeTransactionBody) GetStartMin() int32

Deprecated: Marked as deprecated in freeze.proto.

func (*FreezeTransactionBody) GetStartTime

func (x *FreezeTransactionBody) GetStartTime() *Timestamp

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 FreezeType

type FreezeType int32

* The type of network freeze or upgrade operation to be performed. This type dictates which fields are required.

const (
	// *
	// An (invalid) default value for this enum, to ensure the client explicitly sets
	// the intended type of freeze transaction.
	FreezeType_UNKNOWN_FREEZE_TYPE FreezeType = 0
	// *
	// Freezes the network at the specified time. The start_time field must be provided and
	// must reference a future time. Any values specified for the update_file and file_hash
	// fields will be ignored. This transaction does not perform any network changes or
	// upgrades and requires manual intervention to restart the network.
	FreezeType_FREEZE_ONLY FreezeType = 1
	// *
	// A non-freezing operation that initiates network wide preparation in advance of a
	// scheduled freeze upgrade. The update_file and file_hash fields must be provided and
	// valid. The start_time field may be omitted and any value present will be ignored.
	FreezeType_PREPARE_UPGRADE FreezeType = 2
	// *
	// Freezes the network at the specified time and performs the previously prepared
	// automatic upgrade across the entire network.
	FreezeType_FREEZE_UPGRADE FreezeType = 3
	// *
	// Aborts a pending network freeze operation.
	FreezeType_FREEZE_ABORT FreezeType = 4
	// *
	// Performs an immediate upgrade on auxilary services and containers providing
	// telemetry/metrics. Does not impact network operations.
	FreezeType_TELEMETRY_UPGRADE FreezeType = 5
)

func (FreezeType) Descriptor

func (FreezeType) Descriptor() protoreflect.EnumDescriptor

func (FreezeType) Enum

func (x FreezeType) Enum() *FreezeType

func (FreezeType) EnumDescriptor deprecated

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

Deprecated: Use FreezeType.Descriptor instead.

func (FreezeType) Number

func (x FreezeType) Number() protoreflect.EnumNumber

func (FreezeType) String

func (x FreezeType) String() string

func (FreezeType) Type

type GetAccountDetailsQuery

type GetAccountDetailsQuery struct {

	// *
	// Account details 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 ID for which information is requested
	AccountId *AccountID `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

* Gets all the information about an account, including balance and allowances. This does not get the list of account records.

func (*GetAccountDetailsQuery) Descriptor deprecated

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

Deprecated: Use GetAccountDetailsQuery.ProtoReflect.Descriptor instead.

func (*GetAccountDetailsQuery) GetAccountId

func (x *GetAccountDetailsQuery) GetAccountId() *AccountID

func (*GetAccountDetailsQuery) GetHeader

func (x *GetAccountDetailsQuery) GetHeader() *QueryHeader

func (*GetAccountDetailsQuery) ProtoMessage

func (*GetAccountDetailsQuery) ProtoMessage()

func (*GetAccountDetailsQuery) ProtoReflect

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

func (*GetAccountDetailsQuery) Reset

func (x *GetAccountDetailsQuery) Reset()

func (*GetAccountDetailsQuery) String

func (x *GetAccountDetailsQuery) String() string

type GetAccountDetailsResponse

type GetAccountDetailsResponse 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"`
	// *
	// Details of the account (a state proof can be generated for this)
	AccountDetails *GetAccountDetailsResponse_AccountDetails `protobuf:"bytes,2,opt,name=account_details,json=accountDetails,proto3" json:"account_details,omitempty"`
	// contains filtered or unexported fields
}

* Response when the client sends the node GetAccountDetailsQuery

func (*GetAccountDetailsResponse) Descriptor deprecated

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

Deprecated: Use GetAccountDetailsResponse.ProtoReflect.Descriptor instead.

func (*GetAccountDetailsResponse) GetAccountDetails

func (*GetAccountDetailsResponse) GetHeader

func (x *GetAccountDetailsResponse) GetHeader() *ResponseHeader

func (*GetAccountDetailsResponse) ProtoMessage

func (*GetAccountDetailsResponse) ProtoMessage()

func (*GetAccountDetailsResponse) ProtoReflect

func (*GetAccountDetailsResponse) Reset

func (x *GetAccountDetailsResponse) Reset()

func (*GetAccountDetailsResponse) String

func (x *GetAccountDetailsResponse) String() string

type GetAccountDetailsResponse_AccountDetails

type GetAccountDetailsResponse_AccountDetails struct {

	// *
	// The account ID for which this information applies
	AccountId *AccountID `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,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
	ContractAccountId string `protobuf:"bytes,2,opt,name=contract_account_id,json=contractAccountId,proto3" json:"contract_account_id,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
	Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// *
	// [Deprecated] 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.
	//
	// Deprecated: Marked as deprecated in get_account_details.proto.
	ProxyAccountId *AccountID `protobuf:"bytes,4,opt,name=proxy_account_id,json=proxyAccountId,proto3" json:"proxy_account_id,omitempty"`
	// *
	// The total number of tinybars proxy staked to this account
	ProxyReceived int64 `protobuf:"varint,5,opt,name=proxy_received,json=proxyReceived,proto3" json:"proxy_received,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.
	Key *Key `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`
	// *
	// The current balance of account in tinybars
	Balance uint64 `protobuf:"varint,7,opt,name=balance,proto3" json:"balance,omitempty"`
	// *
	// If true, no transaction can transfer to this account unless signed by this account's key
	ReceiverSigRequired bool `protobuf:"varint,8,opt,name=receiver_sig_required,json=receiverSigRequired,proto3" json:"receiver_sig_required,omitempty"`
	// *
	// The TimeStamp time at which this account is set to expire
	ExpirationTime *Timestamp `protobuf:"bytes,9,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,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.
	AutoRenewPeriod *Duration `protobuf:"bytes,10,opt,name=auto_renew_period,json=autoRenewPeriod,proto3" json:"auto_renew_period,omitempty"`
	// *
	// All tokens related to this account
	TokenRelationships []*TokenRelationship `protobuf:"bytes,11,rep,name=token_relationships,json=tokenRelationships,proto3" json:"token_relationships,omitempty"`
	// *
	// The memo associated with the account
	Memo string `protobuf:"bytes,12,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The number of NFTs owned by this account
	OwnedNfts int64 `protobuf:"varint,13,opt,name=owned_nfts,json=ownedNfts,proto3" json:"owned_nfts,omitempty"`
	// *
	// The maximum number of tokens that an Account can be implicitly associated with.
	MaxAutomaticTokenAssociations int32 `` /* 154-byte string literal not displayed */
	// *
	// The alias of this account
	Alias []byte `protobuf:"bytes,15,opt,name=alias,proto3" json:"alias,omitempty"`
	// *
	// The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs.
	LedgerId []byte `protobuf:"bytes,16,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// *
	// All of the hbar allowances approved by the account owner.
	GrantedCryptoAllowances []*GrantedCryptoAllowance `` /* 133-byte string literal not displayed */
	// *
	// All of the non-fungible token allowances approved by the account owner.
	GrantedNftAllowances []*GrantedNftAllowance `protobuf:"bytes,18,rep,name=granted_nft_allowances,json=grantedNftAllowances,proto3" json:"granted_nft_allowances,omitempty"`
	// *
	// All of the fungible token allowances approved by the account owner.
	GrantedTokenAllowances []*GrantedTokenAllowance `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetAccountDetailsResponse_AccountDetails) Descriptor deprecated

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

Deprecated: Use GetAccountDetailsResponse_AccountDetails.ProtoReflect.Descriptor instead.

func (*GetAccountDetailsResponse_AccountDetails) GetAccountId

func (*GetAccountDetailsResponse_AccountDetails) GetAlias

func (*GetAccountDetailsResponse_AccountDetails) GetAutoRenewPeriod

func (x *GetAccountDetailsResponse_AccountDetails) GetAutoRenewPeriod() *Duration

func (*GetAccountDetailsResponse_AccountDetails) GetBalance

func (*GetAccountDetailsResponse_AccountDetails) GetContractAccountId

func (x *GetAccountDetailsResponse_AccountDetails) GetContractAccountId() string

func (*GetAccountDetailsResponse_AccountDetails) GetDeleted

func (*GetAccountDetailsResponse_AccountDetails) GetExpirationTime

func (x *GetAccountDetailsResponse_AccountDetails) GetExpirationTime() *Timestamp

func (*GetAccountDetailsResponse_AccountDetails) GetGrantedCryptoAllowances

func (x *GetAccountDetailsResponse_AccountDetails) GetGrantedCryptoAllowances() []*GrantedCryptoAllowance

func (*GetAccountDetailsResponse_AccountDetails) GetGrantedNftAllowances

func (x *GetAccountDetailsResponse_AccountDetails) GetGrantedNftAllowances() []*GrantedNftAllowance

func (*GetAccountDetailsResponse_AccountDetails) GetGrantedTokenAllowances

func (x *GetAccountDetailsResponse_AccountDetails) GetGrantedTokenAllowances() []*GrantedTokenAllowance

func (*GetAccountDetailsResponse_AccountDetails) GetKey

func (*GetAccountDetailsResponse_AccountDetails) GetLedgerId

func (*GetAccountDetailsResponse_AccountDetails) GetMaxAutomaticTokenAssociations

func (x *GetAccountDetailsResponse_AccountDetails) GetMaxAutomaticTokenAssociations() int32

func (*GetAccountDetailsResponse_AccountDetails) GetMemo

func (*GetAccountDetailsResponse_AccountDetails) GetOwnedNfts

func (*GetAccountDetailsResponse_AccountDetails) GetProxyAccountId deprecated

func (x *GetAccountDetailsResponse_AccountDetails) GetProxyAccountId() *AccountID

Deprecated: Marked as deprecated in get_account_details.proto.

func (*GetAccountDetailsResponse_AccountDetails) GetProxyReceived

func (x *GetAccountDetailsResponse_AccountDetails) GetProxyReceived() int64

func (*GetAccountDetailsResponse_AccountDetails) GetReceiverSigRequired

func (x *GetAccountDetailsResponse_AccountDetails) GetReceiverSigRequired() bool

func (*GetAccountDetailsResponse_AccountDetails) GetTokenRelationships

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

func (*GetAccountDetailsResponse_AccountDetails) ProtoMessage

func (*GetAccountDetailsResponse_AccountDetails) ProtoReflect

func (*GetAccountDetailsResponse_AccountDetails) Reset

func (*GetAccountDetailsResponse_AccountDetails) String

type GetByKeyQuery

type GetByKeyQuery 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 key to search for. It must not contain a contractID nor a ThresholdSignature.
	Key *Key `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// 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 {

	// *
	// 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 list of entities that include this public key in their associated Key list
	Entities []*EntityID `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
	// 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 {

	// *
	// 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 ID in the format used by Solidity
	SolidityID string `protobuf:"bytes,2,opt,name=solidityID,proto3" json:"solidityID,omitempty"`
	// 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 {

	// *
	// 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 Account ID for the cryptocurrency account
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// *
	// The file Id for the file
	FileID *FileID `protobuf:"bytes,3,opt,name=fileID,proto3" json:"fileID,omitempty"`
	// *
	// A smart contract ID for the instance (if this is included, then the associated accountID will
	// also be included)
	ContractID *ContractID `protobuf:"bytes,4,opt,name=contractID,proto3" json:"contractID,omitempty"`
	// 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 GrantedCryptoAllowance

type GrantedCryptoAllowance struct {

	// *
	// The account ID of the spender of the hbar allowance.
	Spender *AccountID `protobuf:"bytes,1,opt,name=spender,proto3" json:"spender,omitempty"`
	// *
	// The amount of the spender's allowance in tinybars.
	Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

* A granted allowance of hbar transfers for a spender relative to the owner account.

func (*GrantedCryptoAllowance) Descriptor deprecated

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

Deprecated: Use GrantedCryptoAllowance.ProtoReflect.Descriptor instead.

func (*GrantedCryptoAllowance) GetAmount

func (x *GrantedCryptoAllowance) GetAmount() int64

func (*GrantedCryptoAllowance) GetSpender

func (x *GrantedCryptoAllowance) GetSpender() *AccountID

func (*GrantedCryptoAllowance) ProtoMessage

func (*GrantedCryptoAllowance) ProtoMessage()

func (*GrantedCryptoAllowance) ProtoReflect

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

func (*GrantedCryptoAllowance) Reset

func (x *GrantedCryptoAllowance) Reset()

func (*GrantedCryptoAllowance) String

func (x *GrantedCryptoAllowance) String() string

type GrantedNftAllowance

type GrantedNftAllowance struct {

	// *
	// The token that the allowance pertains to.
	TokenId *TokenID `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// *
	// The account ID of the spender that has been granted access to all NFTs of the owner
	Spender *AccountID `protobuf:"bytes,2,opt,name=spender,proto3" json:"spender,omitempty"`
	// contains filtered or unexported fields
}

* A granted allowance for all the NFTs of a token for a spender relative to the owner account.

func (*GrantedNftAllowance) Descriptor deprecated

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

Deprecated: Use GrantedNftAllowance.ProtoReflect.Descriptor instead.

func (*GrantedNftAllowance) GetSpender

func (x *GrantedNftAllowance) GetSpender() *AccountID

func (*GrantedNftAllowance) GetTokenId

func (x *GrantedNftAllowance) GetTokenId() *TokenID

func (*GrantedNftAllowance) ProtoMessage

func (*GrantedNftAllowance) ProtoMessage()

func (*GrantedNftAllowance) ProtoReflect

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

func (*GrantedNftAllowance) Reset

func (x *GrantedNftAllowance) Reset()

func (*GrantedNftAllowance) String

func (x *GrantedNftAllowance) String() string

type GrantedTokenAllowance

type GrantedTokenAllowance struct {

	// *
	// The token that the allowance pertains to.
	TokenId *TokenID `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// *
	// The account ID of the token allowance spender.
	Spender *AccountID `protobuf:"bytes,2,opt,name=spender,proto3" json:"spender,omitempty"`
	// *
	// The amount of the spender's token allowance.
	Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

* A granted allowance of fungible token transfers for a spender relative to the owner account.

func (*GrantedTokenAllowance) Descriptor deprecated

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

Deprecated: Use GrantedTokenAllowance.ProtoReflect.Descriptor instead.

func (*GrantedTokenAllowance) GetAmount

func (x *GrantedTokenAllowance) GetAmount() int64

func (*GrantedTokenAllowance) GetSpender

func (x *GrantedTokenAllowance) GetSpender() *AccountID

func (*GrantedTokenAllowance) GetTokenId

func (x *GrantedTokenAllowance) GetTokenId() *TokenID

func (*GrantedTokenAllowance) ProtoMessage

func (*GrantedTokenAllowance) ProtoMessage()

func (*GrantedTokenAllowance) ProtoReflect

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

func (*GrantedTokenAllowance) Reset

func (x *GrantedTokenAllowance) Reset()

func (*GrantedTokenAllowance) String

func (x *GrantedTokenAllowance) String() string

type HederaFunctionality

type HederaFunctionality int32

* The transactions and queries supported by Hedera Hashgraph.

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

func (HederaFunctionality) Descriptor

func (HederaFunctionality) 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_ECDSASecp256K1
	//	*Key_DelegatableContractId
	Key isKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

* A Key can be a public key from either the Ed25519 or ECDSA(secp256k1) signature schemes, where in the ECDSA(secp256k1) case we require the 33-byte compressed form of the public key. We call these public keys <b>primitive keys</b>.

If an account has primitive key associated to it, then the corresponding private key must sign any transaction to transfer cryptocurrency out of it.

A Key can also be the ID of a smart contract instance, which is then authorized to perform any precompiled contract action that requires this key to sign.

Note that when a Key is a smart contract ID, it <i>doesn't</i> mean the contract with that ID will actually create a cryptographic signature. It only means that when the contract calls a precompiled contract, the resulting "child transaction" will be authorized to perform any action controlled by the Key.

A Key can be a "threshold key", which means a list of M keys, any N of which must sign in order for the threshold signature to be considered valid. The keys within a threshold signature may themselves be threshold signatures, to allow complex signature requirements.

A Key can be a "key list" where all keys in the list must sign unless specified otherwise in the documentation for a specific transaction type (e.g. FileDeleteTransactionBody). Their use is dependent on context. For example, a Hedera file is created with a list of keys, where all of them must sign a transaction to create or modify the file, but only one of them is needed to sign a transaction to delete the file. So it's a single list that sometimes acts as a 1-of-M threshold key, and sometimes acts as an M-of-M threshold key. A key list is always an M-of-M, unless specified otherwise in documentation. A key list can have nested key lists or threshold keys. Nested key lists are always M-of-M. A key list can have repeated primitive public keys, but all repeated keys are only required to sign once.

A Key can contain a ThresholdKey or KeyList, which in turn contain a Key, so this mutual recursion would allow nesting arbitrarily deep. A ThresholdKey which contains a list of primitive keys has 3 levels: ThresholdKey -> KeyList -> Key. A KeyList which contains several primitive keys has 2 levels: KeyList -> Key. A Key with 2 levels of nested ThresholdKeys has 7 levels: Key -> ThresholdKey -> KeyList -> Key -> ThresholdKey -> KeyList -> Key.

Each Key should not have more than 46 levels, which implies 15 levels of nested ThresholdKeys.

func (*Key) Descriptor deprecated

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

Deprecated: Use Key.ProtoReflect.Descriptor instead.

func (*Key) GetContractID

func (x *Key) GetContractID() *ContractID

func (*Key) GetDelegatableContractId

func (x *Key) GetDelegatableContractId() *ContractID

func (*Key) GetECDSASecp256K1

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

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 {

	// *
	// list of keys
	Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

* A list of keys that requires all keys (M-of-M) to sign unless otherwise specified in documentation. A KeyList may contain repeated keys, but all repeated keys are only required to sign once.

func (*KeyList) Descriptor deprecated

func (*KeyList) 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 {
	// *
	// smart contract instance that is authorized as if it had signed with a key
	ContractID *ContractID `protobuf:"bytes,1,opt,name=contractID,proto3,oneof"`
}

type Key_DelegatableContractId

type Key_DelegatableContractId struct {
	// *
	// A smart contract that, if the recipient of the active message frame, should be treated
	// as having signed. (Note this does not mean the <i>code being executed in the frame</i>
	// will belong to the given contract, since it could be running another contract's code via
	// <tt>delegatecall</tt>. So setting this key is a more permissive version of setting the
	// contractID key, which also requires the code in the active message frame belong to the
	// the contract with the given id.)
	DelegatableContractId *ContractID `protobuf:"bytes,8,opt,name=delegatable_contract_id,json=delegatableContractId,proto3,oneof"`
}

type Key_ECDSASecp256K1

type Key_ECDSASecp256K1 struct {
	// *
	// Compressed ECDSA(secp256k1) public key bytes
	ECDSASecp256K1 []byte `protobuf:"bytes,7,opt,name=ECDSA_secp256k1,json=ECDSASecp256k1,proto3,oneof"`
}

type Key_ECDSA_384

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

type Key_Ed25519

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

type Key_KeyList

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

type Key_RSA_3072

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

type Key_ThresholdKey

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

type 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 NetworkGetExecutionTimeQuery

type NetworkGetExecutionTimeQuery 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 id(s) of the transactions to get the execution time(s) of
	TransactionIds []*TransactionID `protobuf:"bytes,2,rep,name=transaction_ids,json=transactionIds,proto3" json:"transaction_ids,omitempty"`
	// contains filtered or unexported fields
}

* Gets the time in nanoseconds spent in <tt>handleTransaction</tt> for one or more TransactionIDs (assuming they have reached consensus "recently", since only a limited number of execution times are kept in-memory, depending on the value of the node-local property <tt>stats.executionTimesToTrack</tt>).

func (*NetworkGetExecutionTimeQuery) Descriptor deprecated

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

Deprecated: Use NetworkGetExecutionTimeQuery.ProtoReflect.Descriptor instead.

func (*NetworkGetExecutionTimeQuery) GetHeader

func (x *NetworkGetExecutionTimeQuery) GetHeader() *QueryHeader

func (*NetworkGetExecutionTimeQuery) GetTransactionIds

func (x *NetworkGetExecutionTimeQuery) GetTransactionIds() []*TransactionID

func (*NetworkGetExecutionTimeQuery) ProtoMessage

func (*NetworkGetExecutionTimeQuery) ProtoMessage()

func (*NetworkGetExecutionTimeQuery) ProtoReflect

func (*NetworkGetExecutionTimeQuery) Reset

func (x *NetworkGetExecutionTimeQuery) Reset()

func (*NetworkGetExecutionTimeQuery) String

type NetworkGetExecutionTimeResponse

type NetworkGetExecutionTimeResponse 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 execution time(s) of the requested TransactionIDs, if available
	ExecutionTimes []uint64 `protobuf:"varint,2,rep,packed,name=execution_times,json=executionTimes,proto3" json:"execution_times,omitempty"`
	// contains filtered or unexported fields
}

* Response when the client sends the node NetworkGetExecutionTimeQuery; returns INVALID_TRANSACTION_ID if any of the given TransactionIDs do not have available execution times in the answering node.

func (*NetworkGetExecutionTimeResponse) Descriptor deprecated

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

Deprecated: Use NetworkGetExecutionTimeResponse.ProtoReflect.Descriptor instead.

func (*NetworkGetExecutionTimeResponse) GetExecutionTimes

func (x *NetworkGetExecutionTimeResponse) GetExecutionTimes() []uint64

func (*NetworkGetExecutionTimeResponse) GetHeader

func (*NetworkGetExecutionTimeResponse) ProtoMessage

func (*NetworkGetExecutionTimeResponse) ProtoMessage()

func (*NetworkGetExecutionTimeResponse) ProtoReflect

func (*NetworkGetExecutionTimeResponse) Reset

func (*NetworkGetExecutionTimeResponse) String

type NetworkGetVersionInfoQuery

type NetworkGetVersionInfoQuery 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"`
	// 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 {

	// *
	// 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 Hedera API (HAPI) protobuf version recognized by the responding node.
	HapiProtoVersion *SemanticVersion `protobuf:"bytes,2,opt,name=hapiProtoVersion,proto3" json:"hapiProtoVersion,omitempty"`
	// *
	// The version of the Hedera Services software deployed on the responding node.
	HederaServicesVersion *SemanticVersion `protobuf:"bytes,3,opt,name=hederaServicesVersion,proto3" json:"hederaServicesVersion,omitempty"`
	// 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 {
	// *
	// Retrieves the active versions of Hedera Services and HAPI proto
	GetVersionInfo(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// *
	// Retrieves the time in nanoseconds spent in <tt>handleTransaction</tt> for one or more
	// TransactionIDs (assuming they have reached consensus "recently", since only a limited
	// number of execution times are kept in-memory, depending on the value of the node-local
	// property <tt>stats.executionTimesToTrack</tt>).
	GetExecutionTime(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, error)
	// *
	// Submits a "wrapped" transaction to the network, skipping its standard prechecks. (Note that
	// the "wrapper" <tt>UncheckedSubmit</tt> transaction is still subject to normal prechecks,
	// including an authorization requirement that its payer be either the treasury or system admin
	// account.)
	UncheckedSubmit(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// *
	// Get all the information about an account, including balance and allowances. This does not get the list of
	// account records.
	GetAccountDetails(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Response, 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 {
	// *
	// Retrieves the active versions of Hedera Services and HAPI proto
	GetVersionInfo(context.Context, *Query) (*Response, error)
	// *
	// Retrieves the time in nanoseconds spent in <tt>handleTransaction</tt> for one or more
	// TransactionIDs (assuming they have reached consensus "recently", since only a limited
	// number of execution times are kept in-memory, depending on the value of the node-local
	// property <tt>stats.executionTimesToTrack</tt>).
	GetExecutionTime(context.Context, *Query) (*Response, error)
	// *
	// Submits a "wrapped" transaction to the network, skipping its standard prechecks. (Note that
	// the "wrapper" <tt>UncheckedSubmit</tt> transaction is still subject to normal prechecks,
	// including an authorization requirement that its payer be either the treasury or system admin
	// account.)
	UncheckedSubmit(context.Context, *Transaction) (*TransactionResponse, error)
	// *
	// Get all the information about an account, including balance and allowances. This does not get the list of
	// account records.
	GetAccountDetails(context.Context, *Query) (*Response, error)
	// contains filtered or unexported methods
}

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

type NftAllowance

type NftAllowance struct {

	// *
	// The NFT token type that the allowance pertains to.
	TokenId *TokenID `protobuf:"bytes,1,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
	// *
	// The account ID of the token owner (ie. the grantor of the allowance).
	Owner *AccountID `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// *
	// The account ID of the token allowance spender.
	Spender *AccountID `protobuf:"bytes,3,opt,name=spender,proto3" json:"spender,omitempty"`
	// *
	// The list of serial numbers that the spender is permitted to transfer.
	SerialNumbers []int64 `protobuf:"varint,4,rep,packed,name=serial_numbers,json=serialNumbers,proto3" json:"serial_numbers,omitempty"`
	// *
	// If true, the spender has access to all of the owner's NFT units of type tokenId (currently
	// owned and any in the future).
	ApprovedForAll *wrappers.BoolValue `protobuf:"bytes,5,opt,name=approved_for_all,json=approvedForAll,proto3" json:"approved_for_all,omitempty"`
	// *
	// The account ID of the spender who is granted approvedForAll allowance and granting
	// approval on an NFT serial to another spender.
	DelegatingSpender *AccountID `protobuf:"bytes,6,opt,name=delegating_spender,json=delegatingSpender,proto3" json:"delegating_spender,omitempty"`
	// contains filtered or unexported fields
}

* An approved allowance of non-fungible token transfers for a spender.

func (*NftAllowance) Descriptor deprecated

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

Deprecated: Use NftAllowance.ProtoReflect.Descriptor instead.

func (*NftAllowance) GetApprovedForAll

func (x *NftAllowance) GetApprovedForAll() *wrappers.BoolValue

func (*NftAllowance) GetDelegatingSpender

func (x *NftAllowance) GetDelegatingSpender() *AccountID

func (*NftAllowance) GetOwner

func (x *NftAllowance) GetOwner() *AccountID

func (*NftAllowance) GetSerialNumbers

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

func (*NftAllowance) GetSpender

func (x *NftAllowance) GetSpender() *AccountID

func (*NftAllowance) GetTokenId

func (x *NftAllowance) GetTokenId() *TokenID

func (*NftAllowance) ProtoMessage

func (*NftAllowance) ProtoMessage()

func (*NftAllowance) ProtoReflect

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

func (*NftAllowance) Reset

func (x *NftAllowance) Reset()

func (*NftAllowance) String

func (x *NftAllowance) String() string

type NftID

type NftID struct {

	// *
	// The (non-fungible) token of which this NFT is an instance
	TokenID *TokenID `protobuf:"bytes,1,opt,name=tokenID,proto3" json:"tokenID,omitempty"`
	// *
	// The unique identifier of this instance
	SerialNumber int64 `protobuf:"varint,2,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"`
	// 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 NftRemoveAllowance

type NftRemoveAllowance struct {

	// *
	// The token that the allowance pertains to.
	TokenId *TokenID `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// *
	// The account ID of the token owner (ie. the grantor of the allowance).
	Owner *AccountID `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// *
	// The list of serial numbers to remove allowances from.
	SerialNumbers []int64 `protobuf:"varint,3,rep,packed,name=serial_numbers,json=serialNumbers,proto3" json:"serial_numbers,omitempty"`
	// contains filtered or unexported fields
}

* Nft allowances to be removed on an owner account

func (*NftRemoveAllowance) Descriptor deprecated

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

Deprecated: Use NftRemoveAllowance.ProtoReflect.Descriptor instead.

func (*NftRemoveAllowance) GetOwner

func (x *NftRemoveAllowance) GetOwner() *AccountID

func (*NftRemoveAllowance) GetSerialNumbers

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

func (*NftRemoveAllowance) GetTokenId

func (x *NftRemoveAllowance) GetTokenId() *TokenID

func (*NftRemoveAllowance) ProtoMessage

func (*NftRemoveAllowance) ProtoMessage()

func (*NftRemoveAllowance) ProtoReflect

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

func (*NftRemoveAllowance) Reset

func (x *NftRemoveAllowance) Reset()

func (*NftRemoveAllowance) String

func (x *NftRemoveAllowance) String() string

type NftTransfer

type NftTransfer struct {

	// *
	// The accountID of the sender
	SenderAccountID *AccountID `protobuf:"bytes,1,opt,name=senderAccountID,proto3" json:"senderAccountID,omitempty"`
	// *
	// The accountID of the receiver
	ReceiverAccountID *AccountID `protobuf:"bytes,2,opt,name=receiverAccountID,proto3" json:"receiverAccountID,omitempty"`
	// *
	// The serial number of the NFT
	SerialNumber int64 `protobuf:"varint,3,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"`
	// *
	// If true then the transfer is expected to be an approved allowance and the
	// senderAccountID is expected to be the owner. The default is false (omitted).
	IsApproval bool `protobuf:"varint,4,opt,name=is_approval,json=isApproval,proto3" json:"is_approval,omitempty"`
	// contains filtered or unexported fields
}

* A sender account, a receiver account, and the serial number of an NFT of a Token with NON_FUNGIBLE_UNIQUE type. When minting NFTs the sender will be the default AccountID instance (0.0.0) and when burning NFTs, the receiver will be the default AccountID instance.

func (*NftTransfer) Descriptor deprecated

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

Deprecated: Use NftTransfer.ProtoReflect.Descriptor instead.

func (*NftTransfer) GetIsApproval

func (x *NftTransfer) GetIsApproval() bool

func (*NftTransfer) GetReceiverAccountID

func (x *NftTransfer) GetReceiverAccountID() *AccountID

func (*NftTransfer) GetSenderAccountID

func (x *NftTransfer) GetSenderAccountID() *AccountID

func (*NftTransfer) GetSerialNumber

func (x *NftTransfer) GetSerialNumber() int64

func (*NftTransfer) ProtoMessage

func (*NftTransfer) ProtoMessage()

func (*NftTransfer) ProtoReflect

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

func (*NftTransfer) Reset

func (x *NftTransfer) Reset()

func (*NftTransfer) String

func (x *NftTransfer) String() string

type NodeAddress

type NodeAddress struct {

	// *
	// The IP address of the Node with separator & octets encoded in UTF-8.  Usage is deprecated,
	// ServiceEndpoint is preferred to retrieve a node's list of IP addresses and ports
	//
	// Deprecated: Marked as deprecated in basic_types.proto.
	IpAddress []byte `protobuf:"bytes,1,opt,name=ipAddress,proto3" json:"ipAddress,omitempty"`
	// *
	// The port number of the grpc server for the node.  Usage is deprecated, ServiceEndpoint is
	// preferred to retrieve a node's list of IP addresses and ports
	//
	// Deprecated: Marked as deprecated in basic_types.proto.
	Portno int32 `protobuf:"varint,2,opt,name=portno,proto3" json:"portno,omitempty"`
	// *
	// Usage is deprecated, nodeAccountId is preferred to retrieve a node's account ID
	//
	// Deprecated: Marked as deprecated in basic_types.proto.
	Memo []byte `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The node's X509 RSA public key used to sign stream files (e.g., record stream
	// files). Precisely, this field is a string of hexadecimal characters which,
	// translated to binary, are the public key's DER encoding.
	RSA_PubKey string `protobuf:"bytes,4,opt,name=RSA_PubKey,json=RSAPubKey,proto3" json:"RSA_PubKey,omitempty"`
	// *
	// # A non-sequential identifier for the node
	NodeId int64 `protobuf:"varint,5,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
	// *
	// # The account to be paid for queries and transactions sent to this node
	NodeAccountId *AccountID `protobuf:"bytes,6,opt,name=nodeAccountId,proto3" json:"nodeAccountId,omitempty"`
	// *
	// # Hash of the node's TLS certificate. Precisely, this field is a string of
	// hexadecimal characters which, translated to binary, are the SHA-384 hash of
	// the UTF-8 NFKD encoding of the node's TLS cert in PEM format. Its value can be
	// used to verify the node's certificate it presents during TLS negotiations.
	NodeCertHash []byte `protobuf:"bytes,7,opt,name=nodeCertHash,proto3" json:"nodeCertHash,omitempty"`
	// *
	// # A node's service IP addresses and ports
	ServiceEndpoint []*ServiceEndpoint `protobuf:"bytes,8,rep,name=serviceEndpoint,proto3" json:"serviceEndpoint,omitempty"`
	// *
	// A description of the node, with UTF-8 encoding up to 100 bytes
	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// *
	// [Deprecated] The amount of tinybars staked to the node
	//
	// Deprecated: Marked as deprecated in basic_types.proto.
	Stake int64 `protobuf:"varint,10,opt,name=stake,proto3" json:"stake,omitempty"`
	// contains filtered or unexported fields
}

* The data about a node, including its service endpoints and the Hedera account to be paid for services provided by the node (that is, queries answered and transactions submitted.)

If the <tt>serviceEndpoint</tt> list is not set, or empty, then the endpoint given by the (deprecated) <tt>ipAddress</tt> and <tt>portno</tt> fields should be used.

All fields are populated in the 0.0.102 address book file while only fields that start with # are populated in the 0.0.101 address book file.

func (*NodeAddress) Descriptor deprecated

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

Deprecated: Use NodeAddress.ProtoReflect.Descriptor instead.

func (*NodeAddress) GetDescription

func (x *NodeAddress) GetDescription() string

func (*NodeAddress) GetIpAddress deprecated

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

Deprecated: Marked as deprecated in basic_types.proto.

func (*NodeAddress) GetMemo deprecated

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

Deprecated: Marked as deprecated in basic_types.proto.

func (*NodeAddress) GetNodeAccountId

func (x *NodeAddress) GetNodeAccountId() *AccountID

func (*NodeAddress) GetNodeCertHash

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

func (*NodeAddress) GetNodeId

func (x *NodeAddress) GetNodeId() int64

func (*NodeAddress) GetPortno deprecated

func (x *NodeAddress) GetPortno() int32

Deprecated: Marked as deprecated in basic_types.proto.

func (*NodeAddress) GetRSA_PubKey

func (x *NodeAddress) GetRSA_PubKey() string

func (*NodeAddress) GetServiceEndpoint

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

func (*NodeAddress) GetStake deprecated

func (x *NodeAddress) GetStake() int64

Deprecated: Marked as deprecated in basic_types.proto.

func (*NodeAddress) ProtoMessage

func (*NodeAddress) ProtoMessage()

func (*NodeAddress) ProtoReflect

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

func (*NodeAddress) Reset

func (x *NodeAddress) Reset()

func (*NodeAddress) String

func (x *NodeAddress) String() string

type NodeAddressBook

type NodeAddressBook struct {

	// *
	// Metadata of all nodes in the network
	NodeAddress []*NodeAddress `protobuf:"bytes,1,rep,name=nodeAddress,proto3" json:"nodeAddress,omitempty"`
	// contains filtered or unexported fields
}

* A list of nodes and their metadata that contains all details of the nodes for the network. Used to parse the contents of system files <tt>0.0.101</tt> and <tt>0.0.102</tt>.

func (*NodeAddressBook) Descriptor deprecated

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

Deprecated: Use NodeAddressBook.ProtoReflect.Descriptor instead.

func (*NodeAddressBook) GetNodeAddress

func (x *NodeAddressBook) GetNodeAddress() []*NodeAddress

func (*NodeAddressBook) ProtoMessage

func (*NodeAddressBook) ProtoMessage()

func (*NodeAddressBook) ProtoReflect

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

func (*NodeAddressBook) Reset

func (x *NodeAddressBook) Reset()

func (*NodeAddressBook) String

func (x *NodeAddressBook) String() string

type NodeStake

type NodeStake struct {

	// *
	// The maximum stake (rewarded or not rewarded) this node can have as consensus weight. If its stake to
	// reward is above this maximum at the start of a period, then accounts staking to the node in that
	// period will be rewarded at a lower rate scaled by (maxStake / stakeRewardStart).
	MaxStake int64 `protobuf:"varint,1,opt,name=max_stake,json=maxStake,proto3" json:"max_stake,omitempty"`
	// *
	// The minimum stake (rewarded or not rewarded) this node must reach before having non-zero consensus weight.
	// If its total stake is below this minimum at the start of a period, then accounts staking to the node in
	// that period will receive no rewards.
	MinStake int64 `protobuf:"varint,2,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"`
	// *
	// The id of this node.
	NodeId int64 `protobuf:"varint,3,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// *
	// The reward rate _per whole hbar_ that was staked to this node with declineReward=false from the start of
	// the staking period that is ending.
	RewardRate int64 `protobuf:"varint,4,opt,name=reward_rate,json=rewardRate,proto3" json:"reward_rate,omitempty"`
	// *
	// Consensus weight of this node for the new staking period.
	Stake int64 `protobuf:"varint,5,opt,name=stake,proto3" json:"stake,omitempty"`
	// *
	// Total of (balance + stakedToMe) for all accounts staked to this node with declineReward=true, at the
	// beginning of the new staking period.
	StakeNotRewarded int64 `protobuf:"varint,6,opt,name=stake_not_rewarded,json=stakeNotRewarded,proto3" json:"stake_not_rewarded,omitempty"`
	// *
	// Total of (balance + stakedToMe) for all accounts staked to this node with declineReward=false, at the
	// beginning of the new staking period.
	StakeRewarded int64 `protobuf:"varint,7,opt,name=stake_rewarded,json=stakeRewarded,proto3" json:"stake_rewarded,omitempty"`
	// contains filtered or unexported fields
}

* Staking info for each node at the end of a staking period.

func (*NodeStake) Descriptor deprecated

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

Deprecated: Use NodeStake.ProtoReflect.Descriptor instead.

func (*NodeStake) GetMaxStake

func (x *NodeStake) GetMaxStake() int64

func (*NodeStake) GetMinStake

func (x *NodeStake) GetMinStake() int64

func (*NodeStake) GetNodeId

func (x *NodeStake) GetNodeId() int64

func (*NodeStake) GetRewardRate

func (x *NodeStake) GetRewardRate() int64

func (*NodeStake) GetStake

func (x *NodeStake) GetStake() int64

func (*NodeStake) GetStakeNotRewarded

func (x *NodeStake) GetStakeNotRewarded() int64

func (*NodeStake) GetStakeRewarded

func (x *NodeStake) GetStakeRewarded() int64

func (*NodeStake) ProtoMessage

func (*NodeStake) ProtoMessage()

func (*NodeStake) ProtoReflect

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

func (*NodeStake) Reset

func (x *NodeStake) Reset()

func (*NodeStake) String

func (x *NodeStake) String() string

type NodeStakeUpdateTransactionBody

type NodeStakeUpdateTransactionBody struct {

	// *
	// Time and date of the end of the staking period that is ending
	EndOfStakingPeriod *Timestamp `protobuf:"bytes,1,opt,name=end_of_staking_period,json=endOfStakingPeriod,proto3" json:"end_of_staking_period,omitempty"`
	// *
	// Staking info of each node at the beginning of the new staking period
	NodeStake []*NodeStake `protobuf:"bytes,2,rep,name=node_stake,json=nodeStake,proto3" json:"node_stake,omitempty"`
	// *
	// The maximum reward rate, in tinybars per whole hbar, that any account could receive in this
	// staking period.
	MaxStakingRewardRatePerHbar int64 `` /* 151-byte string literal not displayed */
	// *
	// The fraction of the network and service fees paid to the node reward account 0.0.801.
	NodeRewardFeeFraction *Fraction `` /* 128-byte string literal not displayed */
	// *
	// The maximum number of trailing periods for which a user can collect rewards. For example, if this
	// is 365 with a UTC calendar day period, then users must collect rewards at least once per calendar
	// year to avoid missing any value.
	StakingPeriodsStored int64 `protobuf:"varint,5,opt,name=staking_periods_stored,json=stakingPeriodsStored,proto3" json:"staking_periods_stored,omitempty"`
	// *
	// The number of minutes in a staking period. Note for the special case of 1440 minutes, periods are
	// treated as UTC calendar days, rather than repeating 1440 minute periods left-aligned at the epoch.
	StakingPeriod int64 `protobuf:"varint,6,opt,name=staking_period,json=stakingPeriod,proto3" json:"staking_period,omitempty"`
	// *
	// The fraction of the network and service fees paid to the staking reward account 0.0.800.
	StakingRewardFeeFraction *Fraction `` /* 137-byte string literal not displayed */
	// *
	// The minimum balance of staking reward account 0.0.800 required to active rewards.
	StakingStartThreshold int64 `` /* 127-byte string literal not displayed */
	// *
	// (DEPRECATED) The maximum total number of tinybars to be distributed as staking rewards in the
	// ending period. Please consult the max_total_reward field instead.
	//
	// Deprecated: Marked as deprecated in node_stake_update.proto.
	StakingRewardRate int64 `protobuf:"varint,9,opt,name=staking_reward_rate,json=stakingRewardRate,proto3" json:"staking_reward_rate,omitempty"`
	// *
	// The amount of the staking reward funds (account 0.0.800) reserved to pay pending rewards that
	// have been earned but not collected.
	ReservedStakingRewards int64 `` /* 131-byte string literal not displayed */
	// *
	// The unreserved balance of account 0.0.800 at the close of the just-ending period; this value is
	// used to compute the HIP-782 balance ratio.
	UnreservedStakingRewardBalance int64 `` /* 157-byte string literal not displayed */
	// *
	// The unreserved tinybar balance of account 0.0.800 required to achieve the maximum per-hbar reward
	// rate in any period; please see HIP-782 for details.
	RewardBalanceThreshold int64 `` /* 131-byte string literal not displayed */
	// *
	// The maximum amount of tinybar that can be staked for reward while still achieving the maximum
	// per-hbar reward rate in any period; please see HIP-782 for details.
	MaxStakeRewarded int64 `protobuf:"varint,13,opt,name=max_stake_rewarded,json=maxStakeRewarded,proto3" json:"max_stake_rewarded,omitempty"`
	// *
	// The maximum total tinybars that could be paid as staking rewards in the ending period, after
	// applying the settings for the 0.0.800 balance threshold and the maximum stake rewarded. This
	// field replaces the deprecated field staking_reward_rate. It is only for convenience, since a
	// mirror node could also calculate its value by iterating the node_stake list and summing
	// stake_rewarded fields; then multiplying this sum by the max_staking_reward_rate_per_hbar.
	MaxTotalReward int64 `protobuf:"varint,14,opt,name=max_total_reward,json=maxTotalReward,proto3" json:"max_total_reward,omitempty"`
	// contains filtered or unexported fields
}

* Updates the staking info at the end of staking period to indicate new staking period has started.

func (*NodeStakeUpdateTransactionBody) Descriptor deprecated

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

Deprecated: Use NodeStakeUpdateTransactionBody.ProtoReflect.Descriptor instead.

func (*NodeStakeUpdateTransactionBody) GetEndOfStakingPeriod

func (x *NodeStakeUpdateTransactionBody) GetEndOfStakingPeriod() *Timestamp

func (*NodeStakeUpdateTransactionBody) GetMaxStakeRewarded

func (x *NodeStakeUpdateTransactionBody) GetMaxStakeRewarded() int64

func (*NodeStakeUpdateTransactionBody) GetMaxStakingRewardRatePerHbar

func (x *NodeStakeUpdateTransactionBody) GetMaxStakingRewardRatePerHbar() int64

func (*NodeStakeUpdateTransactionBody) GetMaxTotalReward

func (x *NodeStakeUpdateTransactionBody) GetMaxTotalReward() int64

func (*NodeStakeUpdateTransactionBody) GetNodeRewardFeeFraction

func (x *NodeStakeUpdateTransactionBody) GetNodeRewardFeeFraction() *Fraction

func (*NodeStakeUpdateTransactionBody) GetNodeStake

func (x *NodeStakeUpdateTransactionBody) GetNodeStake() []*NodeStake

func (*NodeStakeUpdateTransactionBody) GetReservedStakingRewards

func (x *NodeStakeUpdateTransactionBody) GetReservedStakingRewards() int64

func (*NodeStakeUpdateTransactionBody) GetRewardBalanceThreshold

func (x *NodeStakeUpdateTransactionBody) GetRewardBalanceThreshold() int64

func (*NodeStakeUpdateTransactionBody) GetStakingPeriod

func (x *NodeStakeUpdateTransactionBody) GetStakingPeriod() int64

func (*NodeStakeUpdateTransactionBody) GetStakingPeriodsStored

func (x *NodeStakeUpdateTransactionBody) GetStakingPeriodsStored() int64

func (*NodeStakeUpdateTransactionBody) GetStakingRewardFeeFraction

func (x *NodeStakeUpdateTransactionBody) GetStakingRewardFeeFraction() *Fraction

func (*NodeStakeUpdateTransactionBody) GetStakingRewardRate deprecated

func (x *NodeStakeUpdateTransactionBody) GetStakingRewardRate() int64

Deprecated: Marked as deprecated in node_stake_update.proto.

func (*NodeStakeUpdateTransactionBody) GetStakingStartThreshold

func (x *NodeStakeUpdateTransactionBody) GetStakingStartThreshold() int64

func (*NodeStakeUpdateTransactionBody) GetUnreservedStakingRewardBalance

func (x *NodeStakeUpdateTransactionBody) GetUnreservedStakingRewardBalance() int64

func (*NodeStakeUpdateTransactionBody) ProtoMessage

func (*NodeStakeUpdateTransactionBody) ProtoMessage()

func (*NodeStakeUpdateTransactionBody) ProtoReflect

func (*NodeStakeUpdateTransactionBody) Reset

func (x *NodeStakeUpdateTransactionBody) Reset()

func (*NodeStakeUpdateTransactionBody) String

type ProxyStaker

type ProxyStaker struct {

	// *
	// The Account ID that is proxy staking
	AccountID *AccountID `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// *
	// The number of hbars that are currently proxy staked
	Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// 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_NetworkGetExecutionTime
	//	*Query_AccountDetails
	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) GetAccountDetails

func (x *Query) GetAccountDetails() *GetAccountDetailsQuery

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

func (x *Query) GetNetworkGetExecutionTime() *NetworkGetExecutionTimeQuery

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

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 {

	// *
	// A signed CryptoTransferTransaction to pay the node a fee for handling this query
	Payment *Transaction `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"`
	// *
	// The requested response, asking for cost, state proof, both, or neither
	ResponseType ResponseType `protobuf:"varint,2,opt,name=responseType,proto3,enum=proto.ResponseType" json:"responseType,omitempty"`
	// 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_AccountDetails

type Query_AccountDetails struct {
	// *
	// Gets all information about an account including allowances granted by the account
	AccountDetails *GetAccountDetailsQuery `protobuf:"bytes,58,opt,name=accountDetails,proto3,oneof"`
}

type Query_ConsensusGetTopicInfo

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

type Query_ContractCallLocal

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

type Query_ContractGetBytecode

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

type Query_ContractGetInfo

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

type Query_ContractGetRecords

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

type Query_CryptoGetAccountRecords

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

type Query_CryptoGetInfo

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

type Query_CryptoGetLiveHash

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

type Query_CryptoGetProxyStakers

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

type Query_CryptogetAccountBalance

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

type Query_FileGetContents

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

type Query_FileGetInfo

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

type Query_GetByKey

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

type Query_GetBySolidityID

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

type Query_NetworkGetExecutionTime

type Query_NetworkGetExecutionTime struct {
	// *
	// Gets <tt>handleTransaction</tt> times for one or more "sufficiently recent" TransactionIDs
	NetworkGetExecutionTime *NetworkGetExecutionTimeQuery `protobuf:"bytes,57,opt,name=networkGetExecutionTime,proto3,oneof"`
}

type Query_NetworkGetVersionInfo

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

type Query_ScheduleGetInfo

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

type Query_TokenGetAccountNftInfos

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

type Query_TokenGetInfo

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

type Query_TokenGetNftInfo

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

type Query_TokenGetNftInfos

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

type Query_TransactionGetFastRecord

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

type Query_TransactionGetReceipt

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

type Query_TransactionGetRecord

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

type RealmID

type RealmID struct {

	// *
	// The shard number (nonnegative)
	ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`
	// *
	// The realm number (nonnegative)
	RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"`
	// contains filtered or unexported fields
}

* The ID for a realm. Within a given shard, every realm has a unique ID. Each account, file, and contract instance belongs to exactly one realm.

func (*RealmID) Descriptor deprecated

func (*RealmID) 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_NetworkGetExecutionTime
	//	*Response_AccountDetails
	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) GetAccountDetails

func (x *Response) GetAccountDetails() *GetAccountDetailsResponse

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

func (x *Response) GetNetworkGetExecutionTime() *NetworkGetExecutionTimeResponse

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

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

* UNDOCUMENTED

const (
	// *
	// The transaction passed the precheck validations.
	ResponseCodeEnum_OK ResponseCodeEnum = 0
	// *
	// For any error not handled by specific error codes listed below.
	ResponseCodeEnum_INVALID_TRANSACTION ResponseCodeEnum = 1
	// *
	// Payer account does not exist.
	ResponseCodeEnum_PAYER_ACCOUNT_NOT_FOUND ResponseCodeEnum = 2
	// *
	// Node Account provided does not match the node account of the node the transaction was submitted
	// to.
	ResponseCodeEnum_INVALID_NODE_ACCOUNT ResponseCodeEnum = 3
	// *
	// Pre-Check error when TransactionValidStart + transactionValidDuration is less than current
	// consensus time.
	ResponseCodeEnum_TRANSACTION_EXPIRED ResponseCodeEnum = 4
	// *
	// Transaction start time is greater than current consensus time
	ResponseCodeEnum_INVALID_TRANSACTION_START ResponseCodeEnum = 5
	// *
	// The given transactionValidDuration was either non-positive, or greater than the maximum
	// valid duration of 180 secs.
	ResponseCodeEnum_INVALID_TRANSACTION_DURATION ResponseCodeEnum = 6
	// *
	// The transaction signature is not valid
	ResponseCodeEnum_INVALID_SIGNATURE ResponseCodeEnum = 7
	// *
	// Transaction memo size exceeded 100 bytes
	ResponseCodeEnum_MEMO_TOO_LONG ResponseCodeEnum = 8
	// *
	// The fee provided in the transaction is insufficient for this type of transaction
	ResponseCodeEnum_INSUFFICIENT_TX_FEE ResponseCodeEnum = 9
	// *
	// The payer account has insufficient cryptocurrency to pay the transaction fee
	ResponseCodeEnum_INSUFFICIENT_PAYER_BALANCE ResponseCodeEnum = 10
	// *
	// 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_DUPLICATE_TRANSACTION ResponseCodeEnum = 11
	// *
	// If API is throttled out
	ResponseCodeEnum_BUSY ResponseCodeEnum = 12
	// *
	// The API is not currently supported
	ResponseCodeEnum_NOT_SUPPORTED ResponseCodeEnum = 13
	// *
	// The file id is invalid or does not exist
	ResponseCodeEnum_INVALID_FILE_ID ResponseCodeEnum = 14
	// *
	// The account id is invalid or does not exist
	ResponseCodeEnum_INVALID_ACCOUNT_ID ResponseCodeEnum = 15
	// *
	// The contract id is invalid or does not exist
	ResponseCodeEnum_INVALID_CONTRACT_ID ResponseCodeEnum = 16
	// *
	// Transaction id is not valid
	ResponseCodeEnum_INVALID_TRANSACTION_ID ResponseCodeEnum = 17
	// *
	// Receipt for given transaction id does not exist
	ResponseCodeEnum_RECEIPT_NOT_FOUND ResponseCodeEnum = 18
	// *
	// Record for given transaction id does not exist
	ResponseCodeEnum_RECORD_NOT_FOUND ResponseCodeEnum = 19
	// *
	// The solidity id is invalid or entity with this solidity id does not exist
	ResponseCodeEnum_INVALID_SOLIDITY_ID ResponseCodeEnum = 20
	// *
	// The responding node has submitted the transaction to the network. Its final status is still
	// unknown.
	ResponseCodeEnum_UNKNOWN ResponseCodeEnum = 21
	// *
	// The transaction succeeded
	ResponseCodeEnum_SUCCESS ResponseCodeEnum = 22
	// *
	// There was a system error and the transaction failed because of invalid request parameters.
	ResponseCodeEnum_FAIL_INVALID ResponseCodeEnum = 23
	// *
	// There was a system error while performing fee calculation, reserved for future.
	ResponseCodeEnum_FAIL_FEE ResponseCodeEnum = 24
	// *
	// There was a system error while performing balance checks, reserved for future.
	ResponseCodeEnum_FAIL_BALANCE ResponseCodeEnum = 25
	// *
	// Key not provided in the transaction body
	ResponseCodeEnum_KEY_REQUIRED ResponseCodeEnum = 26
	// *
	// Unsupported algorithm/encoding used for keys in the transaction
	ResponseCodeEnum_BAD_ENCODING ResponseCodeEnum = 27
	// *
	// When the account balance is not sufficient for the transfer
	ResponseCodeEnum_INSUFFICIENT_ACCOUNT_BALANCE ResponseCodeEnum = 28
	// *
	// During an update transaction when the system is not able to find the Users Solidity address
	ResponseCodeEnum_INVALID_SOLIDITY_ADDRESS ResponseCodeEnum = 29
	// *
	// Not enough gas was supplied to execute transaction
	ResponseCodeEnum_INSUFFICIENT_GAS ResponseCodeEnum = 30
	// *
	// contract byte code size is over the limit
	ResponseCodeEnum_CONTRACT_SIZE_LIMIT_EXCEEDED ResponseCodeEnum = 31
	// *
	// local execution (query) is requested for a function which changes state
	ResponseCodeEnum_LOCAL_CALL_MODIFICATION_EXCEPTION ResponseCodeEnum = 32
	// *
	// Contract REVERT OPCODE executed
	ResponseCodeEnum_CONTRACT_REVERT_EXECUTED ResponseCodeEnum = 33
	// *
	// For any contract execution related error not handled by specific error codes listed above.
	ResponseCodeEnum_CONTRACT_EXECUTION_EXCEPTION ResponseCodeEnum = 34
	// *
	// 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_INVALID_RECEIVING_NODE_ACCOUNT ResponseCodeEnum = 35
	// *
	// Header is missing in Query request
	ResponseCodeEnum_MISSING_QUERY_HEADER ResponseCodeEnum = 36
	// *
	// The update of the account failed
	ResponseCodeEnum_ACCOUNT_UPDATE_FAILED ResponseCodeEnum = 37
	// *
	// Provided key encoding was not supported by the system
	ResponseCodeEnum_INVALID_KEY_ENCODING ResponseCodeEnum = 38
	// *
	// null solidity address
	ResponseCodeEnum_NULL_SOLIDITY_ADDRESS ResponseCodeEnum = 39
	// *
	// update of the contract failed
	ResponseCodeEnum_CONTRACT_UPDATE_FAILED ResponseCodeEnum = 40
	// *
	// the query header is invalid
	ResponseCodeEnum_INVALID_QUERY_HEADER ResponseCodeEnum = 41
	// *
	// Invalid fee submitted
	ResponseCodeEnum_INVALID_FEE_SUBMITTED ResponseCodeEnum = 42
	// *
	// Payer signature is invalid
	ResponseCodeEnum_INVALID_PAYER_SIGNATURE ResponseCodeEnum = 43
	// *
	// The keys were not provided in the request.
	ResponseCodeEnum_KEY_NOT_PROVIDED ResponseCodeEnum = 44
	// *
	// Expiration time provided in the transaction was invalid.
	ResponseCodeEnum_INVALID_EXPIRATION_TIME ResponseCodeEnum = 45
	// *
	// WriteAccess Control Keys are not provided for the file
	ResponseCodeEnum_NO_WACL_KEY ResponseCodeEnum = 46
	// *
	// The contents of file are provided as empty.
	ResponseCodeEnum_FILE_CONTENT_EMPTY ResponseCodeEnum = 47
	// *
	// The crypto transfer credit and debit do not sum equal to 0
	ResponseCodeEnum_INVALID_ACCOUNT_AMOUNTS ResponseCodeEnum = 48
	// *
	// Transaction body provided is empty
	ResponseCodeEnum_EMPTY_TRANSACTION_BODY ResponseCodeEnum = 49
	// *
	// Invalid transaction body provided
	ResponseCodeEnum_INVALID_TRANSACTION_BODY ResponseCodeEnum = 50
	// *
	// 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_TYPE_MISMATCHING_KEY ResponseCodeEnum = 51
	// *
	// 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_INVALID_SIGNATURE_COUNT_MISMATCHING_KEY ResponseCodeEnum = 52
	// *
	// the livehash body is empty
	ResponseCodeEnum_EMPTY_LIVE_HASH_BODY ResponseCodeEnum = 53
	// *
	// the livehash data is missing
	ResponseCodeEnum_EMPTY_LIVE_HASH ResponseCodeEnum = 54
	// *
	// the keys for a livehash are missing
	ResponseCodeEnum_EMPTY_LIVE_HASH_KEYS ResponseCodeEnum = 55
	// *
	// the livehash data is not the output of a SHA-384 digest
	ResponseCodeEnum_INVALID_LIVE_HASH_SIZE ResponseCodeEnum = 56
	// *
	// the query body is empty
	ResponseCodeEnum_EMPTY_QUERY_BODY ResponseCodeEnum = 57
	// *
	// the crypto livehash query is empty
	ResponseCodeEnum_EMPTY_LIVE_HASH_QUERY ResponseCodeEnum = 58
	// *
	// the livehash is not present
	ResponseCodeEnum_LIVE_HASH_NOT_FOUND ResponseCodeEnum = 59
	// *
	// the account id passed has not yet been created.
	ResponseCodeEnum_ACCOUNT_ID_DOES_NOT_EXIST ResponseCodeEnum = 60
	// *
	// the livehash already exists for a given account
	ResponseCodeEnum_LIVE_HASH_ALREADY_EXISTS ResponseCodeEnum = 61
	// *
	// File WACL keys are invalid
	ResponseCodeEnum_INVALID_FILE_WACL ResponseCodeEnum = 62
	// *
	// Serialization failure
	ResponseCodeEnum_SERIALIZATION_FAILED ResponseCodeEnum = 63
	// *
	// The size of the Transaction is greater than transactionMaxBytes
	ResponseCodeEnum_TRANSACTION_OVERSIZE ResponseCodeEnum = 64
	// *
	// The Transaction has more than 50 levels
	ResponseCodeEnum_TRANSACTION_TOO_MANY_LAYERS ResponseCodeEnum = 65
	// *
	// Contract is marked as deleted
	ResponseCodeEnum_CONTRACT_DELETED ResponseCodeEnum = 66
	// *
	// the platform node is either disconnected or lagging behind.
	ResponseCodeEnum_PLATFORM_NOT_ACTIVE ResponseCodeEnum = 67
	// *
	// one public key matches more than one prefixes on the signature map
	ResponseCodeEnum_KEY_PREFIX_MISMATCH ResponseCodeEnum = 68
	// *
	// transaction not created by platform due to large backlog
	ResponseCodeEnum_PLATFORM_TRANSACTION_NOT_CREATED ResponseCodeEnum = 69
	// *
	// auto renewal period is not a positive number of seconds
	ResponseCodeEnum_INVALID_RENEWAL_PERIOD ResponseCodeEnum = 70
	// *
	// the response code when a smart contract id is passed for a crypto API request
	ResponseCodeEnum_INVALID_PAYER_ACCOUNT_ID ResponseCodeEnum = 71
	// *
	// the account has been marked as deleted
	ResponseCodeEnum_ACCOUNT_DELETED ResponseCodeEnum = 72
	// *
	// the file has been marked as deleted
	ResponseCodeEnum_FILE_DELETED ResponseCodeEnum = 73
	// *
	// same accounts repeated in the transfer account list
	ResponseCodeEnum_ACCOUNT_REPEATED_IN_ACCOUNT_AMOUNTS ResponseCodeEnum = 74
	// *
	// attempting to set negative balance value for crypto account
	ResponseCodeEnum_SETTING_NEGATIVE_ACCOUNT_BALANCE ResponseCodeEnum = 75
	// *
	// when deleting smart contract that has crypto balance either transfer account or transfer smart
	// contract is required
	ResponseCodeEnum_OBTAINER_REQUIRED ResponseCodeEnum = 76
	// *
	// 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_SAME_CONTRACT_ID ResponseCodeEnum = 77
	// *
	// transferAccountId or transferContractId specified for contract delete does not exist
	ResponseCodeEnum_OBTAINER_DOES_NOT_EXIST ResponseCodeEnum = 78
	// *
	// attempting to modify (update or delete a immutable smart contract, i.e. one created without a
	// admin key)
	ResponseCodeEnum_MODIFYING_IMMUTABLE_CONTRACT ResponseCodeEnum = 79
	// *
	// Unexpected exception thrown by file system functions
	ResponseCodeEnum_FILE_SYSTEM_EXCEPTION ResponseCodeEnum = 80
	// *
	// the duration is not a subset of [MINIMUM_AUTORENEW_DURATION,MAXIMUM_AUTORENEW_DURATION]
	ResponseCodeEnum_AUTORENEW_DURATION_NOT_IN_RANGE ResponseCodeEnum = 81
	// *
	// Decoding the smart contract binary to a byte array failed. Check that the input is a valid hex
	// string.
	ResponseCodeEnum_ERROR_DECODING_BYTESTRING ResponseCodeEnum = 82
	// *
	// File to create a smart contract was of length zero
	ResponseCodeEnum_CONTRACT_FILE_EMPTY ResponseCodeEnum = 83
	// *
	// Bytecode for smart contract is of length zero
	ResponseCodeEnum_CONTRACT_BYTECODE_EMPTY ResponseCodeEnum = 84
	// *
	// Attempt to set negative initial balance
	ResponseCodeEnum_INVALID_INITIAL_BALANCE ResponseCodeEnum = 85
	// *
	// [Deprecated]. attempt to set negative receive record threshold
	//
	// Deprecated: Marked as deprecated in response_code.proto.
	ResponseCodeEnum_INVALID_RECEIVE_RECORD_THRESHOLD ResponseCodeEnum = 86
	// *
	// [Deprecated]. attempt to set negative send record threshold
	//
	// Deprecated: Marked as deprecated in response_code.proto.
	ResponseCodeEnum_INVALID_SEND_RECORD_THRESHOLD ResponseCodeEnum = 87
	// *
	// Special Account Operations should be performed by only Genesis account, return this code if it
	// is not Genesis Account
	ResponseCodeEnum_ACCOUNT_IS_NOT_GENESIS_ACCOUNT ResponseCodeEnum = 88
	// *
	// The fee payer account doesn't have permission to submit such Transaction
	ResponseCodeEnum_PAYER_ACCOUNT_UNAUTHORIZED ResponseCodeEnum = 89
	// *
	// FreezeTransactionBody is invalid
	ResponseCodeEnum_INVALID_FREEZE_TRANSACTION_BODY ResponseCodeEnum = 90
	// *
	// FreezeTransactionBody does not exist
	ResponseCodeEnum_FREEZE_TRANSACTION_BODY_NOT_FOUND ResponseCodeEnum = 91
	// *
	// Exceeded the number of accounts (both from and to) allowed for crypto transfer list
	ResponseCodeEnum_TRANSFER_LIST_SIZE_LIMIT_EXCEEDED ResponseCodeEnum = 92
	// *
	// Smart contract result size greater than specified maxResultSize
	ResponseCodeEnum_RESULT_SIZE_LIMIT_EXCEEDED ResponseCodeEnum = 93
	// *
	// The payer account is not a special account(account 0.0.55)
	ResponseCodeEnum_NOT_SPECIAL_ACCOUNT ResponseCodeEnum = 94
	// *
	// Negative gas was offered in smart contract call
	ResponseCodeEnum_CONTRACT_NEGATIVE_GAS ResponseCodeEnum = 95
	// *
	// Negative value / initial balance was specified in a smart contract call / create
	ResponseCodeEnum_CONTRACT_NEGATIVE_VALUE ResponseCodeEnum = 96
	// *
	// Failed to update fee file
	ResponseCodeEnum_INVALID_FEE_FILE ResponseCodeEnum = 97
	// *
	// Failed to update exchange rate file
	ResponseCodeEnum_INVALID_EXCHANGE_RATE_FILE ResponseCodeEnum = 98
	// *
	// Payment tendered for contract local call cannot cover both the fee and the gas
	ResponseCodeEnum_INSUFFICIENT_LOCAL_CALL_GAS ResponseCodeEnum = 99
	// *
	// Entities with Entity ID below 1000 are not allowed to be deleted
	ResponseCodeEnum_ENTITY_NOT_ALLOWED_TO_DELETE ResponseCodeEnum = 100
	// *
	// 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_AUTHORIZATION_FAILED ResponseCodeEnum = 101
	// *
	// Fee Schedule Proto uploaded but not valid (append or update is required)
	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 File Part uploaded
	ResponseCodeEnum_FEE_SCHEDULE_FILE_PART_UPLOADED ResponseCodeEnum = 104
	// *
	// The change on Exchange Rate exceeds Exchange_Rate_Allowed_Percentage
	ResponseCodeEnum_EXCHANGE_RATE_CHANGE_LIMIT_EXCEEDED ResponseCodeEnum = 105
	// *
	// Contract permanent storage exceeded the currently allowable limit
	ResponseCodeEnum_MAX_CONTRACT_STORAGE_EXCEEDED ResponseCodeEnum = 106
	// *
	// Transfer Account should not be same as Account to be deleted
	ResponseCodeEnum_TRANSFER_ACCOUNT_SAME_AS_DELETE_ACCOUNT ResponseCodeEnum = 107
	ResponseCodeEnum_TOTAL_LEDGER_BALANCE_INVALID            ResponseCodeEnum = 108
	// *
	// The expiration date/time on a smart contract may not be reduced
	ResponseCodeEnum_EXPIRATION_REDUCTION_NOT_ALLOWED ResponseCodeEnum = 110
	// *
	// Gas exceeded currently allowable gas limit per transaction
	ResponseCodeEnum_MAX_GAS_LIMIT_EXCEEDED ResponseCodeEnum = 111
	// *
	// File size exceeded the currently allowable limit
	ResponseCodeEnum_MAX_FILE_SIZE_EXCEEDED ResponseCodeEnum = 112
	// *
	// When a valid signature is not provided for operations on account with receiverSigRequired=true
	ResponseCodeEnum_RECEIVER_SIG_REQUIRED ResponseCodeEnum = 113
	// *
	// The Topic ID specified is not in the system.
	ResponseCodeEnum_INVALID_TOPIC_ID ResponseCodeEnum = 150
	// *
	// A provided admin key was invalid. Verify the bytes for an Ed25519 public key are exactly 32 bytes; and the bytes for a compressed ECDSA(secp256k1) key are exactly 33 bytes, with the first byte either 0x02 or 0x03..
	ResponseCodeEnum_INVALID_ADMIN_KEY ResponseCodeEnum = 155
	// *
	// A provided submit key was invalid.
	ResponseCodeEnum_INVALID_SUBMIT_KEY ResponseCodeEnum = 156
	// *
	// An attempted operation was not authorized (ie - a deleteTopic for a topic with no adminKey).
	ResponseCodeEnum_UNAUTHORIZED ResponseCodeEnum = 157
	// *
	// A ConsensusService message is empty.
	ResponseCodeEnum_INVALID_TOPIC_MESSAGE ResponseCodeEnum = 158
	// *
	// The autoRenewAccount specified is not a valid, active account.
	ResponseCodeEnum_INVALID_AUTORENEW_ACCOUNT ResponseCodeEnum = 159
	// *
	// An adminKey was not specified on the topic, so there must not be an autoRenewAccount.
	ResponseCodeEnum_AUTORENEW_ACCOUNT_NOT_ALLOWED ResponseCodeEnum = 160
	// *
	// 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
	// *
	// The Scheduled entity does not exist; or has now expired, been deleted, or been executed
	ResponseCodeEnum_INVALID_SCHEDULE_ID ResponseCodeEnum = 201
	// *
	// The Scheduled entity cannot be modified. Admin key not set
	ResponseCodeEnum_SCHEDULE_IS_IMMUTABLE ResponseCodeEnum = 202
	// *
	// The provided Scheduled Payer does not exist
	ResponseCodeEnum_INVALID_SCHEDULE_PAYER_ID ResponseCodeEnum = 203
	// *
	// The Schedule Create Transaction TransactionID account does not exist
	ResponseCodeEnum_INVALID_SCHEDULE_ACCOUNT_ID ResponseCodeEnum = 204
	// *
	// The provided sig map did not contain any new valid signatures from required signers of the scheduled transaction
	ResponseCodeEnum_NO_NEW_VALID_SIGNATURES ResponseCodeEnum = 205
	// *
	// The required signers for a scheduled transaction cannot be resolved, for example because they do not exist or have been deleted
	ResponseCodeEnum_UNRESOLVABLE_REQUIRED_SIGNERS ResponseCodeEnum = 206
	// *
	// Only whitelisted transaction types may be scheduled
	ResponseCodeEnum_SCHEDULED_TRANSACTION_NOT_IN_WHITELIST ResponseCodeEnum = 207
	// *
	// At least one of the signatures in the provided sig map did not represent a valid signature for any required signer
	ResponseCodeEnum_SOME_SIGNATURES_WERE_INVALID ResponseCodeEnum = 208
	// *
	// The scheduled field in the TransactionID may not be set to true
	ResponseCodeEnum_TRANSACTION_ID_FIELD_NOT_ALLOWED ResponseCodeEnum = 209
	// *
	// A schedule already exists with the same identifying fields of an attempted ScheduleCreate (that is, all fields other than scheduledPayerAccountID)
	ResponseCodeEnum_IDENTICAL_SCHEDULE_ALREADY_CREATED ResponseCodeEnum = 210
	// *
	// A string field in the transaction has a UTF-8 encoding with the prohibited zero byte
	ResponseCodeEnum_INVALID_ZERO_BYTE_IN_STRING ResponseCodeEnum = 211
	// *
	// A schedule being signed or deleted has already been deleted
	ResponseCodeEnum_SCHEDULE_ALREADY_DELETED ResponseCodeEnum = 212
	// *
	// A schedule being signed or deleted has already been executed
	ResponseCodeEnum_SCHEDULE_ALREADY_EXECUTED ResponseCodeEnum = 213
	// *
	// ConsensusSubmitMessage request's message size is larger than allowed.
	ResponseCodeEnum_MESSAGE_SIZE_TOO_LARGE ResponseCodeEnum = 214
	// *
	// An operation was assigned to more than one throttle group in a given bucket
	ResponseCodeEnum_OPERATION_REPEATED_IN_BUCKET_GROUPS ResponseCodeEnum = 215
	// *
	// The capacity needed to satisfy all opsPerSec groups in a bucket overflowed a signed 8-byte integral type
	ResponseCodeEnum_BUCKET_CAPACITY_OVERFLOW ResponseCodeEnum = 216
	// *
	// 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_NODE_CAPACITY_NOT_SUFFICIENT_FOR_OPERATION ResponseCodeEnum = 217
	// *
	// A bucket was defined without any throttle groups
	ResponseCodeEnum_BUCKET_HAS_NO_THROTTLE_GROUPS ResponseCodeEnum = 218
	// *
	// A throttle group was granted zero opsPerSec
	ResponseCodeEnum_THROTTLE_GROUP_HAS_ZERO_OPS_PER_SEC ResponseCodeEnum = 219
	// *
	// The throttle definitions file was updated, but some supported operations were not assigned a bucket
	ResponseCodeEnum_SUCCESS_BUT_MISSING_EXPECTED_OPERATION ResponseCodeEnum = 220
	// *
	// The new contents for the throttle definitions system file were not valid protobuf
	ResponseCodeEnum_UNPARSEABLE_THROTTLE_DEFINITIONS ResponseCodeEnum = 221
	// *
	// The new throttle definitions system file were invalid, and no more specific error could be divined
	ResponseCodeEnum_INVALID_THROTTLE_DEFINITIONS ResponseCodeEnum = 222
	// *
	// 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_ACCOUNT_EXPIRED_AND_PENDING_REMOVAL ResponseCodeEnum = 223
	// *
	// Invalid token max supply
	ResponseCodeEnum_INVALID_TOKEN_MAX_SUPPLY ResponseCodeEnum = 224
	// *
	// Invalid token nft serial number
	ResponseCodeEnum_INVALID_TOKEN_NFT_SERIAL_NUMBER ResponseCodeEnum = 225
	// *
	// Invalid nft id
	ResponseCodeEnum_INVALID_NFT_ID ResponseCodeEnum = 226
	// *
	// Nft metadata is too long
	ResponseCodeEnum_METADATA_TOO_LONG ResponseCodeEnum = 227
	// *
	// Repeated operations count exceeds the limit
	ResponseCodeEnum_BATCH_SIZE_LIMIT_EXCEEDED ResponseCodeEnum = 228
	// *
	// The range of data to be gathered is out of the set boundaries
	ResponseCodeEnum_INVALID_QUERY_RANGE ResponseCodeEnum = 229
	// *
	// A custom fractional fee set a denominator of zero
	ResponseCodeEnum_FRACTION_DIVIDES_BY_ZERO ResponseCodeEnum = 230
	// *
	// The transaction payer could not afford a custom fee
	//
	// Deprecated: Marked as deprecated in response_code.proto.
	ResponseCodeEnum_INSUFFICIENT_PAYER_BALANCE_FOR_CUSTOM_FEE ResponseCodeEnum = 231
	// *
	// More than 10 custom fees were specified
	ResponseCodeEnum_CUSTOM_FEES_LIST_TOO_LONG ResponseCodeEnum = 232
	// *
	// Any of the feeCollector accounts for customFees is invalid
	ResponseCodeEnum_INVALID_CUSTOM_FEE_COLLECTOR ResponseCodeEnum = 233
	// *
	// Any of the token Ids in customFees is invalid
	ResponseCodeEnum_INVALID_TOKEN_ID_IN_CUSTOM_FEES ResponseCodeEnum = 234
	// *
	// Any of the token Ids in customFees are not associated to feeCollector
	ResponseCodeEnum_TOKEN_NOT_ASSOCIATED_TO_FEE_COLLECTOR ResponseCodeEnum = 235
	// *
	// A token cannot have more units minted due to its configured supply ceiling
	ResponseCodeEnum_TOKEN_MAX_SUPPLY_REACHED ResponseCodeEnum = 236
	// *
	// The transaction attempted to move an NFT serial number from an account other than its owner
	ResponseCodeEnum_SENDER_DOES_NOT_OWN_NFT_SERIAL_NO ResponseCodeEnum = 237
	// *
	// A custom fee schedule entry did not specify either a fixed or fractional fee
	ResponseCodeEnum_CUSTOM_FEE_NOT_FULLY_SPECIFIED ResponseCodeEnum = 238
	// *
	// Only positive fees may be assessed at this time
	ResponseCodeEnum_CUSTOM_FEE_MUST_BE_POSITIVE ResponseCodeEnum = 239
	// *
	// Fee schedule key is not set on token
	ResponseCodeEnum_TOKEN_HAS_NO_FEE_SCHEDULE_KEY ResponseCodeEnum = 240
	// *
	// A fractional custom fee exceeded the range of a 64-bit signed integer
	ResponseCodeEnum_CUSTOM_FEE_OUTSIDE_NUMERIC_RANGE ResponseCodeEnum = 241
	// *
	// A royalty cannot exceed the total fungible value exchanged for an NFT
	ResponseCodeEnum_ROYALTY_FRACTION_CANNOT_EXCEED_ONE ResponseCodeEnum = 242
	// *
	// Each fractional custom fee must have its maximum_amount, if specified, at least its minimum_amount
	ResponseCodeEnum_FRACTIONAL_FEE_MAX_AMOUNT_LESS_THAN_MIN_AMOUNT ResponseCodeEnum = 243
	// *
	// A fee schedule update tried to clear the custom fees from a token whose fee schedule was already empty
	ResponseCodeEnum_CUSTOM_SCHEDULE_ALREADY_HAS_NO_FEES ResponseCodeEnum = 244
	// *
	// Only tokens of type FUNGIBLE_COMMON can be used to as fee schedule denominations
	ResponseCodeEnum_CUSTOM_FEE_DENOMINATION_MUST_BE_FUNGIBLE_COMMON ResponseCodeEnum = 245
	// *
	// Only tokens of type FUNGIBLE_COMMON can have fractional fees
	ResponseCodeEnum_CUSTOM_FRACTIONAL_FEE_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON ResponseCodeEnum = 246
	// *
	// The provided custom fee schedule key was invalid
	ResponseCodeEnum_INVALID_CUSTOM_FEE_SCHEDULE_KEY ResponseCodeEnum = 247
	// *
	// The requested token mint metadata was invalid
	ResponseCodeEnum_INVALID_TOKEN_MINT_METADATA ResponseCodeEnum = 248
	// *
	// The requested token burn metadata was invalid
	ResponseCodeEnum_INVALID_TOKEN_BURN_METADATA ResponseCodeEnum = 249
	// *
	// The treasury for a unique token cannot be changed until it owns no NFTs
	ResponseCodeEnum_CURRENT_TREASURY_STILL_OWNS_NFTS ResponseCodeEnum = 250
	// *
	// An account cannot be dissociated from a unique token if it owns NFTs for the token
	ResponseCodeEnum_ACCOUNT_STILL_OWNS_NFTS ResponseCodeEnum = 251
	// *
	// A NFT can only be burned when owned by the unique token's treasury
	ResponseCodeEnum_TREASURY_MUST_OWN_BURNED_NFT ResponseCodeEnum = 252
	// *
	// An account did not own the NFT to be wiped
	ResponseCodeEnum_ACCOUNT_DOES_NOT_OWN_WIPED_NFT ResponseCodeEnum = 253
	// *
	// An AccountAmount token transfers list referenced a token type other than FUNGIBLE_COMMON
	ResponseCodeEnum_ACCOUNT_AMOUNT_TRANSFERS_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON ResponseCodeEnum = 254
	// *
	// All the NFTs allowed in the current price regime have already been minted
	ResponseCodeEnum_MAX_NFTS_IN_PRICE_REGIME_HAVE_BEEN_MINTED ResponseCodeEnum = 255
	// *
	// The payer account has been marked as deleted
	ResponseCodeEnum_PAYER_ACCOUNT_DELETED ResponseCodeEnum = 256
	// *
	// The reference chain of custom fees for a transferred token exceeded the maximum length of 2
	ResponseCodeEnum_CUSTOM_FEE_CHARGING_EXCEEDED_MAX_RECURSION_DEPTH ResponseCodeEnum = 257
	// *
	// More than 20 balance adjustments were to satisfy a CryptoTransfer and its implied custom fee payments
	ResponseCodeEnum_CUSTOM_FEE_CHARGING_EXCEEDED_MAX_ACCOUNT_AMOUNTS ResponseCodeEnum = 258
	// *
	// The sender account in the token transfer transaction could not afford a custom fee
	ResponseCodeEnum_INSUFFICIENT_SENDER_ACCOUNT_BALANCE_FOR_CUSTOM_FEE ResponseCodeEnum = 259
	// *
	// Currently no more than 4,294,967,295 NFTs may be minted for a given unique token type
	ResponseCodeEnum_SERIAL_NUMBER_LIMIT_REACHED ResponseCodeEnum = 260
	// *
	// Only tokens of type NON_FUNGIBLE_UNIQUE can have royalty fees
	ResponseCodeEnum_CUSTOM_ROYALTY_FEE_ONLY_ALLOWED_FOR_NON_FUNGIBLE_UNIQUE ResponseCodeEnum = 261
	// *
	// The account has reached the limit on the automatic associations count.
	ResponseCodeEnum_NO_REMAINING_AUTOMATIC_ASSOCIATIONS ResponseCodeEnum = 262
	// *
	// Already existing automatic associations are more than the new maximum automatic associations.
	ResponseCodeEnum_EXISTING_AUTOMATIC_ASSOCIATIONS_EXCEED_GIVEN_LIMIT ResponseCodeEnum = 263
	// *
	// Cannot set the number of automatic associations for an account more than the maximum allowed
	// token associations <tt>tokens.maxPerAccount</tt>.
	ResponseCodeEnum_REQUESTED_NUM_AUTOMATIC_ASSOCIATIONS_EXCEEDS_ASSOCIATION_LIMIT ResponseCodeEnum = 264
	// *
	// Token is paused. This Token cannot be a part of any kind of Transaction until unpaused.
	ResponseCodeEnum_TOKEN_IS_PAUSED ResponseCodeEnum = 265
	// *
	// Pause key is not set on token
	ResponseCodeEnum_TOKEN_HAS_NO_PAUSE_KEY ResponseCodeEnum = 266
	// *
	// The provided pause key was invalid
	ResponseCodeEnum_INVALID_PAUSE_KEY ResponseCodeEnum = 267
	// *
	// The update file in a freeze transaction body must exist.
	ResponseCodeEnum_FREEZE_UPDATE_FILE_DOES_NOT_EXIST ResponseCodeEnum = 268
	// *
	// The hash of the update file in a freeze transaction body must match the in-memory hash.
	ResponseCodeEnum_FREEZE_UPDATE_FILE_HASH_DOES_NOT_MATCH ResponseCodeEnum = 269
	// *
	// A FREEZE_UPGRADE transaction was handled with no previous update prepared.
	ResponseCodeEnum_NO_UPGRADE_HAS_BEEN_PREPARED ResponseCodeEnum = 270
	// *
	// A FREEZE_ABORT transaction was handled with no scheduled freeze.
	ResponseCodeEnum_NO_FREEZE_IS_SCHEDULED ResponseCodeEnum = 271
	// *
	// The update file hash when handling a FREEZE_UPGRADE transaction differs from the file
	// hash at the time of handling the PREPARE_UPGRADE transaction.
	ResponseCodeEnum_UPDATE_FILE_HASH_CHANGED_SINCE_PREPARE_UPGRADE ResponseCodeEnum = 272
	// *
	// The given freeze start time was in the (consensus) past.
	ResponseCodeEnum_FREEZE_START_TIME_MUST_BE_FUTURE ResponseCodeEnum = 273
	// *
	// The prepared update file cannot be updated or appended until either the upgrade has
	// been completed, or a FREEZE_ABORT has been handled.
	ResponseCodeEnum_PREPARED_UPDATE_FILE_IS_IMMUTABLE ResponseCodeEnum = 274
	// *
	// Once a freeze is scheduled, it must be aborted before any other type of freeze can
	// can be performed.
	ResponseCodeEnum_FREEZE_ALREADY_SCHEDULED ResponseCodeEnum = 275
	// *
	// If an NMT upgrade has been prepared, the following operation must be a FREEZE_UPGRADE.
	// (To issue a FREEZE_ONLY, submit a FREEZE_ABORT first.)
	ResponseCodeEnum_FREEZE_UPGRADE_IN_PROGRESS ResponseCodeEnum = 276
	// *
	// If an NMT upgrade has been prepared, the subsequent FREEZE_UPGRADE transaction must
	// confirm the id of the file to be used in the upgrade.
	ResponseCodeEnum_UPDATE_FILE_ID_DOES_NOT_MATCH_PREPARED ResponseCodeEnum = 277
	// *
	// If an NMT upgrade has been prepared, the subsequent FREEZE_UPGRADE transaction must
	// confirm the hash of the file to be used in the upgrade.
	ResponseCodeEnum_UPDATE_FILE_HASH_DOES_NOT_MATCH_PREPARED ResponseCodeEnum = 278
	// *
	// Consensus throttle did not allow execution of this transaction. System is throttled at
	// consensus level.
	ResponseCodeEnum_CONSENSUS_GAS_EXHAUSTED ResponseCodeEnum = 279
	// *
	// A precompiled contract succeeded, but was later reverted.
	ResponseCodeEnum_REVERTED_SUCCESS ResponseCodeEnum = 280
	// *
	// All contract storage allocated to the current price regime has been consumed.
	ResponseCodeEnum_MAX_STORAGE_IN_PRICE_REGIME_HAS_BEEN_USED ResponseCodeEnum = 281
	// *
	// An alias used in a CryptoTransfer transaction is not the serialization of a primitive Key
	// message--that is, a Key with a single Ed25519 or ECDSA(secp256k1) public key and no
	// unknown protobuf fields.
	ResponseCodeEnum_INVALID_ALIAS_KEY ResponseCodeEnum = 282
	// *
	// A fungible token transfer expected a different number of decimals than the involved
	// type actually has.
	ResponseCodeEnum_UNEXPECTED_TOKEN_DECIMALS ResponseCodeEnum = 283
	// *
	// [Deprecated] The proxy account id is invalid or does not exist.
	//
	// Deprecated: Marked as deprecated in response_code.proto.
	ResponseCodeEnum_INVALID_PROXY_ACCOUNT_ID ResponseCodeEnum = 284
	// *
	// The transfer account id in CryptoDelete transaction is invalid or does not exist.
	ResponseCodeEnum_INVALID_TRANSFER_ACCOUNT_ID ResponseCodeEnum = 285
	// *
	// The fee collector account id in TokenFeeScheduleUpdate is invalid or does not exist.
	ResponseCodeEnum_INVALID_FEE_COLLECTOR_ACCOUNT_ID ResponseCodeEnum = 286
	// *
	// The alias already set on an account cannot be updated using CryptoUpdate transaction.
	ResponseCodeEnum_ALIAS_IS_IMMUTABLE ResponseCodeEnum = 287
	// *
	// An approved allowance specifies a spender account that is the same as the hbar/token
	// owner account.
	ResponseCodeEnum_SPENDER_ACCOUNT_SAME_AS_OWNER ResponseCodeEnum = 288
	// *
	// The establishment or adjustment of an approved allowance cause the token allowance
	// to exceed the token maximum supply.
	ResponseCodeEnum_AMOUNT_EXCEEDS_TOKEN_MAX_SUPPLY ResponseCodeEnum = 289
	// *
	// The specified amount for an approved allowance cannot be negative.
	ResponseCodeEnum_NEGATIVE_ALLOWANCE_AMOUNT ResponseCodeEnum = 290
	// *
	// [Deprecated] The approveForAll flag cannot be set for a fungible token.
	//
	// Deprecated: Marked as deprecated in response_code.proto.
	ResponseCodeEnum_CANNOT_APPROVE_FOR_ALL_FUNGIBLE_COMMON ResponseCodeEnum = 291
	// *
	// The spender does not have an existing approved allowance with the hbar/token owner.
	ResponseCodeEnum_SPENDER_DOES_NOT_HAVE_ALLOWANCE ResponseCodeEnum = 292
	// *
	// The transfer amount exceeds the current approved allowance for the spender account.
	ResponseCodeEnum_AMOUNT_EXCEEDS_ALLOWANCE ResponseCodeEnum = 293
	// *
	// The payer account of an approveAllowances or adjustAllowance transaction is attempting
	// to go beyond the maximum allowed number of allowances.
	ResponseCodeEnum_MAX_ALLOWANCES_EXCEEDED ResponseCodeEnum = 294
	// *
	// No allowances have been specified in the approval transaction.
	ResponseCodeEnum_EMPTY_ALLOWANCES ResponseCodeEnum = 295
	// *
	// [Deprecated] Spender is repeated more than once in Crypto or Token or NFT allowance lists in a single
	// CryptoApproveAllowance transaction.
	//
	// Deprecated: Marked as deprecated in response_code.proto.
	ResponseCodeEnum_SPENDER_ACCOUNT_REPEATED_IN_ALLOWANCES ResponseCodeEnum = 296
	// *
	// [Deprecated] Serial numbers are repeated in nft allowance for a single spender account
	//
	// Deprecated: Marked as deprecated in response_code.proto.
	ResponseCodeEnum_REPEATED_SERIAL_NUMS_IN_NFT_ALLOWANCES ResponseCodeEnum = 297
	// *
	// Fungible common token used in NFT allowances
	ResponseCodeEnum_FUNGIBLE_TOKEN_IN_NFT_ALLOWANCES ResponseCodeEnum = 298
	// *
	// Non fungible token used in fungible token allowances
	ResponseCodeEnum_NFT_IN_FUNGIBLE_TOKEN_ALLOWANCES ResponseCodeEnum = 299
	// *
	// The account id specified as the owner is invalid or does not exist.
	ResponseCodeEnum_INVALID_ALLOWANCE_OWNER_ID ResponseCodeEnum = 300
	// *
	// The account id specified as the spender is invalid or does not exist.
	ResponseCodeEnum_INVALID_ALLOWANCE_SPENDER_ID ResponseCodeEnum = 301
	// *
	// [Deprecated] If the CryptoDeleteAllowance transaction has repeated crypto or token or Nft allowances to delete.
	//
	// Deprecated: Marked as deprecated in response_code.proto.
	ResponseCodeEnum_REPEATED_ALLOWANCES_TO_DELETE ResponseCodeEnum = 302
	// *
	// If the account Id specified as the delegating spender is invalid or does not exist.
	ResponseCodeEnum_INVALID_DELEGATING_SPENDER ResponseCodeEnum = 303
	// *
	// The delegating Spender cannot grant approveForAll allowance on a NFT token type for another spender.
	ResponseCodeEnum_DELEGATING_SPENDER_CANNOT_GRANT_APPROVE_FOR_ALL ResponseCodeEnum = 304
	// *
	// The delegating Spender cannot grant allowance on a NFT serial for another spender as it doesnt not have approveForAll
	// granted on token-owner.
	ResponseCodeEnum_DELEGATING_SPENDER_DOES_NOT_HAVE_APPROVE_FOR_ALL ResponseCodeEnum = 305
	// *
	// The scheduled transaction could not be created because it's expiration_time was too far in the future.
	ResponseCodeEnum_SCHEDULE_EXPIRATION_TIME_TOO_FAR_IN_FUTURE ResponseCodeEnum = 306
	// *
	// The scheduled transaction could not be created because it's expiration_time was less than or equal to the consensus time.
	ResponseCodeEnum_SCHEDULE_EXPIRATION_TIME_MUST_BE_HIGHER_THAN_CONSENSUS_TIME ResponseCodeEnum = 307
	// *
	// The scheduled transaction could not be created because it would cause throttles to be violated on the specified expiration_time.
	ResponseCodeEnum_SCHEDULE_FUTURE_THROTTLE_EXCEEDED ResponseCodeEnum = 308
	// *
	// The scheduled transaction could not be created because it would cause the gas limit to be violated on the specified expiration_time.
	ResponseCodeEnum_SCHEDULE_FUTURE_GAS_LIMIT_EXCEEDED ResponseCodeEnum = 309
	// *
	// The ethereum transaction either failed parsing or failed signature validation, or some other EthereumTransaction error not covered by another response code.
	ResponseCodeEnum_INVALID_ETHEREUM_TRANSACTION ResponseCodeEnum = 310
	// *
	// EthereumTransaction was signed against a chainId that this network does not support.
	ResponseCodeEnum_WRONG_CHAIN_ID ResponseCodeEnum = 311
	// *
	// This transaction specified an ethereumNonce that is not the current ethereumNonce of the account.
	ResponseCodeEnum_WRONG_NONCE ResponseCodeEnum = 312
	// *
	// The ethereum transaction specified an access list, which the network does not support.
	ResponseCodeEnum_ACCESS_LIST_UNSUPPORTED ResponseCodeEnum = 313
	// *
	// A schedule being signed or deleted has passed it's expiration date and is pending execution if needed and then expiration.
	ResponseCodeEnum_SCHEDULE_PENDING_EXPIRATION ResponseCodeEnum = 314
	// *
	// A selfdestruct or ContractDelete targeted a contract that is a token treasury.
	ResponseCodeEnum_CONTRACT_IS_TOKEN_TREASURY ResponseCodeEnum = 315
	// *
	// A selfdestruct or ContractDelete targeted a contract with non-zero token balances.
	ResponseCodeEnum_CONTRACT_HAS_NON_ZERO_TOKEN_BALANCES ResponseCodeEnum = 316
	// *
	// A contract referenced by a transaction is "detached"; that is, expired and lacking any
	// hbar funds for auto-renewal payment---but still within its post-expiry grace period.
	ResponseCodeEnum_CONTRACT_EXPIRED_AND_PENDING_REMOVAL ResponseCodeEnum = 317
	// *
	// A ContractUpdate requested removal of a contract's auto-renew account, but that contract has
	// no auto-renew account.
	ResponseCodeEnum_CONTRACT_HAS_NO_AUTO_RENEW_ACCOUNT ResponseCodeEnum = 318
	// *
	// A delete transaction submitted via HAPI set permanent_removal=true
	ResponseCodeEnum_PERMANENT_REMOVAL_REQUIRES_SYSTEM_INITIATION ResponseCodeEnum = 319
	// A CryptoCreate or ContractCreate used the deprecated proxyAccountID field.
	ResponseCodeEnum_PROXY_ACCOUNT_ID_FIELD_IS_DEPRECATED ResponseCodeEnum = 320
	// *
	// An account set the staked_account_id to itself in CryptoUpdate or ContractUpdate transactions.
	ResponseCodeEnum_SELF_STAKING_IS_NOT_ALLOWED ResponseCodeEnum = 321
	// *
	// The staking account id or staking node id given is invalid or does not exist.
	ResponseCodeEnum_INVALID_STAKING_ID ResponseCodeEnum = 322
	// *
	// Native staking, while implemented, has not yet enabled by the council.
	ResponseCodeEnum_STAKING_NOT_ENABLED ResponseCodeEnum = 323
	// *
	// The range provided in UtilPrng transaction is negative.
	ResponseCodeEnum_INVALID_PRNG_RANGE ResponseCodeEnum = 324
	// *
	// The maximum number of entities allowed in the current price regime have been created.
	ResponseCodeEnum_MAX_ENTITIES_IN_PRICE_REGIME_HAVE_BEEN_CREATED ResponseCodeEnum = 325
	// *
	// The full prefix signature for precompile is not valid
	ResponseCodeEnum_INVALID_FULL_PREFIX_SIGNATURE_FOR_PRECOMPILE ResponseCodeEnum = 326
	// *
	// The combined balances of a contract and its auto-renew account (if any) did not cover
	// the rent charged for net new storage used in a transaction.
	ResponseCodeEnum_INSUFFICIENT_BALANCES_FOR_STORAGE_RENT ResponseCodeEnum = 327
	// *
	// A contract transaction tried to use more than the allowed number of child records, via
	// either system contract records or internal contract creations.
	ResponseCodeEnum_MAX_CHILD_RECORDS_EXCEEDED ResponseCodeEnum = 328
	// *
	// The combined balances of a contract and its auto-renew account (if any) or balance of an account did not cover
	// the auto-renewal fees in a transaction.
	ResponseCodeEnum_INSUFFICIENT_BALANCES_FOR_RENEWAL_FEES ResponseCodeEnum = 329
	// *
	// A transaction's protobuf message includes unknown fields; could mean that a client
	// expects not-yet-released functionality to be available.
	ResponseCodeEnum_TRANSACTION_HAS_UNKNOWN_FIELDS ResponseCodeEnum = 330
	// *
	// The account cannot be modified. Account's key is not set
	ResponseCodeEnum_ACCOUNT_IS_IMMUTABLE ResponseCodeEnum = 331
	// *
	// An alias that is assigned to an account or contract cannot be assigned to another account or contract.
	ResponseCodeEnum_ALIAS_ALREADY_ASSIGNED ResponseCodeEnum = 332
)

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 {

	// *
	// Result of fee transaction precheck, saying it passed, or why it failed
	NodeTransactionPrecheckCode ResponseCodeEnum `` /* 136-byte string literal not displayed */
	// *
	// The requested response is repeated back here, for convenience
	ResponseType ResponseType `protobuf:"varint,2,opt,name=responseType,proto3,enum=proto.ResponseType" json:"responseType,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)
	Cost uint64 `protobuf:"varint,3,opt,name=cost,proto3" json:"cost,omitempty"`
	// *
	// The state proof for this information (if a state proof was requested, and is available)
	StateProof []byte `protobuf:"bytes,4,opt,name=stateProof,proto3" json:"stateProof,omitempty"`
	// 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_AccountDetails

type Response_AccountDetails struct {
	// *
	// Gets all information about an account including allowances granted by the account
	AccountDetails *GetAccountDetailsResponse `protobuf:"bytes,158,opt,name=accountDetails,proto3,oneof"`
}

type Response_ConsensusGetTopicInfo

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

type Response_ContractCallLocal

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

type Response_ContractGetBytecodeResponse

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

type Response_ContractGetInfo

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

type Response_ContractGetRecordsResponse

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

type Response_CryptoGetAccountRecords

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

type Response_CryptoGetInfo

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

type Response_CryptoGetLiveHash

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

type Response_CryptoGetProxyStakers

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

type Response_CryptogetAccountBalance

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

type Response_FileGetContents

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

type Response_FileGetInfo

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

type Response_GetByKey

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

type Response_GetBySolidityID

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

type Response_NetworkGetExecutionTime

type Response_NetworkGetExecutionTime struct {
	// *
	// Execution times of "sufficiently recent" transactions
	NetworkGetExecutionTime *NetworkGetExecutionTimeResponse `protobuf:"bytes,157,opt,name=networkGetExecutionTime,proto3,oneof"`
}

type Response_NetworkGetVersionInfo

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

type Response_ScheduleGetInfo

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

type Response_TokenGetAccountNftInfos

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

type Response_TokenGetInfo

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

type Response_TokenGetNftInfo

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

type Response_TokenGetNftInfos

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

type Response_TransactionGetFastRecord

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

type Response_TransactionGetReceipt

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

type Response_TransactionGetRecord

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

type RoyaltyFee

type RoyaltyFee struct {

	// *
	// The fraction of fungible value exchanged for an NFT to collect as royalty
	ExchangeValueFraction *Fraction `` /* 126-byte string literal not displayed */
	// *
	// If present, the fixed fee to assess to the NFT receiver when no fungible value is exchanged
	// with the sender
	FallbackFee *FixedFee `protobuf:"bytes,2,opt,name=fallback_fee,json=fallbackFee,proto3" json:"fallback_fee,omitempty"`
	// contains filtered or unexported fields
}

* A fee to assess during a CryptoTransfer that changes ownership of an NFT. Defines the fraction of the fungible value exchanged for an NFT that the ledger should collect as a royalty. ("Fungible value" includes both ℏ and units of fungible HTS tokens.) When the NFT sender does not receive any fungible value, the ledger will assess the fallback fee, if present, to the new NFT owner. Royalty fees can only be added to tokens of type type NON_FUNGIBLE_UNIQUE.

**IMPORTANT:** Users must understand that native royalty fees are _strictly_ a convenience feature, and that the network cannot enforce inescapable royalties on the exchange of a non-fractional NFT. For example, if the counterparties agree to split their value transfer and NFT exchange into separate transactions, the network cannot possibly intervene. (And note the counterparties could use a smart contract to make this split transaction atomic if they do not trust each other.)

Counterparties that _do_ wish to respect creator royalties should follow the pattern the network recognizes: The NFT sender and receiver should both sign a single `CryptoTransfer` that credits the sender with all the fungible value the receiver is exchanging for the NFT.

Similarly, a marketplace using an approved spender account for an escrow transaction should credit the account selling the NFT in the same `CryptoTransfer` that deducts fungible value from the buying account.

There is an [open HIP discussion](https://github.com/hashgraph/hedera-improvement-proposal/discussions/578) that proposes to broaden the class of transactions for which the network automatically collects royalties. If this interests or concerns you, please add your voice to that discussion.

func (*RoyaltyFee) Descriptor deprecated

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

Deprecated: Use RoyaltyFee.ProtoReflect.Descriptor instead.

func (*RoyaltyFee) GetExchangeValueFraction

func (x *RoyaltyFee) GetExchangeValueFraction() *Fraction

func (*RoyaltyFee) GetFallbackFee

func (x *RoyaltyFee) GetFallbackFee() *FixedFee

func (*RoyaltyFee) ProtoMessage

func (*RoyaltyFee) ProtoMessage()

func (*RoyaltyFee) ProtoReflect

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

func (*RoyaltyFee) Reset

func (x *RoyaltyFee) Reset()

func (*RoyaltyFee) String

func (x *RoyaltyFee) String() string

type SchedulableTransactionBody

type SchedulableTransactionBody struct {

	// *
	// The maximum transaction fee the client is willing to pay
	TransactionFee uint64 `protobuf:"varint,1,opt,name=transactionFee,proto3" json:"transactionFee,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
	Memo string `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The choices here are arranged by service in roughly lexicographical order. The field ordinals are non-sequential, and a result of the historical order of implementation.
	//
	// Types that are assignable to Data:
	//
	//	*SchedulableTransactionBody_ContractCall
	//	*SchedulableTransactionBody_ContractCreateInstance
	//	*SchedulableTransactionBody_ContractUpdateInstance
	//	*SchedulableTransactionBody_ContractDeleteInstance
	//	*SchedulableTransactionBody_CryptoApproveAllowance
	//	*SchedulableTransactionBody_CryptoDeleteAllowance
	//	*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_TokenFeeScheduleUpdate
	//	*SchedulableTransactionBody_TokenPause
	//	*SchedulableTransactionBody_TokenUnpause
	//	*SchedulableTransactionBody_ScheduleDelete
	//	*SchedulableTransactionBody_UtilPrng
	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. As of Hedera Services 0.24.0 this list includes <tt>ConsensusSubmitMessage</tt>, <tt>CryptoTransfer</tt>, <tt>TokenMint</tt>, and <tt>TokenBurn</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) GetCryptoApproveAllowance

func (x *SchedulableTransactionBody) GetCryptoApproveAllowance() *CryptoApproveAllowanceTransactionBody

func (*SchedulableTransactionBody) GetCryptoCreateAccount

func (x *SchedulableTransactionBody) GetCryptoCreateAccount() *CryptoCreateTransactionBody

func (*SchedulableTransactionBody) GetCryptoDelete

func (*SchedulableTransactionBody) GetCryptoDeleteAllowance

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

func (x *SchedulableTransactionBody) GetTokenFeeScheduleUpdate() *TokenFeeScheduleUpdateTransactionBody

func (*SchedulableTransactionBody) GetTokenFreeze

func (*SchedulableTransactionBody) GetTokenGrantKyc

func (*SchedulableTransactionBody) GetTokenMint

func (*SchedulableTransactionBody) GetTokenPause

func (*SchedulableTransactionBody) GetTokenRevokeKyc

func (*SchedulableTransactionBody) GetTokenUnfreeze

func (*SchedulableTransactionBody) GetTokenUnpause

func (*SchedulableTransactionBody) GetTokenUpdate

func (*SchedulableTransactionBody) GetTokenWipe

func (*SchedulableTransactionBody) GetTransactionFee

func (x *SchedulableTransactionBody) GetTransactionFee() uint64

func (*SchedulableTransactionBody) GetUtilPrng

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 {
	// *
	// Creates a topic
	ConsensusCreateTopic *ConsensusCreateTopicTransactionBody `protobuf:"bytes,18,opt,name=consensusCreateTopic,proto3,oneof"`
}

type SchedulableTransactionBody_ConsensusDeleteTopic

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

type SchedulableTransactionBody_ConsensusSubmitMessage

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

type SchedulableTransactionBody_ConsensusUpdateTopic

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

type SchedulableTransactionBody_ContractCall

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

type SchedulableTransactionBody_ContractCreateInstance

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

type SchedulableTransactionBody_ContractDeleteInstance

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

type SchedulableTransactionBody_ContractUpdateInstance

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

type SchedulableTransactionBody_CryptoApproveAllowance

type SchedulableTransactionBody_CryptoApproveAllowance struct {
	// *
	// Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
	CryptoApproveAllowance *CryptoApproveAllowanceTransactionBody `protobuf:"bytes,37,opt,name=cryptoApproveAllowance,proto3,oneof"`
}

type SchedulableTransactionBody_CryptoCreateAccount

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

type SchedulableTransactionBody_CryptoDelete

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

type SchedulableTransactionBody_CryptoDeleteAllowance

type SchedulableTransactionBody_CryptoDeleteAllowance struct {
	// *
	// Deletes one or more of the specific approved NFT serial numbers on an owner account.
	CryptoDeleteAllowance *CryptoDeleteAllowanceTransactionBody `protobuf:"bytes,38,opt,name=cryptoDeleteAllowance,proto3,oneof"`
}

type SchedulableTransactionBody_CryptoTransfer

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

type SchedulableTransactionBody_CryptoUpdateAccount

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

type SchedulableTransactionBody_FileAppend

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

type SchedulableTransactionBody_FileCreate

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

type SchedulableTransactionBody_FileDelete

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

type SchedulableTransactionBody_FileUpdate

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

type SchedulableTransactionBody_Freeze

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

type SchedulableTransactionBody_ScheduleDelete

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

type SchedulableTransactionBody_SystemDelete

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

type SchedulableTransactionBody_SystemUndelete

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

type SchedulableTransactionBody_TokenAssociate

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

type SchedulableTransactionBody_TokenBurn

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

type SchedulableTransactionBody_TokenCreation

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

type SchedulableTransactionBody_TokenDeletion

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

type SchedulableTransactionBody_TokenDissociate

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

type SchedulableTransactionBody_TokenFeeScheduleUpdate

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

type SchedulableTransactionBody_TokenFreeze

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

type SchedulableTransactionBody_TokenGrantKyc

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

type SchedulableTransactionBody_TokenMint

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

type SchedulableTransactionBody_TokenPause

type SchedulableTransactionBody_TokenPause struct {
	// *
	// Pauses the Token
	TokenPause *TokenPauseTransactionBody `protobuf:"bytes,35,opt,name=token_pause,json=tokenPause,proto3,oneof"`
}

type SchedulableTransactionBody_TokenRevokeKyc

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

type SchedulableTransactionBody_TokenUnfreeze

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

type SchedulableTransactionBody_TokenUnpause

type SchedulableTransactionBody_TokenUnpause struct {
	// *
	// Unpauses the Token
	TokenUnpause *TokenUnpauseTransactionBody `protobuf:"bytes,36,opt,name=token_unpause,json=tokenUnpause,proto3,oneof"`
}

type SchedulableTransactionBody_TokenUpdate

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

type SchedulableTransactionBody_TokenWipe

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

type SchedulableTransactionBody_UtilPrng

type SchedulableTransactionBody_UtilPrng struct {
	// *
	// Generates a pseudorandom number.
	UtilPrng *UtilPrngTransactionBody `protobuf:"bytes,40,opt,name=util_prng,json=utilPrng,proto3,oneof"`
}

type ScheduleCreateTransactionBody

type ScheduleCreateTransactionBody struct {

	// *
	// The scheduled transaction
	ScheduledTransactionBody *SchedulableTransactionBody `protobuf:"bytes,1,opt,name=scheduledTransactionBody,proto3" json:"scheduledTransactionBody,omitempty"`
	// *
	// An optional memo with a UTF-8 encoding of no more than 100 bytes which does not contain the
	// zero byte
	Memo string `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// An optional Hedera key which can be used to sign a ScheduleDelete and remove the schedule
	AdminKey *Key `protobuf:"bytes,3,opt,name=adminKey,proto3" json:"adminKey,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
	PayerAccountID *AccountID `protobuf:"bytes,4,opt,name=payerAccountID,proto3" json:"payerAccountID,omitempty"`
	// *
	// An optional timestamp for specifying when the transaction should be evaluated for execution and then expire.
	// Defaults to 30 minutes after the transaction's consensus timestamp.
	//
	// Note: This field is unused and forced to be unset until Long Term Scheduled Transactions are enabled - Transactions will always
	//
	//	expire in 30 minutes if Long Term Scheduled Transactions are not enabled.
	ExpirationTime *Timestamp `protobuf:"bytes,5,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// *
	// When set to true, the transaction will be evaluated for execution at expiration_time instead
	// of when all required signatures are received.
	// When set to false, the transaction will execute immediately after sufficient signatures are received
	// to sign the contained transaction. During the initial ScheduleCreate transaction or via ScheduleSign transactions.
	//
	// Defaults to false.
	//
	// Setting this to false does not necessarily mean that the transaction will never execute at expiration_time.
	//
	//	For Example - If the signature requirements for a Scheduled Transaction change via external means (e.g. CryptoUpdate)
	//	such that the Scheduled Transaction would be allowed to execute, it will do so autonomously at expiration_time, unless a
	//	ScheduleSign comes in to "poke" it and force it to go through immediately.
	//
	// Note: This field is unused and forced to be unset until Long Term Scheduled Transactions are enabled. Before Long Term
	//
	//	Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration  - they will _only_
	//	execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
	//	expire at expiration_time.
	WaitForExpiry bool `protobuf:"varint,13,opt,name=wait_for_expiry,json=waitForExpiry,proto3" json:"wait_for_expiry,omitempty"`
	// contains filtered or unexported fields
}

* Create a new <i>schedule entity</i> (or simply, <i>schedule</i>) in the network's action queue. Upon <tt>SUCCESS</tt>, the receipt contains the `ScheduleID` of the created schedule. A schedule entity includes a <tt>scheduledTransactionBody</tt> to be executed. When the schedule has collected enough signing Ed25519 keys to satisfy the schedule's signing requirements, the schedule can be executed.

If Long Term Scheduled Transactions are enabled and <tt>wait_for_expiry</tt> is set to <tt>true</tt>, then the schedule will execute at it's <tt>expiration_time</tt>.

Otherwise it will execute immediately after the transaction that provided enough Ed25519 keys, a <tt>ScheduleCreate</tt> or <tt>ScheduleSign</tt>.

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

The expiration time of a schedule is controlled by it's <tt>expiration_time</tt>. It remains in state and can be queried using <tt>GetScheduleInfo</tt> until expiration, no matter if the scheduled transaction has executed or marked deleted. If Long Term Scheduled Transactions are disabled, the <tt>expiration_time</tt> is always 30 minutes in the future.

If the <tt>adminKey</tt> field is omitted, the resulting schedule is immutable. If the <tt>adminKey</tt> is set, the <tt>ScheduleDelete</tt> transaction can be used to mark it as deleted. The creator may also specify an optional <tt>memo</tt> whose UTF-8 encoding is at most 100 bytes and does not include the zero byte is also supported.

When a <tt>scheduledTransactionBody</tt> is executed, the network only charges its payer the service fee, and not the node and network fees. If the optional <tt>payerAccountID</tt> is set, the network charges this account. Otherwise it charges the payer of the originating <tt>ScheduleCreate</tt>.

Two <tt>ScheduleCreate</tt> transactions are <i>identical</i> if they are equal in all their fields other than <tt>payerAccountID</tt>. (For the <tt>scheduledTransactionBody</tt> field, "equal" should be understood in the sense of gRPC object equality in the network software runtime. In particular, a gRPC object with <a href="https://developers.google.com/protocol-buffers/docs/proto3#unknowns">unknown fields</a> is not equal to a gRPC object without unknown fields, even if they agree on all known fields.)

A <tt>ScheduleCreate</tt> transaction that attempts to re-create an identical schedule already in state will receive a receipt with status <tt>IDENTICAL_SCHEDULE_ALREADY_CREATED</tt>; the receipt will include the <tt>ScheduleID</tt> of the extant schedule, which may be used in a subsequent <tt>ScheduleSign</tt> transaction. (The receipt will also include the <tt>TransactionID</tt> to use in querying for the receipt or record of the scheduled transaction.)

Other notable response codes include, <tt>INVALID_ACCOUNT_ID</tt>, <tt>UNSCHEDULABLE_TRANSACTION</tt>, <tt>UNRESOLVABLE_REQUIRED_SIGNERS</tt>, <tt>INVALID_SIGNATURE</tt>. For more information please see the section of this documentation on the <tt>ResponseCode</tt> enum.

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

func (x *ScheduleCreateTransactionBody) GetExpirationTime() *Timestamp

func (*ScheduleCreateTransactionBody) GetMemo

func (*ScheduleCreateTransactionBody) GetPayerAccountID

func (x *ScheduleCreateTransactionBody) GetPayerAccountID() *AccountID

func (*ScheduleCreateTransactionBody) GetScheduledTransactionBody

func (x *ScheduleCreateTransactionBody) GetScheduledTransactionBody() *SchedulableTransactionBody

func (*ScheduleCreateTransactionBody) GetWaitForExpiry

func (x *ScheduleCreateTransactionBody) GetWaitForExpiry() bool

func (*ScheduleCreateTransactionBody) ProtoMessage

func (*ScheduleCreateTransactionBody) ProtoMessage()

func (*ScheduleCreateTransactionBody) ProtoReflect

func (*ScheduleCreateTransactionBody) Reset

func (x *ScheduleCreateTransactionBody) Reset()

func (*ScheduleCreateTransactionBody) String

type ScheduleDeleteTransactionBody

type ScheduleDeleteTransactionBody struct {

	// *
	// The ID of the Scheduled Entity
	ScheduleID *ScheduleID `protobuf:"bytes,1,opt,name=scheduleID,proto3" json:"scheduleID,omitempty"`
	// 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_PENDING_EXPIRATION</tt>, <tt>SCHEDULE_ALREADY_DELETED</tt>, <tt>SCHEDULE_ALREADY_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 {

	// *
	// 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 id of the schedule to interrogate
	ScheduleID *ScheduleID `protobuf:"bytes,2,opt,name=scheduleID,proto3" json:"scheduleID,omitempty"`
	// 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 {

	// *
	// 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 information requested about this schedule instance
	ScheduleInfo *ScheduleInfo `protobuf:"bytes,2,opt,name=scheduleInfo,proto3" json:"scheduleInfo,omitempty"`
	// 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 {

	// *
	// A nonnegative shard number
	ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`
	// *
	// A nonnegative realm number
	RealmNum int64 `protobuf:"varint,2,opt,name=realmNum,proto3" json:"realmNum,omitempty"`
	// *
	// A nonnegative schedule number
	ScheduleNum int64 `protobuf:"varint,3,opt,name=scheduleNum,proto3" json:"scheduleNum,omitempty"`
	// contains filtered or unexported fields
}

* Unique identifier for a Schedule

func (*ScheduleID) Descriptor deprecated

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

Deprecated: Use ScheduleID.ProtoReflect.Descriptor instead.

func (*ScheduleID) GetRealmNum

func (x *ScheduleID) GetRealmNum() int64

func (*ScheduleID) GetScheduleNum

func (x *ScheduleID) GetScheduleNum() int64

func (*ScheduleID) GetShardNum

func (x *ScheduleID) GetShardNum() int64

func (*ScheduleID) ProtoMessage

func (*ScheduleID) ProtoMessage()

func (*ScheduleID) ProtoReflect

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

func (*ScheduleID) Reset

func (x *ScheduleID) Reset()

func (*ScheduleID) String

func (x *ScheduleID) String() string

type ScheduleInfo

type ScheduleInfo struct {

	// *
	// The id of the schedule
	ScheduleID *ScheduleID `protobuf:"bytes,1,opt,name=scheduleID,proto3" json:"scheduleID,omitempty"`
	// Types that are assignable to Data:
	//
	//	*ScheduleInfo_DeletionTime
	//	*ScheduleInfo_ExecutionTime
	Data isScheduleInfo_Data `protobuf_oneof:"data"`
	// *
	// The time at which the schedule will be evaluated for execution and then expire.
	//
	// Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
	//
	//	will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
	//	expire at expirationTime.
	ExpirationTime *Timestamp `protobuf:"bytes,4,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	// *
	// The scheduled transaction
	ScheduledTransactionBody *SchedulableTransactionBody `protobuf:"bytes,5,opt,name=scheduledTransactionBody,proto3" json:"scheduledTransactionBody,omitempty"`
	// *
	// The publicly visible memo of the schedule
	Memo string `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The key used to delete the schedule from state
	AdminKey *Key `protobuf:"bytes,7,opt,name=adminKey,proto3" json:"adminKey,omitempty"`
	// *
	// The Ed25519 keys the network deems to have signed the scheduled transaction
	Signers *KeyList `protobuf:"bytes,8,opt,name=signers,proto3" json:"signers,omitempty"`
	// *
	// The id of the account that created the schedule
	CreatorAccountID *AccountID `protobuf:"bytes,9,opt,name=creatorAccountID,proto3" json:"creatorAccountID,omitempty"`
	// *
	// The id of the account responsible for the service fee of the scheduled transaction
	PayerAccountID *AccountID `protobuf:"bytes,10,opt,name=payerAccountID,proto3" json:"payerAccountID,omitempty"`
	// *
	// The transaction id that will be used in the record of the scheduled transaction (if it
	// executes)
	ScheduledTransactionID *TransactionID `protobuf:"bytes,11,opt,name=scheduledTransactionID,proto3" json:"scheduledTransactionID,omitempty"`
	// *
	// The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs.
	LedgerId []byte `protobuf:"bytes,12,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// *
	// When set to true, the transaction will be evaluated for execution at expiration_time instead
	// of when all required signatures are received.
	// When set to false, the transaction will execute immediately after sufficient signatures are received
	// to sign the contained transaction. During the initial ScheduleCreate transaction or via ScheduleSign transactions.
	//
	// Note: this field is unused until Long Term Scheduled Transactions are enabled.
	WaitForExpiry bool `protobuf:"varint,13,opt,name=wait_for_expiry,json=waitForExpiry,proto3" json:"wait_for_expiry,omitempty"`
	// 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) GetLedgerId

func (x *ScheduleInfo) GetLedgerId() []byte

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

func (x *ScheduleInfo) GetWaitForExpiry() bool

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 {
	// *
	// If the schedule has been deleted, the consensus time when this occurred
	DeletionTime *Timestamp `protobuf:"bytes,2,opt,name=deletion_time,json=deletionTime,proto3,oneof"`
}

type ScheduleInfo_ExecutionTime

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

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 {

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

* Adds zero or more signing keys to a schedule.

If Long Term Scheduled Transactions are enabled and <tt>wait_for_expiry</tt> was set to <tt>true</tt> on the <tt>ScheduleCreate</tt> then the transaction will always wait till it's `expiration_time` to execute.

Otherwise, 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_ALREADY_DELETED</tt>, <tt>SCHEDULE_PENDING_EXPIRATION</tt>, <tt>SCHEDULE_ALREADY_EXPIRED</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 {

	// *
	// Increases with incompatible API changes
	Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
	// *
	// Increases with backwards-compatible new functionality
	Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
	// *
	// Increases with backwards-compatible bug fixes
	Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"`
	// *
	// A pre-release version MAY be denoted by appending a hyphen and a series of dot separated
	// identifiers (https://semver.org/#spec-item-9); so given a semver 0.14.0-alpha.1+21AF26D3,
	// this field would contain 'alpha.1'
	Pre string `protobuf:"bytes,4,opt,name=pre,proto3" json:"pre,omitempty"`
	// *
	// Build metadata MAY be denoted by appending a plus sign and a series of dot separated
	// identifiers immediately following the patch or pre-release version
	// (https://semver.org/#spec-item-10); so given a semver 0.14.0-alpha.1+21AF26D3, this field
	// would contain '21AF26D3'
	Build string `protobuf:"bytes,5,opt,name=build,proto3" json:"build,omitempty"`
	// contains filtered or unexported fields
}

* Hedera follows semantic versioning (https://semver.org/) for both the HAPI protobufs and the Services software. This type allows the <tt>getVersionInfo</tt> query in the <tt>NetworkService</tt> to return the deployed versions of both protobufs and software on the node answering the query.

func (*SemanticVersion) Descriptor deprecated

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

Deprecated: Use SemanticVersion.ProtoReflect.Descriptor instead.

func (*SemanticVersion) GetBuild

func (x *SemanticVersion) GetBuild() string

func (*SemanticVersion) GetMajor

func (x *SemanticVersion) GetMajor() int32

func (*SemanticVersion) GetMinor

func (x *SemanticVersion) GetMinor() int32

func (*SemanticVersion) GetPatch

func (x *SemanticVersion) GetPatch() int32

func (*SemanticVersion) GetPre

func (x *SemanticVersion) GetPre() string

func (*SemanticVersion) ProtoMessage

func (*SemanticVersion) ProtoMessage()

func (*SemanticVersion) ProtoReflect

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

func (*SemanticVersion) Reset

func (x *SemanticVersion) Reset()

func (*SemanticVersion) String

func (x *SemanticVersion) String() string

type ServiceEndpoint

type ServiceEndpoint struct {

	// *
	// The 32-bit IPv4 address of the node encoded in left to right order (e.g.  127.0.0.1 has 127
	// as its first byte)
	IpAddressV4 []byte `protobuf:"bytes,1,opt,name=ipAddressV4,proto3" json:"ipAddressV4,omitempty"`
	// *
	// The port of the node
	Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

* Contains the IP address and the port representing a service endpoint of a Node in a network. Used to reach the Hedera API and submit transactions to the network.

func (*ServiceEndpoint) Descriptor deprecated

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

Deprecated: Use ServiceEndpoint.ProtoReflect.Descriptor instead.

func (*ServiceEndpoint) GetIpAddressV4

func (x *ServiceEndpoint) GetIpAddressV4() []byte

func (*ServiceEndpoint) GetPort

func (x *ServiceEndpoint) GetPort() int32

func (*ServiceEndpoint) ProtoMessage

func (*ServiceEndpoint) ProtoMessage()

func (*ServiceEndpoint) ProtoReflect

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

func (*ServiceEndpoint) Reset

func (x *ServiceEndpoint) Reset()

func (*ServiceEndpoint) String

func (x *ServiceEndpoint) String() string

type ServicesConfigurationList

type ServicesConfigurationList struct {

	// *
	// list of name value pairs of the application properties
	NameValue []*Setting `protobuf:"bytes,1,rep,name=nameValue,proto3" json:"nameValue,omitempty"`
	// contains filtered or unexported fields
}

* UNDOCUMENTED

func (*ServicesConfigurationList) Descriptor deprecated

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

Deprecated: Use ServicesConfigurationList.ProtoReflect.Descriptor instead.

func (*ServicesConfigurationList) GetNameValue

func (x *ServicesConfigurationList) GetNameValue() []*Setting

func (*ServicesConfigurationList) ProtoMessage

func (*ServicesConfigurationList) ProtoMessage()

func (*ServicesConfigurationList) ProtoReflect

func (*ServicesConfigurationList) Reset

func (x *ServicesConfigurationList) Reset()

func (*ServicesConfigurationList) String

func (x *ServicesConfigurationList) String() string

type Setting

type Setting struct {

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

* UNDOCUMENTED

func (*Setting) Descriptor deprecated

func (*Setting) 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 {

	// *
	// the shard number (nonnegative)
	ShardNum int64 `protobuf:"varint,1,opt,name=shardNum,proto3" json:"shardNum,omitempty"`
	// contains filtered or unexported fields
}

* Each shard has a nonnegative shard number. Each realm within a given shard has a nonnegative realm number (that number might be reused in other shards). And each account, file, and smart contract instance within a given realm has a nonnegative number (which might be reused in other realms). Every account, file, and smart contract instance is within exactly one realm. So a FileID is a triplet of numbers, like 0.1.2 for entity number 2 within realm 1 within shard 0. Each realm maintains a single counter for assigning numbers, so if there is a file with ID 0.1.2, then there won't be an account or smart contract instance with ID 0.1.2.

Everything is partitioned into realms so that each Solidity smart contract can access everything in just a single realm, locking all those entities while it's running, but other smart contracts could potentially run in other realms in parallel. So realms allow Solidity to be parallelized somewhat, even though the language itself assumes everything is serial.

func (*ShardID) Descriptor deprecated

func (*ShardID) 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
}

* This message is <b>DEPRECATED</b> and <b>UNUSABLE</b> with network nodes. It is retained here only for historical reasons.

Please use the SignaturePair and SignatureMap messages.

Deprecated: Marked as deprecated in basic_types.proto.

func (*Signature) Descriptor deprecated

func (*Signature) 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 {

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

* This message is <b>DEPRECATED</b> and <b>UNUSABLE</b> with network nodes. It is retained here only for historical reasons.

Please use the SignaturePair and SignatureMap messages.

Deprecated: Marked as deprecated in basic_types.proto.

func (*SignatureList) Descriptor deprecated

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

Deprecated: Use SignatureList.ProtoReflect.Descriptor instead.

func (*SignatureList) GetSigs

func (x *SignatureList) GetSigs() []*Signature

func (*SignatureList) ProtoMessage

func (*SignatureList) ProtoMessage()

func (*SignatureList) ProtoReflect

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

func (*SignatureList) Reset

func (x *SignatureList) Reset()

func (*SignatureList) String

func (x *SignatureList) String() string

type SignatureMap

type SignatureMap struct {

	// *
	// Each signature pair corresponds to a unique Key required to sign the transaction.
	SigPair []*SignaturePair `protobuf:"bytes,1,rep,name=sigPair,proto3" json:"sigPair,omitempty"`
	// contains filtered or unexported fields
}

* A set of signatures corresponding to every unique public key used to sign a given transaction. If one public key matches more than one prefixes on the signature map, the transaction containing the map will fail immediately with the response code KEY_PREFIX_MISMATCH.

func (*SignatureMap) Descriptor deprecated

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

Deprecated: Use SignatureMap.ProtoReflect.Descriptor instead.

func (*SignatureMap) GetSigPair

func (x *SignatureMap) GetSigPair() []*SignaturePair

func (*SignatureMap) ProtoMessage

func (*SignatureMap) ProtoMessage()

func (*SignatureMap) ProtoReflect

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

func (*SignatureMap) Reset

func (x *SignatureMap) Reset()

func (*SignatureMap) String

func (x *SignatureMap) String() string

type SignaturePair

type SignaturePair struct {

	// *
	// First few bytes of the public key
	PubKeyPrefix []byte `protobuf:"bytes,1,opt,name=pubKeyPrefix,proto3" json:"pubKeyPrefix,omitempty"`
	// Types that are assignable to Signature:
	//
	//	*SignaturePair_Contract
	//	*SignaturePair_Ed25519
	//	*SignaturePair_RSA_3072
	//	*SignaturePair_ECDSA_384
	//	*SignaturePair_ECDSASecp256K1
	Signature isSignaturePair_Signature `protobuf_oneof:"signature"`
	// contains filtered or unexported fields
}

* The client may use any number of bytes from zero to the whole length of the public key for pubKeyPrefix. If zero bytes are used, then it must be that only one primitive key is required to sign the linked transaction; it will surely resolve to <tt>INVALID_SIGNATURE</tt> otherwise.

<b>IMPORTANT:</b> In the special case that a signature is being provided for a key used to authorize a precompiled contract, the <tt>pubKeyPrefix</tt> must contain the <b>entire public key</b>! That is, if the key is a Ed25519 key, the <tt>pubKeyPrefix</tt> should be 32 bytes long. If the key is a ECDSA(secp256k1) key, the <tt>pubKeyPrefix</tt> should be 33 bytes long, since we require the compressed form of the public key.

Only Ed25519 and ECDSA(secp256k1) keys and hence signatures are currently supported.

func (*SignaturePair) Descriptor deprecated

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

Deprecated: Use SignaturePair.ProtoReflect.Descriptor instead.

func (*SignaturePair) GetContract

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

func (*SignaturePair) GetECDSASecp256K1

func (x *SignaturePair) GetECDSASecp256K1() []byte

func (*SignaturePair) GetECDSA_384

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

func (*SignaturePair) GetEd25519

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

func (*SignaturePair) GetPubKeyPrefix

func (x *SignaturePair) GetPubKeyPrefix() []byte

func (*SignaturePair) GetRSA_3072

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

func (*SignaturePair) GetSignature

func (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 {
	// *
	// smart contract virtual signature (always length zero)
	Contract []byte `protobuf:"bytes,2,opt,name=contract,proto3,oneof"`
}

type SignaturePair_ECDSASecp256K1

type SignaturePair_ECDSASecp256K1 struct {
	// *
	// ECDSA(secp256k1) signature
	ECDSASecp256K1 []byte `protobuf:"bytes,6,opt,name=ECDSA_secp256k1,json=ECDSASecp256k1,proto3,oneof"`
}

type SignaturePair_ECDSA_384

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

type SignaturePair_Ed25519

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

type SignaturePair_RSA_3072

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

type Signature_Contract

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

type Signature_ECDSA_384

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

type Signature_Ed25519

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

type Signature_RSA_3072

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

type Signature_SignatureList

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

type Signature_ThresholdSignature

type Signature_ThresholdSignature struct {
	// *
	// A list of signatures for a single N-of-M threshold Key. This must be a list of exactly M
	// signatures, at least N of which are non-null.
	ThresholdSignature *ThresholdSignature `protobuf:"bytes,5,opt,name=thresholdSignature,proto3,oneof"`
}

type SignedTransaction

type SignedTransaction struct {

	// *
	// TransactionBody serialized into bytes, which needs to be signed
	BodyBytes []byte `protobuf:"bytes,1,opt,name=bodyBytes,proto3" json:"bodyBytes,omitempty"`
	// *
	// The signatures on the body with the new format, to authorize the transaction
	SigMap *SignatureMap `protobuf:"bytes,2,opt,name=sigMap,proto3" json:"sigMap,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedTransaction) Descriptor deprecated

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

Deprecated: Use SignedTransaction.ProtoReflect.Descriptor instead.

func (*SignedTransaction) GetBodyBytes

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

func (*SignedTransaction) GetSigMap

func (x *SignedTransaction) GetSigMap() *SignatureMap

func (*SignedTransaction) ProtoMessage

func (*SignedTransaction) ProtoMessage()

func (*SignedTransaction) ProtoReflect

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

func (*SignedTransaction) Reset

func (x *SignedTransaction) Reset()

func (*SignedTransaction) String

func (x *SignedTransaction) String() string

type 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 runtime 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)
	// *
	// Ethereum transaction
	CallEthereum(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 runtime 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)
	// *
	// Ethereum transaction
	CallEthereum(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 StakingInfoHedera

type StakingInfoHedera struct {

	// *
	// If true, this account or contract declined to receive a staking reward.
	DeclineReward bool `protobuf:"varint,1,opt,name=decline_reward,json=declineReward,proto3" json:"decline_reward,omitempty"`
	// *
	// The staking period during which either the staking settings for this account or contract changed (such as starting
	// staking or changing staked_node_id) or the most recent reward was earned, whichever is later. If this account or contract
	// is not currently staked to a node, then this field is not set.
	StakePeriodStart *Timestamp `protobuf:"bytes,2,opt,name=stake_period_start,json=stakePeriodStart,proto3" json:"stake_period_start,omitempty"`
	// *
	// The amount in tinybars that will be received in the next reward situation.
	PendingReward int64 `protobuf:"varint,3,opt,name=pending_reward,json=pendingReward,proto3" json:"pending_reward,omitempty"`
	// *
	// The total of balance of all accounts staked to this account or contract.
	StakedToMe int64 `protobuf:"varint,4,opt,name=staked_to_me,json=stakedToMe,proto3" json:"staked_to_me,omitempty"`
	// *
	// ID of the account or node to which this account or contract is staking.
	//
	// Types that are assignable to StakedId:
	//
	//	*StakingInfoHedera_StakedAccountId
	//	*StakingInfoHedera_StakedNodeId
	StakedId isStakingInfoHedera_StakedId `protobuf_oneof:"staked_id"`
	// contains filtered or unexported fields
}

* Staking metadata for an account or a contract returned in CryptoGetInfo or ContractGetInfo queries

func (*StakingInfoHedera) Descriptor deprecated

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

Deprecated: Use StakingInfoHedera.ProtoReflect.Descriptor instead.

func (*StakingInfoHedera) GetDeclineReward

func (x *StakingInfoHedera) GetDeclineReward() bool

func (*StakingInfoHedera) GetPendingReward

func (x *StakingInfoHedera) GetPendingReward() int64

func (*StakingInfoHedera) GetStakePeriodStart

func (x *StakingInfoHedera) GetStakePeriodStart() *Timestamp

func (*StakingInfoHedera) GetStakedAccountId

func (x *StakingInfoHedera) GetStakedAccountId() *AccountID

func (*StakingInfoHedera) GetStakedId

func (m *StakingInfoHedera) GetStakedId() isStakingInfoHedera_StakedId

func (*StakingInfoHedera) GetStakedNodeId

func (x *StakingInfoHedera) GetStakedNodeId() int64

func (*StakingInfoHedera) GetStakedToMe

func (x *StakingInfoHedera) GetStakedToMe() int64

func (*StakingInfoHedera) ProtoMessage

func (*StakingInfoHedera) ProtoMessage()

func (*StakingInfoHedera) ProtoReflect

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

func (*StakingInfoHedera) Reset

func (x *StakingInfoHedera) Reset()

func (*StakingInfoHedera) String

func (x *StakingInfoHedera) String() string

type StakingInfoHedera_StakedAccountId

type StakingInfoHedera_StakedAccountId struct {
	// *
	// The account to which this account or contract is staking.
	StakedAccountId *AccountID `protobuf:"bytes,5,opt,name=staked_account_id,json=stakedAccountId,proto3,oneof"`
}

type StakingInfoHedera_StakedNodeId

type StakingInfoHedera_StakedNodeId struct {
	// *
	// The ID of the node this account or contract is staked to.
	StakedNodeId int64 `protobuf:"varint,6,opt,name=staked_node_id,json=stakedNodeId,proto3,oneof"`
}

type SubType

type SubType int32

* Allows a set of resource prices to be scoped to a certain type of a HAPI operation.

For example, the resource prices for a TokenMint operation are different between minting fungible and non-fungible tokens. This enum allows us to "mark" a set of prices as applying to one or the other.

Similarly, the resource prices for a basic TokenCreate without a custom fee schedule yield a total price of $1. The resource prices for a TokenCreate with a custom fee schedule are different and yield a total base price of $2.

const (
	// *
	// The resource prices have no special scope
	SubType_DEFAULT SubType = 0
	// *
	// The resource prices are scoped to an operation on a fungible common token
	SubType_TOKEN_FUNGIBLE_COMMON SubType = 1
	// *
	// The resource prices are scoped to an operation on a non-fungible unique token
	SubType_TOKEN_NON_FUNGIBLE_UNIQUE SubType = 2
	// *
	// The resource prices are scoped to an operation on a fungible common
	// token with a custom fee schedule
	SubType_TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES SubType = 3
	// *
	// The resource prices are scoped to an operation on a non-fungible unique
	// token with a custom fee schedule
	SubType_TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES SubType = 4
	// *
	// The resource prices are scoped to a ScheduleCreate containing a ContractCall.
	SubType_SCHEDULE_CREATE_CONTRACT_CALL SubType = 5
)

func (SubType) Descriptor

func (SubType) Descriptor() protoreflect.EnumDescriptor

func (SubType) 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"`
	// *
	// The timestamp in seconds at which the "deleted" file should truly be permanently deleted
	ExpirationTime *TimestampSeconds `protobuf:"bytes,3,opt,name=expirationTime,proto3" json:"expirationTime,omitempty"`
	// 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 {
	// *
	// The contract ID instance to delete, in the format used in transactions
	ContractID *ContractID `protobuf:"bytes,2,opt,name=contractID,proto3,oneof"`
}

type SystemDeleteTransactionBody_FileID

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

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 {
	// *
	// The contract ID instance to undelete, in the format used in transactions
	ContractID *ContractID `protobuf:"bytes,2,opt,name=contractID,proto3,oneof"`
}

type SystemUndeleteTransactionBody_FileID

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

type ThresholdKey

type ThresholdKey struct {

	// *
	// A valid signature set must have at least this many signatures
	Threshold uint32 `protobuf:"varint,1,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// *
	// List of all the keys that can sign
	Keys *KeyList `protobuf:"bytes,2,opt,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

* A set of public keys that are used together to form a threshold signature. If the threshold is N and there are M keys, then this is an N of M threshold signature. If an account is associated with ThresholdKeys, then a transaction to move cryptocurrency out of it must be signed by a list of M signatures, where at most M-N of them are blank, and the other at least N of them are valid signatures corresponding to at least N of the public keys listed here.

func (*ThresholdKey) Descriptor deprecated

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

Deprecated: Use ThresholdKey.ProtoReflect.Descriptor instead.

func (*ThresholdKey) GetKeys

func (x *ThresholdKey) GetKeys() *KeyList

func (*ThresholdKey) GetThreshold

func (x *ThresholdKey) GetThreshold() uint32

func (*ThresholdKey) ProtoMessage

func (*ThresholdKey) ProtoMessage()

func (*ThresholdKey) ProtoReflect

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

func (*ThresholdKey) Reset

func (x *ThresholdKey) Reset()

func (*ThresholdKey) String

func (x *ThresholdKey) String() string

type ThresholdSignature deprecated

type ThresholdSignature struct {

	// *
	// for an N-of-M threshold key, this is a list of M signatures, at least N of which must be
	// non-null
	Sigs *SignatureList `protobuf:"bytes,2,opt,name=sigs,proto3" json:"sigs,omitempty"`
	// contains filtered or unexported fields
}

* This message is <b>DEPRECATED</b> and <b>UNUSABLE</b> with network nodes. It is retained here only for historical reasons.

Please use the SignaturePair and SignatureMap messages.

Deprecated: Marked as deprecated in basic_types.proto.

func (*ThresholdSignature) Descriptor deprecated

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

Deprecated: Use ThresholdSignature.ProtoReflect.Descriptor instead.

func (*ThresholdSignature) GetSigs

func (x *ThresholdSignature) GetSigs() *SignatureList

func (*ThresholdSignature) ProtoMessage

func (*ThresholdSignature) ProtoMessage()

func (*ThresholdSignature) ProtoReflect

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

func (*ThresholdSignature) Reset

func (x *ThresholdSignature) Reset()

func (*ThresholdSignature) String

func (x *ThresholdSignature) String() string

type ThrottleBucket

type ThrottleBucket struct {

	// *
	// A name for this bucket (primarily for use in logs)
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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.
	BurstPeriodMs uint64 `protobuf:"varint,2,opt,name=burstPeriodMs,proto3" json:"burstPeriodMs,omitempty"`
	// *
	// The throttle groups competing for this bucket
	ThrottleGroups []*ThrottleGroup `protobuf:"bytes,3,rep,name=throttleGroups,proto3" json:"throttleGroups,omitempty"`
	// 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 {

	// *
	// The operations to be throttled
	Operations []HederaFunctionality `protobuf:"varint,1,rep,packed,name=operations,proto3,enum=proto.HederaFunctionality" json:"operations,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.
	MilliOpsPerSec uint64 `protobuf:"varint,2,opt,name=milliOpsPerSec,proto3" json:"milliOpsPerSec,omitempty"`
	// 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 {

	// *
	// Number of complete seconds since the start of the epoch
	Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// *
	// Number of nanoseconds since the start of the last second
	Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
	// contains filtered or unexported fields
}

* An exact date and time. This is the same data structure as the protobuf Timestamp.proto (see the comments in https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto)

func (*Timestamp) Descriptor deprecated

func (*Timestamp) 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 {

	// *
	// Number of complete seconds since the start of the epoch
	Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// contains filtered or unexported fields
}

* An exact date and time, with a resolution of one second (no nanoseconds).

func (*TimestampSeconds) Descriptor deprecated

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

Deprecated: Use TimestampSeconds.ProtoReflect.Descriptor instead.

func (*TimestampSeconds) GetSeconds

func (x *TimestampSeconds) GetSeconds() int64

func (*TimestampSeconds) ProtoMessage

func (*TimestampSeconds) ProtoMessage()

func (*TimestampSeconds) ProtoReflect

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

func (*TimestampSeconds) Reset

func (x *TimestampSeconds) Reset()

func (*TimestampSeconds) String

func (x *TimestampSeconds) String() string

type TokenAllowance

type TokenAllowance struct {

	// *
	// The token that the allowance pertains to.
	TokenId *TokenID `protobuf:"bytes,1,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
	// *
	// The account ID of the token owner (ie. the grantor of the allowance).
	Owner *AccountID `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// *
	// The account ID of the token allowance spender.
	Spender *AccountID `protobuf:"bytes,3,opt,name=spender,proto3" json:"spender,omitempty"`
	// *
	// The amount of the spender's token allowance.
	Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

* An approved allowance of fungible token transfers for a spender.

func (*TokenAllowance) Descriptor deprecated

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

Deprecated: Use TokenAllowance.ProtoReflect.Descriptor instead.

func (*TokenAllowance) GetAmount

func (x *TokenAllowance) GetAmount() int64

func (*TokenAllowance) GetOwner

func (x *TokenAllowance) GetOwner() *AccountID

func (*TokenAllowance) GetSpender

func (x *TokenAllowance) GetSpender() *AccountID

func (*TokenAllowance) GetTokenId

func (x *TokenAllowance) GetTokenId() *TokenID

func (*TokenAllowance) ProtoMessage

func (*TokenAllowance) ProtoMessage()

func (*TokenAllowance) ProtoReflect

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

func (*TokenAllowance) Reset

func (x *TokenAllowance) Reset()

func (*TokenAllowance) String

func (x *TokenAllowance) String() string

type TokenAssociateTransactionBody

type TokenAssociateTransactionBody struct {

	// *
	// The account to be associated with the provided tokens
	Account *AccountID `protobuf:"bytes,1,opt,name=account,proto3" json:"account,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
	Tokens []*TokenID `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// 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 TokenAssociation

type TokenAssociation struct {
	TokenId   *TokenID   `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`       // The token involved in the association
	AccountId *AccountID `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // The account involved in the association
	// contains filtered or unexported fields
}

A token - account association

func (*TokenAssociation) Descriptor deprecated

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

Deprecated: Use TokenAssociation.ProtoReflect.Descriptor instead.

func (*TokenAssociation) GetAccountId

func (x *TokenAssociation) GetAccountId() *AccountID

func (*TokenAssociation) GetTokenId

func (x *TokenAssociation) GetTokenId() *TokenID

func (*TokenAssociation) ProtoMessage

func (*TokenAssociation) ProtoMessage()

func (*TokenAssociation) ProtoReflect

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

func (*TokenAssociation) Reset

func (x *TokenAssociation) Reset()

func (*TokenAssociation) String

func (x *TokenAssociation) String() string

type TokenBalance

type TokenBalance struct {

	// *
	// A unique token id
	TokenId *TokenID `protobuf:"bytes,1,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
	// *
	// Number of transferable units of the identified token. For token of type FUNGIBLE_COMMON -
	// balance in the smallest denomination. For token of type NON_FUNGIBLE_UNIQUE - the number of
	// NFTs held by the account
	Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"`
	// *
	// Tokens divide into <tt>10<sup>decimals</sup></tt> pieces
	Decimals uint32 `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"`
	// contains filtered or unexported fields
}

* A number of <i>transferable units</i> of a certain token.

The transferable unit of a token is its smallest denomination, as given by the token's <tt>decimals</tt> property---each minted token contains <tt>10<sup>decimals</sup></tt> transferable units. For example, we could think of the cent as the transferable unit of the US dollar (<tt>decimals=2</tt>); and the tinybar as the transferable unit of hbar (<tt>decimals=8</tt>).

Transferable units are not directly comparable across different tokens.

func (*TokenBalance) Descriptor deprecated

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

Deprecated: Use TokenBalance.ProtoReflect.Descriptor instead.

func (*TokenBalance) GetBalance

func (x *TokenBalance) GetBalance() uint64

func (*TokenBalance) GetDecimals

func (x *TokenBalance) GetDecimals() uint32

func (*TokenBalance) GetTokenId

func (x *TokenBalance) GetTokenId() *TokenID

func (*TokenBalance) ProtoMessage

func (*TokenBalance) ProtoMessage()

func (*TokenBalance) ProtoReflect

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

func (*TokenBalance) Reset

func (x *TokenBalance) Reset()

func (*TokenBalance) String

func (x *TokenBalance) String() string

type TokenBalances

type TokenBalances struct {
	TokenBalances []*TokenBalance `protobuf:"bytes,1,rep,name=tokenBalances,proto3" json:"tokenBalances,omitempty"`
	// contains filtered or unexported fields
}

* A sequence of token balances

func (*TokenBalances) Descriptor deprecated

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

Deprecated: Use TokenBalances.ProtoReflect.Descriptor instead.

func (*TokenBalances) GetTokenBalances

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

func (*TokenBalances) ProtoMessage

func (*TokenBalances) ProtoMessage()

func (*TokenBalances) ProtoReflect

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

func (*TokenBalances) Reset

func (x *TokenBalances) Reset()

func (*TokenBalances) String

func (x *TokenBalances) String() string

type TokenBurnTransactionBody

type TokenBurnTransactionBody struct {

	// *
	// The token for which to burn tokens. If token does not exist, transaction results in
	// INVALID_TOKEN_ID
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,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.
	Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// *
	// Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be burned.
	SerialNumbers []int64 `protobuf:"varint,3,rep,packed,name=serialNumbers,proto3" json:"serialNumbers,omitempty"`
	// 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. For non fungible tokens the transaction body accepts serialNumbers list of integers as a parameter.

If the serialNumbers don't get filled for non-fungible token type, a INVALID_TOKEN_BURN_AMOUNT response code will be returned. If a zero amount is provided for a fungible token type, it will be treated as a regular transaction. If both amount and serialNumbers get filled, a INVALID_TRANSACTION_BODY response code will be returned. If the serialNumbers' list count is greater than the batch size limit global dynamic property, a BATCH_SIZE_LIMIT_EXCEEDED response code will be returned. If the serialNumbers list contains a non-positive integer as a serial number, a INVALID_NFT_ID response code will be returned.

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 {

	// *
	// The publicly visible name of the token. The token name is specified as a Unicode string.
	// Its UTF-8 encoding cannot exceed 100 bytes, and cannot contain the 0 byte (NUL).
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// *
	// The publicly visible token symbol. The token symbol is specified as a Unicode string.
	// Its UTF-8 encoding cannot exceed 100 bytes, and cannot contain the 0 byte (NUL).
	Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,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
	Decimals uint32 `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,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
	InitialSupply uint64 `protobuf:"varint,4,opt,name=initialSupply,proto3" json:"initialSupply,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
	Treasury *AccountID `protobuf:"bytes,5,opt,name=treasury,proto3" json:"treasury,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)
	AdminKey *Key `protobuf:"bytes,6,opt,name=adminKey,proto3" json:"adminKey,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.
	KycKey *Key `protobuf:"bytes,7,opt,name=kycKey,proto3" json:"kycKey,omitempty"`
	// *
	// The key which can sign to freeze or unfreeze an account for token transactions. If empty,
	// freezing is not possible
	FreezeKey *Key `protobuf:"bytes,8,opt,name=freezeKey,proto3" json:"freezeKey,omitempty"`
	// *
	// The key which can wipe the token balance of an account. If empty, wipe is not possible
	WipeKey *Key `protobuf:"bytes,9,opt,name=wipeKey,proto3" json:"wipeKey,omitempty"`
	// *
	// The key which can change the supply of a token. The key is used to sign Token Mint/Burn
	// operations
	SupplyKey *Key `protobuf:"bytes,10,opt,name=supplyKey,proto3" json:"supplyKey,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
	FreezeDefault bool `protobuf:"varint,11,opt,name=freezeDefault,proto3" json:"freezeDefault,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
	Expiry *Timestamp `protobuf:"bytes,13,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// *
	// An account which will be automatically charged to renew the token's expiration, at
	// autoRenewPeriod interval
	AutoRenewAccount *AccountID `protobuf:"bytes,14,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"`
	// *
	// The interval at which the auto-renew account will be charged to extend the token's expiry
	AutoRenewPeriod *Duration `protobuf:"bytes,15,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// *
	// The memo associated with the token (UTF-8 encoding max 100 bytes)
	Memo string `protobuf:"bytes,16,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// IWA compatibility. Specifies the token type. Defaults to FUNGIBLE_COMMON
	TokenType TokenType `protobuf:"varint,17,opt,name=tokenType,proto3,enum=proto.TokenType" json:"tokenType,omitempty"`
	// *
	// IWA compatibility. Specified the token supply type. Defaults to INFINITE
	SupplyType TokenSupplyType `protobuf:"varint,18,opt,name=supplyType,proto3,enum=proto.TokenSupplyType" json:"supplyType,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!
	MaxSupply int64 `protobuf:"varint,19,opt,name=maxSupply,proto3" json:"maxSupply,omitempty"`
	// *
	// The key which can change the token's custom fee schedule; must sign a TokenFeeScheduleUpdate
	// transaction
	FeeScheduleKey *Key `protobuf:"bytes,20,opt,name=fee_schedule_key,json=feeScheduleKey,proto3" json:"fee_schedule_key,omitempty"`
	// *
	// The custom fees to be assessed during a CryptoTransfer that transfers units of this token
	CustomFees []*CustomFee `protobuf:"bytes,21,rep,name=custom_fees,json=customFees,proto3" json:"custom_fees,omitempty"`
	// *
	// The Key which can pause and unpause the Token.
	// If Empty the token pause status defaults to PauseNotApplicable, otherwise Unpaused.
	PauseKey *Key `protobuf:"bytes,22,opt,name=pause_key,json=pauseKey,proto3" json:"pause_key,omitempty"`
	// 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.

A token can be either <i>FUNGIBLE_COMMON</i> or <i>NON_FUNGIBLE_UNIQUE</i>, based on its <i>TokenType</i>. If it has been omitted, <i>FUNGIBLE_COMMON</i> type is used.

A token can have either <i>INFINITE</i> or <i>FINITE</i> supply type, based on its <i>TokenType</i>. If it has been omitted, <i>INFINITE</i> type is used.

If a <i>FUNGIBLE</i> TokenType is used, <i>initialSupply</i> should explicitly be set to a non-negative. If not, the transaction will resolve to INVALID_TOKEN_INITIAL_SUPPLY.

If a <i>NON_FUNGIBLE_UNIQUE</i> TokenType is used, <i>initialSupply</i> should explicitly be set to 0. If not, the transaction will resolve to INVALID_TOKEN_INITIAL_SUPPLY.

If an <i>INFINITE</i> TokenSupplyType is used, <i>maxSupply</i> should explicitly be set to 0. If it is not 0, the transaction will resolve to INVALID_TOKEN_MAX_SUPPLY.

If a <i>FINITE</i> TokenSupplyType is used, <i>maxSupply</i> should be explicitly set to a non-negative value. If it is not, the transaction will resolve to INVALID_TOKEN_MAX_SUPPLY.

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

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

func (*TokenCreateTransactionBody) GetDecimals

func (x *TokenCreateTransactionBody) GetDecimals() uint32

func (*TokenCreateTransactionBody) GetExpiry

func (x *TokenCreateTransactionBody) GetExpiry() *Timestamp

func (*TokenCreateTransactionBody) GetFeeScheduleKey

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

func (x *TokenCreateTransactionBody) GetPauseKey() *Key

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 {

	// *
	// The token to be deleted. If invalid token is specified, transaction will
	// result in INVALID_TOKEN_ID
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// 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 {

	// *
	// The account to be dissociated with the provided tokens
	Account *AccountID `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// *
	// The tokens to be dissociated with the provided account
	Tokens []*TokenID `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// 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 a token has not been deleted and has not expired, and the user has a nonzero balance, the transaction will resolve to TRANSACTION_REQUIRES_ZERO_TOKEN_BALANCES. If a <b>fungible token</b> has expired, the user can disassociate even if their token balance is not zero. If a <b>non fungible token</b> has expired, the user can <b>not</b> disassociate if their token balance is not zero. The transaction will resolve to TRANSACTION_REQUIRED_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

type TokenFeeScheduleUpdateTransactionBody struct {

	// *
	// The token whose fee schedule is to be updated
	TokenId *TokenID `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// *
	// The new custom fees to be assessed during a CryptoTransfer that transfers units of this token
	CustomFees []*CustomFee `protobuf:"bytes,2,rep,name=custom_fees,json=customFees,proto3" json:"custom_fees,omitempty"`
	// 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

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

Deprecated: Use TokenFeeScheduleUpdateTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenFeeScheduleUpdateTransactionBody) GetCustomFees

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

func (*TokenFeeScheduleUpdateTransactionBody) GetTokenId

func (*TokenFeeScheduleUpdateTransactionBody) ProtoMessage

func (*TokenFeeScheduleUpdateTransactionBody) ProtoMessage()

func (*TokenFeeScheduleUpdateTransactionBody) ProtoReflect

func (*TokenFeeScheduleUpdateTransactionBody) Reset

func (*TokenFeeScheduleUpdateTransactionBody) String

type TokenFreezeAccountTransactionBody

type TokenFreezeAccountTransactionBody struct {

	// *
	// The token for which this account will be frozen. If token does not exist, transaction results
	// in INVALID_TOKEN_ID
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// *
	// The account to be frozen
	Account *AccountID `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// 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 (
	// *
	// UNDOCUMENTED
	TokenFreezeStatus_FreezeNotApplicable TokenFreezeStatus = 0
	// *
	// UNDOCUMENTED
	TokenFreezeStatus_Frozen TokenFreezeStatus = 1
	// *
	// UNDOCUMENTED
	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

type TokenGetAccountNftInfosQuery 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 for which information is requested
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// *
	// Specifies the start index (inclusive) of the range of NFTs to query for. Value must be in the
	// range [0; ownedNFTs-1]
	Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	// *
	// Specifies the end index (exclusive) of the range of NFTs to query for. Value must be in the
	// range (start; ownedNFTs]
	End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// 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

INVALID_QUERY_RANGE response code will be returned if:

  1. Start > End
  2. Start and End indices are non-positive
  3. Start and End indices are out of boundaries for the retrieved nft list
  4. The range between Start and End is bigger than the global dynamic property for maximum query range

NOT_SUPPORTED response code will be returned if the queried token is of type FUNGIBLE_COMMON

INVALID_ACCOUNT_ID response code will be returned if the queried account does not exist

ACCOUNT_DELETED response code will be returned if the queried account has been deleted

func (*TokenGetAccountNftInfosQuery) Descriptor deprecated

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

Deprecated: Use TokenGetAccountNftInfosQuery.ProtoReflect.Descriptor instead.

func (*TokenGetAccountNftInfosQuery) GetAccountID

func (x *TokenGetAccountNftInfosQuery) GetAccountID() *AccountID

func (*TokenGetAccountNftInfosQuery) GetEnd

func (x *TokenGetAccountNftInfosQuery) GetEnd() int64

func (*TokenGetAccountNftInfosQuery) GetHeader

func (x *TokenGetAccountNftInfosQuery) GetHeader() *QueryHeader

func (*TokenGetAccountNftInfosQuery) GetStart

func (x *TokenGetAccountNftInfosQuery) GetStart() int64

func (*TokenGetAccountNftInfosQuery) ProtoMessage

func (*TokenGetAccountNftInfosQuery) ProtoMessage()

func (*TokenGetAccountNftInfosQuery) ProtoReflect

func (*TokenGetAccountNftInfosQuery) Reset

func (x *TokenGetAccountNftInfosQuery) Reset()

func (*TokenGetAccountNftInfosQuery) String

type TokenGetAccountNftInfosResponse

type TokenGetAccountNftInfosResponse 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"`
	// *
	// List of NFTs associated to the account
	Nfts []*TokenNftInfo `protobuf:"bytes,2,rep,name=nfts,proto3" json:"nfts,omitempty"`
	// contains filtered or unexported fields
}

* UNDOCUMENTED

func (*TokenGetAccountNftInfosResponse) Descriptor deprecated

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

Deprecated: Use TokenGetAccountNftInfosResponse.ProtoReflect.Descriptor instead.

func (*TokenGetAccountNftInfosResponse) GetHeader

func (*TokenGetAccountNftInfosResponse) GetNfts

func (*TokenGetAccountNftInfosResponse) ProtoMessage

func (*TokenGetAccountNftInfosResponse) ProtoMessage()

func (*TokenGetAccountNftInfosResponse) ProtoReflect

func (*TokenGetAccountNftInfosResponse) Reset

func (*TokenGetAccountNftInfosResponse) String

type TokenGetInfoQuery

type TokenGetInfoQuery 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 token for which information is requested. If invalid token is provided, INVALID_TOKEN_ID
	// response is returned.
	Token *TokenID `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// 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 {

	// *
	// 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 information requested about this token instance
	TokenInfo *TokenInfo `protobuf:"bytes,2,opt,name=tokenInfo,proto3" json:"tokenInfo,omitempty"`
	// 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 {

	// *
	// 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 ID of the NFT
	NftID *NftID `protobuf:"bytes,2,opt,name=nftID,proto3" json:"nftID,omitempty"`
	// 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 {

	// *
	// 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 information about this NFT
	Nft *TokenNftInfo `protobuf:"bytes,2,opt,name=nft,proto3" json:"nft,omitempty"`
	// contains filtered or unexported fields
}

* UNDOCUMENTED

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 {

	// *
	// 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 ID of the token for which information is requested
	TokenID *TokenID `protobuf:"bytes,2,opt,name=tokenID,proto3" json:"tokenID,omitempty"`
	// *
	// Specifies the start index (inclusive) of the range of NFTs to query for. Value must be in the
	// range [0; ownedNFTs-1]
	Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	// *
	// Specifies the end index (exclusive) of the range of NFTs to query for. Value must be in the
	// range (start; ownedNFTs]
	End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// 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

INVALID_QUERY_RANGE response code will be returned if: 1) Start > End 2) Start and End indices are non-positive 3) Start and End indices are out of boundaries for the retrieved nft list 4) The range between Start and End is bigger than the global dynamic property for maximum query range

NOT_SUPPORTED response code will be returned if the queried token is of type FUNGIBLE_COMMON

INVALID_TOKEN_ID response code will be returned if the queried token does not exist

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 {

	// *
	// 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 Token with type NON_FUNGIBLE that this record is for
	TokenID *TokenID `protobuf:"bytes,2,opt,name=tokenID,proto3" json:"tokenID,omitempty"`
	// *
	// List of NFTs associated to the specified token
	Nfts []*TokenNftInfo `protobuf:"bytes,3,rep,name=nfts,proto3" json:"nfts,omitempty"`
	// 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 {

	// *
	// The token for which this account will be granted KYC. If token does not exist, transaction
	// results in INVALID_TOKEN_ID
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// *
	// The account to be KYCed
	Account *AccountID `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// 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 {

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

* Unique identifier for a token

func (*TokenID) Descriptor deprecated

func (*TokenID) 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 {

	// *
	// ID of the token instance
	TokenId *TokenID `protobuf:"bytes,1,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
	// *
	// The name of the token. It is a string of ASCII only characters
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// *
	// The symbol of the token. It is a UTF-8 capitalized alphabetical string
	Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	// *
	// The number of decimal places a token is divisible by. Always 0 for tokens of type
	// NON_FUNGIBLE_UNIQUE
	Decimals uint32 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,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
	TotalSupply uint64 `protobuf:"varint,5,opt,name=totalSupply,proto3" json:"totalSupply,omitempty"`
	// *
	// The ID of the account which is set as Treasury
	Treasury *AccountID `protobuf:"bytes,6,opt,name=treasury,proto3" json:"treasury,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)
	AdminKey *Key `protobuf:"bytes,7,opt,name=adminKey,proto3" json:"adminKey,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.
	KycKey *Key `protobuf:"bytes,8,opt,name=kycKey,proto3" json:"kycKey,omitempty"`
	// *
	// The key which can freeze or unfreeze an account for token transactions. If empty, freezing is
	// not possible
	FreezeKey *Key `protobuf:"bytes,9,opt,name=freezeKey,proto3" json:"freezeKey,omitempty"`
	// *
	// The key which can wipe token balance of an account. If empty, wipe is not possible
	WipeKey *Key `protobuf:"bytes,10,opt,name=wipeKey,proto3" json:"wipeKey,omitempty"`
	// *
	// The key which can change the supply of a token. The key is used to sign Token Mint/Burn
	// operations
	SupplyKey *Key `protobuf:"bytes,11,opt,name=supplyKey,proto3" json:"supplyKey,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
	DefaultFreezeStatus TokenFreezeStatus `protobuf:"varint,12,opt,name=defaultFreezeStatus,proto3,enum=proto.TokenFreezeStatus" json:"defaultFreezeStatus,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
	DefaultKycStatus TokenKycStatus `protobuf:"varint,13,opt,name=defaultKycStatus,proto3,enum=proto.TokenKycStatus" json:"defaultKycStatus,omitempty"`
	// *
	// Specifies whether the token was deleted or not
	Deleted bool `protobuf:"varint,14,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// *
	// An account which will be automatically charged to renew the token's expiration, at
	// autoRenewPeriod interval
	AutoRenewAccount *AccountID `protobuf:"bytes,15,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"`
	// *
	// The interval at which the auto-renew account will be charged to extend the token's expiry
	AutoRenewPeriod *Duration `protobuf:"bytes,16,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,omitempty"`
	// *
	// The epoch second at which the token will expire
	Expiry *Timestamp `protobuf:"bytes,17,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// *
	// The memo associated with the token
	Memo string `protobuf:"bytes,18,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The token type
	TokenType TokenType `protobuf:"varint,19,opt,name=tokenType,proto3,enum=proto.TokenType" json:"tokenType,omitempty"`
	// *
	// The token supply type
	SupplyType TokenSupplyType `protobuf:"varint,20,opt,name=supplyType,proto3,enum=proto.TokenSupplyType" json:"supplyType,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
	MaxSupply int64 `protobuf:"varint,21,opt,name=maxSupply,proto3" json:"maxSupply,omitempty"`
	// *
	// The key which can change the custom fee schedule of the token; if not set, the fee schedule
	// is immutable
	FeeScheduleKey *Key `protobuf:"bytes,22,opt,name=fee_schedule_key,json=feeScheduleKey,proto3" json:"fee_schedule_key,omitempty"`
	// *
	// The custom fees to be assessed during a CryptoTransfer that transfers units of this token
	CustomFees []*CustomFee `protobuf:"bytes,23,rep,name=custom_fees,json=customFees,proto3" json:"custom_fees,omitempty"`
	// *
	// The Key which can pause and unpause the Token.
	PauseKey *Key `protobuf:"bytes,24,opt,name=pause_key,json=pauseKey,proto3" json:"pause_key,omitempty"`
	// *
	// Specifies whether the token is paused or not. PauseNotApplicable is returned if pauseKey is not set.
	PauseStatus TokenPauseStatus `protobuf:"varint,25,opt,name=pause_status,json=pauseStatus,proto3,enum=proto.TokenPauseStatus" json:"pause_status,omitempty"`
	// *
	// The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs.
	LedgerId []byte `protobuf:"bytes,26,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// 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

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

func (x *TokenInfo) GetFeeScheduleKey() *Key

func (*TokenInfo) GetFreezeKey

func (x *TokenInfo) GetFreezeKey() *Key

func (*TokenInfo) GetKycKey

func (x *TokenInfo) GetKycKey() *Key

func (*TokenInfo) GetLedgerId

func (x *TokenInfo) GetLedgerId() []byte

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

func (x *TokenInfo) GetPauseKey() *Key

func (*TokenInfo) GetPauseStatus

func (x *TokenInfo) GetPauseStatus() TokenPauseStatus

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 (
	// *
	// UNDOCUMENTED
	TokenKycStatus_KycNotApplicable TokenKycStatus = 0
	// *
	// UNDOCUMENTED
	TokenKycStatus_Granted TokenKycStatus = 1
	// *
	// UNDOCUMENTED
	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 {

	// *
	// The token for which to mint tokens. If token does not exist, transaction results in
	// INVALID_TOKEN_ID
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,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.
	Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,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
	Metadata [][]byte `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty"`
	// 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. If both amount and metadata list get filled, a INVALID_TRANSACTION_BODY response code will be returned. If the metadata list contains metadata which is too large, a METADATA_TOO_LONG response code will be returned. If the metadata list is not filled for a non-fungible token type, a INVALID_TOKEN_MINT_AMOUNT response code will be returned. If a zero amount is provided for a fungible token type, it will be treated as a regular transaction. If the metadata list count is greater than the batch size limit global dynamic property, a BATCH_SIZE_LIMIT_EXCEEDED response code will be returned.

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 {

	// *
	// The ID of the NFT
	NftID *NftID `protobuf:"bytes,1,opt,name=nftID,proto3" json:"nftID,omitempty"`
	// *
	// The current owner of the NFT
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// *
	// The effective consensus timestamp at which the NFT was minted
	CreationTime *Timestamp `protobuf:"bytes,3,opt,name=creationTime,proto3" json:"creationTime,omitempty"`
	// *
	// Represents the unique metadata of the NFT
	Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// *
	// The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs.
	LedgerId []byte `protobuf:"bytes,5,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// *
	// If an allowance is granted for the NFT, its corresponding spender account
	SpenderId *AccountID `protobuf:"bytes,6,opt,name=spender_id,json=spenderId,proto3" json:"spender_id,omitempty"`
	// contains filtered or unexported fields
}

* UNDOCUMENTED

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

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

func (*TokenNftInfo) GetMetadata

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

func (*TokenNftInfo) GetNftID

func (x *TokenNftInfo) GetNftID() *NftID

func (*TokenNftInfo) GetSpenderId

func (x *TokenNftInfo) GetSpenderId() *AccountID

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 TokenPauseStatus

type TokenPauseStatus int32

* Possible Pause statuses returned on TokenGetInfoQuery

const (
	// *
	// Indicates that a Token has no pauseKey
	TokenPauseStatus_PauseNotApplicable TokenPauseStatus = 0
	// *
	// Indicates that a Token is Paused
	TokenPauseStatus_Paused TokenPauseStatus = 1
	// *
	// Indicates that a Token is Unpaused.
	TokenPauseStatus_Unpaused TokenPauseStatus = 2
)

func (TokenPauseStatus) Descriptor

func (TokenPauseStatus) Enum

func (TokenPauseStatus) EnumDescriptor deprecated

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

Deprecated: Use TokenPauseStatus.Descriptor instead.

func (TokenPauseStatus) Number

func (TokenPauseStatus) String

func (x TokenPauseStatus) String() string

func (TokenPauseStatus) Type

type TokenPauseTransactionBody

type TokenPauseTransactionBody struct {

	// *
	// The token to be paused.
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

* Pauses the Token from being involved in any kind of Transaction until it is unpaused. Must be signed with the Token's pause key. 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 no Pause Key is defined, the transaction will resolve to TOKEN_HAS_NO_PAUSE_KEY. Once executed the Token is marked as paused and will be not able to be a part of any transaction. The operation is idempotent - becomes a no-op if the Token is already Paused.

func (*TokenPauseTransactionBody) Descriptor deprecated

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

Deprecated: Use TokenPauseTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenPauseTransactionBody) GetToken

func (x *TokenPauseTransactionBody) GetToken() *TokenID

func (*TokenPauseTransactionBody) ProtoMessage

func (*TokenPauseTransactionBody) ProtoMessage()

func (*TokenPauseTransactionBody) ProtoReflect

func (*TokenPauseTransactionBody) Reset

func (x *TokenPauseTransactionBody) Reset()

func (*TokenPauseTransactionBody) String

func (x *TokenPauseTransactionBody) String() string

type TokenRelationship

type TokenRelationship struct {

	// *
	// The ID of the token
	TokenId *TokenID `protobuf:"bytes,1,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
	// *
	// The Symbol of the token
	Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	// *
	// For token of type FUNGIBLE_COMMON - the balance that the Account holds in the smallest
	// denomination. For token of type NON_FUNGIBLE_UNIQUE - the number of NFTs held by the account
	Balance uint64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"`
	// *
	// The KYC status of the account (KycNotApplicable, Granted or Revoked). If the token does not
	// have KYC key, KycNotApplicable is returned
	KycStatus TokenKycStatus `protobuf:"varint,4,opt,name=kycStatus,proto3,enum=proto.TokenKycStatus" json:"kycStatus,omitempty"`
	// *
	// The Freeze status of the account (FreezeNotApplicable, Frozen or Unfrozen). If the token does
	// not have Freeze key, FreezeNotApplicable is returned
	FreezeStatus TokenFreezeStatus `protobuf:"varint,5,opt,name=freezeStatus,proto3,enum=proto.TokenFreezeStatus" json:"freezeStatus,omitempty"`
	// *
	// Tokens divide into <tt>10<sup>decimals</sup></tt> pieces
	Decimals uint32 `protobuf:"varint,6,opt,name=decimals,proto3" json:"decimals,omitempty"`
	// *
	// Specifies if the relationship is created implicitly. False : explicitly associated, True :
	// implicitly associated.
	AutomaticAssociation bool `protobuf:"varint,7,opt,name=automatic_association,json=automaticAssociation,proto3" json:"automatic_association,omitempty"`
	// contains filtered or unexported fields
}

* Token's information related to the given Account

func (*TokenRelationship) Descriptor deprecated

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

Deprecated: Use TokenRelationship.ProtoReflect.Descriptor instead.

func (*TokenRelationship) GetAutomaticAssociation

func (x *TokenRelationship) GetAutomaticAssociation() bool

func (*TokenRelationship) GetBalance

func (x *TokenRelationship) GetBalance() uint64

func (*TokenRelationship) GetDecimals

func (x *TokenRelationship) GetDecimals() uint32

func (*TokenRelationship) GetFreezeStatus

func (x *TokenRelationship) GetFreezeStatus() TokenFreezeStatus

func (*TokenRelationship) GetKycStatus

func (x *TokenRelationship) GetKycStatus() TokenKycStatus

func (*TokenRelationship) GetSymbol

func (x *TokenRelationship) GetSymbol() string

func (*TokenRelationship) GetTokenId

func (x *TokenRelationship) GetTokenId() *TokenID

func (*TokenRelationship) ProtoMessage

func (*TokenRelationship) ProtoMessage()

func (*TokenRelationship) ProtoReflect

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

func (*TokenRelationship) Reset

func (x *TokenRelationship) Reset()

func (*TokenRelationship) String

func (x *TokenRelationship) String() string

type TokenRevokeKycTransactionBody

type TokenRevokeKycTransactionBody struct {

	// *
	// The token for which this account will get his KYC revoked. If token does not exist,
	// transaction results in INVALID_TOKEN_ID
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// *
	// The account to be KYC Revoked
	Account *AccountID `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// 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)
	// Deprecated: Do not use.
	// *
	// (DEPRECATED) 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)
	// Deprecated: Do not use.
	// *
	// (DEPRECATED) 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)
	// Pause the token
	PauseToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
	// Unpause the token
	UnpauseToken(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, 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)
	// Deprecated: Do not use.
	// *
	// (DEPRECATED) 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)
	// Deprecated: Do not use.
	// *
	// (DEPRECATED) 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)
	// Pause the token
	PauseToken(context.Context, *Transaction) (*TransactionResponse, error)
	// Unpause the token
	UnpauseToken(context.Context, *Transaction) (*TransactionResponse, 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 (
	// *
	// Indicates that tokens of that type have an upper bound of Long.MAX_VALUE.
	TokenSupplyType_INFINITE TokenSupplyType = 0
	// *
	// Indicates that tokens of that type have an upper bound of maxSupply,
	// provided on token creation.
	TokenSupplyType_FINITE TokenSupplyType = 1
)

func (TokenSupplyType) Descriptor

func (TokenSupplyType) 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 {

	// *
	// The ID of the token
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// *
	// Applicable to tokens of type FUNGIBLE_COMMON. Multiple list of AccountAmounts, each of which
	// has an account and amount
	Transfers []*AccountAmount `protobuf:"bytes,2,rep,name=transfers,proto3" json:"transfers,omitempty"`
	// *
	// Applicable to tokens of type NON_FUNGIBLE_UNIQUE. Multiple list of NftTransfers, each of
	// which has a sender and receiver account, including the serial number of the NFT
	NftTransfers []*NftTransfer `protobuf:"bytes,3,rep,name=nftTransfers,proto3" json:"nftTransfers,omitempty"`
	// *
	// If present, the number of decimals this fungible token type is expected to have. The transfer
	// will fail with UNEXPECTED_TOKEN_DECIMALS if the actual decimals differ.
	ExpectedDecimals *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=expected_decimals,json=expectedDecimals,proto3" json:"expected_decimals,omitempty"`
	// contains filtered or unexported fields
}

* A list of token IDs and amounts representing the transferred out (negative) or into (positive) amounts, represented in the lowest denomination of the token

func (*TokenTransferList) Descriptor deprecated

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

Deprecated: Use TokenTransferList.ProtoReflect.Descriptor instead.

func (*TokenTransferList) GetExpectedDecimals

func (x *TokenTransferList) GetExpectedDecimals() *wrappers.UInt32Value

func (*TokenTransferList) GetNftTransfers

func (x *TokenTransferList) GetNftTransfers() []*NftTransfer

func (*TokenTransferList) GetToken

func (x *TokenTransferList) GetToken() *TokenID

func (*TokenTransferList) GetTransfers

func (x *TokenTransferList) GetTransfers() []*AccountAmount

func (*TokenTransferList) ProtoMessage

func (*TokenTransferList) ProtoMessage()

func (*TokenTransferList) ProtoReflect

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

func (*TokenTransferList) Reset

func (x *TokenTransferList) Reset()

func (*TokenTransferList) String

func (x *TokenTransferList) String() string

type TokenType

type TokenType int32

* Possible Token Types (IWA Compatibility). Apart from fungible and non-fungible, Tokens can have either a common or unique representation. This distinction might seem subtle, but it is important when considering how tokens can be traced and if they can have isolated and unique properties.

const (
	// *
	// Interchangeable value with one another, where any quantity of them has the same value as
	// another equal quantity if they are in the same class.  Share a single set of properties, not
	// distinct from one another. Simply represented as a balance or quantity to a given Hedera
	// account.
	TokenType_FUNGIBLE_COMMON TokenType = 0
	// *
	// Unique, not interchangeable with other tokens of the same type as they typically have
	// different values.  Individually traced and can carry unique properties (e.g. serial number).
	TokenType_NON_FUNGIBLE_UNIQUE TokenType = 1
)

func (TokenType) Descriptor

func (TokenType) Descriptor() protoreflect.EnumDescriptor

func (TokenType) 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 {

	// *
	// The token for which this account will be unfrozen. If token does not exist, transaction
	// results in INVALID_TOKEN_ID
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// *
	// The account to be unfrozen
	Account *AccountID `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// 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 TokenUnpauseTransactionBody

type TokenUnpauseTransactionBody struct {

	// *
	// The token to be unpaused.
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

* Unpauses the Token. Must be signed with the Token's pause key. 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 no Pause Key is defined, the transaction will resolve to TOKEN_HAS_NO_PAUSE_KEY. Once executed the Token is marked as Unpaused and can be used in Transactions. The operation is idempotent - becomes a no-op if the Token is already unpaused.

func (*TokenUnpauseTransactionBody) Descriptor deprecated

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

Deprecated: Use TokenUnpauseTransactionBody.ProtoReflect.Descriptor instead.

func (*TokenUnpauseTransactionBody) GetToken

func (x *TokenUnpauseTransactionBody) GetToken() *TokenID

func (*TokenUnpauseTransactionBody) ProtoMessage

func (*TokenUnpauseTransactionBody) ProtoMessage()

func (*TokenUnpauseTransactionBody) ProtoReflect

func (*TokenUnpauseTransactionBody) Reset

func (x *TokenUnpauseTransactionBody) Reset()

func (*TokenUnpauseTransactionBody) String

func (x *TokenUnpauseTransactionBody) String() string

type TokenUpdateTransactionBody

type TokenUpdateTransactionBody struct {

	// *
	// The Token to be updated
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// *
	// The new publicly visible token symbol. The token symbol is specified as a Unicode string.
	// Its UTF-8 encoding cannot exceed 100 bytes, and cannot contain the 0 byte (NUL).
	Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	// *
	// The new publicly visible name of the token. The token name is specified as a Unicode string.
	// Its UTF-8 encoding cannot exceed 100 bytes, and cannot contain the 0 byte (NUL).
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,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.
	Treasury *AccountID `protobuf:"bytes,4,opt,name=treasury,proto3" json:"treasury,omitempty"`
	// *
	// The new admin key of the Token. If Token is immutable, transaction will resolve to
	// TOKEN_IS_IMMUTABlE.
	AdminKey *Key `protobuf:"bytes,5,opt,name=adminKey,proto3" json:"adminKey,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.
	KycKey *Key `protobuf:"bytes,6,opt,name=kycKey,proto3" json:"kycKey,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.
	FreezeKey *Key `protobuf:"bytes,7,opt,name=freezeKey,proto3" json:"freezeKey,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.
	WipeKey *Key `protobuf:"bytes,8,opt,name=wipeKey,proto3" json:"wipeKey,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.
	SupplyKey *Key `protobuf:"bytes,9,opt,name=supplyKey,proto3" json:"supplyKey,omitempty"`
	// *
	// The new account which will be automatically charged to renew the token's expiration, at
	// autoRenewPeriod interval.
	AutoRenewAccount *AccountID `protobuf:"bytes,10,opt,name=autoRenewAccount,proto3" json:"autoRenewAccount,omitempty"`
	// *
	// The new interval at which the auto-renew account will be charged to extend the token's
	// expiry.
	AutoRenewPeriod *Duration `protobuf:"bytes,11,opt,name=autoRenewPeriod,proto3" json:"autoRenewPeriod,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
	Expiry *Timestamp `protobuf:"bytes,12,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// *
	// If set, the new memo to be associated with the token (UTF-8 encoding max 100 bytes)
	Memo *wrappers.StringValue `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,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
	FeeScheduleKey *Key `protobuf:"bytes,14,opt,name=fee_schedule_key,json=feeScheduleKey,proto3" json:"fee_schedule_key,omitempty"`
	// *
	// The Key which can pause and unpause the Token. If the Token does not currently have a pause key,
	// transaction will resolve to TOKEN_HAS_NO_PAUSE_KEY
	PauseKey *Key `protobuf:"bytes,15,opt,name=pause_key,json=pauseKey,proto3" json:"pause_key,omitempty"`
	// 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.

--- Nft Requirements ---

  1. If a non fungible token has a positive treasury balance, the operation will abort with CURRENT_TREASURY_STILL_OWNS_NFTS.

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

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

func (x *TokenUpdateTransactionBody) GetPauseKey() *Key

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 {

	// *
	// The token for which the account will be wiped. If token does not exist, transaction results
	// in INVALID_TOKEN_ID
	Token *TokenID `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// *
	// The account to be wiped
	Account *AccountID `protobuf:"bytes,2,opt,name=account,proto3" json:"account,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]
	Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// *
	// Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be wiped.
	SerialNumbers []int64 `protobuf:"varint,4,rep,packed,name=serialNumbers,proto3" json:"serialNumbers,omitempty"`
	// 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.

If both amount and serialNumbers get filled, a INVALID_TRANSACTION_BODY response code will be returned. If the serialNumbers don't get filled for a non-fungible token type, a INVALID_WIPING_AMOUNT response code will be returned. If a zero amount is provided for a fungible token type, it will be treated as a regular transaction. If the serialNumbers list contains a non-positive integer as a serial number, a INVALID_NFT_ID response code will be returned. If the serialNumbers' list count is greater than the batch size limit global dynamic property, a BATCH_SIZE_LIMIT_EXCEEDED response code will be returned.

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 {

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

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

func (*TopicID) Descriptor deprecated

func (*TopicID) 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 {

	// *
	// the body of the transaction, which needs to be signed
	//
	// Deprecated: Marked as deprecated in transaction.proto.
	Body *TransactionBody `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// *
	// The signatures on the body, to authorize the transaction; deprecated and to be succeeded by
	// SignatureMap field
	//
	// Deprecated: Marked as deprecated in transaction.proto.
	Sigs *SignatureList `protobuf:"bytes,2,opt,name=sigs,proto3" json:"sigs,omitempty"`
	// *
	// The signatures on the body with the new format, to authorize the transaction
	//
	// Deprecated: Marked as deprecated in transaction.proto.
	SigMap *SignatureMap `protobuf:"bytes,3,opt,name=sigMap,proto3" json:"sigMap,omitempty"`
	// *
	// TransactionBody serialized into bytes, which needs to be signed
	//
	// Deprecated: Marked as deprecated in transaction.proto.
	BodyBytes []byte `protobuf:"bytes,4,opt,name=bodyBytes,proto3" json:"bodyBytes,omitempty"`
	// *
	// SignedTransaction serialized into bytes
	SignedTransactionBytes []byte `protobuf:"bytes,5,opt,name=signedTransactionBytes,proto3" json:"signedTransactionBytes,omitempty"`
	// 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

func (x *Transaction) GetBody() *TransactionBody

Deprecated: Marked as deprecated in transaction.proto.

func (*Transaction) GetBodyBytes deprecated

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

Deprecated: Marked as deprecated in transaction.proto.

func (*Transaction) GetSigMap deprecated

func (x *Transaction) GetSigMap() *SignatureMap

Deprecated: Marked as deprecated in transaction.proto.

func (*Transaction) GetSignedTransactionBytes

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

func (*Transaction) GetSigs deprecated

func (x *Transaction) GetSigs() *SignatureList

Deprecated: Marked as deprecated in transaction.proto.

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 {

	// *
	// The ID for this transaction, which includes the payer's account (the account paying the
	// transaction fee). If two transactions have the same transactionID, they won't both have an
	// effect
	TransactionID *TransactionID `protobuf:"bytes,1,opt,name=transactionID,proto3" json:"transactionID,omitempty"`
	// *
	// The account of the node that submits the client's transaction to the network
	NodeAccountID *AccountID `protobuf:"bytes,2,opt,name=nodeAccountID,proto3" json:"nodeAccountID,omitempty"`
	// *
	// The maximum transaction fee the client is willing to pay
	TransactionFee uint64 `protobuf:"varint,3,opt,name=transactionFee,proto3" json:"transactionFee,omitempty"`
	// *
	// The transaction is invalid if consensusTimestamp > transactionID.transactionValidStart +
	// transactionValidDuration
	TransactionValidDuration *Duration `protobuf:"bytes,4,opt,name=transactionValidDuration,proto3" json:"transactionValidDuration,omitempty"`
	// *
	// Should a record of this transaction be generated? (A receipt is always generated, but the
	// record is optional)
	//
	// Deprecated: Marked as deprecated in transaction_body.proto.
	GenerateRecord bool `protobuf:"varint,5,opt,name=generateRecord,proto3" json:"generateRecord,omitempty"`
	// *
	// Any notes or descriptions that should be put into the record (max length 100)
	Memo string `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The choices here are arranged by service in roughly lexicographical order. The field ordinals are non-sequential, and a result of the historical order of implementation.
	//
	// Types that are assignable to Data:
	//
	//	*TransactionBody_ContractCall
	//	*TransactionBody_ContractCreateInstance
	//	*TransactionBody_ContractUpdateInstance
	//	*TransactionBody_ContractDeleteInstance
	//	*TransactionBody_EthereumTransaction
	//	*TransactionBody_CryptoAddLiveHash
	//	*TransactionBody_CryptoApproveAllowance
	//	*TransactionBody_CryptoDeleteAllowance
	//	*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_TokenPause
	//	*TransactionBody_TokenUnpause
	//	*TransactionBody_ScheduleCreate
	//	*TransactionBody_ScheduleDelete
	//	*TransactionBody_ScheduleSign
	//	*TransactionBody_NodeStakeUpdate
	//	*TransactionBody_UtilPrng
	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) GetCryptoApproveAllowance

func (x *TransactionBody) GetCryptoApproveAllowance() *CryptoApproveAllowanceTransactionBody

func (*TransactionBody) GetCryptoCreateAccount

func (x *TransactionBody) GetCryptoCreateAccount() *CryptoCreateTransactionBody

func (*TransactionBody) GetCryptoDelete

func (x *TransactionBody) GetCryptoDelete() *CryptoDeleteTransactionBody

func (*TransactionBody) GetCryptoDeleteAllowance

func (x *TransactionBody) GetCryptoDeleteAllowance() *CryptoDeleteAllowanceTransactionBody

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

func (x *TransactionBody) GetEthereumTransaction() *EthereumTransactionBody

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: Marked as deprecated in transaction_body.proto.

func (*TransactionBody) GetMemo

func (x *TransactionBody) GetMemo() string

func (*TransactionBody) GetNodeAccountID

func (x *TransactionBody) GetNodeAccountID() *AccountID

func (*TransactionBody) GetNodeStakeUpdate

func (x *TransactionBody) GetNodeStakeUpdate() *NodeStakeUpdateTransactionBody

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

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

func (x *TransactionBody) GetTokenPause() *TokenPauseTransactionBody

func (*TransactionBody) GetTokenRevokeKyc

func (x *TransactionBody) GetTokenRevokeKyc() *TokenRevokeKycTransactionBody

func (*TransactionBody) GetTokenUnfreeze

func (*TransactionBody) GetTokenUnpause

func (x *TransactionBody) GetTokenUnpause() *TokenUnpauseTransactionBody

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

func (x *TransactionBody) GetUtilPrng() *UtilPrngTransactionBody

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 {
	// *
	// Creates a topic
	ConsensusCreateTopic *ConsensusCreateTopicTransactionBody `protobuf:"bytes,24,opt,name=consensusCreateTopic,proto3,oneof"`
}

type TransactionBody_ConsensusDeleteTopic

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

type TransactionBody_ConsensusSubmitMessage

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

type TransactionBody_ConsensusUpdateTopic

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

type TransactionBody_ContractCall

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

type TransactionBody_ContractCreateInstance

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

type TransactionBody_ContractDeleteInstance

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

type TransactionBody_ContractUpdateInstance

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

type TransactionBody_CryptoAddLiveHash

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

type TransactionBody_CryptoApproveAllowance

type TransactionBody_CryptoApproveAllowance struct {
	// *
	// Adds one or more approved allowances for spenders to transfer the paying account's hbar or tokens.
	CryptoApproveAllowance *CryptoApproveAllowanceTransactionBody `protobuf:"bytes,48,opt,name=cryptoApproveAllowance,proto3,oneof"`
}

type TransactionBody_CryptoCreateAccount

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

type TransactionBody_CryptoDelete

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

type TransactionBody_CryptoDeleteAllowance

type TransactionBody_CryptoDeleteAllowance struct {
	// *
	// Deletes one or more of the specific approved NFT serial numbers on an owner account.
	CryptoDeleteAllowance *CryptoDeleteAllowanceTransactionBody `protobuf:"bytes,49,opt,name=cryptoDeleteAllowance,proto3,oneof"`
}

type TransactionBody_CryptoDeleteLiveHash

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

type TransactionBody_CryptoTransfer

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

type TransactionBody_CryptoUpdateAccount

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

type TransactionBody_EthereumTransaction

type TransactionBody_EthereumTransaction struct {
	// *
	// An Ethereum encoded transaction.
	EthereumTransaction *EthereumTransactionBody `protobuf:"bytes,50,opt,name=ethereumTransaction,proto3,oneof"`
}

type TransactionBody_FileAppend

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

type TransactionBody_FileCreate

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

type TransactionBody_FileDelete

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

type TransactionBody_FileUpdate

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

type TransactionBody_Freeze

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

type TransactionBody_NodeStakeUpdate

type TransactionBody_NodeStakeUpdate struct {
	// *
	// Updates the staking info at the end of staking period to indicate new staking period has started.
	NodeStakeUpdate *NodeStakeUpdateTransactionBody `protobuf:"bytes,51,opt,name=node_stake_update,json=nodeStakeUpdate,proto3,oneof"`
}

type TransactionBody_ScheduleCreate

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

type TransactionBody_ScheduleDelete

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

type TransactionBody_ScheduleSign

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

type TransactionBody_SystemDelete

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

type TransactionBody_SystemUndelete

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

type TransactionBody_TokenAssociate

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

type TransactionBody_TokenBurn

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

type TransactionBody_TokenCreation

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

type TransactionBody_TokenDeletion

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

type TransactionBody_TokenDissociate

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

type TransactionBody_TokenFeeScheduleUpdate

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

type TransactionBody_TokenFreeze

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

type TransactionBody_TokenGrantKyc

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

type TransactionBody_TokenMint

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

type TransactionBody_TokenPause

type TransactionBody_TokenPause struct {
	// *
	// Pauses the Token
	TokenPause *TokenPauseTransactionBody `protobuf:"bytes,46,opt,name=token_pause,json=tokenPause,proto3,oneof"`
}

type TransactionBody_TokenRevokeKyc

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

type TransactionBody_TokenUnfreeze

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

type TransactionBody_TokenUnpause

type TransactionBody_TokenUnpause struct {
	// *
	// Unpauses the Token
	TokenUnpause *TokenUnpauseTransactionBody `protobuf:"bytes,47,opt,name=token_unpause,json=tokenUnpause,proto3,oneof"`
}

type TransactionBody_TokenUpdate

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

type TransactionBody_TokenWipe

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

type TransactionBody_UncheckedSubmit

type TransactionBody_UncheckedSubmit struct {
	// *
	// UNDOCUMENTED
	UncheckedSubmit *UncheckedSubmitBody `protobuf:"bytes,28,opt,name=uncheckedSubmit,proto3,oneof"`
}

type TransactionBody_UtilPrng

type TransactionBody_UtilPrng struct {
	// *
	// Generates a pseudorandom number.
	UtilPrng *UtilPrngTransactionBody `protobuf:"bytes,52,opt,name=util_prng,json=utilPrng,proto3,oneof"`
}

type TransactionFeeSchedule

type TransactionFeeSchedule struct {

	// *
	// A particular transaction or query
	HederaFunctionality HederaFunctionality `protobuf:"varint,1,opt,name=hederaFunctionality,proto3,enum=proto.HederaFunctionality" json:"hederaFunctionality,omitempty"`
	// *
	// Resource price coefficients
	//
	// Deprecated: Marked as deprecated in basic_types.proto.
	FeeData *FeeData `protobuf:"bytes,2,opt,name=feeData,proto3" json:"feeData,omitempty"`
	// *
	// Resource price coefficients. Supports subtype price definition.
	Fees []*FeeData `protobuf:"bytes,3,rep,name=fees,proto3" json:"fees,omitempty"`
	// contains filtered or unexported fields
}

* The fees for a specific transaction or query based on the fee data.

func (*TransactionFeeSchedule) Descriptor deprecated

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

Deprecated: Use TransactionFeeSchedule.ProtoReflect.Descriptor instead.

func (*TransactionFeeSchedule) GetFeeData deprecated

func (x *TransactionFeeSchedule) GetFeeData() *FeeData

Deprecated: Marked as deprecated in basic_types.proto.

func (*TransactionFeeSchedule) GetFees

func (x *TransactionFeeSchedule) GetFees() []*FeeData

func (*TransactionFeeSchedule) GetHederaFunctionality

func (x *TransactionFeeSchedule) GetHederaFunctionality() HederaFunctionality

func (*TransactionFeeSchedule) ProtoMessage

func (*TransactionFeeSchedule) ProtoMessage()

func (*TransactionFeeSchedule) ProtoReflect

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

func (*TransactionFeeSchedule) Reset

func (x *TransactionFeeSchedule) Reset()

func (*TransactionFeeSchedule) String

func (x *TransactionFeeSchedule) String() string

type TransactionGetFastRecordQuery

type TransactionGetFastRecordQuery 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 ID of the transaction for which the record is requested.
	TransactionID *TransactionID `protobuf:"bytes,2,opt,name=transactionID,proto3" json:"transactionID,omitempty"`
	// 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 {

	// *
	// 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 requested transaction records
	TransactionRecord *TransactionRecord `protobuf:"bytes,2,opt,name=transactionRecord,proto3" json:"transactionRecord,omitempty"`
	// 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 {

	// *
	// 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 ID of the transaction for which the receipt is requested.
	TransactionID *TransactionID `protobuf:"bytes,2,opt,name=transactionID,proto3" json:"transactionID,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.
	IncludeDuplicates bool `protobuf:"varint,3,opt,name=includeDuplicates,proto3" json:"includeDuplicates,omitempty"`
	// *
	// Whether the response should include the receipts of any child transactions spawned by the
	// top-level transaction with the given transactionID.
	IncludeChildReceipts bool `protobuf:"varint,4,opt,name=include_child_receipts,json=includeChildReceipts,proto3" json:"include_child_receipts,omitempty"`
	// 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) GetIncludeChildReceipts

func (x *TransactionGetReceiptQuery) GetIncludeChildReceipts() bool

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 {

	// *
	// 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"`
	// *
	// 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.
	Receipt *TransactionReceipt `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
	// *
	// The receipts of processing all transactions with the given id, in consensus time order.
	DuplicateTransactionReceipts []*TransactionReceipt `protobuf:"bytes,4,rep,name=duplicateTransactionReceipts,proto3" json:"duplicateTransactionReceipts,omitempty"`
	// *
	// The receipts (if any) of all child transactions spawned by the transaction with the
	// given top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
	ChildTransactionReceipts []*TransactionReceipt `` /* 135-byte string literal not displayed */
	// 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) GetChildTransactionReceipts

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

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 {

	// *
	// 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 ID of the transaction for which the record is requested.
	TransactionID *TransactionID `protobuf:"bytes,2,opt,name=transactionID,proto3" json:"transactionID,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..
	IncludeDuplicates bool `protobuf:"varint,3,opt,name=includeDuplicates,proto3" json:"includeDuplicates,omitempty"`
	// *
	// Whether the response should include the records of any child transactions spawned by the
	// top-level transaction with the given transactionID.
	IncludeChildRecords bool `protobuf:"varint,4,opt,name=include_child_records,json=includeChildRecords,proto3" json:"include_child_records,omitempty"`
	// 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) GetIncludeChildRecords

func (x *TransactionGetRecordQuery) GetIncludeChildRecords() bool

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 {

	// *
	// 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"`
	// *
	// 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.
	TransactionRecord *TransactionRecord `protobuf:"bytes,3,opt,name=transactionRecord,proto3" json:"transactionRecord,omitempty"`
	// *
	// The records of processing all consensus transaction with the same id as the distinguished
	// record above, in chronological order.
	DuplicateTransactionRecords []*TransactionRecord `protobuf:"bytes,4,rep,name=duplicateTransactionRecords,proto3" json:"duplicateTransactionRecords,omitempty"`
	// *
	// The records of processing all child transaction spawned by the transaction with the given
	// top-level id, in consensus order. Always empty if the top-level status is UNKNOWN.
	ChildTransactionRecords []*TransactionRecord `` /* 132-byte string literal not displayed */
	// 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) GetChildTransactionRecords

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

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 {

	// *
	// The transaction is invalid if consensusTimestamp < transactionID.transactionStartValid
	TransactionValidStart *Timestamp `protobuf:"bytes,1,opt,name=transactionValidStart,proto3" json:"transactionValidStart,omitempty"`
	// *
	// The Account ID that paid for this transaction
	AccountID *AccountID `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
	// *
	// Whether the Transaction is of type Scheduled or no
	Scheduled bool `protobuf:"varint,3,opt,name=scheduled,proto3" json:"scheduled,omitempty"`
	// *
	// The identifier for an internal transaction that was spawned as part
	// of handling a user transaction. (These internal transactions share the
	// transactionValidStart and accountID of the user transaction, so a
	// nonce is necessary to give them a unique TransactionID.)
	//
	// An example is when a "parent" ContractCreate or ContractCall transaction
	// calls one or more HTS precompiled contracts; each of the "child"
	// transactions spawned for a precompile has a id with a different nonce.
	Nonce int32 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

* The ID for a transaction. This is used for retrieving receipts and records for a transaction, for appending to a file right after creating it, for instantiating a smart contract with bytecode in a file just created, and internally by the network for detecting when duplicate transactions are submitted. A user might get a transaction processed faster by submitting it to N nodes, each with a different node account, but all with the same TransactionID. Then, the transaction will take effect when the first of all those nodes submits the transaction and it reaches consensus. The other transactions will not take effect. So this could make the transaction take effect faster, if any given node might be slow. However, the full transaction fee is charged for each transaction, so the total fee is N times as much if the transaction is sent to N nodes.

Applicable to Scheduled Transactions:

  • The ID of a Scheduled Transaction has transactionValidStart and accountIDs inherited from the ScheduleCreate transaction that created it. That is to say that they are equal
  • The scheduled property is true for Scheduled Transactions
  • transactionValidStart, accountID and scheduled properties should be omitted

func (*TransactionID) Descriptor deprecated

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

Deprecated: Use TransactionID.ProtoReflect.Descriptor instead.

func (*TransactionID) GetAccountID

func (x *TransactionID) GetAccountID() *AccountID

func (*TransactionID) GetNonce

func (x *TransactionID) GetNonce() int32

func (*TransactionID) GetScheduled

func (x *TransactionID) GetScheduled() bool

func (*TransactionID) GetTransactionValidStart

func (x *TransactionID) GetTransactionValidStart() *Timestamp

func (*TransactionID) ProtoMessage

func (*TransactionID) ProtoMessage()

func (*TransactionID) ProtoReflect

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

func (*TransactionID) Reset

func (x *TransactionID) Reset()

func (*TransactionID) String

func (x *TransactionID) String() string

type 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 {

	// *
	// The status (reach consensus, or failed, or is unknown) and the ID of any new
	// account/file/instance created.
	Receipt *TransactionReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
	// *
	// The hash of the Transaction that executed (not the hash of any Transaction that failed for
	// having a duplicate TransactionID)
	TransactionHash []byte `protobuf:"bytes,2,opt,name=transactionHash,proto3" json:"transactionHash,omitempty"`
	// *
	// The consensus timestamp (or null if didn't reach consensus yet)
	ConsensusTimestamp *Timestamp `protobuf:"bytes,3,opt,name=consensusTimestamp,proto3" json:"consensusTimestamp,omitempty"`
	// *
	// The ID of the transaction this record represents
	TransactionID *TransactionID `protobuf:"bytes,4,opt,name=transactionID,proto3" json:"transactionID,omitempty"`
	// *
	// The memo that was submitted as part of the transaction (max 100 bytes)
	Memo string `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"`
	// *
	// The actual transaction fee charged, not the original transactionFee value from
	// TransactionBody
	TransactionFee uint64 `protobuf:"varint,6,opt,name=transactionFee,proto3" json:"transactionFee,omitempty"`
	// Types that are assignable to Body:
	//
	//	*TransactionRecord_ContractCallResult
	//	*TransactionRecord_ContractCreateResult
	Body isTransactionRecord_Body `protobuf_oneof:"body"`
	// *
	// 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.
	TransferList *TransferList `protobuf:"bytes,10,opt,name=transferList,proto3" json:"transferList,omitempty"`
	// *
	// All Token transfers as a result of this transaction
	TokenTransferLists []*TokenTransferList `protobuf:"bytes,11,rep,name=tokenTransferLists,proto3" json:"tokenTransferLists,omitempty"`
	// *
	// Reference to the scheduled transaction ID that this transaction record represent
	ScheduleRef *ScheduleID `protobuf:"bytes,12,opt,name=scheduleRef,proto3" json:"scheduleRef,omitempty"`
	// *
	// All custom fees that were assessed during a CryptoTransfer, and must be paid if the
	// transaction status resolved to SUCCESS
	AssessedCustomFees []*AssessedCustomFee `protobuf:"bytes,13,rep,name=assessed_custom_fees,json=assessedCustomFees,proto3" json:"assessed_custom_fees,omitempty"`
	// *
	// All token associations implicitly created while handling this transaction
	AutomaticTokenAssociations []*TokenAssociation `` /* 142-byte string literal not displayed */
	// *
	// In the record of an internal transaction, the consensus timestamp of the user
	// transaction that spawned it.
	ParentConsensusTimestamp *Timestamp `` /* 136-byte string literal not displayed */
	// *
	// In the record of a CryptoCreate transaction triggered by a user transaction with a
	// (previously unused) alias, the new account's alias.
	Alias []byte `protobuf:"bytes,16,opt,name=alias,proto3" json:"alias,omitempty"`
	// *
	// The keccak256 hash of the ethereumData. This field will only be populated for
	// EthereumTransaction.
	EthereumHash []byte `protobuf:"bytes,17,opt,name=ethereum_hash,json=ethereumHash,proto3" json:"ethereum_hash,omitempty"`
	// *
	// List of accounts with the corresponding staking rewards paid as a result of a transaction.
	PaidStakingRewards []*AccountAmount `protobuf:"bytes,18,rep,name=paid_staking_rewards,json=paidStakingRewards,proto3" json:"paid_staking_rewards,omitempty"`
	// Types that are assignable to Entropy:
	//
	//	*TransactionRecord_PrngBytes
	//	*TransactionRecord_PrngNumber
	Entropy isTransactionRecord_Entropy `protobuf_oneof:"entropy"`
	// *
	// The new default EVM address of the account created by this transaction.
	// This field is populated only when the EVM address is not specified in the related transaction body.
	EvmAddress []byte `protobuf:"bytes,21,opt,name=evm_address,json=evmAddress,proto3" json:"evm_address,omitempty"`
	// 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) GetAlias

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

func (*TransactionRecord) GetAssessedCustomFees

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

func (*TransactionRecord) GetAutomaticTokenAssociations

func (x *TransactionRecord) GetAutomaticTokenAssociations() []*TokenAssociation

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

func (m *TransactionRecord) GetEntropy() isTransactionRecord_Entropy

func (*TransactionRecord) GetEthereumHash

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

func (*TransactionRecord) GetEvmAddress

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

func (*TransactionRecord) GetMemo

func (x *TransactionRecord) GetMemo() string

func (*TransactionRecord) GetPaidStakingRewards

func (x *TransactionRecord) GetPaidStakingRewards() []*AccountAmount

func (*TransactionRecord) GetParentConsensusTimestamp

func (x *TransactionRecord) GetParentConsensusTimestamp() *Timestamp

func (*TransactionRecord) GetPrngBytes

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

func (*TransactionRecord) GetPrngNumber

func (x *TransactionRecord) GetPrngNumber() int32

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

type TransactionRecord_ContractCreateResult

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

type TransactionRecord_PrngBytes

type TransactionRecord_PrngBytes struct {
	// *
	// In the record of a UtilPrng transaction with no output range, a pseudorandom 384-bit string.
	PrngBytes []byte `protobuf:"bytes,19,opt,name=prng_bytes,json=prngBytes,proto3,oneof"`
}

type TransactionRecord_PrngNumber

type TransactionRecord_PrngNumber struct {
	// *
	// In the record of a PRNG transaction with an output range, the output of a PRNG whose input was a 384-bit string.
	PrngNumber int32 `protobuf:"varint,20,opt,name=prng_number,json=prngNumber,proto3,oneof"`
}

type TransactionResponse

type TransactionResponse struct {

	// *
	// The response code that indicates the current status of the transaction.
	NodeTransactionPrecheckCode ResponseCodeEnum `` /* 136-byte string literal not displayed */
	// *
	// If the response code was INSUFFICIENT_TX_FEE, the actual transaction fee that would be
	// required to execute the transaction.
	Cost uint64 `protobuf:"varint,2,opt,name=cost,proto3" json:"cost,omitempty"`
	// 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 {

	// *
	// Multiple list of AccountAmount pairs, each of which has an account and
	// an amount to transfer into it (positive) or out of it (negative)
	AccountAmounts []*AccountAmount `protobuf:"bytes,1,rep,name=accountAmounts,proto3" json:"accountAmounts,omitempty"`
	// contains filtered or unexported fields
}

* A list of accounts and amounts to transfer out of each account (negative) or into it (positive).

func (*TransferList) Descriptor deprecated

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

Deprecated: Use TransferList.ProtoReflect.Descriptor instead.

func (*TransferList) GetAccountAmounts

func (x *TransferList) GetAccountAmounts() []*AccountAmount

func (*TransferList) ProtoMessage

func (*TransferList) ProtoMessage()

func (*TransferList) ProtoReflect

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

func (*TransferList) Reset

func (x *TransferList) Reset()

func (*TransferList) String

func (x *TransferList) String() string

type UncheckedSubmitBody

type UncheckedSubmitBody struct {

	// *
	// The serialized bytes of the Transaction to be submitted without prechecks
	TransactionBytes []byte `protobuf:"bytes,1,opt,name=transactionBytes,proto3" json:"transactionBytes,omitempty"`
	// 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) ApproveAllowances

func (UnimplementedCryptoServiceServer) CreateAccount

func (UnimplementedCryptoServiceServer) CryptoDelete

func (UnimplementedCryptoServiceServer) CryptoGetBalance

func (UnimplementedCryptoServiceServer) CryptoTransfer

func (UnimplementedCryptoServiceServer) DeleteAllowances

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

func (UnimplementedNetworkServiceServer) GetExecutionTime

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

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

func (UnimplementedTokenServiceServer) GetTokenInfo

func (UnimplementedTokenServiceServer) GetTokenNftInfo

func (UnimplementedTokenServiceServer) GetTokenNftInfos

func (UnimplementedTokenServiceServer) GrantKycToTokenAccount

func (UnimplementedTokenServiceServer) MintToken

func (UnimplementedTokenServiceServer) PauseToken

func (UnimplementedTokenServiceServer) RevokeKycFromTokenAccount

func (UnimplementedTokenServiceServer) UnfreezeTokenAccount

func (UnimplementedTokenServiceServer) UnpauseToken

func (UnimplementedTokenServiceServer) UpdateToken

func (UnimplementedTokenServiceServer) UpdateTokenFeeSchedule

func (UnimplementedTokenServiceServer) WipeTokenAccount

type UnimplementedUtilServiceServer

type UnimplementedUtilServiceServer struct {
}

UnimplementedUtilServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUtilServiceServer) Prng

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.

type UnsafeUtilServiceServer

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

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

type UtilPrngTransactionBody

type UtilPrngTransactionBody struct {

	// *
	// If provided and is positive, returns a 32-bit pseudorandom number from the given range in the transaction record.
	// If not set or set to zero, will return a 384-bit pseudorandom number in the record.
	Range int32 `protobuf:"varint,1,opt,name=range,proto3" json:"range,omitempty"`
	// contains filtered or unexported fields
}

* Generates a pseudorandom number

func (*UtilPrngTransactionBody) Descriptor deprecated

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

Deprecated: Use UtilPrngTransactionBody.ProtoReflect.Descriptor instead.

func (*UtilPrngTransactionBody) GetRange

func (x *UtilPrngTransactionBody) GetRange() int32

func (*UtilPrngTransactionBody) ProtoMessage

func (*UtilPrngTransactionBody) ProtoMessage()

func (*UtilPrngTransactionBody) ProtoReflect

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

func (*UtilPrngTransactionBody) Reset

func (x *UtilPrngTransactionBody) Reset()

func (*UtilPrngTransactionBody) String

func (x *UtilPrngTransactionBody) String() string

type UtilServiceClient

type UtilServiceClient interface {
	// *
	// Generates a pseudorandom number.
	Prng(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*TransactionResponse, error)
}

UtilServiceClient is the client API for UtilService 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 UtilServiceServer

type UtilServiceServer interface {
	// *
	// Generates a pseudorandom number.
	Prng(context.Context, *Transaction) (*TransactionResponse, error)
	// contains filtered or unexported methods
}

UtilServiceServer is the server API for UtilService service. All implementations must embed UnimplementedUtilServiceServer for forward compatibility

Source Files

Directories

Path Synopsis
state

Jump to

Keyboard shortcuts

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