Feature request: typed return from toSignature #2706
Unanswered
SebastienGllmt
asked this question in
Idea / Feature Request
Replies: 1 comment
-
I created a PR in abitype to add the missing functionality required to make this work: wevm/abitype#255 with the corresponding viem PR here: #2928 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Right now, you can format an ABI item into a signature using
formatAbiItem
fromabitype
. However, the format returned isn't the format required for events:There exists another function that does give us the output we want:
toEventSignature
. However, its return type is juststring
instead of being a constant string likeformatAbiItem
Beta Was this translation helpful? Give feedback.
All reactions