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
@@ -56,6 +56,7 @@ Anything after the `--` double dash (the "slop") is parsed as arguments to the c
56
56
*`cache` — Cache for transactions and contract specs
57
57
*`version` — Print version information
58
58
*`plugin` — The subcommand for CLI plugins
59
+
*`ledger` — Fetch ledger information
59
60
60
61
###### **Options:**
61
62
@@ -2693,3 +2694,79 @@ List installed plugins
2693
2694
2694
2695
2695
2696
2697
+
## `stellar ledger`
2698
+
2699
+
Fetch ledger information
2700
+
2701
+
**Usage:**`stellar ledger <COMMAND>`
2702
+
2703
+
###### **Subcommands:**
2704
+
2705
+
*`entry` — Work with ledger entries
2706
+
2707
+
2708
+
2709
+
## `stellar ledger entry`
2710
+
2711
+
Work with ledger entries
2712
+
2713
+
**Usage:**`stellar ledger entry <COMMAND>`
2714
+
2715
+
###### **Subcommands:**
2716
+
2717
+
*`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
2718
+
2719
+
2720
+
2721
+
## `stellar ledger entry get`
2722
+
2723
+
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
2724
+
2725
+
**Usage:**`stellar ledger entry get [OPTIONS]`
2726
+
2727
+
###### **Options:**
2728
+
2729
+
*`--rpc-url <RPC_URL>` — RPC server endpoint
2730
+
*`--rpc-header <RPC_HEADERS>` — RPC Header(s) to include in requests to the RPC provider
2731
+
*`--network-passphrase <NETWORK_PASSPHRASE>` — Network passphrase to sign the transaction sent to the rpc server
2732
+
*`-n`, `--network <NETWORK>` — Name of network to use from config
2733
+
*`--global` — Use global config
2734
+
*`--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
2735
+
*`--account <ACCOUNT>` — Name of identity to lookup, default is test identity
2736
+
*`--hd-path <HD_PATH>` — If identity is a seed phrase use this hd path, default is 0
2737
+
*`--asset <ASSET>` — Assets to get trustline info for
2738
+
*`--offer <OFFER>` — ID of an offer made on the Stellar DEX
2739
+
*`--data-name <DATA_NAME>` — Fetch key-value data entries attached to an account (see manageDataOp)
2740
+
*`--claimable-id <CLAIMABLE_ID>` — Claimable Balance id
2741
+
*`--pool-id <POOL_ID>` — Liquidity pool id
2742
+
*`--config-setting-id <CONFIG_SETTING_ID>` — Defines the currently active network configuration
2743
+
*`--wasm-hash <WASM_HASH>` — Get WASM bytecode by hash
2744
+
*`--ttl <TTL>` — Get the time-to-live of an associated contract data or code entry
2745
+
*`--id <CONTRACT_ID>` — Contract id to fetch an info for
0 commit comments