Skip to content

Delegate

Delegate tokens from a delegator to a validator.

Method Declaration

Python
async def delegate(
    self,
    wallet: Wallet,
    delegator: str,
    validator: str,
    quamtums: int,
    denomination: str,
)

Parameters

ParameterLocationTypeMandatoryDescription
subaccountquerySubaccountInfotrueSubaccount number
delegatorquerystringtrueDelegator information
validatorquerystringtruevalidator information
amountquerystringtrueAmount to delegate
broadcastModequeryBroadcastModefalseMode of broadcast

Response

StatusMeaningSchema
200OKBroadcastTxAsyncResponse