BlockIo / block_io-php

PHP library for Block.io
MIT License
56 stars 139 forks source link

Problem with withdraw #29

Closed ABPSoft closed 5 years ago

ABPSoft commented 5 years ago

Hi I wrote a sample code for withdrawing. It's work for 3 months. But it doesn't work today! I get this error!

Please guide me. Thanks

{ "status": "fail", "data": { "error_message": "Please use client-side signatures for this request. You can use our official PHP/Ruby/NodeJS/Python libraries; see block.io/api." } }

prinick96 commented 5 years ago

I have the same problem.

doersf commented 5 years ago

How're you executing the failed requests? Specify the parameters you're using. Do not specify values.

prinick96 commented 5 years ago

$block_io->withdraw(array('amounts' => 'AMOUNT1,AMOUNT2,...', 'to_addresses' => 'ADDRESS1,ADDRESS2,...'));

@doersf

doersf commented 5 years ago

@prinick96 you were most likely adding a "pin" to that call, which isn't necessary.

Use block.io/contacts for any further inquiries.