soroban-cli icon indicating copy to clipboard operation
soroban-cli copied to clipboard

New command `stellar ledger entry get --key-xdr <XDR>`

Open ifropc opened this issue 8 months ago • 11 comments

Command description

Command that uses RPC getLedgerEntries endpoint

Command flags

Mandatory flag --key-xdr <XDR1> (may be passed multiple times) Optional --output json flag that changes output format to JSON (printing result object)

Command return value

Print ledger in human readable format, for example:

Entries: 
_____________________________
Key: <parsed key XDR>
Entry data: <parsed `xdr` field's XDR
Last modified in ledger:
_____________________________
...

ifropc avatar Mar 07 '25 22:03 ifropc