PHPackages                             cx/cobo\_custody\_temp0 - 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. [API Development](/categories/api)
4. /
5. cx/cobo\_custody\_temp0

ActiveLibrary[API Development](/categories/api)

cx/cobo\_custody\_temp0
=======================

Cobo Custody php sdk

v0.2.5(4y ago)02PHPPHP &gt;=7.0

Since Jun 24Pushed 3y agoCompare

[ Source](https://github.com/caixiao-QA/cobo-php-api)[ Packagist](https://packagist.org/packages/cx/cobo_custody_temp0)[ RSS](/packages/cx-cobo-custody-temp0/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

Cobo php API
============

[](#cobo-php-api)

cobo-php-api is a lightweight php library for interacting with the [Cobo Custody API](https://doc.custody.cobo.com/?#cobo-custody-waas-api), providing complete API coverage.

- [Installation](#installation)
- [Test](#test)
- [Usage](#usage)
    - [Initialize](#initialize)
        - [Generate Key Pair](#generate-key-pair)
        - [Initialize RestClient](#initialize-restclient)
        - [Initialize ApiSigner](#initialize-apisigner)
    - [Account](#account)
        - [Check Account Details](#check-account-details)
        - [Get Coin Details](#get-coin-details)
        - [Get New Deposit Address](#get-new-deposit-address)
        - [Batch New Deposit Address](#batch-new-deposit-address)
        - [Verify Deposit Address](#verify-deposit-address)
        - [Batch Verify Deposit Address](#batch-verify-deposit-address)
        - [Verify Valid Address](#verify-valid-address)
        - [Get Address History List](#get-address-history-list)
    - [Loop Alliance](#loop-alliance)
        - [Check Loop Address Details](#check-loop-address-details)
        - [Verify Loop Address List](#verify-loop-address-list)
        - [Loop Transaction Explorer](#loop-transaction-explorer)
    - [Transactions](#transactions)
        - [Get Transaction Details](#get-transaction-details)
        - [Get Transactions By Txid](#get-transactions-by-txid)
        - [Obtain the list of confirmed transactions through ID query(deposit&amp;withdraw)](#obtain-the-list-of-confirmed-transactions-through-id-querydepositwithdraw)
        - [Obtain the list of confirmed transactions through time query(deposit&amp;withdraw)](#obtain-the-list-of-confirmed-transactions-through-time-querydepositwithdraw)
        - [Get Pending Transactions](#get-pending-transactions)
        - [Get Pending Deposit Details](#get-pending-deposit-details)
        - [Get Transaction History](#get-transaction-history)
    - [Withdrawal](#withdrawal)
        - [Submit Withdraw Request](#submit-withdraw-request)
        - [Get Withdraw Information](#get-withdraw-information)
    - [Staking](#staking)
        - [Get a Staking Product Details](#get-a-staking-product-details)
        - [Get All Staking Product List](#get-all-staking-product-list)
        - [Stake](#stake)
        - [Unstake](#unstake)
        - [Get Staking Data](#get-staking-data)
        - [Get Unstaking Data](#get-unstaking-data)
        - [Get All Staking History](#get-all-staking-history)
    - [Trading](#trading)
    - [Transaction Notification](#transaction-notification)
    - [Withdrawal Confirmation](#withdrawal-confirmation)

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

[](#installation)

add dependency in `composer.json`

```
"require": {
    ...
    "cobo/cobo_custody": "0.2.7",
  }
```

Test
----

[](#test)

```
php phpunit.phar ClientTest.php

```

Usage
-----

[](#usage)

### Initialize

[](#initialize)

#### Generate Key Pair

[](#generate-key-pair)

```
