var img = document.createElement('img'); img.src = "https://terradocs.matomo.cloud//piwik.php?idsite=2&rec=1&url=https://alliance.money" + location.pathname; img.style = "border:0"; img.alt = "tracker"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(img,s);
Skip to main content

Transactions and queries

Users can interact with the Alliance module via RPC/LCD or by using the set of subcommands from the Alliance module to transact and query.

Transactions

Delegate

Delegate an amount of liquid Alliance-enabled coins to a validator from your wallet.

Tx
Copy

_1
tx alliance delegate <validator-addr> <amount>

Redelegate

Redelegate an amount of liquid Alliance-enabled coins from one validator to another from your wallet.

Tx
Copy

_1
tx alliance redelegate <src-validator-addr> <dst-validator-addr amount>

Undelegate

Undelegate an amount of liquid Alliance-enabled coins from a validator. These assets can be claimed after the unbonding period.

Tx
Copy

_1
tx alliance undelegate <validator-addr> <amount>

Claim rewards

Claim rewards from a delegation by specifying a denom and a validator address.

Tx
Copy

_1
tx alliance claim-rewards <validator-addr> <amount>

Queries

Denom

Query a specific Alliance by denom.

Query
Copy

_1
alliance denom

Alliances

Query paginated Alliances.

Query
Copy

_1
alliances

Delegation

Query a delegation to an Alliance by delegator-addr, validator-addr, and denom.

Query
Copy

_1
delegation delegator-addr validator-addr denom

Delegations

Query all paginated Alliance delegations for a particular delegator-addr

Query
Copy

_1
delegations-by-delegator delegator-addr

Delegations validator

Query all paginated Alliance delegations for a delegator-addr and validator-addr

Query
Copy

_1
delegations-by-delegator-and-validator delegator-addr validator-addr

Params

Query module parameters.

Query
Copy

_1
params

Rewards

Query rewards generated for a specific Alliance by delegator-addr, validator-addr, and a denom.

Query
Copy

_1
rewards delegator-addr validator-addr denom

Governance

Create

Create an Alliance with the specified parameters.

Governance
Copy

_1
create-alliance denom rewards-weight take-rate

Update

Update an Alliance with the specified parameters.

Governance
Copy

_1
update-alliance denom rewards-weight take-rate

Delete

Delete an Alliance with the specified denom. See Deleting an Alliance for more details.

Governance
Copy

_1
delete-alliance denom