Skip to main content

Typed Alchemy

A fully typed, validated async client for the Alchemy API.

PyPI version Python versions Docs License



from alchemy import Alchemy

async with Alchemy.new() as client:
  prices = await client.prices.by_symbol(symbols=['ETH', 'BTC'])
  transfers = await client.transfers('ethereum').get_asset_transfers({
    'fromBlock': '0x0',
    'toAddress': '0x5c43B1eD97e52d009611D89b74fA829FE4ac56b1',
    'category': ['external'],
    'maxCount': '0x2',
  })

Why Typed Alchemy?

  • 🎯 Precise Types: Typed endpoint inputs and responses.
  • ✅ Runtime Validation: Validated responses by default.
  • ⚡ Async First: Built for concurrent HTTP workflows.
  • 📚 Full API Surface: client.portfolio, client.prices, and network-scoped groups like client.nft('ethereum').

Installation

pip install typed-alchemy

How To

Reference

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

typed_alchemy-1.0.3.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

typed_alchemy-1.0.3-py3-none-any.whl (64.8 kB view details)

Uploaded Python 3

File details

Details for the file typed_alchemy-1.0.3.tar.gz.

File metadata

  • Download URL: typed_alchemy-1.0.3.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for typed_alchemy-1.0.3.tar.gz
Algorithm Hash digest
SHA256 11d5719606230ae6f5d81cf9b7fc70a930408413e47691360ce163fb2e4fa488
MD5 33a650ac4672d42ab8c2cef9bb41611b
BLAKE2b-256 be4f22839ab87c08d7c2ccf9d1d8758fa69c60ea2f4507861f3dc0c18c439168

See more details on using hashes here.

File details

Details for the file typed_alchemy-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: typed_alchemy-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 64.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for typed_alchemy-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 574371eff61d1ebe3c2ba1d535cb2093dbd38afb49fa766d5ee82bfe0e218d44
MD5 527423fc708740544d67e23ba7c89568
BLAKE2b-256 4a5ef10a7c5f839b01aa6e8dde09dc206a57f183b0456658fdb4c7af7ac13488

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page