Skip to content

Encode array of tuples #38

Closed
Closed
@dkamm

Description

@dkamm

Is there a way to encode an array of tuples? Would like to do the following in ethc but didn't seem like it was supported

from eth_abi.abi import encode

print(encode(("(uint64,uint64)[]",),([(1,2),(3,4)],)).hex())

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions