예제 #1
0
    public void BuyOnnCalcPower()
    {
        var arg  = Utils.Str2HexStr("null");
        var para = onnReq.Post("BuyHash", arg);

        Debug.Log(para);
        StartCoroutine(NHttp.Post(httpAddr, para));
    }
예제 #2
0
    public void WithDrawal(string addr, float amount)
    {
        var arg = Utils.Str2HexStr(addr + "?" + amount);

        Debug.Log(arg);
        var para = onnReq.Post("withDrawal", arg);

        Debug.Log(para);
        StartCoroutine(NHttp.Post(httpAddr, para));
    }