Die Ressourcen sind geladen. Beförderung...

KuCoin-Finanzierungs-Plugin

Schriftsteller:Ein bisschen, Datum: 2023-09-28 17:21:03
Tags:


var adress = ['/api/v1/transfer-in','/api/v3/transfer-out'][typeIndex]

function UsdtTransfer( e , cur , amount ){
    var params = ''
    var 币种 = cur
    var 划转数量 = amount
    var exname = e.GetName()
    if( exname == 'Futures_KuCoin'){
        if( typeIndex == 0 ){
            paraStr = '&payAccountType=TRADE'
        }else if( typeIndex == 1 ){
            paraStr = '&recAccountType=TRADE'
        }

        params = "amount="+amount+"&currency="+币种 + paraStr 
        ret = e.IO("api","POST",adress, params )
        Log( 币种 , "划转数量:" , amount , ret)
    }
}

function main() {
    UsdtTransfer( exchange , assets , amount )
}

Mehr