Undelegate
Undelegate coins from a delegator to a validator.
Method Declaration
Python
async def undelegate(
self,
wallet: Wallet,
delegator: str,
validator: str,
quamtums: int,
denomination: str,
)Parameters
| Parameter | Location | Type | Mandatory | Description |
|---|---|---|---|---|
| subaccount | query | SubaccountInfo | true | Subaccount number |
| delegator | query | string | true | Delegator information |
| validator | query | string | true | validator information |
| amount | query | string | true | Amount to delegate |
| broadcastMode | query | BroadcastMode | false | Mode of broadcast |
Response
| Status | Meaning | Schema |
|---|---|---|
200 | OK | BroadcastTxAsyncResponse |