Skip to content

If possible, provide a way to get raw/unbalanced transaction #374

Description

@mikekeke

Good day.
Correct me please if I'm wrong, as I can be missing something, but it seems like there is no way currently to get unbalanced transaction from TransactionBuilder. I hoped I can do some equivalent of

cardano-cli conway transaction build-raw ...

But looking through the code I got an impression that all build functions that can return transaction body in TransactionBuilder do some sort for transaction body checks and adjustments when calling choose_change_selection_algo which results in calling add_change_if_needed.

The reason I'm looking for a way to get unbalanced transaction is to use it in custom balancer. I'm part of the team that currently develops a product that performs own balancing, and we are aiming to support as many transaction building frameworks as possible. And getting equivalent of cardano-cli conway transaction build-raw ... serialized to CBOR feels like the simplest way to universally acquire only necessary transaction data that we can work with along the road.

Sorry if I'm missing something. Would highly appreciate any guidance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions