Content pfp
Content
@
0 reply
0 recast
0 reaction

Tony D’Addeo  pfp
Tony D’Addeo
@deodad
what's the simplest way to extract the data suffix from a transaction?
2 replies
0 recast
0 reaction

Vladyslav Dalechyn pfp
Vladyslav Dalechyn
@dalechyn.eth
can only think of using slice https://viem.sh/docs/utilities/slice but that won't probably ease the job too much
1 reply
0 recast
1 reaction

Tony D’Addeo  pfp
Tony D’Addeo
@deodad
close to what I ended up doing decoded and re-encoded the function data and then const dataSuffx = `0x${trx.input.slice(data.length)}` as const;
0 reply
0 recast
1 reaction