-
Notifications
You must be signed in to change notification settings - Fork 85
Error! Please fix! #24
Comments
Now only says: [23-11-2016 06:12:15] BlockCypher\Core\BlockCypherHttpConnection: INFO : POST https://api.blockcypher.com/v1/btc/main/txs/micro?token=29252d675d8d429181aee1546246a65a In log, but address is https://blockchain.info/pt/address/18eBFNeG4rQxJJJj5ZtiDSYjC7djLJCpU |
Could you try to reproduce the problem with one of the You can create a new BCY address, fund it with BlockCypher test chain coins, and try to reproduce the problem running this sample:
You can run it from console. Maybe you are using a wrong private key. You can also try to execute this sample:
With this sample you will get feedback after each step in the process so we can now what part of the proccess fails. I think you could be using a wrong private key. |
No, i am using a correct private key... |
Even yesterday was working! |
OK @GabrielAugustoTI I also will try to execute both types with the same private key. Anyway it could be useful if you tell me what's different from yesterday, do you use the same private key? did you update some dependencies? PHP version? ... |
Same private key, same dependencies, same PHP version, same Blockcypher client... |
Hi @GabrielAugustoTI . I have just executed this test and it works: I have created this new BlockCypher testnet address:
Then I have funded the address with the faucet (100000 satoshis) using this sample script:
And finally I have created a transaction from address
You can see both transactions here: Please, try to do the same and send me the More detailed log: Created and Send MicroTX Request
|
Closing. |
exception 'InvalidArgumentException' with message 'Argument with name hexDataToSign is not an array' in /var/www/html/api/php-client/blockcypher/php-client/lib/BlockCypher/Validation/ArgumentArrayValidator.php:23 Stack trace: #0 /var/www/html/api/php-client/blockcypher/php-client/lib/BlockCypher/Crypto/Signer.php(27): BlockCypher\Validation\ArgumentArrayValidator::validate(NULL, 'hexDataToSign') #1 /var/www/html/api/php-client/blockcypher/php-client/lib/BlockCypher/Api/MicroTX.php(76): BlockCypher\Crypto\Signer::signMultiple(NULL, 'b43dca12714fdfd...') #2 /var/www/html/api/php-client/blockcypher/php-client/lib/BlockCypher/Client/MicroTXClient.php(41): BlockCypher\Api\MicroTX->sign('b43dca12714fdfd...') #3 /var/www/html/api/v2/withdraw.php(104): BlockCypher\Client\MicroTXClient->sendSigned('b43dca12714fdfd...', '1HZGbUohWUc28oa...', 10000) #4 /var/www/html/api/v2/withdraw.php(39): transferirBTC('18eBFNeG4rQxJJJ...', '1HZGbUohWUc28oa...', 10000, 'b43dca12714fdfd...') #5 {main}
The text was updated successfully, but these errors were encountered: