PHPackages                             eldarqa/bitaps-wallet-api - 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. eldarqa/bitaps-wallet-api

ActiveLibrary[API Development](/categories/api)

eldarqa/bitaps-wallet-api
=========================

Bitaps PHP API

v1.0.0(5y ago)3111MITPHPPHP ^7.4 || ^8.0

Since Jan 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/MyZik/bitaps-wallet-api)[ Packagist](https://packagist.org/packages/eldarqa/bitaps-wallet-api)[ RSS](/packages/eldarqa-bitaps-wallet-api/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

[![License](https://camo.githubusercontent.com/b8db47f0c8e55e8e7ead14d51259f1cbc9055601e75e1cb115f5278f02c10576/68747470733a2f2f706f7365722e707567782e6f72672f656c64617271612f6269746170732d77616c6c65742d6170692f6c6963656e7365)](//packagist.org/packages/eldarqa/bitaps-wallet-api)[![Scrutinizer code quality (GitHub/Bitbucket)](https://camo.githubusercontent.com/2ec6041564f9c79a4830369e42e9773d1f5619676aadd38b34a4ac59a4d312fd/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f4d795a696b2f6269746170732d77616c6c65742d6170692f6d6173746572)](https://camo.githubusercontent.com/2ec6041564f9c79a4830369e42e9773d1f5619676aadd38b34a4ac59a4d312fd/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f4d795a696b2f6269746170732d77616c6c65742d6170692f6d6173746572)[![Build Status](https://camo.githubusercontent.com/63addc06d57ec143c9492b6f2c6c1409b0b59f21184b8f565bf936af49dc7ccd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d795a696b2f6269746170732d77616c6c65742d6170692f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/MyZik/bitaps-wallet-api/build-status/master)[![GitHub release (latest SemVer)](https://camo.githubusercontent.com/864c802c3059f1ef8d98cc02965fa87d14df5973778ba7ca3f2befca1529c2d1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f4d795a696b2f6269746170732d77616c6c65742d617069)](https://camo.githubusercontent.com/864c802c3059f1ef8d98cc02965fa87d14df5973778ba7ca3f2befca1529c2d1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f4d795a696b2f6269746170732d77616c6c65742d617069)

Bitaps Wallet API
=================

[](#bitaps-wallet-api)

This repository provides the methods of Bitaps Wallet API () with PHP. This package works with all available currencies of API (BTC, LTC, BHC, ETH) and supports all endpoints (Mainnet, Testner, TOR Mainnet)

Requirements:
-------------

[](#requirements)

- PHP 7.4 or higher
- cURL

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

[](#installation)

```
composer require eldarqa/bitaps-wallet-api
```

How to use
----------

[](#how-to-use)

Don't forget to set your endpoint :) [https://developer.bitaps.com/wallet#API\_endpoint](https://developer.bitaps.com/wallet#API_endpoint)

### 1. Create wallet

[](#1-create-wallet)

```
// use Bitaps\WalletAPI\WalletAPI;

$endpoint = "https://api.bitaps.com/btc/testnet/v1";

$api = new WalletAPI($endpoint);
$create = $api->createWallet();
// it's recommended to set the password, just use: $api->createWallet($callbackLink, $password);

// $create->getWalletId();
```

### 2. Create wallet payment address

[](#2-create-wallet-payment-address)

```
// use Bitaps\WalletAPI\WalletAPI;

$endpoint = "https://api.bitaps.com/btc/testnet/v1";
$walletId = "your wallet ID";
$password = "your password (if requires)";

$api = new WalletAPI($endpoint, $walletId, $password);
$address = $api->addAddress();

//$address->getAddress();
```

### 3. Send payment

[](#3-send-payment)

```
// use Bitaps\WalletAPI\WalletAPI;

$endpoint = "https://api.bitaps.com/btc/testnet/v1";
$walletId = "your wallet ID";
$password = "your password (if requires)";

$api = new WalletAPI($endpoint, $walletId, $password);

$receiverAddress = "abcdefg123456xxxx";
$receiverAmount = 30000; // In Satoshi

$payment = $api->addPayment($receiverAddress, $receiverAmount)->pay();

//$receivers = $payment->getTxList();
//
//foreach ($receivers as $receiver) {
//    var_dump($receiver->getTxHash());
//}
```

You cann add more receivers:

```
$receiverAddress = "abcdefg123456xxxx";
$receiverAmount = 30000; // In Satoshi

$secondReceiverAddress = "qwerty25525woo";
$secondReceiverAmount = 40000; // In Satoshi

$thirdReceiverAddress = "zyxwe135679zzz";
$thirdReceiverAmount = 50000; // In Satoshi

$payment = $api->addPayment($receiverAddress, $receiverAmount)
               ->addPayment($secondReceiverAddress, $secondReceiverAmount)
               ->addPayment($thirdReceiverAddress, $thirdReceiverAmount)
               ->pay();
```

4. Wallet state
---------------

[](#4-wallet-state)

```
// use Bitaps\WalletAPI\WalletAPI;

$endpoint = "https://api.bitaps.com/btc/testnet/v1";
$walletId = "your wallet ID";
$password = "your password (if requires)";

$api = new WalletAPI($endpoint, $walletId, $password);

$state = $api->getWalletState();

//$state->getBalanceAmount();
```

5. Wallet transaction list
--------------------------

[](#5-wallet-transaction-list)

```
// use Bitaps\WalletAPI\WalletAPI;

$endpoint = "https://api.bitaps.com/btc/testnet/v1";
$walletId = "your wallet ID";
$password = "your password (if requires)";

$api = new WalletAPI($endpoint, $walletId, $password);

$transactions = $api->getTransactions();

//$transactions->getTransactions();
//$transactions->getPendingTransactions();
```

6. Wallet addresses list
------------------------

[](#6-wallet-addresses-list)

```
// use Bitaps\WalletAPI\WalletAPI;

$endpoint = "https://api.bitaps.com/btc/testnet/v1";
$walletId = "your wallet ID";
$password = "your password (if requires)";

$api = new WalletAPI($endpoint, $walletId, $password);

$addresses = $api->getAddresses();

//foreach ($addresses->getTxList() as $address)
//{
//    $address->getReceivedAmount();
//}
```

7. Wallet address transaction list
----------------------------------

[](#7-wallet-address-transaction-list)

```
// use Bitaps\WalletAPI\WalletAPI;

$endpoint = "https://api.bitaps.com/btc/testnet/v1";
$walletId = "your wallet ID";
$password = "your password (if requires)";

$api = new WalletAPI($endpoint, $walletId, $password);

$address = "abcde123456789fghijkl";
$transactions = $api->getAddressTransactions($address);

//$transactions->getTransactions();
//$transactions->getPendingTransactions();
```

8. Daily wallet statistics
--------------------------

[](#8-daily-wallet-statistics)

```
// use Bitaps\WalletAPI\WalletAPI;

$endpoint = "https://api.bitaps.com/btc/testnet/v1";
$walletId = "your wallet ID";
$password = "your password (if requires)";

$api = new WalletAPI($endpoint, $walletId, $password);

$statistics = $api->getDailyStatistics();

//foreach ($statistics->getDayList() as $data)
//{
//    $data->getBalanceAmount();
//}
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~506 days

Total

2

Last Release

1486d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f6ffdee57cda7dbe54aad9dcc2175177a08889ca6696af5466a1b170d466dbb4?d=identicon)[MyZik](/maintainers/MyZik)

---

Top Contributors

[![MyZik](https://avatars.githubusercontent.com/u/12817320?v=4)](https://github.com/MyZik "MyZik (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/eldarqa-bitaps-wallet-api/health.svg)

```
[![Health](https://phpackages.com/badges/eldarqa-bitaps-wallet-api/health.svg)](https://phpackages.com/packages/eldarqa-bitaps-wallet-api)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[storyblok/php-management-api-client

Storyblok PHP Client for Management API

1233.5k3](/packages/storyblok-php-management-api-client)

PHPackages © 2026

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