Skip to content

Add missing operations to tx op add.#2177

Merged
fnando merged 4 commits into
mainfrom
add-operations
Sep 2, 2025
Merged

Add missing operations to tx op add.#2177
fnando merged 4 commits into
mainfrom
add-operations

Conversation

@fnando
Copy link
Copy Markdown
Member

@fnando fnando commented Sep 2, 2025

What

I added these commands but didn't know we had to add them to tx op add as well.

$ stellar tx op add --help
Add Operation to a transaction

Usage: stellar tx operation add [OPTIONS] <COMMAND>

Commands:
  account-merge                Transfer XLM balance to another account and remove source account
  bump-sequence                Bump sequence number to invalidate older transactions
  change-trust                 Create, update, or delete a trustline
  claim-claimable-balance      Claim a claimable balance by its balance ID
  create-account               Create and fund a new account
  create-claimable-balance     Create a claimable balance that can be claimed by specified accounts
  create-passive-sell-offer    Create a passive sell offer on the Stellar DEX
  manage-buy-offer             Create, update, or delete a buy offer
  manage-data                  Set, modify, or delete account data entries
  manage-sell-offer            Create, update, or delete a sell offer
  path-payment-strict-receive  Send a payment with a different asset using path finding, specifying the receive amount
  path-payment-strict-send     Send a payment with a different asset using path finding, specifying the send amount
  payment                      Send asset to destination account
  set-options                  Set account options like flags, signers, and home domain
  set-trustline-flags          Configure authorization and trustline flags for an asset

$ stellar tx new --help
Create a new transaction

Usage: stellar tx new [OPTIONS] <COMMAND>

Commands:
  account-merge                Transfer XLM balance to another account and remove source account
  bump-sequence                Bump sequence number to invalidate older transactions
  change-trust                 Create, update, or delete a trustline
  claim-claimable-balance      Claim a claimable balance by its balance ID
  create-account               Create and fund a new account
  create-claimable-balance     Create a claimable balance that can be claimed by specified accounts
  create-passive-sell-offer    Create a passive sell offer on the Stellar DEX
  manage-buy-offer             Create, update, or delete a buy offer
  manage-data                  Set, modify, or delete account data entries
  manage-sell-offer            Create, update, or delete a sell offer
  path-payment-strict-send     Send a payment with a different asset using path finding, specifying the send amount
  path-payment-strict-receive  Send a payment with a different asset using path finding, specifying the receive amount
  payment                      Send asset to destination account
  set-options                  Set account options like flags, signers, and home domain
  set-trustline-flags          Configure authorization and trustline flags for an asset

Why

So all operations are available on both tx new and tx op add.

Known limitations

N/A

@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX Sep 2, 2025
@fnando fnando enabled auto-merge (squash) September 2, 2025 22:33
@fnando fnando merged commit 88b84c4 into main Sep 2, 2025
34 of 36 checks passed
@fnando fnando deleted the add-operations branch September 2, 2025 22:50
@github-project-automation github-project-automation Bot moved this from Backlog (Not Ready) to Done in DevX Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants