Skip to content

Add support for contractSlotValues query in Provider #3854

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Torres-ssf opened this issue Apr 16, 2025 · 0 comments
Open

Add support for contractSlotValues query in Provider #3854

Torres-ssf opened this issue Apr 16, 2025 · 0 comments
Labels
feat Issue is a feature

Comments

@Torres-ssf
Copy link
Contributor

Consider adding a method to the Provider class to support the new contractSlotValues query:

  """
  Get storage slot values for a contract at a specific block height.
  Use the latest block height if not provided.
  Requires historical execution config to be enabled.
  """
  contractSlotValues(
    contractId: ContractId!
    blockHeight: U32
    storageSlots: [Bytes32!]!
  ): [StorageSlot!]!

This was introduced in the fuel-core 0.43 upgrade.

@Torres-ssf Torres-ssf added the feat Issue is a feature label Apr 16, 2025
@Torres-ssf Torres-ssf changed the title Add support for contractSlotValues query in Provider Add support for contractSlotValues query in Provider Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

No branches or pull requests

1 participant