Skip to content

EventDecoder not found in web3j. Find a class. #2221

@vinsongod

Description

@vinsongod

I saw many sample codes on the internet that referred to this class, but I couldn't find it.

such as:

EventValues eventValues = new EventValues(log.getTopics(),);

                List<Type> parameters = EventDecoder.decode(log.getData(), log.getTopics(),
                    Arrays.asList(new TypeReference<Address>() {}, 
                                 new TypeReference<Address>() {}, 
                                 new TypeReference<Uint256>() {}));

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-reviewissue/PR needs review from maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions