Skip to main content

Typed Moralis

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

PyPI version Python versions Docs License



from typed_moralis import Moralis

async with Moralis.new() as client:
  balances = await client.evm.wallet.token_balances(
    '0xd8dA6BF26964aF9D7eed9e03E53415D37aA96045', chain='eth',
  )
  print(balances['result'])

Moralis is a cross-chain wallet/token/NFT data API. This client covers its full surface across seven product groups sharing one API key:

  • evm -- wallet balances/history/net worth, ERC20 token metadata/price/holders, NFT metadata/ownership/prices/trades, and raw block/transaction lookups, across every EVM chain Moralis indexes
  • solana -- wallet balances/portfolio and SPL token metadata/pricing
  • bitcoin -- wallet balances/history, block/transaction lookups, and BTC pricing
  • universal -- cross-chain entity search and chain/category market metrics
  • cortex -- an AI chat endpoint over indexed on-chain data (deprecated upstream)
  • auth -- Sign-In-With-Ethereum-style wallet challenge/verify flows
  • streams -- webhook stream management (create, update, and inspect server-side push subscriptions; delivery is an HTTP POST to your own endpoint, not a client-side socket)

Why Typed Moralis?

  • 🎯 Precise Types: Typed endpoint inputs and responses, not dict/Any.
  • ✅ Runtime Validation: Responses validated by default, not just typed on paper.
  • ⚡ Async First: Async HTTP, built for concurrent wallet, token, and NFT lookups.
  • 📚 Full Surface: every documented Moralis endpoint across EVM, Solana, Bitcoin, cross-chain, auth, and streams data -- not just the popular ones.

Installation

pip install typed-moralis

How To

Reference

Design Philosophy

Typed Moralis 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

typed_moralis-0.2.0.tar.gz (99.3 kB view details)

Uploaded Source

Built Distribution

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

typed_moralis-0.2.0-py3-none-any.whl (273.4 kB view details)

Uploaded Python 3

File details

Details for the file typed_moralis-0.2.0.tar.gz.

File metadata

  • Download URL: typed_moralis-0.2.0.tar.gz
  • Upload date:
  • Size: 99.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for typed_moralis-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d017d22ca0ff41353105b05b07c12ef5903cd95eda1c66f38a92a1b27d821079
MD5 1094e291261d59d3cc5902e8169cbe3f
BLAKE2b-256 adaef0c653c0f817740c38283b46b73ac2f9e54bb44d78678310c00dff287b45

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_moralis-0.2.0.tar.gz:

Publisher: release-moralis.yml on tribulnation/typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file typed_moralis-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: typed_moralis-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 273.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for typed_moralis-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70f2b750b588dba08a4ee370943e07b61b9dabbbee23b18b36519e1065501532
MD5 c4ef4430ad22d8e256c243d7dab9f91a
BLAKE2b-256 fa35c6ac1ceeb06a63599a2837bb02b935b29808ab3169d8e533ff32e2988dea

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_moralis-0.2.0-py3-none-any.whl:

Publisher: release-moralis.yml on tribulnation/typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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