This repository has been archived by the owner on Oct 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
Going Live
Owen Voke edited this page Nov 12, 2017
·
4 revisions
BlockCypher APIs can be used up to these rate limits:
- Classic requests, up to 3 requests/sec and 200 requests/hr
- WebHooks and WebSockets, up to 200 requests/hr
If you exceed a limit, an HTTP status code 429 will be returned. Please register for a user token if your usage can exceed those limits. Our future pricing plan will be tiered based on usage and volume. We will have a free tier and an extended free plan for our early users. To request higher limits or SLAs, please contact us
Create a new token on your dashboard -> +Create New Token as shown below.
- If using sdk_config.ini, add
acct1.accessToken = YOUR-TOKEN
in the[Account]
section (a complete example can be found here):... ;Account Configuration [Account] acct1.accessToken = c0afcccdde5081d6429de37d16166ead ...
- If using code based configurations, add
mode
as follows:$token = 'YOUR TOKEN'; $credentials = new SimpleTokenCredential($token); $config = array( 'log.LogEnabled' => true, 'log.FileName' => '../BlockCypher.log', 'log.LogLevel' => 'DEBUG', // PLEASE USE `FINE` LEVEL FOR LOGGING IN LIVE ENVIRONMENTS 'validation.level' => 'log', // 'http.CURLOPT_CONNECTTIMEOUT' => 30 ); $apiContext = ApiContext::create($credentials, $config); ApiContext::setDefault($apiContext);
... with BlockCypher !
Getting Started
Using Our SDK
Configurations
Extras
External Links