@0xfacet/sdk
Version:
A toolkit for Facet blockchain integration.
11 lines (10 loc) • 505 B
TypeScript
import { Hex } from "viem";
/**
* Gets the Facet transaction hash from an L1 transaction hash
*
* @param l1TransactionHash - The hash of the L1 transaction
* @param l1ChainId - The chain ID of the L1 network (1 for mainnet, 11155111 for Sepolia)
* @returns The Facet transaction hash
* @throws Error if L1 chain is invalid or if the transaction is not a valid Facet transaction
*/
export declare const getFacetTransactionHashFromL1Hash: (l1TransactionHash: Hex, l1ChainId: number) => Promise<Hex>;