-
I scoured through the historical questions asked in The Graph's Discord server (channel For example: export function getActionId(event: ethereum.Event): string {
const hash = event.transaction.hash.toHexString();
const index = event.logIndex.toString();
return `${hash}-${index}`;
} Can we write it like that? Or do we have to use It looks like AssemblyScript supports template literal since v0.18.17 |
Beta Was this translation helpful? Give feedback.
Answered by
PaulRBerg
May 9, 2025
Replies: 2 comments
-
Relevant conversation from The Graph's Discord server: ![]() |
Beta Was this translation helpful? Give feedback.
0 replies
-
It looks like they are supported! ![]() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PaulRBerg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like they are supported!