2021-11-17 02:03:53 +00:00
|
|
|
<!--
|
|
|
|
order: 1
|
|
|
|
-->
|
|
|
|
# Quick Reference
|
|
|
|
|
2021-11-10 19:44:02 +00:00
|
|
|
|
|
|
|
### Get a list of all keys
|
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava keys list
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
|
|
|
|
2022-01-19 18:58:15 +00:00
|
|
|
### Query Account
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava q account <kava-addr>
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### View Staking Delegations
|
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava q staking delegations <kava-addr>
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Claim staking rewards
|
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava tx distribution withdraw-all-rewards --gas 650000 --gas-prices 0.01ukava --from <kava-addr or key name>
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Querying outstanding staking rewards
|
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava q distribution rewards <kava-addr>
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Claim staking from individual validator
|
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava tx distribution withdraw-rewards <kava-validator-addre (starts with kavavaloper)> --gas 650000 --gas-prices 0.01ukava --from <kava-addr or key name>
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Claiming KAVA Delegator rewards (yielding HARD and SWP)
|
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava tx incentive claim-delegator --multiplier hard=large,swp=large --from <kava-addr or key name> --gas 800000 --gas-prices 0.01ukava
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Querying outstanding HARD rewards
|
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava q incentive rewards --type delegator --owner <kava-address>
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### View HARD Incentives
|
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava q incentive rewards --type hard --owner <kava-address>
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Claim HARD Incentives
|
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava tx incentive claim-hard --multiplier hard=large --multiplier ukava=large --from <kava-addr or key name> --gas 800000 --gas-prices 0.01ukava
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Send Coins
|
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava tx bank send <from> <to> <amount (100ukava for example)> --memo [memo] --gas-prices 0.01ukava
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Query Transaction Status Using TX Hash
|
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava q tx <tx_hash>
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|
|
|
|
|
2022-01-19 18:58:15 +00:00
|
|
|
### Query Transactions Using events
|
|
|
|
```
|
|
|
|
kava q txs --events message.actions=swap_deposit
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2021-11-10 19:44:02 +00:00
|
|
|
### Adding a Key to Ledger
|
|
|
|
```
|
2022-01-19 18:58:15 +00:00
|
|
|
kava keys add <key-name> --account <account-index> --legacy-hd-path --ledger
|
2021-11-10 19:44:02 +00:00
|
|
|
```
|