You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RPC docs incorrectly specify getLedgerEntries as a backup method #442
Allows you to directly inspect the current state of a contract, a contract's code, or any other ledger entry. This is a backup way to access your contract data which may not be available via events or simulateTransaction.
It's actually primary and very useful method to get ledger entry and contract states.
Yeah, I've had a similar thought. I think when this was written the "primary" method in mind was that your contract would expose some kind of function (balance() for instance) that would be used to read the contents of a ledger entry.
This language could certainly use some cleaning up!
Activity
ElliotFriend commentedon Feb 27, 2024
Yeah, I've had a similar thought. I think when this was written the "primary" method in mind was that your contract would expose some kind of function (
balance()for instance) that would be used to read the contents of a ledger entry.This language could certainly use some cleaning up!
Fix getLedgerEntries description and close #442
Fix getLedgerEntries description and close stellar#442 (stellar#492)