Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

Update getTransactionSuccess to decode logs #28

Description

@pfletcherhill

Update getTransactionSuccess method to optionally decode logs

Issue Type

Description

The getTransactionSuccess method is helpful, but I'd like it to be able to decode returned logs as well. The method could either take as argument an ABI or could be added as a method to a contract instance (i.e. contractInstance.getTransactionSuccess("<txHash>")).

I've found myself creating a log decoder (i.e. const decoder = Eth.abi.logDecoder(<ABI>)) and running logs returned via getTransactionSuccess through that decoder, and it would be nice to have the method do that for me.

Activity

  1. SilentCicero commented on May 2, 2018

    @SilentCicero
    Member
  2. pfletcherhill commented on May 2, 2018

    @pfletcherhill
    Author

    Sure thing. Will open one by this weekend!

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