devstar0209/bitgo-account-php-sdk

There is no license information available for the latest version (dev-main) of this package.

PHP SDK for the Bitgo Account API

dev-main 2024-04-13 15:01 UTC

This package is auto-updated.

Last update: 2024-10-13 15:59:28 UTC


README

It's a PHP SDK for Bitgo Broker API

Laravel 8|9

Latest Stable Version

Total Downloads

License

Requirements

Install

composer require devstar/Bitgo-broker-php-sdk

Usage

Create Bitgo Broker client

$this->Bitgo = new Bitgo($key, $secret, $mode == 'pepper' ? true: false);

Open an account

$this->Bitgo->account->create($params);

Search all assets

$this->Bitgo->asset->getAssetsAll();

Create an order

$this->Bitgo->trade->createOrder($account_id, $params);

Transfer

$this->Bitgo->funding->createTransferEntity($account_id, $params);

Document upload

$this->Bitgo->document->upload($account_id, $params);