Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface CryptoTransferTransactionBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
CryptoTransferTransactionBody,CryptoTransferTransactionBody.Builder
@Generated
public interface CryptoTransferTransactionBodyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetTokenTransfers(int index) * One or more lists of token transfers.int* One or more lists of token transfers.* One or more lists of token transfers.* A list of HBAR transfers.boolean* A list of HBAR transfers.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasTransfers
boolean hasTransfers()* A list of HBAR transfers. <p> Each transfer in this list MUST be denominated in tinybar.
.proto.TransferList transfers = 1;- Returns:
- Whether the transfers field is set.
-
getTransfers
TransferList getTransfers()* A list of HBAR transfers. <p> Each transfer in this list MUST be denominated in tinybar.
.proto.TransferList transfers = 1;- Returns:
- The transfers.
-
getTokenTransfersList
List<TokenTransferList> getTokenTransfersList()* One or more lists of token transfers. <p> This list MUST NOT contain more than 10 entries.<br/> If custom fees must be charged, the fee SHALL be assessed against the effective "payer" for this transaction.<br/> If the effective "payer" for this transaction lacks sufficient balance to pay custom fees assessed, the entire transaction SHALL fail with a response code `INSUFFICIENT_PAYER_BALANCE_FOR_CUSTOM_FEE`.
repeated .proto.TokenTransferList tokenTransfers = 2; -
getTokenTransfers
* One or more lists of token transfers. <p> This list MUST NOT contain more than 10 entries.<br/> If custom fees must be charged, the fee SHALL be assessed against the effective "payer" for this transaction.<br/> If the effective "payer" for this transaction lacks sufficient balance to pay custom fees assessed, the entire transaction SHALL fail with a response code `INSUFFICIENT_PAYER_BALANCE_FOR_CUSTOM_FEE`.
repeated .proto.TokenTransferList tokenTransfers = 2; -
getTokenTransfersCount
int getTokenTransfersCount()* One or more lists of token transfers. <p> This list MUST NOT contain more than 10 entries.<br/> If custom fees must be charged, the fee SHALL be assessed against the effective "payer" for this transaction.<br/> If the effective "payer" for this transaction lacks sufficient balance to pay custom fees assessed, the entire transaction SHALL fail with a response code `INSUFFICIENT_PAYER_BALANCE_FOR_CUSTOM_FEE`.
repeated .proto.TokenTransferList tokenTransfers = 2;
-