Python SDK for
DXBNK

Integrate DeFi services into your Python applications. Compatible with Python 3.7+, includes type hints, asyncio support and automatic validation.

6

Steps

35min

Total time

~60KB

Size

3.7+

Compatible with

Integration Guide

Follow these 6 steps to integrate the Python SDK

Paso 1: SDK Installation

Install the Python SDK from PyPI

2 min
Easy

Overview

The DXBNK Python SDK is the easiest way to integrate our services into Python applications. It's compatible with Python 3.7+ and includes all necessary features.

Instructions

  1. 1Make sure you have Python 3.7+ installed
  2. 2Create a virtual environment (recommended)
  3. 3Install the SDK: pip install dxbnk-python
  4. 4Verify installation by importing the module
  5. 5Configure your API key

Tips

  • Use a virtual environment to avoid conflicts
  • The SDK includes type hints for better development
  • It's compatible with asyncio for async operations
  • Includes automatic data validation

Example

# Crear entorno virtual
python -m venv dxbnk-env
source dxbnk-env/bin/activate  # En Windows: dxbnk-env\Scripts\activate

# Instalar SDK
pip install dxbnk-python

# O usando pipenv
pipenv install dxbnk-python

# O usando poetry
poetry add dxbnk-python

# Verificar instalación
python -c "import dxbnk; print(dxbnk.__version__)"

Paso 2: Initial Configuration

Configure the DXBNK client

3 min
Easy

Paso 3: Authentication

Implement login and session management

5 min
Easy

Paso 4: Wallet Management

Create and manage cryptocurrency wallets

8 min
Intermediate

Paso 5: Transactions

Send and manage transactions

10 min
Intermediate

Paso 6: Real-Time Events

Subscribe to events and updates

7 min
Intermediate

SDK Features

Everything you need to integrate DXBNK in Python

Complete type hints for IDE
Native asyncio support
Automatic error handling
Data validation
WebSocket for real-time
Automatic pagination
Built-in retry logic
Configurable logging

Main Methods

Complete API for all your needs

Auth Methods

Authentication and user management

client.auth.login(credentials)
client.auth.register(user_data)
client.auth.logout()
client.auth.is_authenticated()

Wallet Methods

Wallet and balance operations

client.wallets.create(options)
client.wallets.list()
client.wallets.get(id)
client.wallets.get_balance(id)

Transaction Methods

Transaction sending and tracking

client.transactions.send(data)
client.transactions.get(hash)
client.transactions.list(filters)
client.transactions.validate_address()

Event Methods

Real-time event subscription

@client.on('event', handler)
@client.once('event', handler)
client.remove_listener('event')
client.remove_all_listeners()

Need help with the SDK?

Check our complete API documentation or contact our team for technical support.

View API Reference