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

New command `stellar feestats`

Open ifropc opened this issue 8 months ago • 3 comments
trafficstars

Command description

Command that uses RPC getFeeStats endpoint

Command flags

Optional --output json flag that changes output format to JSON (printing result object)

Command return value

Print fee stats in human readable format, for example:

Soroban inclusion fee
<space><space>Max: 210
...

ifropc avatar Mar 07 '25 22:03 ifropc

I'm not sure this command should be nestled under the network sub command. The network sub command is primarily for configuring the CLI. But here we're placing RPC commands that don't belong elsewhere, under it. Maybe feestats should be a new top level command?

Thoughts @fnando ?

leighmcculloch avatar Mar 08 '25 06:03 leighmcculloch

Maybe network info feestats? (I think I generally prefer stellar feestats over stellar network info feestats though)

ifropc avatar Mar 08 '25 18:03 ifropc

Yeah I think stellar feestats, or stellar stats fees. I think I prefer the former.

leighmcculloch avatar Mar 09 '25 00:03 leighmcculloch