Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 3.38 KB

08_clients.md

File metadata and controls

57 lines (45 loc) · 3.38 KB

Clients

Command Line Interface

Find below a list of junod commands added with the x/feeshare module. You can obtain the full list by using the junod -h command. A CLI command can look like this:

junod query feeshare params

Queries

Command Subcommand Description
query feeshare params Get feeshare params
query feeshare contract Get the feeshare for a given contract
query feeshare contracts Get all feeshares
query feeshare deployer-contracts Get all feeshares of a given deployer
query feeshare withdrawer-contracts Get all feeshares of a given withdrawer

Transactions

Command Subcommand Description
tx feeshare register Register a contract for receiving feeshare
tx feeshare update Update the withdraw address for a contract
tx feeshare cancel Remove the feeshare for a contract

gRPC Queries

Verb Method Description
gRPC juno.feeshare.v1.Query/Params Get feeshare params
gRPC juno.feeshare.v1.Query/FeeShare Get the feeshare for a given contract
gRPC juno.feeshare.v1.Query/FeeShares Get all feeshares
gRPC juno.feeshare.v1.Query/DeployerFeeShares Get all feeshares of a given deployer
gRPC juno.feeshare.v1.Query/WithdrawerFeeShares Get all feeshares of a given withdrawer
GET /juno/feeshare/v1/params Get feeshare params
GET /juno/feeshare/v1/feeshares/{contract_address} Get the feeshare for a given contract
GET /juno/feeshare/v1/feeshares Get all feeshares
GET /juno/feeshare/v1/feeshares/{deployer_address} Get all feeshares of a given deployer
GET /juno/feeshare/v1/feeshares/{withdraw_address} Get all feeshares of a given withdrawer

gRPC Transactions

Verb Method Description
gRPC juno.feeshare.v1.Msg/RegisterFeeShare Register a contract for receiving feeshare
gRPC juno.feeshare.v1.Msg/UpdateFeeShare Update the withdraw address for a contract
gRPC juno.feeshare.v1.Msg/CancelFeeShare Remove the feeshare for a contract
POST /juno/feeshare/v1/tx/register_feeshare Register a contract for receiving feeshare
POST /juno/feeshare/v1/tx/update_feeshare Update the withdraw address for a contract
POST /juno/feeshare/v1/tx/cancel_feeshare Remove the feeshare for a contract