A fully typed, validated async client for the Alchemy API.
- Documentation: https://tribulnation.com/typed/alchemy
- Source Code: https://github.com/tribulnation/typed/tree/main/packages/alchemy
from typed_alchemy import Alchemy
async with Alchemy.new() as client:
prices = await client.prices.by_symbol(symbols=['ETH', 'BTC'])
transfers = await client.transfers(network='ethereum').get_asset_transfers(
from_block='0x0',
to_address='0x5c43B1eD97e52d009611D89b74fA829FE4ac56b1',
category=['external'],
max_count='0x2',
)
Why Typed Alchemy?
- 🎯 Precise Types: Typed request and response models across Portfolio, Prices, NFT, Token, Transfers, Utility, and Simulation endpoints.
- ✅ Runtime Validation: Responses validated by default, not just typed on paper.
- ⚡ Async First: One shared async HTTP transport, ready for concurrent requests.
- 📚 Full Surface: Every supported network exposed uniformly, not just Ethereum.
Installation
pip install typed-alchemy
How To
- Look Up Token Prices
- Inspect Wallet Portfolio
- Query NFTs
- Get Asset Transfers
- Paginate Through Results
- Advanced RPC Methods
- Streaming Support Status
Reference
Design Philosophy
Typed Alchemy follows the principles outlined in this blog post.
Details matter. Developer experience matters.
License
MIT — see LICENSE.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file typed_alchemy-2.1.0.tar.gz.
File metadata
- Download URL: typed_alchemy-2.1.0.tar.gz
- Upload date:
- Size: 40.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b187fd125c9b37c5dfeec075095a6b16c4f17fc63c860a763eb9e41964eee0c
|
|
| MD5 |
1b5d795a7f27de7f92554a861286bd78
|
|
| BLAKE2b-256 |
1d3bd8bf2fe4d559deef5c1c75e3756399726f7e4c23bbb8b58660ebeb9af3f2
|
Provenance
The following attestation bundles were made for typed_alchemy-2.1.0.tar.gz:
Publisher:
release-alchemy.yml on tribulnation/typed
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
typed_alchemy-2.1.0.tar.gz -
Subject digest:
7b187fd125c9b37c5dfeec075095a6b16c4f17fc63c860a763eb9e41964eee0c - Sigstore transparency entry: 2783452846
- Sigstore integration time:
-
Permalink:
tribulnation/typed@c838d8d8bd36529ae2f4114d9709a825fb7b2c7d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tribulnation
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-alchemy.yml@c838d8d8bd36529ae2f4114d9709a825fb7b2c7d -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file typed_alchemy-2.1.0-py3-none-any.whl.
File metadata
- Download URL: typed_alchemy-2.1.0-py3-none-any.whl
- Upload date:
- Size: 79.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a380c7690f492cfbd30c3aab69f611ad214e481635059a08462e30a1b3b8e6e3
|
|
| MD5 |
6c84358af90989611124812168d251e5
|
|
| BLAKE2b-256 |
2d2f48f11011db8555050ad0cd399f3e314e6355e7ce05b25fdbdeb6d56641db
|
Provenance
The following attestation bundles were made for typed_alchemy-2.1.0-py3-none-any.whl:
Publisher:
release-alchemy.yml on tribulnation/typed
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
typed_alchemy-2.1.0-py3-none-any.whl -
Subject digest:
a380c7690f492cfbd30c3aab69f611ad214e481635059a08462e30a1b3b8e6e3 - Sigstore transparency entry: 2783452916
- Sigstore integration time:
-
Permalink:
tribulnation/typed@c838d8d8bd36529ae2f4114d9709a825fb7b2c7d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tribulnation
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-alchemy.yml@c838d8d8bd36529ae2f4114d9709a825fb7b2c7d -
Trigger Event:
pull_request
-
Statement type: