Clients
CLI
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:
Queries
Command | Subcommand | Description |
---|---|---|
|
| Get erc20 params |
|
| Get registered token pair |
|
| Get all registered token pairs |
Transactions
Command | Subcommand | Description |
---|---|---|
|
| Convert a Cosmos Coin to ERC20 |
|
| Convert a ERC20 to Cosmos Coin |
Proposals
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``.
gRPC
Queries
Verb | Method | Description |
---|---|---|
|
| Get erc20 params |
|
| Get registered token pair |
|
| Get all registered token pairs |
|
| Get erc20 params |
|
| Get registered token pair |
|
| Get all registered token pairs |
Transactions
Verb | Method | Description |
---|---|---|
|
| Convert a Cosmos Coin to ERC20 |
|
| Convert a ERC20 to Cosmos Coin |
|
| Convert a Cosmos Coin to ERC20 |
|
| Convert a ERC20 to Cosmos Coin |