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

      TokenTransferList getTokenTransfers(int index)
       *
       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;