PHPackages                             jccdex/jcc\_rpc\_php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. jccdex/jcc\_rpc\_php

ActiveLibrary[Framework](/categories/framework)

jccdex/jcc\_rpc\_php
====================

a php jcc rpc framework

1.0.0(6y ago)161MITPHPPHP &gt;=7.2

Since Jun 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/chenxi2015/jcc_rpc_php)[ Packagist](https://packagist.org/packages/jccdex/jcc_rpc_php)[ RSS](/packages/jccdex-jcc-rpc-php/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

jcc\_rpc\_php
=============

[](#jcc_rpc_php)

[![License](https://camo.githubusercontent.com/e5b41c6afa0bf0bb800abf162ba511e9cb4a0dc8213ad924156d2b183e5383da/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4a43434465782f6a63635f7270635f7068702e737667)](https://packagist.org/packages/jccdex/jcc_rpc_php)[![Total Downloads](https://camo.githubusercontent.com/f36df07c67a1f97772469416018b14ce3fc7447ec4014586d53ffc528858d025/68747470733a2f2f706f7365722e707567782e6f72672f6a63636465782f6a63635f7270635f7068702f646f776e6c6f616473)](https://packagist.org/packages/jccdex/jcc_rpc_php)[![Build Status](https://camo.githubusercontent.com/616e9c474d3432b69ac080ae947a6edc5ddaca302d6d0dadb773c2b59b75ddb9/68747470733a2f2f7472617669732d63692e6f72672f6368656e7869323031352f6a63635f7270635f7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/chenxi2015/jcc_rpc_php)[![Latest Stable Version](https://camo.githubusercontent.com/9c1148becdce76127b0ddb41574030db02c19e51b99b2c13041e255f05a01976/68747470733a2f2f706f7365722e707567782e6f72672f6a63636465782f6a63635f7270635f7068702f762f737461626c65)](https://packagist.org/packages/jccdex/jcc_rpc_php)

Installation
------------

[](#installation)

The recommended way to install jcc\_rpc\_php is through [Composer](https://getcomposer.org/).

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of jcc\_rpc\_php:

```
php composer.phar require jccdex/jcc_rpc_php

# OR

composer require jccdex/jcc_rpc_php
```

Help and docs
-------------

[](#help-and-docs)

[Interface Documents](https://github.com/JCCDex/jcc_server_doc)

Config API
----------

[](#config-api)

#### getConfig

[](#getconfig)

```
use JccDex\Http\Config;
$config = new Config(['jccdex.cn', 'eth626892d.jccdex.cn'], 443, true);
// $config = new Config('jccdex.cn', 443, true);
echo $config->getConfig();
```

Exchange API
------------

[](#exchange-api)

firstly Instantiate an object

```
use JccDex\Http\Exchange;
$exchange = new Exchange(['ewdjbbl8jgf.jccdex.cn'], 443, true);
```

#### getBalances

[](#getbalances)

parameters

参数名类型必填addressstring是```
echo $exchange->getBalances($address);
```

#### getHistoricTransactions

[](#gethistorictransactions)

parameters

参数名类型必填addressstring是ledgerstring否seqstring否```
echo $exchange->getHistoricTransactions($address, $ledger, $seq);
```

#### getHistoricPayments

[](#gethistoricpayments)

parameters

参数名类型必填addressstring是ledgerstring否seqstring否```
echo $exchange->getHistoricPayments($address, $ledger, $seq);
```

#### getOrders

[](#getorders)

parameters

参数名类型必填addressstring是pagestring是```
echo $exchange->getOrders($address, $page);
```

#### createOrder

[](#createorder)

parameters

参数名类型必填signstring是```
echo $exchange->createOrder($sign);
```

#### deleteOrder

[](#deleteorder)

parameters

参数名类型必填signstring是```
echo $exchange->deleteOrder($sign);
```

#### getSequence

[](#getsequence)

parameters

参数名类型必填addressstring是```
echo $exchange->getSequence($address);
```

#### transferAccount

[](#transferaccount)

parameters

参数名类型必填signstring是```
echo $exchange->getSequence($sign);
```

Info API
--------

[](#info-api)

firstly Instantiate an object

```
use JccDex\Http\Info;
$info = new Info(["i3b44eb75ef.jccdex.cn", "i059e8792d5.jccdex.cn", "i352fb2ef56.jccdex.cn"], 443, true);
```

#### getAllTickers

[](#getalltickers)

```
echo $info->getAllTickers();
```

#### getTicker

[](#getticker)

parameters

参数名类型必填basestring是counterstring是```
echo $exchange->getTicker($base, $counter);
```

#### getDepth

[](#getdepth)

parameters

参数名类型必填basestring是counterstring是typestring是```
echo $exchange->getDepth($base, $counter, $type);
```

#### getKline

[](#getkline)

parameters

参数名类型必填basestring是counterstring是typestring是```
echo $exchange->getKline($base, $counter, $type);
```

#### getHistory

[](#gethistory)

parameters

参数名类型必填basestring是counterstring是typestring是timestring是```
echo $exchange->getHistory($base, $counter, $type, $time);
```

#### getTickerFromCMC

[](#gettickerfromcmc)

parameters

参数名类型必填tokenstring是currencystring是```
echo $exchange->getTickerFromCMC($token, $currency);
```

Biz API
-------

[](#biz-api)

firstly Instantiate an object

```
use JccDex\Http\Biz;
$biz = new Biz(['ewdjbbl8jgf.jccdex.cn'], 443, true);
```

#### getSmsCode

[](#getsmscode)

parameters

参数名类型必填phonestring是verifyTypestring是```
echo $biz->getSmsCode($phone, $verifyType);
```

#### getImgCode

[](#getimgcode)

```
echo $biz->getImgCode($phone, $verifyType);
```

#### checkSmsCode

[](#checksmscode)

parameters

参数名类型必填phonestring是verifyTypestring是verifyCodeTypestring是```
echo $biz->checkSmsCode($phone, $verifyType, $verifyCodeType);
```

#### checkImgCode

[](#checkimgcode)

parameters

参数名类型必填userNamestring是imgCodestring是```
echo $biz->checkImgCode($userName, $imgCode);
```

#### isActive

[](#isactive)

parameters

参数名类型必填userNamestring是```
echo $biz->isActive($userName);
```

#### register

[](#register)

parameters

参数名类型必填userNamestring是passwordstring是publicKeystring是verifyCodestring是imgCodestring是```
echo $biz->register($userName, $password, $publicKey, $verifyCode, $imgCode);
```

#### emailRegister

[](#emailregister)

parameters

参数名类型必填userNamestring是passwordstring是publicKeystring是verifyCodestring是imgCodestring是```
echo $biz->emailRegister($userName, $password, $publicKey, $verifyCode, $imgCode);
```

#### login

[](#login)

parameters

参数名类型必填userNamestring是passwordstring是imgCodestring是```
echo $biz->login($userName, $password, $imgCode);
```

#### logout

[](#logout)

parameters

参数名类型必填userNamestring是```
echo $biz->logout($userName);
```

#### getMyself

[](#getmyself)

parameters

参数名类型必填userNamestring是```
echo $biz->getMyself($userName);
```

#### uploadImage

[](#uploadimage)

parameters

参数名类型必填userNamestring是datastring是```
echo $biz->uploadImage($userName, $data);
```

#### verify

[](#verify)

parameters

参数名类型必填userNamestring是datastring是```
echo $biz->verify($userName, $data);
```

#### changeMobile

[](#changemobile)

parameters

参数名类型必填phonestring是verifyCodestring是passwordstring是```
echo $biz->changeMobile($phone, $verifyCode, $password);
```

#### changePassword

[](#changepassword)

parameters

参数名类型必填userNamestring是newPwdstring是oldPwdstring是```
echo $biz->changePassword($userName, $newPwd, $oldPwd);
```

#### resetPassword

[](#resetpassword)

parameters

参数名类型必填userNamestring是verifyCodestring是oldPwdstring是```
echo $biz->resetPassword($userName, $verifyCode, $oldPwd);
```

#### bindEmail

[](#bindemail)

parameters

参数名类型必填userNamestring是emailstring是verifyCodestring是passwordstring是```
echo $biz->bindEmail($userName, $email, $verifyCode, $password);
```

#### uploadWallet

[](#uploadwallet)

parameters

参数名类型必填userNamestring是publicKeystring是```
echo $biz->uploadWallet($userName, $publicKey);
```

#### getToken

[](#gettoken)

parameters

参数名类型必填userNamestring是```
echo $biz->getToken($userName);
```

#### getHelp

[](#gethelp)

parameters

参数名类型必填urlstring是```
echo $biz->getHelp($url);
```

#### getAbout

[](#getabout)

parameters

参数名类型必填urlstring是```
echo $biz->getAbout($url);
```

#### createDepositOrder

[](#createdepositorder)

parameters

参数名类型必填userNamestring是basestring是amountstring是baseWalletstring是jtWalletstring是agentWalletstring是agentIDstring是```
echo $biz->createDepositOrder($userName, $base, $amount, $baseWallet, $jtWallet, $agentWallet, $agentID);
```

#### cancelDepositOrder

[](#canceldepositorder)

parameters

参数名类型必填userNamestring是basestring是orderIDstring是```
echo $biz->cancelDepositOrder($userName, $base, $orderID);
```

#### updateDepositOrder

[](#updatedepositorder)

parameters

参数名类型必填userNamestring是basestring是orderIDstring是hashstring是```
echo $biz->updateDepositOrder($userName, $base, $orderID, $hash);
```

#### getDepositDetail

[](#getdepositdetail)

parameters

参数名类型必填userNamestring是basestring是orderIDstring是```
echo $biz->getDepositDetail($userName, $base, $orderID);
```

#### getPendingDeposit

[](#getpendingdeposit)

parameters

参数名类型必填userNamestring是basestring是```
echo $biz->getPendingDeposit($userName, $base);
```

#### getDepositOrders

[](#getdepositorders)

parameters

参数名类型必填userNamestring是basestring是pagestring是```
echo $biz->getDepositOrders($userName, $base, $page);
```

#### createWithdrawOrder

[](#createwithdraworder)

parameters

参数名类型必填userNamestring是basestring是amountstring是baseWalletstring是jtWalletstring是agentWalletstring是agentIDstring是```
echo $biz->createWithdrawOrder($userName, $base, $amount, $baseWallet, $jtWallet, $agentWallet, $agentID);
```

#### getWithdrawOrders

[](#getwithdraworders)

parameters

参数名类型必填userNamestring是basestring是pagestring是```
echo $biz->getWithdrawOrders($userName, $base, $page);
```

#### updateWithdrawOrder

[](#updatewithdraworder)

parameters

参数名类型必填userNamestring是orderIDstring是hashstring是```
echo $biz->updateWithdrawOrder($userName, $orderID, $hash);
```

#### getWithdrawDetail

[](#getwithdrawdetail)

parameters

参数名类型必填userNamestring是basestring是orderIDstring是```
echo $biz->getWithdrawDetail($userName, $base, $orderID);
```

#### getAgentInfo

[](#getagentinfo)

parameters

参数名类型必填userNamestring是basestring是```
echo $biz->getAgentInfo($userName, $base);
```

#### getCoinlist

[](#getcoinlist)

parameters

参数名类型必填userNamestring是```
echo $biz->getCoinlist($userName);
```

#### getNewsReportList

[](#getnewsreportlist)

parameters

参数名类型必填countstring是```
echo $biz->getNewsReportList($count);
```

#### getNoticeList

[](#getnoticelist)

parameters

参数名类型必填typestring是countstring是```
echo $biz->getNoticeList($type, $count);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2508d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/841ddc7b822d5255dfad24719900dd42800a28be312eef94e05b294f24c5e4d6?d=identicon)[chenxi2015](/maintainers/chenxi2015)

---

Top Contributors

[![chenxi2015](https://avatars.githubusercontent.com/u/13269485?v=4)](https://github.com/chenxi2015 "chenxi2015 (72 commits)")[![JCCDex](https://avatars.githubusercontent.com/u/37483750?v=4)](https://github.com/JCCDex "JCCDex (1 commits)")

---

Tags

rpcjcc

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jccdex-jcc-rpc-php/health.svg)

```
[![Health](https://phpackages.com/badges/jccdex-jcc-rpc-php/health.svg)](https://phpackages.com/packages/jccdex-jcc-rpc-php)
```

###  Alternatives

[hprose/hprose

It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.

2.1k215.3k37](/packages/hprose-hprose)[twirp/twirp

PHP port of Twitch's Twirp RPC framework

1591.0M5](/packages/twirp-twirp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
