merkeleon/processing-integration
Composer 安装命令:
composer require merkeleon/processing-integration
包简介
Cryptoprocessing integrations for php
关键字:
README 文档
README
Installation
First, require the package using Composer:
composer require merkeleon/processing-integration
Examples
Take address
use Merkeleon\Processing\API; use Merkeleon\Processing\Address; $api = API::make('URL', 'API_KEY', 'API_SECRET'); /** @var Address $address */ $address = $api->addressTake('BTC', 'identity');
Make withdraw
use Merkeleon\Processing\API; use Merkeleon\Processing\Address; $api = API::make('URL', 'API_KEY', 'API_SECRET'); /** @var Address $address */ $address = $api->withdraw('12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX', 1, 'BTC', 'unique-identity-for-withdrawal', null);
Description
Never use the timestamp as $foreignId for withdrawals, but use your unique identifier. If you mistakenly make two requests for output with the same $foreignId, then second and next attempts will be rejected for security reasons. Foreign id for address may be not unique
统计信息
- 总下载量: 1.66k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-26