Skip to content

chore: add citrea specific methods to compute unit costs#995

Merged
dannikathompson merged 1 commit intomainfrom
claude/slack-add-citrea-cu-costs-TEpUm
Feb 6, 2026
Merged

chore: add citrea specific methods to compute unit costs#995
dannikathompson merged 1 commit intomainfrom
claude/slack-add-citrea-cu-costs-TEpUm

Conversation

@dannikathompson
Copy link
Collaborator

Description

Added 17 Citrea methods (5 citrea_* and 12 ledger_*) with CU value of 20:

  • citrea_getL2StatusHeightsByL1Height
  • citrea_getLastCommittedL2Height
  • citrea_getLastProvenL2Height
  • citrea_sendRawDepositTransaction
  • citrea_syncStatus
  • ledger_getHeadL2Block
  • ledger_getHeadL2BlockHeight
  • ledger_getL2BlockByHash
  • ledger_getL2BlockByNumber
  • ledger_getL2BlockRange
  • ledger_getL2GenesisStateRoot
  • ledger_getLastScannedL1Height
  • ledger_getLastVerifiedBatchProof
  • ledger_getSequencerCommitmentByIndex
  • ledger_getSequencerCommitmentsOnSlotByHash
  • ledger_getSequencerCommitmentsOnSlotByNumber
  • ledger_getVerifiedBatchProofsBySlotHeight

Slack thread: https://alchemyinsights.slack.com/archives/C03306R8XTL/p1770409063033049?thread_ts=1770408666.020069&cid=C03306R8XTL

https://claude.ai/code/session_019KCdgagkM9Lj51MuYqPS2Y

Related Issues

Changes Made

Testing

  • I have tested these changes locally
  • I have run the validation scripts (pnpm run validate)
  • I have checked that the documentation builds correctly

Added 17 Citrea methods (5 citrea_* and 12 ledger_*) with CU value of 20:
- citrea_getL2StatusHeightsByL1Height
- citrea_getLastCommittedL2Height
- citrea_getLastProvenL2Height
- citrea_sendRawDepositTransaction
- citrea_syncStatus
- ledger_getHeadL2Block
- ledger_getHeadL2BlockHeight
- ledger_getL2BlockByHash
- ledger_getL2BlockByNumber
- ledger_getL2BlockRange
- ledger_getL2GenesisStateRoot
- ledger_getLastScannedL1Height
- ledger_getLastVerifiedBatchProof
- ledger_getSequencerCommitmentByIndex
- ledger_getSequencerCommitmentsOnSlotByHash
- ledger_getSequencerCommitmentsOnSlotByNumber
- ledger_getVerifiedBatchProofsBySlotHeight

Slack thread: https://alchemyinsights.slack.com/archives/C03306R8XTL/p1770409063033049?thread_ts=1770408666.020069&cid=C03306R8XTL

https://claude.ai/code/session_019KCdgagkM9Lj51MuYqPS2Y
@dannikathompson dannikathompson requested a review from a team as a code owner February 6, 2026 20:22
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

🌿 Documentation Preview

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Feb 6, 2026, 8:25 PM

@github-actions github-actions bot temporarily deployed to docs-preview February 6, 2026 20:23 Destroyed
@dannikathompson dannikathompson merged commit 985c969 into main Feb 6, 2026
8 of 9 checks passed
@dannikathompson dannikathompson deleted the claude/slack-add-citrea-cu-costs-TEpUm branch February 6, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants