Register Affiliate
Register affiliate.
Method Declaration
Python
async def register_affiliate(
self, wallet: Wallet, referee: str, affiliate: str
) -> AnyParameters
| Parameter | Location | Type | Mandatory | Description |
|---|---|---|---|---|
subaccount | query | SubaccountInfo | true | Subaccount information |
affiliate | query | string | true | Affiliate information |
broadcastMode | query | BroadcastMode | false | Mode of broadcast |
gasAdjustment | query | int | false | Gas adjustment value |
Response
| Status | Meaning | Schema |
|---|---|---|
200 | OK | BroadcastTxAsyncResponse |