support retrieval of detailed info about a specific transaction

Open
#524 0 comments 0 reactions 1 assignee View on GitHub

@Uxio0 is already working on this.

Since Apr 1, 2025.

Assessment

This issue has not been assessed yet.

Description

What is needed?

In tx-service mode, the history command displays a nice list of all the transactions, including ones which haven't been executed yet. However, not all the information about each transaction is listed, and there appears to be no other way to retrieve it.

Background

https://github.com/pcaversaccio/safe-tx-hashes-util is able to display a lot of information about a transaction, which is useful for defending against supply chain attacks and ensuring that the right transaction gets signed. It seems strange that the official Safe CLI cannot do the same.

For example, there could be a new subcommand show <nonce> which outputs data like:

  • Transaction Data
    • Multisig address
    • To
    • Value
    • Data
    • Operation
    • Safe Transaction Gas
    • Base Gas
    • Gas Price
    • Gas Token
    • Refund Receiver
    • Nonce
    • Encoded message
    • Method
    • Parameters
  • Hashes
    • Domain hash
    • Message hash
    • Safe transaction hash
Dominant language
Python
Stars
280
Forks
110
Avg merge
1d 11h
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from safe-global/safe-cli

All issues in safe-global/safe-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.