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
Copy file name to clipboardExpand all lines: FULL_HELP_DOCS.md
+77Lines changed: 77 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@ Anything after the `--` double dash (the "slop") is parsed as arguments to the c
55
55
*`completion` — Print shell completion code for the specified shell
56
56
*`cache` — Cache for transactions and contract specs
57
57
*`version` — Print version information
58
+
*`ledger` — Fetch ledger information
58
59
59
60
###### **Options:**
60
61
@@ -2663,3 +2664,79 @@ Print version information
2663
2664
2664
2665
2665
2666
2667
+
## `stellar ledger`
2668
+
2669
+
Fetch ledger information
2670
+
2671
+
**Usage:**`stellar ledger <COMMAND>`
2672
+
2673
+
###### **Subcommands:**
2674
+
2675
+
*`entry` — Work with ledger entries
2676
+
2677
+
2678
+
2679
+
## `stellar ledger entry`
2680
+
2681
+
Work with ledger entries
2682
+
2683
+
**Usage:**`stellar ledger entry <COMMAND>`
2684
+
2685
+
###### **Subcommands:**
2686
+
2687
+
*`get` — Get ledger entries. This command supports every type of ledger entries supported by the RPC. Read more about RPC command here: https://developers.stellar.org/docs/data/apis/rpc/api-reference/methods/getLedgerEntries#types-of-ledgerkeys
2688
+
2689
+
2690
+
2691
+
## `stellar ledger entry get`
2692
+
2693
+
Get ledger entries. This command supports every type of ledger entries supported by the RPC. Read more about RPC command here: https://developers.stellar.org/docs/data/apis/rpc/api-reference/methods/getLedgerEntries#types-of-ledgerkeys
2694
+
2695
+
**Usage:**`stellar ledger entry get [OPTIONS]`
2696
+
2697
+
###### **Options:**
2698
+
2699
+
*`--rpc-url <RPC_URL>` — RPC server endpoint
2700
+
*`--rpc-header <RPC_HEADERS>` — RPC Header(s) to include in requests to the RPC provider
2701
+
*`--network-passphrase <NETWORK_PASSPHRASE>` — Network passphrase to sign the transaction sent to the rpc server
2702
+
*`-n`, `--network <NETWORK>` — Name of network to use from config
2703
+
*`--global` — Use global config
2704
+
*`--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
2705
+
*`--account <ACCOUNT>` — Name of identity to lookup, default is test identity
2706
+
*`--hd-path <HD_PATH>` — If identity is a seed phrase use this hd path, default is 0
2707
+
*`--asset <ASSET>` — Assets to get trustline info for
2708
+
*`--offer <OFFER>` — ID of an offer made on the Stellar DEX
2709
+
*`--data-name <DATA_NAME>` — Fetch key-value data entries attached to an account (see manageDataOp)
2710
+
*`--claimable-id <CLAIMABLE_ID>` — Claimable Balance id
2711
+
*`--pool-id <POOL_ID>` — Liquidity pool id
2712
+
*`--config-setting-id <CONFIG_SETTING_ID>` — Defines the currently active network configuration
2713
+
*`--wasm-hash <WASM_HASH>` — Get WASM bytecode by hash
2714
+
*`--ttl <TTL>` — Get the time-to-live of an associated contract data or code entry
2715
+
*`--id <CONTRACT_ID>` — Contract id to fetch an info for
0 commit comments