Skip to content

Register Affiliate

Register affiliate.

Method Declaration

Python
async def register_affiliate(
    self, wallet: Wallet, referee: str, affiliate: str
) -> Any

Parameters

ParameterLocationTypeMandatoryDescription
subaccountquerySubaccountInfotrueSubaccount information
affiliatequerystringtrueAffiliate information
broadcastModequeryBroadcastModefalseMode of broadcast
gasAdjustmentqueryintfalseGas adjustment value

Response

StatusMeaningSchema
200OKBroadcastTxAsyncResponse