2

I'm using thegraph which internally uses https://www.assemblyscript.org/

I'm trying to use interface, but it fails: assert failed.

export interface TransactionData {
  txHash: Bytes;
  timestamp: BigInt;
  logIndex: BigInt;
}

Doesn't assemblyscript support interfaces ? I also tried export type but get the type expected error.

Any idea ?

Peter Cordes
  • 328,167
  • 45
  • 605
  • 847
Giorgi Lagidze
  • 773
  • 4
  • 24

0 Answers0