/** * Reproduces the deployed subgraph's `Transaction.id`. * * This is the cursor-compatibility contract, and it is what makes an RPC-derived record * and a subgraph-derived record interchangeable at any record boundary. The engine's V2 * txid sync uses the id as its pagination cursor - `quickSyncRailgunTransactionsV2(chain, * latestGraphID)` pages on `id_gt` - so if a record the RPC path wrote carries an id the * subgraph would not have assigned, a later fall back to the subgraph either re-fetches * records already in the tree or skips records that are not. * * The subgraph builds it as three 32-byte-padded big-endian integers concatenated under a * single `0x`: block number, then the transaction's index within that block, then the * record's index within that transaction. 192 hex characters total. Because every segment * is fixed width, lexicographic ordering on the id is the same as numeric ordering on * (blockNumber, transactionIndex, recordIndex) - which is why `orderBy: id_ASC` yields * canonical order and why the cursor works at all. */ /** * @param blockNumber - EVM block number * @param transactionIndex - index of the EVM transaction within its block * @param recordIndex - index of the railgun transaction within the EVM transaction, * continuing across call-frames (see action-frames.ts recordIndex) */ export declare const railgunActionGraphID: (blockNumber: number, transactionIndex: number, recordIndex: number) => string; /** Inverse, for verifying against live subgraph ids. */ export declare const parseRailgunActionGraphID: (graphID: string) => { blockNumber: number; transactionIndex: number; recordIndex: number; };