com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBodyOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-jdk7 Show documentation
Show all versions of sdk-jdk7 Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: crypto_create.proto
package com.hedera.hashgraph.sdk.proto;
public interface CryptoCreateTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.CryptoCreateTransactionBody)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
**
* 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.
*
*
* .proto.Key key = 1;
* @return Whether the key field is set.
*/
boolean hasKey();
/**
*
**
* 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.
*
*
* .proto.Key key = 1;
* @return The key.
*/
com.hedera.hashgraph.sdk.proto.Key getKey();
/**
*
**
* The initial number of tinybars to put into the account
*
*
* uint64 initialBalance = 2;
* @return The initialBalance.
*/
long getInitialBalance();
/**
*
**
* [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.
*
*
* .proto.AccountID proxyAccountID = 3 [deprecated = true];
* @deprecated proto.CryptoCreateTransactionBody.proxyAccountID is deprecated.
* See crypto_create.proto;l=82
* @return Whether the proxyAccountID field is set.
*/
@java.lang.Deprecated boolean hasProxyAccountID();
/**
*
**
* [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.
*
*
* .proto.AccountID proxyAccountID = 3 [deprecated = true];
* @deprecated proto.CryptoCreateTransactionBody.proxyAccountID is deprecated.
* See crypto_create.proto;l=82
* @return The proxyAccountID.
*/
@java.lang.Deprecated com.hedera.hashgraph.sdk.proto.AccountID getProxyAccountID();
/**
*
**
* [Deprecated]. The threshold amount (in tinybars) for which an account record is created for
* any send/withdraw transaction
*
*
* uint64 sendRecordThreshold = 6 [deprecated = true];
* @deprecated proto.CryptoCreateTransactionBody.sendRecordThreshold is deprecated.
* See crypto_create.proto;l=88
* @return The sendRecordThreshold.
*/
@java.lang.Deprecated long getSendRecordThreshold();
/**
*
**
* [Deprecated]. The threshold amount (in tinybars) for which an account record is created for
* any receive/deposit transaction
*
*
* uint64 receiveRecordThreshold = 7 [deprecated = true];
* @deprecated proto.CryptoCreateTransactionBody.receiveRecordThreshold is deprecated.
* See crypto_create.proto;l=94
* @return The receiveRecordThreshold.
*/
@java.lang.Deprecated long getReceiveRecordThreshold();
/**
*
**
* If true, this account's key must sign any transaction depositing into this account (in
* addition to all withdrawals)
*
*
* bool receiverSigRequired = 8;
* @return The receiverSigRequired.
*/
boolean getReceiverSigRequired();
/**
*
**
* 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.
*
*
* .proto.Duration autoRenewPeriod = 9;
* @return Whether the autoRenewPeriod field is set.
*/
boolean hasAutoRenewPeriod();
/**
*
**
* 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.
*
*
* .proto.Duration autoRenewPeriod = 9;
* @return The autoRenewPeriod.
*/
com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod();
/**
*
**
* The shard in which this account is created
*
*
* .proto.ShardID shardID = 10;
* @return Whether the shardID field is set.
*/
boolean hasShardID();
/**
*
**
* The shard in which this account is created
*
*
* .proto.ShardID shardID = 10;
* @return The shardID.
*/
com.hedera.hashgraph.sdk.proto.ShardID getShardID();
/**
*
**
* The realm in which this account is created (leave this null to create a new realm)
*
*
* .proto.RealmID realmID = 11;
* @return Whether the realmID field is set.
*/
boolean hasRealmID();
/**
*
**
* The realm in which this account is created (leave this null to create a new realm)
*
*
* .proto.RealmID realmID = 11;
* @return The realmID.
*/
com.hedera.hashgraph.sdk.proto.RealmID getRealmID();
/**
*
**
* If realmID is null, then this the admin key for the new realm that will be created
*
*
* .proto.Key newRealmAdminKey = 12;
* @return Whether the newRealmAdminKey field is set.
*/
boolean hasNewRealmAdminKey();
/**
*
**
* If realmID is null, then this the admin key for the new realm that will be created
*
*
* .proto.Key newRealmAdminKey = 12;
* @return The newRealmAdminKey.
*/
com.hedera.hashgraph.sdk.proto.Key getNewRealmAdminKey();
/**
*
**
* The memo associated with the account (UTF-8 encoding max 100 bytes)
*
*
* string memo = 13;
* @return The memo.
*/
java.lang.String getMemo();
/**
*
**
* The memo associated with the account (UTF-8 encoding max 100 bytes)
*
*
* string memo = 13;
* @return The bytes for memo.
*/
com.google.protobuf.ByteString
getMemoBytes();
/**
*
**
* The maximum number of tokens that an Account can be implicitly associated with. Defaults to 0
* and up to a maximum value of 1000.
*
*
* int32 max_automatic_token_associations = 14;
* @return The maxAutomaticTokenAssociations.
*/
int getMaxAutomaticTokenAssociations();
/**
*
**
* ID of the account to which this account is staking.
*
*
* .proto.AccountID staked_account_id = 15;
* @return Whether the stakedAccountId field is set.
*/
boolean hasStakedAccountId();
/**
*
**
* ID of the account to which this account is staking.
*
*
* .proto.AccountID staked_account_id = 15;
* @return The stakedAccountId.
*/
com.hedera.hashgraph.sdk.proto.AccountID getStakedAccountId();
/**
*
**
* ID of the node this account is staked to.
*
*
* int64 staked_node_id = 16;
* @return Whether the stakedNodeId field is set.
*/
boolean hasStakedNodeId();
/**
*
**
* ID of the node this account is staked to.
*
*
* int64 staked_node_id = 16;
* @return The stakedNodeId.
*/
long getStakedNodeId();
/**
*
**
* If true, the account declines receiving a staking reward. The default value is false.
*
*
* bool decline_reward = 17;
* @return The declineReward.
*/
boolean getDeclineReward();
/**
*
**
* 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.
*
*
* bytes alias = 18;
* @return The alias.
*/
com.google.protobuf.ByteString getAlias();
public com.hedera.hashgraph.sdk.proto.CryptoCreateTransactionBody.StakedIdCase getStakedIdCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy