A async_client for interacting with Solana RPC HTTP endpoint.
Project description
Solana Client
A client for interacting with Solana RPC HTTP endpoint.
Create client
from solana_client import SolanaClient
client = SolanaClient(endpoint="https://api.mainnet-beta.solana.com")
Getting account information
account_info = await client.get_account_info("SOME_ACCOUNT_ADDRESS")
Getting signatures for an address
signatures = await client.get_signatures_for_address("SOME_ACCOUNT_ADDRESS")
Receiving a signature transaction
transaction = await client.get_transaction_by_signature("SOME_TRANSACTION_SIGNATURE")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file rpc-solana-client-0.1.0.tar.gz
.
File metadata
- Download URL: rpc-solana-client-0.1.0.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a90f3e6b6b7b6d704725847dc82e8bbf598269cd461d26568a9c0da726f5f3e |
|
MD5 | 0ca4c9fa80c114b0676e1b99f2a1eced |
|
BLAKE2b-256 | dfd7cfc33fe847355c5a74a6caccf198ec87b2343654bc2f866ecc852980be36 |