|
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 |
Answered by
PaulRBerg
May 9, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


It looks like they are supported!