d-andreevich / fireblocks-sdk-php
PHP SDK for Fireblocks API.
Requires
- php: >=7.2.5
- guzzlehttp/guzzle: ^6.0
This package is auto-updated.
Last update: 2025-03-05 22:29:24 UTC
README
The PHP SDK for Fireblocks API
Basics
This repository contains the PHP SDK for Fireblocks API. For the complete API reference, go to the API reference.
Requirements
PHP >=7.2.
GuzzleHttp >=6.0.X
Installation
You can install the Provider as a composer package.
composer require d-andreevich/fireblocks-sdk-php
Usage
Before You Begin
Make sure you have the credentials for Fireblocks API Services. Otherwise, please contact Fireblocks support for further instructions on how to obtain your API credentials.
Start
Once you have retrieved a component, please refer to the documentation of the Fireblocks for further information on how to use it.
<?php use FireblocksSdkPhp\FireblocksSDK; $private_key = file_get_contents('fireblocks_secret.key'); $api_key = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'; $fireblocks = new FireblocksSDK($private_key, $api_key); $result = $fireblocks->get_gas_station_info();
You can use the Python examples from the documentation of the Fireblocks, all methods have the same names, all functionality is duplicated from fireblocks-sdk-py.