2
我使用php api for blockchain.info。blockchain.info api_code缺失
這裏是我的代碼:
$Blockchain = new \Blockchain\Blockchain();
$Blockchain->setServiceUrl('http://localhost:' . env('BTCPORT') . '/');
$Blockchain->Wallet->credentials($w_id, $w_password);
// $w_id is wallet id
$response = $Blockchain->Wallet->send($account, $amount, null, $fee, 'my comment');
在這裏,我的node.js的過程說 '錯誤:缺少查詢參數:api_code'。 我使用php的這個庫https://github.com/blockchain/api-v1-client-php