@main.command()<EOL>@click.pass_context<EOL>@onlineChain<EOL>def fees(ctx):
from peerplaysbase.operationids import getOperationNameForId<EOL>chain = Blockchain(peerplays_instance=ctx.peerplays)<EOL>feesObj = chain.chainParameters().get("<STR_LIT>")<EOL>fees = feesObj["<STR_LIT>"]<EOL>t = PrettyTable(["<STR_LIT>", "<STR_LIT>", "<STR_LIT>"])<EOL>t.align = "<STR_LIT:l>"<EOL>t.align["<STR_LIT>"] = "<STR_LIT:r>"<EOL>for fee in fees:<EOL><INDENT>for f in fee[<NUM_LIT:1>]:<EOL><INDENT>t.add_row(<EOL>[<EOL>getOperationNameForId(fee[<NUM_LIT:0>]),<EOL>f,<EOL>str(Amount({"<STR_LIT>": fee[<NUM_LIT:1>].get(f, <NUM_LIT:0>), "<STR_LIT>": "<STR_LIT>"})),<EOL>]<EOL>)<EOL><DEDENT><DEDENT>click.echo(t)<EOL>
List fees