devstar0209/bitgo-account-php-sdk

此软件包最新版本(dev-main)没有提供许可证信息。

Bitgo账户API的PHP SDK

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

This package is auto-updated.

Last update: 2024-09-13 15:45:47 UTC


README

它是Bitgo经纪人API的PHP SDK

Laravel 8|9

Latest Stable Version

Total Downloads

License

需求

安装

composer require devstar/Bitgo-broker-php-sdk

用法

创建Bitgo经纪人客户端

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

开设账户

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

搜索所有资产

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

创建订单

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

转账

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

文档上传

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