MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / universalTransfer

Method universalTransfer

src/node-binance-api.ts:3142–3152  ·  view source on GitHub ↗

* Universal Transfer requires API permissions enabled * @param {string} type - ENUM , example MAIN_UMFUTURE for SPOT to USDT futures, see https://binance-docs.github.io/apidocs/spot/en/#user-universal-transfer * @param {string} asset - the asset - example :USDT * * @param {number} amo

(type: string, asset: string, amount: number)

Source from the content-addressed store, hash-verified

3140 * @return {promise}
3141 */
3142 async universalTransfer(type: string, asset: string, amount: number) {
3143 const parameters = Object.assign({
3144 asset,
3145 amount,
3146 type,
3147 });
3148 return await this.privateSpotRequest("v1/asset/transfer",
3149 parameters,
3150 "POST"
3151 );
3152 }
3153
3154 /**
3155 * Transfer between main account and futures/delivery accounts

Callers

nothing calls this directly

Calls 1

privateSpotRequestMethod · 0.95

Tested by

no test coverage detected