For the complete documentation index, see llms.txt. This page is also available as Markdown.

Python SDK

The official async Python SDK for the Crypto Chief crypto processing API — accept payments, send payouts, sign transactions, and verify webhooks across 25+ chains.

The official asyncio client for the Crypto Chief crypto processing API. One install gives you fully typed access to payments, payouts, on-chain transactions, wallets, and webhooks across 25+ chains.

PyPI

Requirements

  • Python 3.10+

  • A Crypto Chief Merchant ID and API key (Dashboard → Integration)

Installation

pip install cryptochief-crypto-processing-python
from cryptochief import CryptoChiefClient, Chain

The package is async-first (built on httpx) and fully typed — requests and responses are dataclasses, and the field names match the REST API exactly, so there is no camelCase translation layer to learn.

Quickstart

import asyncio
from cryptochief import CryptoChiefClient, Chain, EstimatePayoutRequest

async def main():
    async with CryptoChiefClient(
        merchant_id="MERCHANT_ID",
        api_key="API_KEY",
    ) as client:
        est = await client.payouts.estimate(EstimatePayoutRequest(
            network=Chain.ETH_SEPOLIA,
            coin="ETH",
            amount="0.0001",
            to_address="0xRecipient...",
        ))
        print("amount to receive:", est.amount_to_receive)

asyncio.run(main())

What you can do

Domain
Service
Key methods

Single & batch payouts

client.payouts

estimate, execute, batch_execute, info, history, wait_for

Sign / execute arbitrary txs

client.transactions

sign, execute, sign_evm_call, jetton_transfer

Accept payments

client.pay_ins

create, select_asset, cancel, info, history, wait_for

Wallets + RSA decrypt

client.wallets

generate, list, freeze, decrypt_private_key

Treasury sweeps

client.sweeps

force, history

On-chain queries

client.blockchain

contracts_available, wallet_balance, transaction_status

Fiat ↔ crypto rates

client.currencies

fiat_to_crypto, crypto_to_fiat

Explore the guides

Last updated