* Transfer from margin account to main account * @param {string} asset - the asset * @param {number} amount - the asset * @return {undefined}
(asset: string, amount: number, params: Dict = {})
| 5498 | * @return {undefined} |
| 5499 | */ |
| 5500 | async mgTransferMarginToMain(asset: string, amount: number, params: Dict = {}) { |
| 5501 | const parameters = Object.assign({ asset: asset, amount: amount, type: 2 }); |
| 5502 | return await this.privateSapiRequest('v1/margin/transfer', this.extend(parameters, params), 'POST'); |
| 5503 | } |
| 5504 | // /** |
| 5505 | // * Universal Transfer requires API permissions enabled |
| 5506 | // * @param {string} type - ENUM , example MAIN_UMFUTURE for SPOT to USDT futures, see https://binance-docs.github.io/apidocs/spot/en/#user-universal-transfer |
nothing calls this directly
no test coverage detected