blocktrail / blocktrail-sdk-php Goto Github PK
View Code? Open in Web Editor NEWBlockTrail's Developer Friendly PHP SDK for the BlockTrail API
License: MIT License
BlockTrail's Developer Friendly PHP SDK for the BlockTrail API
License: MIT License
` /**
* create, sign and send a transaction
*
* @param array $outputs [address => value, ] or [[address, value], ] or [['address' => address, 'value' => value], ] coins to send
* value should be INT
* @param string $changeAddress change address to use (autogenerated if NULL)
* @param bool $allowZeroConf
* @param bool $randomizeChangeIdx randomize the location of the change (for increased privacy / anonimity)
* @param null|int $forceFee set a fixed fee instead of automatically calculating the correct fee, not recommended!
* @return string the txid / transaction hash
* @throws \Exception
*/
public function pay(array $outputs, $changeAddress = null, $allowZeroConf = false, $randomizeChangeIdx = true, $forceFee = null) `
$changeAddress is not used when building the transaction so it is impossible to specify the change address.
when try to send btc or when try to creat wallet by api . get this error
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Negative integers not supported by Buffer::int. This could be an application error, or you should be using templates. Input was: -2147483648' in G:\wamp64\www\blocktrail\vendor\bitwasp\buffertools\src\Buffertools\Buffer.php on line 87
( ! ) InvalidArgumentException: Negative integers not supported by Buffer::int. This could be an application error, or you should be using templates. Input was: -2147483648 in G:\wamp64\www\blocktrail\vendor\bitwasp\buffertools\src\Buffertools\Buffer.php on line 87
when app call this function
getRedeemScriptByPath > buildKey
get error
i tink this erorr is from here
\src\Bitcoin\BIP32Key.php
on line 148. var_dump result for $path on line 148:
G:\wamp64\www\blocktrail\src\Bitcoin\BIP32Key.php:148:string '0' (length=1)
G:\wamp64\www\blocktrail\src\Bitcoin\BIP32Key.php:148:string '16' (length=2)
G:\wamp64\www\blocktrail\src\Bitcoin\BIP32Key.php:148:string '0/0/16' (length=6)
G:\wamp64\www\blocktrail\src\Bitcoin\BIP32Key.php:148:string '0/16' (length=4)
G:\wamp64\www\blocktrail\src\Bitcoin\BIP32Key.php:148:string '0'/0/4' (length=6)
When I send 0.5BTC to an external wallet through the API, the fees are around 0.05BTC while set with FEE_STRATEGY_LOW_PRIORITY on the $wallet->pay() command. Is there any way to lower the fees?
Are you going to make release with mdanter/ecc v0.5.0 which support php 7.2?
Warning I get when installing the blocktrail SDK:
"Package endroid/qrcode is abandoned, you should avoid using it. Use endroid/qr-code instead."
Below is my implementation of how I am setting up my webhook:
setupWebhookForUser: (routeUrl, iReqId) => { return walletClient.setupWebhook( "https://routeUrl", iReqId, (err, response) => { if (err) { console.log('==Error setting up the webhook=='); console.log(err); return false; } console.log('==Webhook setup successfully==') return response; }); }
As I run this code I got an error logged and says "Sorry, no new webhooks can be created this time"
I am using the sdk from npm and it is testnet. I hope it is not the same with mainnet.
What is the fix please. @rubensayshi @afk11
Hello,
This repository is listed on the Awesome Bitcoin list, which is a collection of useful Bitcoin projects. However, it seems that the 'bitcoin' topic is missing from this repository's topics.
Adding the 'bitcoin' topic will help users discover your project more easily and recognize its relevance to the Bitcoin ecosystem. To add the topic, please follow these steps:
Thank you for your attention and for contributing to the Bitcoin community!
Please update API to work with PHP 7.2 and current bitwasp libraries... Love to use the blocktrail API but its incompatible.
While installing 3.0 from composer this morning, I've installed the PHP libraries as required listed in the readme, however under usage with laravel it was noted that I was missing php5-curl/php7.0-curl.
After adding the library via apt-get, my website resumed normal operation.
The package requirements for composer also does not mention that curl is needed.
Could it be listed that curl is also needed for future reference? I also don't know if anyone else has experienced it but I am rather certain due to my troubleshooting that missing curl was the cause.
Regards,
Andrew
In Wallet.php
public function coinSelection($outputs, $lockUTXO = true, $allowZeroConf = false, $feeStrategy = self::FEE_STRATEGY_OPTIMAL, $forceFee = null) {
in WalletInterface
public function coinSelection($outputs, $lockUTXO = true, $allowZeroConf = false, $forceFee = null);
looks like param missing?
Hello,
I'm trying to use this package in my Laravel 5.3 app but it appears to have some conflicts as described below.
λ composer require blocktrail/blocktrail-sdk
Using version ^2.1 for blocktrail/blocktrail-sdk
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- blocktrail/blocktrail-sdk v2.1.0 requires mdanter/ecc v0.4.0 -> satisfiable by mdanter/ecc[v0.4.0].
- Installation request for blocktrail/blocktrail-sdk ^2.1 -> satisfiable by blocktrail/blocktrail-sdk[v2.1.0].
- Conclusion: remove paragonie/random_compat v2.0.4
- Conclusion: don't install paragonie/random_compat v2.0.4
- mdanter/ecc v0.4.0 requires paragonie/random_compat 1.4.1|2.0.2 -> satisfiable by paragonie/random_compat[v1.4.1, v2.0.2].
- Can only install one of: paragonie/random_compat[v1.4.1, v2.0.4].
- Can only install one of: paragonie/random_compat[v2.0.2, v2.0.4].
- Installation request for paragonie/random_compat (locked at v2.0.4) -> satisfiable by paragonie/random_compat[v2.0.4].
Installation failed, reverting ./composer.json to its original content.
I cant send full wallet balance and getting error:
A Server Error has occurred! Server Response: {"code":0,"msg":"Failed to select full amount"}
After creating new wallet In $backupInfo['blocktrail_public_keys'] we really have array of arrays (not instances).
Argument 1 passed to Blocktrail\SDK\Bitcoin\BIP32Key::create() must be an instance of BitWasp\Bitcoin\Key\Deterministic\HierarchicalKey, array given, called in /var/www/bit.tbot.me/vendor/blocktrail/blocktrail-sdk/src/BackupGenerator.php on line 79
When whitelist is applied could be useful if we get a more details about the ip that do not match whitelist.
Currently, when a call is not in whitelist we get this error message:
blocktrail/blocktrail-sdk/src/Connection/RestClient.php:344 Blocktrail\SDK\Connection\RestClient::responseHandler
A Server Error has occurred! Server Response: {"code":0,"msg":"Unable to co-sign transction due to IP whitelist restrictions"}
Would be even better if api included in message IP address that trigger the error, eg:
A Server Error has occurred! Server Response: {"code":0,"msg":"Unable to co-sign transaction due to IP whitelist restrictions ( 1.2.3.4 )"}
Is this API doesn't support BCH flow??
When i create tBTC wallet it also appears in tBCH wallet??
Then why i am not able to see the wallet balance of tBCH???
Hello friends
$address = $wallet->getNewAddress();
Blocktrail\SDK\Connection\Exceptions\ObjectNotFound: The object you've tried to access does not exist. in /vendor/blocktrail/blocktrail-sdk/src/Connection/BaseRestClient.php:253
Thanks.
I Updated my CPanel server.
Before the Update all worked fine.
After the Update there was this error: PHP Catchable fatal error: Object of class Blocktrail\SDK\WalletV3 could not be converted to string
How to import wallet to electrum? Are there any examples?
https://www.blocktrail.com/api/docs/lang/php#api_fee_per_kb
Fatal error: Call to undefined method Blocktrail\SDK\BlocktrailSDK::feePerKB()
When I try to send BTC, i get this error...
(1/1) GenericServerError
A Server Error has occurred!
Server Response: {"code":500,"msg":"66: mempool min fee not met"}
Please what is the cause, someone should help me.....
The existing size & fee estimation functions have some drawbacks, which are largely eliminated in the new SizeEstimation class. However, the old methods were exposed on the public API, so we need to be careful removing them.
Hello,
I have a problem with the latest version of Blocktrail SDK.
I follow the API documentation examples to create a wallet programmatically like so:
$client = new BlocktrailSDK($myAPIKEY, $myAPISECRET, "BTC", true);
list($wallet, $primaryMnemonic, $backupMnemonic, $blocktrailPublicKeys) = $client->createNewWallet("mytestwallet", "securepasswordgoeshere");
I get the following PHP error related to BIP32:
Fatal error: Uncaught exception 'Exception' with message 'Byte string exceeds maximum size' in ....\vendor\bitwasp\buffertools\src\Buffertools\Buffer.php on line 38
I have PHP 5.6.25, Apache 2.4.23, and Windows 10 64bits, and all required PHP extensions enabled.
When try to install blocktrail sdk inside of Laravel 5.6 project I have that problem:
composer require blocktrail/blocktrail-sdk
Using version ^3.2 for blocktrail/blocktrail-sdk
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for bitwasp/bitcoin (locked at v0.0.35.0) -> satisfiable by bitwasp/bitcoin[v0.0.35.0].
- blocktrail/blocktrail-sdk v3.2.0 requires bitwasp/bitcoin v0.0.34.1 -> satisfiable by bitwasp/bitcoin[v0.0.34.1].
- blocktrail/blocktrail-sdk v3.2.1 requires bitwasp/bitcoin v0.0.34.1 -> satisfiable by bitwasp/bitcoin[v0.0.34.1].
- blocktrail/blocktrail-sdk v3.2.2 requires bitwasp/bitcoin v0.0.34.1 -> satisfiable by bitwasp/bitcoin[v0.0.34.1].
- Conclusion: don't install bitwasp/bitcoin v0.0.34.1
- Installation request for blocktrail/blocktrail-sdk ^3.2 -> satisfiable by blocktrail/blocktrail-sdk[v3.2.0, v3.2.1, v3.2.2].
Installation failed, reverting ./composer.json to its original content.
I am using node. I am using exact mention code but I am not able to pay. I have tried with multiple addresses.
I have attached the snapshot of code. Please help me.
app.get("/pay/:address", function(req, res) { client.initWallet("ashokrayaltestnet", "12345678!@#$", function(err, wallet) { value = blocktrail.toSatoshi(1.1); wallet.pay({'1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T': value}, null, false, true, blocktrail.Wallet.FEE_STRATEGY_BASE_FEE, function(err, result) { if(err){ console.log(err); } res.send(JSON.stringify(result)); }); wallet.pay({'1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T': value}, null, false, true, blocktrail.Wallet.FEE_STRATEGY_LOW_PRIORITY, function(err, result) { if(err){ console.log(err); } res.send(JSON.stringify(result)); }); }); });
Hii
i am using this method to send BTC
$wallet->pay(array($address => $value), null, false, true);
i want to get the transaction fees estimate before sending the transaction.
is there any method available to do this?
Ehy there,
I'm trying to get transaction details with method ->transaction() but I get UnknownEndpointSpecificError. In the method the client sends 2 different requests to the server, the first one with "?verbose=3" and the second one without it. The first one works but the second one obtains an error 403 with empty body.
If I put usleep(100 * 1000) between the 2 requests everything works. It's clearly due to the server endpoint.
What is happening with the server APIs?
I am trying to setup an automatic trading robot with auto reload of funds. Is there anyway i can use the api to send payments from my wallet with 2fa enabled?
This would be really nice functionality in your API - please consider adding it like bitcoin core:
5 subtractfeefromamount (string, optional) A json array with addresses.
The fee will be equally deducted from the amount of each selected address.
Those recipients will receive less bitcoins than you enter in their corresponding amount field.
If no addresses are specified here, the sender pays the fee.
[
"address" (string) Subtract fee from this address
,...
]
Hii there,
I'm trying to use the blocktrail API, when I stumbled upon this error:
Notice: Use of undefined constant CURLOPT_CUSTOMREQUEST - assumed 'CURLOPT_CUSTOMREQUEST' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 196
Notice: Use of undefined constant CURLOPT_URL - assumed 'CURLOPT_URL' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 197
Notice: Use of undefined constant CURLOPT_RETURNTRANSFER - assumed 'CURLOPT_RETURNTRANSFER' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 198
Notice: Use of undefined constant CURLOPT_HEADER - assumed 'CURLOPT_HEADER' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 199
Notice: Use of undefined constant CURLOPT_CONNECTTIMEOUT - assumed 'CURLOPT_CONNECTTIMEOUT' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 200
Notice: Use of undefined constant CURLOPT_HTTP_VERSION - assumed 'CURLOPT_HTTP_VERSION' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 209
Notice: Use of undefined constant CURL_HTTP_VERSION_1_1 - assumed 'CURL_HTTP_VERSION_1_1' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 209
Notice: Use of undefined constant CURLOPT_SSL_VERIFYHOST - assumed 'CURLOPT_SSL_VERIFYHOST' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 326
Notice: Use of undefined constant CURLOPT_SSL_VERIFYPEER - assumed 'CURLOPT_SSL_VERIFYPEER' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 327
Notice: Use of undefined constant CURLOPT_ENCODING - assumed 'CURLOPT_ENCODING' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 352
Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 354
Notice: Use of undefined constant CURLOPT_FILE - assumed 'CURLOPT_FILE' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 378
Notice: Use of undefined constant CURLOPT_FILE - assumed 'CURLOPT_FILE' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 379
Notice: Use of undefined constant CURLOPT_CONNECTTIMEOUT_MS - assumed 'CURLOPT_CONNECTTIMEOUT_MS' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 398
Notice: Use of undefined constant CURLOPT_PROXY - assumed 'CURLOPT_PROXY' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 407
Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 291
Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 291
Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 291
Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 291
Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 291
Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 291
Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 297
Notice: Use of undefined constant CURLOPT_HEADERFUNCTION - assumed 'CURLOPT_HEADERFUNCTION' in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 53
Fatal error: Call to undefined function GuzzleHttp\Handler\curl_init() in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 56
I am using this code:
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
use Blocktrail\SDK\BlocktrailSDK;
require('config.inc.php');
require 'vendor/autoload.php';
$client = new BlocktrailSDK("MYSEXYKEY", "MYSEXYSECRET, "BTC", true /* testnet */,'v3');
$address = $client->address('MYSEXYADDRESS');
Am I doing something wrong or?
May I suggest creating an Interface for the SDK class? It gives a quick overview of all API methods without have to read the entire Class.
class BlocktrailSDK implements BlocktrailSDKinterface { ... }
Hello,
I am trying to create a self-solution to manage my assets easier. I have tinkered a bit with the PHP SDK today and I cannot seem to list my wallets. I created three wallets on one account through the API but now I cannot seem to figure out how to list them.
I suppose I need to query from the server an object and then through a repetitive structure I will output everything inside that object/array. The problem is I do not know how this query will look/how to form it.
Or better phrased, does the API support listing all my wallets?
Thank you
[RuntimeException]
Failed to clone https://github.com/rgooding/Protobuf-PHP.git via https, ssh protocols, aborting.
https://github.com/rgooding/Protobuf-PHP.git
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/rgooding/Protobuf-PHP.git/'
[email protected]:rgooding/Protobuf-PHP.git
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
You have a dependency
"bitwasp / bitcoin": "v0.0.34.1"
It uses the https://github.com/rgooding/Protobuf-PHP.git package which does not exist, fix it because it is not possible to install because of the error that appears, I pointed it out above
I installed curl but showing error on my localhost.
Error is:
Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in D:\ogss\trunk\blocktrail\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 187
The curl says the peer to peer connection not done.
Please help me...
Thanks in advance.
I'm currently testing this SDK to see if it will fit for my next project but it seems that the subscribeAddressTransactions
function is not working.
Every time I'm calling it I get this message The object you've tried to access does not exist.
and I know for sure that the BTC Address
and the Webhook Identifier
have been created before the call and are valid.
uyil;
When I want to getBalance I got this error :
Fatal error: Uncaught RuntimeException: Iteration count should be at least 512 in blocktrail\blocktrail-sdk\src\V3Crypt\KeyDerivation.php on line 26
How can I solve it ?
Hi all,
Can you please turn sdk compatible with latest stable guzzlehttp ?
guzzlehttp/guzzle ^6.1
thanks
FA
$client->addressTransactions('foobar');
Fatal error: Uncaught exception 'Blocktrail\SDK\Connection\Exceptions\EndpointSpecificError' with message 'Resource Not Found'
from BlocktrailSDKInterface at the next milestone release
Этот пакет удален!!!! сделайте с этим что-то!!! вам еще в 2019 году об этом писали, вы вообще смотрите что люди пишут или вам насрать на ваш sdk!????
The PHPECC project has been abandoned for years, despite numerous attempts to fix security issues in the code. Paragon Initiative Enterprises has opted to fork PHPECC in order to provide a more secure implementation of ECDH and ECDSA for PHP projects.
Please refer to the Release Notes for our fork, which contains the specifics about the security issues we fixed and how to ensure your code is safe.
Hello,
I am trying to install your SDK to work with my fresh Laravel installation. Composer cannot add it as a dependency because of the "illuminate/cookie" package that requires "symfony/http-foundation": "2.8.|3.0.", whereas "99designs/http-signatures-php" wants "symfony/http-foundation": "~2.5", to be installed.
I saw your pending PR, but it does not affect symfony/http-foundation's version.
This is a major issue for me. What can I do?
Thank you!
Full output:
C:\wamp\bin\php\php5.5.12\php.exe C:\wamp\www\composer.phar require blocktrail/blocktrail-sdk:1.0.4 -n
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- blocktrail/blocktrail-sdk 1.0.4 requires 99designs/http-signatures-guzzlehttp 1.0.0 -> satisfiable by 99designs/http-signatures-guzzlehttp[1.0.0].
- Installation request for blocktrail/blocktrail-sdk 1.0.4 -> satisfiable by blocktrail/blocktrail-sdk[1.0.4].
- Conclusion: remove symfony/http-foundation v3.0.4
- Conclusion: don't install symfony/http-foundation v3.0.4
- 99designs/http-signatures-guzzlehttp 1.0.0 requires 99designs/http-signatures ~1.1 -> satisfiable by 99designs/http-signatures[v1.1.0, v1.1.1, v1.1.2].
- 99designs/http-signatures v1.1.0 requires symfony/http-foundation ~2.5 -> satisfiable by symfony/http-foundation[v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2, v2.8.3, v2.8.4, v2.8.5].
- 99designs/http-signatures v1.1.1 requires symfony/http-foundation ~2.5 -> satisfiable by symfony/http-foundation[v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2, v2.8.3, v2.8.4, v2.8.5].
- 99designs/http-signatures v1.1.2 requires symfony/http-foundation ~2.5 -> satisfiable by symfony/http-foundation[v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2, v2.8.3, v2.8.4, v2.8.5].
- Can only install one of: symfony/http-foundation[v2.8.0, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.8.1, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.8.2, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.8.3, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.8.4, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.8.5, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.0, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.1, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.10, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.11, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.12, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.2, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.3, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.4, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.5, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.6, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.7, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.8, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.5.9, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.0, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.1, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.10, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.11, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.12, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.13, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.2, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.3, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.4, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.5, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.6, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.7, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.8, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.6.9, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.0, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.1, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.10, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.11, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.12, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.2, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.3, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.4, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.5, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.6, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.7, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.8, v3.0.4].
- Can only install one of: symfony/http-foundation[v2.7.9, v3.0.4].
- Installation request for symfony/http-foundation (locked at v3.0.4) -> satisfiable by symfony/http-foundation[v3.0.4].
Installation failed, reverting ./composer.json to its original content.
Hi,
I was using this function well last year, but now i receive the message as INVALID CREDENTIAL:
use \Blocktrail\SDK\Connection\Exceptions\InvalidCredentials;
try {
$client->address('1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T');
} catch (\Exception $e) {
if ($e instanceof InvalidCredentials) {
var_dump((string)$e);
}
}
Notice than generating new address work well !
The testnet chain is down for a very long time already.
https://tchain.api.btc.com/v3/
The above link returns 504 Gateway Time-out.
Solved.
Can we get a function to get an estimate of the optimal fee? I would like to see how much the fee would cost to send X satotshi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.