Clients
Last updated
Last updated
Find below a list of blockxd
commands added with the x/erc20
module. You can obtain the full list by using the blockxd -h
command. A CLI command can look like this:
Command | Subcommand | Description |
---|---|---|
Command | Subcommand | Description |
---|---|---|
The tx gov submit-proposal
commands allow users to query create a proposal using the governance module CLI:
register-coin
Allows users to submit a RegisterCoinProposal
.
register-erc20
Allows users to submit a RegisterERC20Proposal
.
toggle-token-conversion
Allows users to submit a ToggleTokenConversionProposal
.
param-change
Allows users to submit a `ParameterChangeProposal``.
Verb | Method | Description |
---|---|---|
Verb | Method | Description |
---|---|---|
query
erc20
params
Get erc20 params
query
erc20
token-pair
Get registered token pair
query
erc20
token-pairs
Get all registered token pairs
tx
erc20
convert-coin
Convert a Cosmos Coin to ERC20
tx
erc20
convert-erc20
Convert a ERC20 to Cosmos Coin
gRPC
blockx.erc20.v1.Query/Params
Get erc20 params
gRPC
blockx.erc20.v1.Query/TokenPair
Get registered token pair
gRPC
blockx.erc20.v1.Query/TokenPairs
Get all registered token pairs
GET
/blockx/erc20/v1/params
Get erc20 params
GET
/blockx/erc20/v1/token_pair
Get registered token pair
GET
/blockx/erc20/v1/token_pairs
Get all registered token pairs
gRPC
blockx.erc20.v1.Msg/ConvertCoin
Convert a Cosmos Coin to ERC20
gRPC
blockx.erc20.v1.Msg/ConvertERC20
Convert a ERC20 to Cosmos Coin
GET
/blockx/erc20/v1/tx/convert_coin
Convert a Cosmos Coin to ERC20
GET
/blockx/erc20/v1/tx/convert_erc20
Convert a ERC20 to Cosmos Coin