Clients

CLI

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

blockxd query fees params

Queries

CommandSubcommandDescription

query feesplit

params

Get fees params

query feesplit

contract

Get the fee split for a given contract

query feesplit

contracts

Get all fee splits

query feesplit

deployer-contracts

Get all fee splits of a given deployer

query feesplit

withdrawer-contracts

Get all fee splits of a given withdrawer

Transactions

CommandSubcommandDescription

tx feesplit

register

Register a contract for receiving fees

tx feesplit

update

Update the withdraw address for a contract

tx feesplit

cancel

Remove the fee split for a contract

gRPC

Queries

VerbMethodDescription

gRPC

blockx.feesplit.v1.Query/Params

Get fees params

gRPC

blockx.feesplit.v1.Query/FeeSplit

Get the fee split for a given contract

gRPC

blockx.feesplit.v1.Query/FeeSplits

Get all fee splits

gRPC

blockx.feesplit.v1.Query/DeployerFeeSplits

Get all fee splits of a given deployer

gRPC

blockx.feesplit.v1.Query/WithdrawerFeeSplits

Get all fee splits of a given withdrawer

GET

/blockx/feesplit/v1/params

Get fees params

GET

/blockx/feesplit/v1/feesplits/{contract_address}

Get the fee split for a given contract

GET

/blockx/feesplit/v1/feesplits

Get all fee splits

GET

/blockx/feesplit/v1/feesplits/{deployer_address}

Get all fee splits of a given deployer

GET

/blockx/feesplit/v1/feesplits/{withdraw_address}

Get all fee splits of a given withdrawer

Transactions

VerbMethodDescription

gRPC

blockx.feesplit.v1.Msg/RegisterFeeSplit

Register a contract for receiving fees

gRPC

blockx.feesplit.v1.Msg/UpdateFeeSplit

Update the withdraw address for a contract

gRPC

blockx.feesplit.v1.Msg/CancelFeeSplit

Remove the fee split for a contract

POST

/blockx/feesplit/v1/tx/register_fee_split

Register a contract for receiving fees

POST

/blockx/feesplit/v1/tx/update_fee_split

Update the withdraw address for a contract

POST

/blockx/feesplit/v1/tx/cancel_fee_split

Remove the fee split for a contract