This library serves as a way to interact with Pulsar's Third Party APIs. Provided you have an API Key, getting started is very easy.
E.g. on how to fetch balances from a wallet:
import asyncio
from pulsar_sdk_py import PulsarSDK
from pulsar_sdk_py.enums import ChainKeys
API_KEY = "API_KEY_HERE"
sdk = PulsarSDK(API_KEY)
async def fetch_balances(wallet_address: str, chain: ChainKeys):
responses_list = []
async for wallet_balance in sdk.balances.get_wallet_balances(
wallet_addr=wallet_address,
chain=chain
):
responses_list.append(wallet_balance)
return responses_list
res = asyncio.get_event_loop().run_until_complete(
fetch_balances("0x77984dc88aab3d9c843256d7aabdc82540c94f69", ChainKeys.ETHEREUM)
)
print(res)
Which will fetch you all the wallet balances for your wallet, provided the Chain is active in our environment.
For more information, check out our documentation.
Release files for pulsar-sdk-py 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pulsar_sdk_py-1.0.5.tar.gz | 17.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pulsar_sdk_py-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.4 kB
Release files / pulsar_sdk_py-1.0.5.tar.gz
| Download URL | pulsar_sdk_py-1.0.5.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f373ca14410aaff80eea27457da68c34c83357d20460efedfc5728757f55628e
|
|
BLAKE2b-256 checksum How to use checksums |
4f2f7568d814b73d6859b3d0d7ea611437594a0d57a47f74123ca167621549c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.13.2 Darwin/24.4.0
|
Release files / pulsar_sdk_py-1.0.5-py3-none-any.whl
| Download URL | pulsar_sdk_py-1.0.5-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e532c1cf0950a643fc5f69f56c6dd1647ec31fb5388af892f247d84dfaac6c5
|
|
BLAKE2b-256 checksum How to use checksums |
2b01295c5e21f8888594b768efcd3e73dd6788018cb7dc41c6f2ded30a0b8921
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.13.2 Darwin/24.4.0
|