Documentation Index
Fetch the complete documentation index at: https://docs.sqd.dev/llms.txt
Use this file to discover all available pages before exploring further.
@subsquid/frontier
The way the Frontier EVM pallet exposes EVM logs and transaction may change due to runtime upgrades. @subsquid/frontier provides helper methods that are aware of the upgrades:
getEvmLog(event: Event): EvmLog
Extract the EVM log data from EVM.Log event.
getTransaction(call: Call): LegacyTransaction | EIP2930Transaction | EIP1559Transaction
Extract the transaction data from Ethereum.transact call with additional fields depending on the EVM transaction type.
getTransactionResult(ethereumExecuted: Event): {from: string, to: string, transactionHash: string, status: 'Succeed' | 'Error' | 'Revert' | 'Fatal', statusReason: string}
Extract transaction result from an Ethereum.Executed event.
See also the Frontier EVM guide.
