Interface SubmitResult<TxnType extends Transaction>

    • Method Detail

      • engineResult

        @Deprecated
        @Auxiliary
        default Optional<String> engineResult()
        Deprecated.
        use result() instead.
        Text result code indicating the preliminary result of the transaction, for example "tesSUCCESS".
        Returns:
        An optionally-present String containing the result of the submission.
      • result

        String result()
        Text result code indicating the preliminary result of the transaction, for example "tesSUCCESS".
        Returns:
        String containing the result of the submission.
      • engineResultMessage

        @Deprecated
        @Auxiliary
        default Optional<String> engineResultMessage()
        Deprecated.
        Use resultMessage() instead.
        Human-readable explanation of the transaction's preliminary result.
        Returns:
        An optionally-present String containing the result message of the submission.
      • resultMessage

        String resultMessage()
        Human-readable explanation of the transaction's preliminary result.
        Returns:
        A String containing the result message of the submission.
      • transactionBlob

        String transactionBlob()
        The complete transaction in hex String format.
        Returns:
        A hexadecimal encoded String containing the binary encoded transaction that was submitted.
      • accepted

        boolean accepted()
        The value true indicates that the transaction was applied, queued, broadcast, or kept for later. The value false indicates that none of those happened, so the transaction cannot possibly succeed as long as you do not submit it again and have not already submitted it another time.
        Returns:
        true if the transaction was applied, queued, broadcast, or kept for later, otherwise false.
      • accountSequenceAvailable

        com.google.common.primitives.UnsignedInteger accountSequenceAvailable()
        The next Sequence number available for the sending account after all pending and queued transactions.
        Returns:
        An UnsignedInteger representing the sequence number.
      • accountSequenceNext

        com.google.common.primitives.UnsignedInteger accountSequenceNext()
        The next Sequence number for the sending account after all transactions that have been provisionally applied, but not transactions in the queue.
        Returns:
        An UnsignedInteger representing the sequence number.
      • applied

        boolean applied()
        The value true indicates that this transaction was applied to the open ledger. In this case, the transaction is likely, but not guaranteed, to be validated in the next ledger version.
        Returns:
        true if this transaction was applied to the open ledger, otherwise false.
      • broadcast

        boolean broadcast()
        true indicates this transaction was broadcast to peer servers in the peer-to-peer XRP Ledger network. false indicates the transaction was not broadcast to any other servers.
        Returns:
        true if this transaction was broadcast to peer servers in the peer-to-peer XRP Ledger network, otherwise false.
      • kept

        boolean kept()
        The value true indicates that the transaction was kept to be retried later.
        Returns:
        true if the transaction was kept to be retried later, false if not.
      • queued

        boolean queued()
        The value true indicates the transaction was put in the Transaction Queue, which means it is likely to be included in a future ledger version.
        Returns:
        true if the transaction was put in the Transaction Queue, otherwise false.
      • openLedgerCost

        XrpCurrencyAmount openLedgerCost()
        The current open ledger cost before processing this transaction. Transactions with a lower cost are likely to be queued.
        Returns:
        An XrpCurrencyAmount representing the current open ledger cost.
      • validatedLedgerIndex

        LedgerIndex validatedLedgerIndex()
        The ledger index of the newest validated ledger at the time of submission. This provides a lower bound on the ledger versions that the transaction can appear in as a result of this request.
        Returns:
        A LedgerIndex indicating the ledger index of the newest validated ledger.